1 2014-06-23 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4 Remove unused variable ST.
6 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11 small arguments before calling __expm1.
12 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13 small arguments before calling __expm1f.
14 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15 small arguments before calling __expm1l.
16 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19 * math/auto-libm-test-in: Add more cosh tests. Do not allow
20 spurious underflow for some cosh tests.
21 * math/auto-libm-test-out: Regenerated.
22 * sysdeps/i386/fpu/libm-test-ulps: Update.
25 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26 (__ieee754_y1): Set errno if return value overflows.
27 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28 (__ieee754_y1f): Set errno if return value overflows.
29 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30 (__ieee754_y1l): Set errno if return value overflows.
31 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32 (__ieee754_y1l): Set errno if return value overflows.
33 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34 * math/auto-libm-test-out: Regenerated.
36 * math/gen-auto-libm-tests.c: Document use of
38 (input_flag_type): Add value flag_ignore_zero_inf_sign.
39 (input_flags): Add ignore-zero-inf-sign.
40 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41 * math/gen-libm-test.pl (generate_testfile): Handle
43 * math/auto-libm-test-in: Mark some cpow tests with
44 ignore-zero-inf-sign and some with xfail-rounding.
45 * math/auto-libm-test-out: Regenerated.
46 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47 * sysdeps/i386/fpu/libm-test-ulps: Update.
48 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
52 overflowing or underflowing operations take place with sign of
54 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
56 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
57 (__ieee754_pow): Recompute overflowing and underflowing results in
58 original rounding mode.
59 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
60 (__powl_helper): Allow negative argument X and scale negated value
61 as needed. Avoid passing value outside [-1, 1] to f2xm1.
62 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
63 overflowing or underflowing operations take place with sign of
65 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
67 * math/auto-libm-test-in: Add more tests of pow.
68 * math/auto-libm-test-out: Regenerated.
69 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
70 (pow_tonearest_test_data): Remove.
71 (pow_test_tonearest): Likewise.
72 (pow_towardzero_test_data): Likewise.
73 (pow_test_towardzero): Likewise.
74 (pow_downward_test_data): Likewise.
75 (pow_test_downward): Likewise.
76 (pow_upward_test_data): Likewise.
77 (pow_test_upward): Likewise.
78 (main): Don't call removed functions.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82 2014-06-23 Roland McGrath <roland@hack.frob.com>
84 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
86 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
89 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
92 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
93 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
95 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
96 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
98 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
258 2014-06-23 Will Newton <will.newton@linaro.org>
259 Wilco <wdijkstr@arm.com>
261 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
262 implementation. Include get-rounding-mode.h.
263 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
264 [!libc_feholdsetround_noex_ctx]: Define
265 libc_feholdsetround_noex_ctx.
266 [!libc_feholdsetround_noexf_ctx]: Define
267 libc_feholdsetround_noexf_ctx.
268 [!libc_feholdsetround_noexl_ctx]: Define
269 libc_feholdsetround_noexl_ctx.
270 (libc_feholdsetround_ctx): New function.
271 (libc_feresetround_ctx): New function.
272 (libc_feholdsetround_noex_ctx): New function.
273 (libc_feresetround_noex_ctx): New function.
275 2014-06-23 Roland McGrath <roland@hack.frob.com>
277 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
278 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
279 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
280 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
281 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
282 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
284 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
285 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
286 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
287 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
288 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
289 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
290 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
291 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
292 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
293 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
294 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
296 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
298 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
299 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
300 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
301 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
302 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
304 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
305 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
306 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
307 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
308 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
309 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
310 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
311 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
313 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
314 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
316 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
317 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
318 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
319 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
321 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
322 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
323 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
324 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
325 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
326 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
327 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
328 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
329 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
330 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
332 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
334 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
335 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
336 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
338 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
339 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
340 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
341 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
342 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
343 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
344 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
346 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
348 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
349 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
350 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
351 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
352 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
353 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
355 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
356 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
357 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
358 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
359 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
361 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
362 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
363 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
364 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
365 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
366 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
367 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
368 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
370 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
371 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
372 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
373 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
374 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
375 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
376 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
377 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
378 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
379 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
380 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
381 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
382 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
383 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
384 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
385 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
386 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
387 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
388 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
390 2014-06-23 Joseph Myers <joseph@codesourcery.com>
392 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
393 (FALLOC_FL_COLLAPSE_RANGE): New macro.
394 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
395 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
396 (IPV6_PMTUDISC_INTERFACE): Likewise.
397 (IPV6_PMTUDISC_OMIT): Likewise.
399 2014-06-23 Andreas Schwab <schwab@suse.de>
401 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
402 Remove unused errout label.
404 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
406 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
407 macro: hardware supports Vector Crypto instructions.
409 2014-06-23 Will Newton <will.newton@linaro.org>
411 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
412 rather than __builtin_expect.
414 * elf/dl-lookup.c (undefined_msg): Remove variable.
415 (_dl_lookup_symbol_x): Replace undefined_msg with string
418 * elf/dl-lookup.c (do_lookup_unique): New function.
419 (do_lookup_x): Move STB_GNU_UNIQUE handling code
420 to a separate function.
422 2014-06-23 Andreas Schwab <schwab@suse.de>
425 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
426 before reading the next line.
428 2014-06-23 Will Newton <will.newton@linaro.org>
430 * test-skeleton.c (signal_handler): Use printf and %m
431 rather than perror. Use printf rather than fprintf to
432 stderr. Use puts rather than fputs to stderr.
435 2014-06-22 Ludovic Courtès <ludo@gnu.org>
437 * nscd/nscd.c (thread_info_t): Remove typedef.
438 (thread_info): Remove variable.
440 2014-06-21 Allan McRae <allan@archlinux.org>
442 * NEWS: Mention CVE-2014-4043.
444 2014-06-20 Roland McGrath <roland@hack.frob.com>
446 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
447 * nptl/smp.h: ... here.
449 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
451 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
452 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
453 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
454 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
456 * nptl/allocatestack.c: Include <stack-aliasing.h>.
457 * nptl/stack-aliasing.h: New file.
458 * sysdeps/i386/i686/stack-aliasing.h: New file.
459 * sysdeps/i386/i686/nptl/Makefile: File removed.
460 * sysdeps/x86_64/stack-aliasing.h: New file.
461 * sysdeps/x86_64/nptl/Makefile
462 (CFLAGS-pthread_create.c): Variable removed.
464 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
465 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
467 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
468 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
471 2014-06-21 Joseph Myers <joseph@codesourcery.com>
473 * sysdeps/unix/sysv/linux/arm/kernel-features.h
474 (__ASSUME_SIGFRAME_V2): Remove macro.
475 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
476 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
477 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
478 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
479 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
480 Declare as function. Remove conditional macro definitions.
481 (__default_rt_sa_restorer): Likewise.
482 (__default_sa_restorer_v1): Remove declaration.
483 (__default_sa_restorer_v2): Likewise.
484 (__default_rt_sa_restorer_v1): Likewise.
485 (__default_rt_sa_restorer_v2): Likewise.
486 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
487 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
488 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
490 2014-06-20 Roland McGrath <roland@hack.frob.com>
492 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
493 (libpthread-routines): Add sysdep.
494 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
495 * sysdeps/unix/sysv/linux/sparc/Versions
496 (libpthread: GLIBC_2.3.3): New version set.
497 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
498 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
499 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
500 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
501 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
502 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
504 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
505 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
506 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
507 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
508 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
509 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
510 * sysdeps/sparc/nptl/sem_init.c: ... here.
511 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
512 * sysdeps/sparc/nptl/sem_post.c: ... here.
513 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
514 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
515 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
516 * sysdeps/sparc/nptl/sem_wait.c: ... here.
517 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
518 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
519 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
520 (libpthread-routines): Add cpu_relax.
521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
523 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
524 (librt: GLIBC_2.3.3): New version set.
525 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
526 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
527 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
528 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
531 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
534 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
536 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
538 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
540 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
542 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
545 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
547 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
549 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
553 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
557 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
561 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
565 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
568 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
572 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
574 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
576 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
579 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
581 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
583 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
585 2014-06-20 Joseph Myers <joseph@codesourcery.com>
587 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
588 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
589 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
590 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
591 * nscd/nscd.c: Likewise.
592 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
593 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
594 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
595 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
597 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
599 (init_mq_netlink): Remove conditional have_sock_cloexec
600 definitions. Remove code conditional on have_sock_cloexec < 0.
601 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
602 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
603 * sysdeps/unix/sysv/linux/opensock.c: Do not include
605 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
606 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
608 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
610 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
611 Add tests for memset_chk and memset.
613 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
616 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
619 * elf/tst-dl-iter-static.c: New file.
620 * elf/Makefile (tests-static): Add tst-dl-iter-static.
622 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
625 2014-06-20 Joseph Myers <joseph@codesourcery.com>
627 * sysdeps/unix/sysv/linux/kernel-features.h
628 (__ASSUME_F_GETOWN_EX): Remove macro.
629 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
631 (miss_F_GETOWN_EX): Remove variable or macro.
632 (do_fcntl): Do not check miss_F_GETOWN_EX.
633 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
635 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
638 [!__ASSUME_AT_RANDOM]: Remove conditional code.
639 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
641 * sysdeps/unix/sysv/linux/kernel-features.h
642 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
643 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
644 [ADJ_OFFSET_SS_READ]: Make code unconditional.
645 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
647 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
650 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
651 Fix calculation of the symbol's value.
652 * sysdeps/arm/tst-armtlsdescloc.c: New file.
653 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
654 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
655 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
656 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
657 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
658 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
659 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
660 (modules-names): Add `tst-armtlsdescmod',
661 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
662 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
663 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
664 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
665 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
666 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
667 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
668 ($(objpfx)tst-armtlsdescloc): New dependency.
669 ($(objpfx)tst-armtlsdescextnow): Likewise.
670 ($(objpfx)tst-armtlsdescextlazy): Likewise.
671 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
673 * sysdeps/arm/configure: Regenerate.
675 2014-06-20 Joseph Myers <joseph@codesourcery.com>
677 * include/fcntl.h (__atfct_seterrno): Remove prototype.
678 (__atfct_seterrno_2): Likewise.
679 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
681 (__ASSUME_ATFCTS): Do not undefine and redefine.
682 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
683 (__have_atfcts): Remove conditional definition.
684 (__fxstatat([__NR_fstatat64]: Make code unconditional.
685 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
686 unreachable if [__ASSUME_ATFCTS].
687 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
688 not undefine and redefine.
689 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
691 (faccessat) [__NR_faccessat]: Make code unconditional.
692 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
693 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
695 (fchmodat) [__NR_fchmodat]: Make code unconditional.
696 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
697 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
699 (fchownat) [__NR_fchownat]: Make code unconditional.
700 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
701 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
703 (futimesat) [__NR_futimesat]: Make code unconditional.
704 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
705 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
707 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
708 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
709 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
711 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
712 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
713 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
714 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
716 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
717 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
718 * sysdeps/unix/sysv/linux/linkat.c: Do not include
720 (linkat) [__NR_linkat]: Make code unconditional.
721 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
722 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
723 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
725 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
726 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
727 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
729 (mkdirat) [__NR_mkdirat]: Make code unconditional.
730 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
731 * sysdeps/unix/sysv/linux/openat.c: Do not include
733 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
734 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
735 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
736 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
737 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
738 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
740 (readlinkat) [__NR_readlinkat]: Make code unconditional.
741 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
742 result of INLINE_SYSCALL directly, not via int variable.
743 * sysdeps/unix/sysv/linux/renameat.c: Do not include
745 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
746 (renameat) [__NR_renameat]: Make code unconditional.
747 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
748 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
749 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
750 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
751 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
752 (__ASSUME_ATFCTS): Do not undefine and redefine.
753 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
755 (symlinkat) [__NR_symlinkat]: Make code unconditional.
756 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
757 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
759 (unlinkat) [__NR_unlinkat]: Make code unconditional.
760 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
761 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
762 (__ASSUME_ATFCTS): Do not undefine and redefine.
763 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
765 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
766 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
767 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
769 (__xmknodat) [__NR_mknodat]: Make code unconditional.
770 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
772 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
774 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
776 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
779 * posix/regcomp.c (parse_reg_exp): Deallocate partially
780 constructed tree before returning error.
781 * posix/bug-regexp36.c: Expand test case.
783 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
786 * math/libm-test.inc (scalbln_test_date):
787 Add errno expectations.
788 * math/w_scalblnf.c: New File.
789 Add wrapper which checks for setting errno to ERANGE.
790 Add weak_alias for corresponding scalbln function.
791 * math/w_scalbln.c: Likewise.
792 * math/w_scalblnl.c: Likewise.
793 * math/Makefile (libm-calls): Add w_scalbln.
794 * sysdeps/ieee754/flt-32/s_scalblnf.c:
795 Remove weak_alias for corresponding scalbln function.
796 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
797 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
798 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
799 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
800 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
801 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
802 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
803 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
804 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
805 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
806 Remove long_double_symbol for scalblnl function in libm, libc.
807 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
808 Add wrapper which checks for setting errno to ERANGE.
809 Add long_double_symbol for scalblnl function in libm, libc.
810 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
811 Remove long_double_symbol for scalblnl in libm.
812 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
813 Add wrapper which checks for setting errno to ERANGE.
814 Add long_double_symbol for scalblnl function in libm.
815 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
816 Do not use wrapper because of own implementation.
818 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
820 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
821 3 bytes for __pad1 for x32.
822 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
824 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
825 H.J. Lu <hongjiu.lu@intel.com>
827 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
828 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
829 * sysdeps/x86_64/multiarch/memset.S: Likewise.
830 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
831 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
833 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
836 * posix/regcomp.c (parse_expression): Deallocate partially
837 constructed tree before returning error.
838 * posix/Makefile.c (tests): Add bug-regex36.
839 (generated): Add bug-regex36.mtrace.
840 (tests-special): Add $(objpfx)bug-regex36-mem.out
841 (bug-regex36-ENV): New variable.
842 ($(objpfx)bug-regex36-mem.out): New rule.
843 * posix/bug-regex36.c: New file.
845 2014-06-19 Will Newton <will.newton@linaro.org>
847 * malloc/malloc.c (systrim): If extra is zero then return
850 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
852 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
854 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
856 * sysdeps/aarch64/strchr.S: New file.
858 2014-06-18 Joseph Myers <joseph@codesourcery.com>
861 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
862 from arguments -2 or below.
863 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
864 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
866 2014-06-18 Andreas Schwab <schwab@suse.de>
869 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
870 of a bracket expr not to run off the end of the string.
871 * posix/Makefile (tests): Add tst-fnmatch3.
872 * posix/tst-fnmatch3.c: New file.
874 2014-06-18 Joseph Myers <joseph@codesourcery.com>
876 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
877 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
878 [$(cross-compiling) = no]: Likewise.
879 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
880 [$(cross-compiling) = no]: Likewise.
882 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
885 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
886 double, adjusted for any remainder from the high double.
887 * math/libm-test.inc (nearbyint): Add tests.
890 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
892 * nptl/sysdeps/powerpc/Makefile: Moved ...
893 * sysdeps/powerpc/nptl/Makefile: ... here.
894 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
895 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
896 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
897 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
898 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
899 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
900 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
901 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
902 * nptl/sysdeps/powerpc/tls.h: Moved ...
903 * sysdeps/powerpc/nptl/tls.h: ... here.
905 2014-06-16 Joseph Myers <joseph@codesourcery.com>
908 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
909 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
910 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
911 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
912 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
913 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
914 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
915 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
916 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
918 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
920 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
922 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
924 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
927 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
930 2014-06-16 Florian Weimer <fweimer@redhat.com>
933 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
934 non-executed part of the test.
936 2014-06-16 Andreas Schwab <schwab@suse.de>
938 * string/bits/string2.h (strdup, strndup): Update feature guard.
940 2014-06-14 David S. Miller <davem@davemloft.net>
942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
944 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
946 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
947 that was previously under [RESET_PID].
948 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
950 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
951 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
952 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
953 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
954 (__libc_vfork): New strong alias.
955 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
957 2014-06-14 Andi Kleen <ak@linux.intel.com>
959 * sysdeps/generic/elide.h: New file.
961 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
963 * Makefile (installed-headers): Adjust path of pthread.h header.
965 2014-06-13 Roland McGrath <roland@hack.frob.com>
967 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
968 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
969 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
970 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
972 * nptl/sysdeps/s390/Makefile: Moved ...
973 * sysdeps/s390/nptl/Makefile: ... here.
974 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
975 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
976 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
977 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
978 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
979 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
980 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
981 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
982 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
983 * sysdeps/s390/nptl/pthreaddef.h: ... here.
984 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
985 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
986 * nptl/sysdeps/s390/tls.h: Moved ...
987 * sysdeps/s390/nptl/tls.h: ... here.
989 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
990 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
992 2014-06-13 David S. Miller <davem@davemloft.net>
994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
997 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1002 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1003 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1004 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1005 Remove RESET_PID cpp guards.
1006 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1007 Remove RESET_PID cpp guards.
1008 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1010 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1012 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1015 2014-06-13 Andi Kleen <ak@linux.intel.com>
1017 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1018 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1019 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1020 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1021 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1022 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1023 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1024 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1025 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1026 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1027 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1028 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1029 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1030 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1031 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1032 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1033 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1034 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1035 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1036 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1038 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1039 (pthread_rwlock_rdlock): Add elision.
1040 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1041 (pthread_rwlock_wrlock): Add elision.
1042 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1043 (pthread_rwlock_trywrlock): Add elision.
1044 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1045 (pthread_rwlock_tryrdlock): Add elision.
1046 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1047 (pthread_rwlock_tryrdlock): Add elision unlock.
1048 * nptl/sysdeps/pthread/pthread.h:
1049 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1050 (PTHREAD_RWLOCK_INITIALIZER,
1051 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1052 Handle new elision field.
1053 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1054 * sysdeps/arm/nptl/bits/pthreadtypes.h
1055 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1056 * sysdeps/sh/nptl/bits/pthreadtypes.h
1057 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1058 * sysdeps/tile/nptl/bits/pthreadtypes.h
1059 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1060 * sysdeps/a/nptl/bits/pthreadtypes.h
1061 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1062 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1063 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1064 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1065 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1066 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1067 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1068 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1069 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1070 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1071 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1072 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1073 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1074 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1075 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1076 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1077 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1078 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1079 (elision_init): Set try_xbegin to zero when no RTM.
1080 * sysdeps/x86/nptl/bits/pthreadtypes.h
1081 (pthread_rwlock_t): Change __pad1 to __rwelision.
1082 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1084 2014-06-13 Andi Kleen <ak@linux.intel.com>
1086 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1087 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1088 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1089 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1091 2014-06-13 Meador Inge <meadori@codesourcery.com>
1094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1095 that the cached result has been set before returning it.
1097 2014-06-12 Roland McGrath <roland@hack.frob.com>
1099 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1100 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1102 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1104 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1106 * nptl/sysdeps/sparc/Makefile: Moved ...
1107 * sysdeps/sparc/nptl/Makefile: ... here.
1108 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1109 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1110 * nptl/sysdeps/sparc/tls.h: Moved ...
1111 * sysdeps/sparc/nptl/tls.h: ... here.
1112 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1113 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1114 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1115 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1116 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1117 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1118 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1119 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1120 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1121 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1122 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1123 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1124 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1125 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1126 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1127 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1128 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1129 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1131 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1132 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1134 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1135 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1137 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1138 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1141 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1143 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1144 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1146 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1147 (struct list_links): Type removed.
1148 (struct thread_node, struct timer_node): Replace struct list_links
1149 with struct list_head.
1150 (list_unlink_ip): Likewise.
1151 * sysdeps/pthread/timer_routines.c
1152 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1153 (list_append, list_insbefore): Likewise.
1154 (list_init): Function removed.
1155 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1156 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1157 * sysdeps/pthread/Makefile: ... here, new file.
1159 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1160 * sysdeps/nptl/Implies: ... here.
1161 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1162 * nptl/sysdeps/pthread/list.h: Moved ...
1163 * include/list.h: ... here.
1164 * nptl/sysdeps/pthread/createthread.c: Moved ...
1165 * nptl/createthread.c: ... here.
1166 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1167 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1168 * nptl/pt-longjmp.c: ... here.
1169 * nptl/sysdeps/pthread/Makefile: Moved ...
1170 * sysdeps/nptl/Makefile: ... here.
1171 * nptl/sysdeps/pthread/Subdirs: Moved ...
1172 * sysdeps/nptl/Subdirs: ... here.
1173 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1174 * sysdeps/nptl/aio_misc.h: ... here.
1175 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1176 * sysdeps/nptl/bits/libc-lock.h: ... here.
1177 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1178 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1179 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1180 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1181 * nptl/sysdeps/pthread/configure: Moved ...
1182 * sysdeps/nptl/configure: ... here.
1183 * nptl/sysdeps/pthread/configure.ac: Moved ...
1184 * sysdeps/nptl/configure.ac: ... here.
1185 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1186 * sysdeps/nptl/gai_misc.h: ... here.
1187 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1188 * sysdeps/nptl/librt-cancellation.c: ... here.
1189 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1190 * sysdeps/nptl/malloc-machine.h: ... here.
1191 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1192 * sysdeps/nptl/pthread-functions.h: ... here.
1193 * nptl/sysdeps/pthread/pthread.h: Moved ...
1194 * sysdeps/nptl/pthread.h: ... here.
1195 * nptl/sysdeps/pthread/setxid.h: Moved ...
1196 * sysdeps/nptl/setxid.h: ... here.
1197 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1198 * sysdeps/nptl/sigfillset.c: ... here.
1199 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1200 * sysdeps/nptl/tcb-offsets.h: ... here.
1201 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1202 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1203 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1204 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1205 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1206 * sysdeps/pthread/allocalim.h: ... here.
1207 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1208 * sysdeps/pthread/bits/sigthread.h: ... here.
1209 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1210 * sysdeps/pthread/flockfile.c: ... here.
1211 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1212 * sysdeps/pthread/ftrylockfile.c: ... here.
1213 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1214 * sysdeps/pthread/funlockfile.c: ... here.
1215 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1216 * sysdeps/pthread/posix-timer.h: ... here.
1217 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1218 * sysdeps/pthread/timer_create.c: ... here.
1219 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1220 * sysdeps/pthread/timer_delete.c: ... here.
1221 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1222 * sysdeps/pthread/timer_getoverr.c: ... here.
1223 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1224 * sysdeps/pthread/timer_gettime.c: ... here.
1225 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1226 * sysdeps/pthread/timer_routines.c: ... here.
1227 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1228 * sysdeps/pthread/timer_settime.c: ... here.
1229 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1230 * sysdeps/pthread/tst-timer.c: ... here.
1231 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1232 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1234 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1235 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1237 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1238 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1239 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1240 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1241 Update #include target.
1242 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1243 * sysdeps/i386/i686/nptl/Makefile: ... here.
1244 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1245 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1246 Update #include target.
1247 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1248 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1249 * nptl/sysdeps/i386/Makefile: Moved ...
1250 * sysdeps/i386/nptl/Makefile: ... here.
1251 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1252 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1253 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1254 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1255 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1256 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1257 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1258 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1259 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1260 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1261 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1262 * nptl/sysdeps/i386/tls.h: Moved ...
1263 * sysdeps/i386/nptl/tls.h: ... here.
1265 * sysdeps/sh/Makefile [$(subdir) = csu]
1266 (gen-as-const-headers): Add tcb-offsets.sym.
1267 * nptl/sysdeps/sh/Makefile: File removed.
1268 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1269 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1270 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1271 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1272 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1273 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1274 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1275 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1276 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1277 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1278 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1279 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1280 * nptl/sysdeps/sh/tls.h: Moved ...
1281 * sysdeps/sh/nptl/tls.h: ... here.
1282 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1283 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1284 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1285 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1286 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1287 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1288 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1289 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1290 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1291 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1292 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1293 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1295 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1296 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1297 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1298 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1299 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1300 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1301 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1302 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1303 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1304 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1305 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1306 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1308 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1309 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1311 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1313 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1315 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1317 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1319 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1321 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1322 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1323 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1325 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1327 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1328 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1329 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1331 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1333 * posix/spawn_faction_addopen.c: Include string.h.
1335 2014-06-11 Roland McGrath <roland@hack.frob.com>
1337 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1338 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1339 * nptl/sysdeps/x86_64/Makefile: Moved ...
1340 * sysdeps/x86_64/nptl/Makefile: ... here.
1341 * nptl/sysdeps/x86_64/configure: Moved ...
1342 * sysdeps/x86_64/nptl/configure: ... here.
1343 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1344 * sysdeps/x86_64/nptl/configure.ac: ... here.
1345 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1346 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1347 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1348 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1349 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1350 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1351 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1352 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1353 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1354 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1355 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1356 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1357 * nptl/sysdeps/x86_64/tls.h: Moved ...
1358 * sysdeps/x86_64/nptl/tls.h: ... here.
1359 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1360 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1361 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1362 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1364 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1366 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1370 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1372 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1374 [POSIX] (off_t): Likewise.
1375 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1376 [POSIX] (S_ISBLK): Require macro.
1377 [POSIX] (S_ISCHR): Likewise.
1378 [POSIX] (S_ISDIR): Likewise.
1379 [POSIX] (S_ISFIFO): Likewise.
1380 [POSIX] (S_ISREG): Likewise.
1381 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1383 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1385 [POSIX] (time_t): Likewise.
1386 [POSIX] (timer_t): Likewise.
1388 2014-06-11 Florian Weimer <fweimer@redhat.com>
1391 * posix/spawn_int.h (struct __spawn_action): Make the path string
1392 non-const to support deallocation.
1393 * posix/spawn_faction_addopen.c
1394 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1395 * posix/spawn_faction_destroy.c
1396 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1397 path in all spawn_do_open actions.
1398 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1399 posix_spawn_file_actions_addopen.
1401 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1403 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1404 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1405 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1406 conditional code always true.
1407 (__libc_vfork): New alias.
1409 2014-06-11 Roland McGrath <roland@hack.frob.com>
1411 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1412 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1414 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1416 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1417 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1419 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1420 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1422 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1423 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1425 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1427 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1428 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1429 multiarch strcmp for PPC64.
1430 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1431 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1433 multiarch optimizations.
1434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1435 (__libc_ifunc_impl_list): Likewise.
1437 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1439 * benchtests/scripts/validate_benchout.py: New script.
1440 * benchtests/Makefile (bench-func): Call it.
1441 * benchtests/scripts/benchout.schema.json: New file.
1443 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1445 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1446 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1447 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1448 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1449 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1450 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1451 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1452 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1453 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1454 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1455 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1456 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1457 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1458 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1459 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1460 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1564 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1565 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1566 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1567 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1568 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1570 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1572 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1573 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1574 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1575 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1576 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1577 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1578 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1579 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1580 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1581 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1582 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1583 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1584 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1586 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1589 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1590 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1591 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1592 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1594 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1596 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1597 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1598 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1599 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1600 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1602 2014-06-10 Wilco <wdijkstr@arm.com>
1604 * math/test-fenv-return.c: New file.
1605 * math/Makefile: Add new test test-fenv-return.
1607 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1610 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1612 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1613 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1614 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1615 0.0L for an argument of 1.0L.
1616 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1618 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1619 value when x - 1 is zero.
1620 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1621 * sysdeps/i386/fpu/libm-test-ulps: Update.
1622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1624 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1627 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1629 2014-06-09 Roland McGrath <roland@hack.frob.com>
1631 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1632 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1634 2014-06-09 Roland McGrath <roland@hack.frob.com>
1636 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1637 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1639 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1640 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1642 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1643 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1645 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1646 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1648 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1649 if not already defined.
1650 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1651 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1652 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1653 (TLS_INIT_TP): Use it.
1654 (TLS_DEFINE_INIT_TP): New macro.
1655 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1657 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1659 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1661 [POSIX] (IXANY): Likewise.
1662 [POSIX] (OLCUC): Likewise.
1663 [POSIX || POSIX2008] (CBAUD): Do not allow.
1664 [POSIX || POSIX2008] (DEFECHO): Likewise.
1665 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1666 [POSIX || POSIX2008] (ECHOKE): Likewise.
1667 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1668 [POSIX || POSIX2008] (EXTA): Likewise.
1669 [POSIX || POSIX2008] (EXTB): Likewise.
1670 [POSIX || POSIX2008] (FLUSHO): Likewise.
1671 [POSIX || POSIX2008] (LOBLK): Likewise.
1672 [POSIX || POSIX2008] (PENDIN): Likewise.
1673 [POSIX || POSIX2008] (SWTCH): Likewise.
1674 [POSIX || POSIX2008] (VDISCARD): Likewise.
1675 [POSIX || POSIX2008] (VDSUSP): Likewise.
1676 [POSIX || POSIX2008] (VLNEXT): Likewise.
1677 [POSIX || POSIX2008] (VREPRINT): Likewise.
1678 [POSIX || POSIX2008] (VSTATUS): Likewise.
1679 [POSIX || POSIX2008] (VWERASE): Likewise.
1680 (B*): Change to B[0123456789]*.
1681 * conform/data/time.h-data [POSIX || UNIX98]
1682 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1683 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1684 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1685 [POSIX] (tm_*): Do not allow.
1687 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1689 * Makefile (install): Don't set LANGUAGE.
1690 * Makefile.in (install): Likewise.
1691 * assert/Makefile (test-assert-ENV): Remove variable.
1692 (test-assert-perr-ENV): Likewise.
1693 * elf/Makefile (neededtest4-ENV): Likewise.
1694 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1695 [$(cross-compiling) = no]: Don't set LANGUAGE.
1696 * io/ftwtest-sh (LANG): Remove variable.
1697 * libio/Makefile (tst-widetext-ENV): Likewise.
1698 * manual/install.texi (Running make install): Don't refer to
1699 environment settings for make install.
1700 * INSTALL: Regenerated.
1701 * nptl/tst-tls6.sh: Don't set LANG.
1702 * posix/globtest.sh (LANG): Remove variable.
1703 * string/Makefile (tester-ENV): Likewise.
1704 (inl-tester-ENV): Likewise.
1705 (noinl-tester-ENV): Likewise.
1706 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1707 [$(cross-compiling) = no]: Don't set LANGUAGE.
1708 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1709 without explicit environment settings.
1711 2014-06-06 Roland McGrath <roland@hack.frob.com>
1713 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1714 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1715 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1716 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1718 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1720 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1721 other files in the crypt directory.
1722 * crypt/crypt.c: Remove duplicate includes.
1723 * crypt/crypt-entry.c: Likewise.
1724 * crypt/crypt_util.c: Likewise.
1726 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1728 * Makeconfig (run-program-env): New variable.
1729 (run-program-prefix-before-env): Likewise.
1730 (run-program-prefix-after-env): Likewise.
1731 (run-program-prefix): Define in terms of new variables.
1732 (built-program-cmd-before-env): New variable.
1733 (built-program-cmd-after-env): Likewise.
1734 (built-program-cmd): Define in terms of new variables.
1735 (test-program-prefix-before-env): New variable.
1736 (test-program-prefix-after-env): Likewise.
1737 (test-program-prefix): Define in terms of new variables.
1738 (test-program-cmd-before-env): New variable.
1739 (test-program-cmd-after-env): Likewise.
1740 (test-program-cmd): Define in terms of new variables.
1741 * Rules (make-test-out): Use $(run-program-env).
1742 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1743 (help): Do not mention environment variables. Mention
1744 --timeoutfactor option.
1745 (timeoutfactor): New variable.
1746 (blacklist_exports): Remove function.
1747 (exports): Remove variable.
1748 (command): Do not include ${exports}.
1749 * manual/install.texi (Configuring and compiling): Do not mention
1750 test wrappers preserving environment variables. Mention that last
1751 assignment to a variable must take precedence.
1752 * INSTALL: Regenerated.
1753 * benchtests/Makefile (run-bench): Use $(run-program-env).
1754 * catgets/Makefile ($(objpfx)test1.cat): Use
1755 $(built-program-cmd-before-env), $(run-program-env) and
1756 $(built-program-cmd-after-env).
1757 ($(objpfx)test2.cat): Do not specify environment variables
1759 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1760 $(run-program-env) and $(built-program-cmd-after-env).
1761 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1762 $(run-program-env) and $(test-program-cmd-after-env).
1763 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1765 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1766 run_program_env and test_program_cmd_after_env arguments.
1767 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1768 * elf/tst-pathopt.sh: Use run_program_env argument.
1769 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1770 $(test-wrapper-env) and $(run-program-env).
1771 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1772 run_program_env arguments.
1773 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1774 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1775 $(test-program-prefix-before-env), $(run-program-env) and
1776 $(test-program-prefix-after-env).
1777 ($(objpfx)tst-gettext2.out): Likewise.
1778 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1779 run_program_env and test_program_prefix_after_env arguments.
1780 * intl/tst-gettext2.sh: Likewise.
1781 * intl/tst-gettext4.sh: Do not set environment variables
1783 * intl/tst-gettext6.sh: Likewise.
1784 * intl/tst-translit.sh: Likewise.
1785 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1786 $(test-program-prefix-before-env), $(run-program-env) and
1787 $(test-program-prefix-after-env).
1788 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1789 run_program_env and test_program_prefix_after_env arguments.
1790 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1791 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1792 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1793 explicitly with each use of ${test_wrapper_env}.
1794 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1795 $(test-program-prefix-before-env), $(run-program-env) and
1796 $(test-program-prefix-after-env).
1797 * posix/tst-getconf.sh: Do not set environment variables
1799 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1800 run_program_env and test_program_prefix_after_env arguments.
1801 * stdio-common/tst-printf.sh: Do not set environment variables
1803 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1804 $(test-program-prefix-before-env), $(run-program-env) and
1805 $(test-program-prefix-after-env).
1806 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1807 run_program_env and test_program_prefix_after_env arguments.
1808 Split $test calls into $test_pre and $test.
1809 * timezone/Makefile (build-testdata): Use
1810 $(built-program-cmd-before-env), $(run-program-env) and
1811 $(built-program-cmd-after-env).
1813 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1815 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1816 strlen for non SHARED builds.
1818 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1820 * nptl/allocatestack.c (check_list): Inlined function...
1821 (__reclaim_stacks): ... here.
1823 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1826 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1829 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1831 * Rules (make-test-out): Include
1832 LOCPATH=$(common-objpfx)localedata in default environment.
1833 * debug/Makefile (tst-chk1-ENV): Remove variable.
1834 (tst-chk2-ENV): Likewise.
1835 (tst-chk3-ENV): Likewise.
1836 (tst-chk4-ENV): Likewise.
1837 (tst-chk5-ENV): Likewise.
1838 (tst-chk6-ENV): Likewise.
1839 (tst-lfschk1-ENV): Likewise.
1840 (tst-lfschk2-ENV): Likewise.
1841 (tst-lfschk3-ENV): Likewise.
1842 (tst-lfschk4-ENV): Likewise.
1843 (tst-lfschk5-ENV): Likewise.
1844 (tst-lfschk6-ENV): Likewise.
1845 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1846 (tst-iconv7-ENV): Likewise.
1847 * intl/Makefile (LOCPATH-ENV): Likewise.
1848 (tst-codeset-ENV): Likewise.
1849 (tst-gettext3-ENV): Likewise.
1850 (tst-gettext5-ENV): Likewise.
1851 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1852 (tst-fopenloc-ENV): Likewise.
1853 (tst-fgetws-ENV): Remove variable.
1854 (tst-ungetwc1-ENV): Likewise.
1855 (tst-ungetwc2-ENV): Likewise.
1856 (bug-ungetwc2-ENV): Likewise.
1857 (tst-swscanf-ENV): Likewise.
1858 (bug-ftell-ENV): Likewise.
1859 (tst-fgetwc-ENV): Likewise.
1860 (tst-fseek-ENV): Likewise.
1861 (tst-ftell-partial-wide-ENV): Likewise.
1862 (tst-ftell-active-handler-ENV): Likewise.
1863 (tst-ftell-append-ENV): Likewise.
1864 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1865 (tst-regexloc-ENV): Likewise.
1866 (bug-regex1-ENV): Likewise.
1867 (tst-regex-ENV): Likewise.
1868 (tst-regex2-ENV): Likewise.
1869 (bug-regex5-ENV): Likewise.
1870 (bug-regex6-ENV): Likewise.
1871 (bug-regex17-ENV): Likewise.
1872 (bug-regex18-ENV): Likewise.
1873 (bug-regex19-ENV): Likewise.
1874 (bug-regex20-ENV): Likewise.
1875 (bug-regex22-ENV): Likewise.
1876 (bug-regex23-ENV): Likewise.
1877 (bug-regex25-ENV): Likewise.
1878 (bug-regex26-ENV): Likewise.
1879 (bug-regex30-ENV): Likewise.
1880 (bug-regex32-ENV): Likewise.
1881 (bug-regex33-ENV): Likewise.
1882 (bug-regex34-ENV): Likewise.
1883 (bug-regex35-ENV): Likewise.
1884 (tst-rxspencer-ENV): Likewise.
1885 (tst-rxspencer-no-utf8-ENV): Likewise.
1886 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1887 (tst-sscanf-ENV): Likewise.
1888 (tst-swprintf-ENV): Likewise.
1889 (tst-swscanf-ENV): Likewise.
1890 (test-vfprintf-ENV): Likewise.
1891 (scanf13-ENV): Likewise.
1892 (bug14-ENV): Likewise.
1893 (tst-grouping-ENV): Likewise.
1894 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1895 (tst-strtod3-ENV): Likewise.
1896 (tst-strtod4-ENV): Likewise.
1897 (tst-strtod5-ENV): Likewise.
1898 (testmb2-ENV): Likewise./
1899 * string/Makefile (tst-strxfrm-ENV): Likewise.
1900 (tst-strxfrm2-ENV): Likewise.
1901 (bug-strcoll1-ENV): Likewise.
1902 (test-strcasecmp-ENV): Likewise.
1903 (test-strncasecmp-ENV): Likewise.
1904 * time/Makefile (tst-strptime-ENV): Likewise.
1905 (tst-ftime_l-ENV): Likewise.
1906 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1907 (tst-mbrtowc-ENV): Likewise.
1908 (tst-wcrtomb-ENV): Likewise.
1909 (tst-mbrtowc2-ENV): Likewise.
1910 (tst-c16c32-1-ENV): Likewise.
1911 (tst-mbsnrtowcs-ENV): Likewise.
1913 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1915 * manual/resource.texi (How to get information about the memory
1916 subsystem?): Fix typo.
1917 Reported by Peon de la Parra Ivan <peon@keba.com>
1919 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1922 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1923 (pthread_spin_lock): Branch out of spin loop to proper location.
1924 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1925 (pthread_spin_lock): Likewise.
1927 * nptl/tst-spin4.c: New test.
1928 * nptl/Makefile (tests): Add tst-spin4.
1930 2014-06-03 Andreas Schwab <schwab@suse.de>
1933 * resolv/res_send.c (send_dg): Reload file descriptor after
1936 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1938 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1940 2014-06-03 Richard Henderson <rth@redhat.com>
1942 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1943 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1944 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1945 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1946 in the SAVE_PID block.
1947 (__libc_vfork): New alias.
1948 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1950 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1951 child in registers, not on the stack. Remove RESET_PID conditionals.
1952 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1954 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1956 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1958 2014-06-03 Wilco <wdijkstr@arm.com>
1960 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1961 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1962 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1963 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1964 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1967 2014-06-03 Wilco <wdijkstr@arm.com>
1969 * sysdeps/aarch64/fpu/math_private.h
1970 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1971 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1972 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1973 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1976 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1978 * crypt/crypt-private.h: Include ufc-crypt.h.
1979 (__b64_from_24bit): Declare extern.
1980 * crypt/crypt_util.c(__b64_from_24bit): New function.
1981 (b64t): New static const variable.
1982 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1983 (b64t): Remove variable.
1984 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1985 * crypt/sha256-crypt.c: Include crypt-private.h.
1986 (b64t): Remove variable.
1987 (__sha256_crypt_r): Remove b64_from_24bit and replace
1988 with __b64_from_24bit.
1989 * crypt/sha512-crypt.c: Likewise.
1991 2014-06-02 Roland McGrath <roland@hack.frob.com>
1993 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1994 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1995 Label the code __libc_vfork rather than __vfork.
1996 [!NOT_IN_libc] (vfork): Define as weak alias.
1997 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1998 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1999 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2001 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2003 * malloc/malloc.c (malloc_info): Fix format specifier for
2006 2014-06-02 Wilco <wdijkstr@arm.com>
2008 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2011 2014-06-02 Wilco <wdijkstr@arm.com>
2014 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2015 Rewrite to reduce FPCR/FPSR accesses.
2017 2014-06-01 David S. Miller <davem@davemloft.net>
2019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2021 2014-05-31 David S. Miller <davem@davemloft.net>
2023 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2024 to occur in round to nearest mode when |x| >= 2.0
2026 2014-05-30 Richard Henderson <rth@twiddle.net>
2028 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2029 (PSEUDO_RET_NOERRNO): Remove.
2030 (ret): Don't redefine.
2031 (ret_NOERRNO): Define in terms of ret.
2032 (ret_ERRVAL): Likewise.
2034 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2035 use of PSEUDO_RET; perform the error check directly.
2037 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2039 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2042 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2044 * malloc/malloc (malloc_info): Fix formatting.
2046 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2047 Roland McGrath <roland@hack.frob.com>
2049 * malloc/malloc (malloc_info): Also print mmapped statistics.
2051 2014-05-30 Roland McGrath <roland@hack.frob.com>
2053 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2054 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2056 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2058 * malloc/malloc.c (malloc_info): Inline mi_arena.
2060 2014-05-29 Richard Henderson <rth@twiddle.net>
2062 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2063 Remove comma before expanding ASM_ARGS_##nr.
2064 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2065 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2067 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2068 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2069 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2070 (ASM_ARGS_1): Add leading comma.
2072 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2073 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2074 to __errno_location.
2075 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2076 Remove the expected plt for __errno_location.
2078 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2079 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2082 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2083 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2084 it and break it down.
2085 (DOCARGS_0, DOCARGS_1): Do nothing.
2086 (DOCARGS_2): Update to store into the new stack frame.
2087 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2088 (UNDOCARGS_1): Update to restore from the new stack frame.
2089 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2090 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2092 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2093 (SINGLE_THREAD_P): New parameter for result regno.
2094 (PSEUDO): Update to match; use cbz instead of beq.
2096 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2097 Use ENTRY to define the _nocancel entry point. Share the syscall
2098 and syscall error check paths with the cancel path.
2101 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2102 whitespace; tabs before and after asm mnemonics.
2104 2014-05-29 Eric Wong <normalperson@yhbt.net>
2107 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2108 Call fstat64 or stat64 internally, depending on arguments passed.
2109 Replace stat buffer argument with file descriptor argument.
2110 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2111 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2112 Pass fd to __internal_statvfs instead of calling fstat64.
2113 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2114 Pass fd to __internal_statvfs64 instead of calling fstat64.
2115 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2116 Pass -1 to __internal_statvfs instead of calling stat64.
2117 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2118 Pass -1 to __internal_statvfs64 instead of calling stat64.
2120 2014-05-28 Roland McGrath <roland@hack.frob.com>
2122 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2123 that was previously under [RESET_PID].
2124 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2126 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2127 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2129 2014-05-27 Roland McGrath <roland@hack.frob.com>
2131 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2133 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2134 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2136 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2138 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2140 2014-05-27 Andreas Schwab <schwab@suse.de>
2142 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2144 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2145 * elf/rtld.c (init_tls, dl_main): Likewise.
2146 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2147 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2148 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2149 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2150 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2151 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2152 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2153 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2154 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2155 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2156 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2157 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2158 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2159 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2160 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2161 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2162 * sysdeps/generic/tls.h: Update description.
2164 2014-05-27 Will Newton <will.newton@linaro.org>
2167 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2168 and restore r2 rather than just restoring.
2170 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2173 * libio/tst-ftell-append.c: New test case.
2174 * libio/Makefile (tests): Add test case.
2175 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2177 * libio/wfileops.c (do_ftell_wide): Likewise.
2179 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2183 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2187 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2188 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2189 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2190 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2191 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2192 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2199 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2200 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2201 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2202 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2203 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2205 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2206 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2208 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2210 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2212 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2213 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2214 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2216 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2217 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2218 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2219 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2224 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2242 conditional [RESET_PID].
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2251 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2252 (__libc_vfork): New strong alias.
2253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2260 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2261 (__libc_vfork): New strong alias.
2262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2264 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2267 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2269 * malloc/malloc.c (mi_arena): New function.
2270 (malloc_info): Remove nested function mi_arena. Call non-nosted
2273 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2275 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2277 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2278 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2279 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2280 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2281 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2282 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2283 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2285 2014-05-26 Andreas Schwab <schwab@suse.de>
2288 * locale/programs/repertoire.c (repertoire_read): Add slash
2289 between I18NPATH element and file name.
2290 * locale/programs/locfile.c (locfile_read): Likewise.
2292 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2294 * nptl/pthread_mutexattr_settype.c
2295 (__pthread_mutexattr_settype):
2296 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2298 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2300 * nptl/tst-mutex5 (do_test):
2301 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2303 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2305 * benchtests/README: Document 'init' directive.
2306 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2308 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2309 (parse_file): Recognize 'init' directive.
2311 2014-05-26 Kyle McMartin <kyle@redhat.com>
2314 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2315 alignment of struct pthread.
2317 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2320 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2321 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2322 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2323 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2325 2014-05-25 Richard Henderson <rth@twiddle.net>
2327 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2328 (SINGLE_THREAD_P_PIC): Remove.
2329 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2330 (SINGLE_THREAD_P_PIC): Remove.
2332 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2333 branch to syscall error ...
2335 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2336 from __local_syscall_error to .Lsyscall_error.
2337 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2338 (SYSCALL_ERROR): Update label name.
2340 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2341 Do not use DOARGS/UNDOARGS.
2342 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2343 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2344 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2345 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2346 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2348 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2351 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2352 define if !NOT_IN_libc.
2353 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2354 define with non-default symbol versions.
2356 2014-05-23 Richard Henderson <rth@twiddle.net>
2358 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2359 (vfork, __vfork): Define via compat_symbol.
2361 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2362 [!HAVE_IFUNC] (vfork_compat): Remove.
2363 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2365 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2368 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2369 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2372 2014-05-23 Richard Henderson <rth@twiddle.net>
2374 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2375 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2376 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2377 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2379 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2380 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2381 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2382 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2383 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2384 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2385 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2386 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2387 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2388 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2389 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2390 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2391 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2396 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2397 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2398 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2399 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2400 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2404 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2406 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2408 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2418 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2419 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2420 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2421 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2422 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2423 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2424 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2425 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2426 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2427 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2428 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2429 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2430 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2431 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2432 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2433 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2434 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2436 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2437 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2438 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2439 before exiting on error.
2440 (__libc_vfork): New strong alias.
2441 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2442 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2444 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2445 that was previously under [RESET_PID].
2446 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2448 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2450 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2453 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2454 value when x - 1 is zero.
2455 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2456 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2457 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2458 0.0L for an argument of 1.0L.
2459 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2461 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2462 value when x - 1 is zero.
2463 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2464 * sysdeps/i386/fpu/libm-test-ulps: Update.
2465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2467 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2469 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2470 alphasort and versionsort.
2472 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2474 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2476 [copysignf]: Likewise.
2478 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2480 * crypt/md5-crypt.c: Fix formatting.
2482 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2484 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2485 (b64_from_24bit): New function.
2487 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2490 libc_hidden_builtin_def to ifunc.
2491 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2492 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2494 2014-05-21 Roland McGrath <roland@hack.frob.com>
2496 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2497 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2499 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2501 * nscd/Depend (linuxthreads): Remove.
2503 * resolv/Depend (linuxthreads): Remove.
2504 * rt/Depend (linuxthreads): Remove.
2506 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2507 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2508 $(common-objpfx)elf/.
2509 (link-libc-before-gnulib): Likewise.
2510 (elfobjdir): Remove variable.
2511 * Makefile (install): Use $(elf-objpfx) instead of
2512 $(common-objpfx)elf/.
2513 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2515 (link-libc-deps): Likewise.
2516 ($(common-objpfx)libc.so): Likewise.
2517 ($(common-objpfx)linkobj/libc.so): Likewise.
2518 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2519 instead of $(common-objpfx)elf/.
2520 (symbolic-link-list): Likewise.
2521 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2522 [$(cross-compiling) = no]: Likewise.
2523 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2525 (static-gnulib-arch): Likewise.
2526 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2527 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2528 $(common-objpfx)elf/.
2530 2014-05-21 Richard Henderson <rth@redhat.com>
2532 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2533 (SINGLE_THREAD_P): Use the correct width load. Fold
2534 into the ldr offset.
2536 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2537 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2539 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2541 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2542 (libgcc_s_resume): Use __attribute_used__.
2543 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2546 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2548 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2549 optimization when used with float constants.
2551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2553 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2556 * locale/nl_langinfo_l.c: Make direct reference to every
2557 _nl_current_CATEGORY symbol.
2558 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2559 (tests-static): Add tst-langinfo-static.
2560 (tests-special): Add tst-langinfo-static.out.
2561 ($(objpfx)tst-langinfo.out): Redirect output.
2562 ($(objpfx)tst-langinfo-static.out): New.
2563 * localedata/tst-langinfo.sh: Send output to stdout.
2564 * localedata/tst-langinfo-static.c: New file.
2567 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2568 when the shift amount is modulo the limb size.
2570 2014-05-20 Richard Henderson <rth@redhat.com>
2573 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2574 Change type of sa_flags from unsigned int to int.
2577 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2579 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2581 2014-05-20 Will Newton <will.newton@linaro.org>
2583 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2584 Test the return value of the system call in the nocancel case.
2586 2014-05-20 Will Newton <will.newton@linaro.org>
2587 Yvan Roux <yvan.roux@linaro.org>
2589 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2590 #include of asm/ptrace.h.
2591 (PTRACE_GET_THREAD_AREA): Remove #undef.
2592 (PTRACE_GETHBPREGS): Likewise.
2593 (PTRACE_SETHBPREGS): Likewise.
2594 (struct user_regs_struct): New structure.
2595 (struct user_fpsimd_struct): New structure.
2596 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2597 #include of asm/ptrace.h and second #include of sys/user.h.
2598 (PTRACE_GET_THREAD_AREA): Remove #undef.
2599 (PTRACE_GETHBPREGS): Likewise.
2600 (PTRACE_SETHBPREGS): Likewise.
2601 (ELF_NGREG): Use new struct user_regs_struct.
2602 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2604 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2606 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2607 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2609 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2613 membar to avoid block loads/stores to overlap previous stores.
2615 2014-05-17 Richard Henderson <rth@redhat.com>
2617 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2618 Create the __##syscall_name##_nocancel entry point.
2619 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2620 Remove; let the sysdep-cancel.h code create it.
2622 2014-05-17 David S. Miller <davem@davemloft.net>
2624 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2625 Protect with __USE_GNU.
2626 (TIOCSET_TEMPT): Likewise.
2627 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2628 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2629 these are already provided in bits/ioctl-types.h
2631 2014-05-16 Roland McGrath <roland@hack.frob.com>
2633 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2634 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2636 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2637 Use wait4 regardless of [__NR_waitpid].
2639 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2642 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2643 (_FP_NANSIGN_Q): Set the quiet bit.
2645 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2647 * benchtests/Makefile
2648 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2649 not $(common-objpfx)math/libm.so.
2650 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2651 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2652 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2653 $(common-objpfx)dlfcn/libdl.so.
2654 ($(objpfx)tst-audit8): Depend on $(libm), not
2655 $(common-objpfx)math/libm.so.
2656 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2657 not $(common-objpfx)dlfcn/libdl.so.
2659 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2660 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2661 [$(build-shared) = yes].
2662 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2663 $(common-objpfx)nptl/libpthread.so.
2664 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2665 $(common-objpfx)math/libm.so$(libm.so-version) or
2666 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2667 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2668 $(common-objpfx)dlfcn/libdl.so.
2669 * setjmp/Makefile (link-libm): Remove variable.
2670 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2671 * stdio-common/Makefile (link-libm): Remove variable.
2672 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2673 * stdlib/Makefile (link-libm): Remove variable.
2674 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2675 ($(objpfx)tst-strtod-round): Likewise.
2676 ($(objpfx)tst-tininess): Likewise.
2677 ($(objpfx)tst-strtod-underflow): Likewise.
2678 ($(objpfx)tst-strtod6): Likewise.
2679 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2680 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2681 $(common-objpfx)dlfcn/libdl.so.
2683 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2685 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2686 BSD terminal modes definitions.
2688 2014-05-16 Roland McGrath <roland@hack.frob.com>
2690 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2691 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2693 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2694 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2695 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2696 Don't do #include_next.
2697 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2698 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2699 Don't do #include_next.
2700 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2701 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2702 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2703 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2705 2014-05-16 Allan McRae <allan@archlinux.org>
2707 * po/sv.po: Update Swedish translation from translation project.
2709 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2712 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2715 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2716 errno if the TIOCGPTN ioctl fails with an error different than
2718 * login/tst-ptsname.c: New file.
2719 * login/Makefile (tests): Add tst-ptsname.
2722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2725 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2729 herrno to return EAI_AGAIN.
2731 2014-05-14 Roland McGrath <roland@hack.frob.com>
2733 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2734 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2735 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2736 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2738 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2742 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2744 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2746 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2748 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2750 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2751 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2752 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2753 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2754 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2756 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2757 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2758 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2759 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2760 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2761 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2762 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2764 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2766 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2769 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2771 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2773 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2775 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2777 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2779 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2781 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2793 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2798 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2800 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2802 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2804 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2806 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2808 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2810 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2814 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2819 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2821 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2824 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2825 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2826 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2827 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2828 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2829 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2830 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2831 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2832 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2833 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2834 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2835 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2836 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2837 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2838 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2839 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2840 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2841 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2842 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2843 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2844 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2845 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2846 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2847 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2848 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2849 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2850 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2851 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2852 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2853 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2855 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2856 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2858 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2859 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2860 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2861 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2862 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2863 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2865 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2866 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2868 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2869 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2871 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2872 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2874 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2875 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2876 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2877 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2879 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2880 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2881 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2882 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2883 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2884 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2885 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2886 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2888 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2889 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2891 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2893 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2894 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2895 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2896 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2897 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2899 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2901 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2903 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2904 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2905 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2906 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2907 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2908 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2910 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2911 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2913 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2914 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2916 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2917 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2919 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2920 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2921 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2922 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2924 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2925 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2926 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2927 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2928 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2929 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2930 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2931 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2933 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2934 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2936 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2938 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2939 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2940 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2941 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2942 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2944 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2946 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2948 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2949 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2950 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2951 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2952 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2953 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2954 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2955 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2956 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2960 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2962 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2965 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2966 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2968 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2969 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2970 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2972 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2975 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2976 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2977 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2978 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2979 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2980 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2981 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2982 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2984 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2985 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2987 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2989 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2990 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2991 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2992 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2993 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2995 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2997 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2999 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3000 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3001 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3002 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3003 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3004 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3005 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3006 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3007 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3008 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3009 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3011 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3012 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3014 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3015 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3017 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3018 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3019 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3020 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3021 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3022 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3023 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3024 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3025 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3026 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3027 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3028 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3029 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3031 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3033 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3034 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3036 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3037 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3038 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3041 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3043 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3045 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3047 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3048 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3050 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3051 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3053 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3055 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3056 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3057 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3058 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3059 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3060 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3061 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3062 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3063 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3064 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3065 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3066 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3067 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3068 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3069 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3072 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3073 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3074 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3075 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3077 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3078 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3080 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3081 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3082 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3083 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3084 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3085 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3086 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3089 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3091 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3092 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3093 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3094 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3096 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3097 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3098 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3099 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3100 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3101 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3102 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3103 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3104 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3105 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3107 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3109 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3111 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3113 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3126 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3127 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3128 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3129 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3130 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3131 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3132 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3133 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3134 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3135 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3136 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3137 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3138 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3139 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3141 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3142 that was previously under [RESET_PID].
3143 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3144 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3145 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3147 * sysdeps/i386/nptl/Implies: New file.
3148 * sysdeps/x86_64/nptl/Implies: New file.
3149 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3150 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3151 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3152 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3154 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3155 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3156 (__libc_vfork): New strong alias.
3157 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3158 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3160 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3161 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3162 (__libc_vfork): New strong alias.
3163 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3164 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3166 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3167 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3168 (__libc_vfork): New strong alias.
3169 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3170 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3171 * nptl/pt-vfork.c: New file.
3172 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3173 (libpthread: GLIBC_2.20): New version set (empty).
3175 2014-05-14 Will Newton <will.newton@linaro.org>
3177 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3180 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3183 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3184 arguments with exponent 65 or above.
3185 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3186 arguments 0x1p113L or above.
3187 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3188 to arguments 0x1p107L or above.
3189 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3190 positive arguments with exponent 65 or above.
3191 * math/auto-libm-test-in: Add more tests of log1p.
3192 * math/auto-libm-test-out: Regenerated.
3195 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3196 non-finite arguments is +0.
3197 * math/s_cacosf.c (__cacosf): Likewise.
3198 * math/s_cacosl.c (__cacosl): Likewise.
3199 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3200 * sysdeps/i386/fpu/libm-test-ulps: Update.
3201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3204 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3206 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3207 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3208 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3209 for explicit high bit of mantissa when testing for argument equal
3211 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3212 * sysdeps/i386/fpu/libm-test-ulps: Update.
3213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3216 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3217 (__erf): Scale by 16 instead of 8 in potentially underflowing
3218 case. Ensure exception if result actually underflows.
3219 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3220 (__erff): Scale by 16 instead of 8 in potentially underflowing
3221 case. Ensure exception if result actually underflows.
3222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3223 (efx8): Remove variable.
3224 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3225 case. Ensure exception if result actually underflows.
3226 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3227 (efx8): Remove variable.
3228 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3229 case. Ensure exception if result actually underflows.
3230 * sysdeps/ieee754/ldbl-96/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 * math/auto-libm-test-in: Add more tests of erf.
3235 * math/auto-libm-test-out: Regenerated.
3237 2014-05-14 Andreas Schwab <schwab@suse.de>
3239 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3240 Remove code conditionalized on USE___THREAD.
3242 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3243 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3246 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3248 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3249 Define unconditionally.
3250 (__ASSUME_O_CLOEXEC): Likewise.
3251 (__ASSUME_SOCK_CLOEXEC): Likewise.
3252 (__ASSUME_IN_NONBLOCK): Likewise.
3253 (__ASSUME_PIPE2): Likewise.
3254 (__ASSUME_EVENTFD2): Likewise.
3255 (__ASSUME_SIGNALFD4): Likewise.
3256 (__ASSUME_DUP3): Likewise.
3257 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3258 (__ASSUME_DUP3): Do not define.
3259 (__ASSUME_EVENTFD2): Likewise.
3260 (__ASSUME_IN_NONBLOCK): Likewise.
3261 (__ASSUME_O_CLOEXEC): Likewise.
3262 (__ASSUME_PIPE2): Likewise.
3263 (__ASSUME_SIGNALFD4): Likewise.
3264 (__ASSUME_SOCK_CLOEXEC): Likewise.
3265 (__ASSUME_UTIMES): Undefine.
3266 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3267 (__ASSUME_UTIMES): Do not define.
3268 (__ASSUME_O_CLOEXEC): Likewise.
3269 (__ASSUME_SOCK_CLOEXEC): Likewise.
3270 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3271 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3273 (__ASSUME_PIPE2): Likewise.
3274 (__ASSUME_EVENTFD2): Likewise.
3275 (__ASSUME_SIGNALFD4): Likewise.
3276 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3277 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3279 (__ASSUME_EVENTFD2): Likewise.
3280 (__ASSUME_SIGNALFD4): Likewise.
3281 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3282 (__ASSUME_32BITUIDS): Likewise.
3283 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3284 (__ASSUME_IPC64): Likewise.
3285 (__ASSUME_ST_INO_64_BIT): Likewise.
3286 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3287 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3288 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3289 (__ASSUME_UTIMES): Do not define.
3290 (__ASSUME_PSELECT): Likewise.
3291 (__ASSUME_PPOLL): Likewise.
3292 (__ASSUME_O_CLOEXEC): Likewise.
3293 (__ASSUME_SOCK_CLOEXEC): Likewise.
3294 (__ASSUME_IN_NONBLOCK): Likewise.
3295 (__ASSUME_PIPE2): Likewise.
3296 (__ASSUME_EVENTFD2): Likewise.
3297 (__ASSUME_SIGNALFD4): Likewise.
3298 (__ASSUME_DUP3): Likewise.
3299 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3300 (__ASSUME_UTIMES): Likewise.
3301 (__ASSUME_O_CLOEXEC): Likewise.
3302 (__ASSUME_SOCK_CLOEXEC): Likewise.
3303 (__ASSUME_IN_NONBLOCK): Likewise.
3304 (__ASSUME_PIPE2): Likewise.
3305 (__ASSUME_EVENTFD2): Likewise.
3306 (__ASSUME_SIGNALFD4): Likewise.
3307 (__ASSUME_DUP3): Likewise.
3308 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3309 (__ASSUME_UTIMES): Likewise.
3310 (__ASSUME_O_CLOEXEC): Likewise.
3311 (__ASSUME_SOCK_CLOEXEC): Likewise.
3312 (__ASSUME_IN_NONBLOCK): Likewise.
3313 (__ASSUME_PIPE2): Likewise.
3314 (__ASSUME_EVENTFD2): Likewise.
3315 (__ASSUME_SIGNALFD4): Likewise.
3316 (__ASSUME_DUP3): Likewise.
3317 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3319 (__ASSUME_UTIMES): Likewise.
3320 (__ASSUME_EVENTFD2): Likewise.
3321 (__ASSUME_SIGNALFD4): Likewise.
3322 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3323 (__ASSUME_O_CLOEXEC): Likewise.
3324 (__ASSUME_SOCK_CLOEXEC): Likewise.
3325 (__ASSUME_IN_NONBLOCK): Likewise.
3326 (__ASSUME_PIPE2): Likewise.
3327 (__ASSUME_EVENTFD2): Likewise.
3328 (__ASSUME_SIGNALFD4): Likewise.
3329 (__ASSUME_DUP3): Likewise.
3330 (__ASSUME_UTIMES): Undefine.
3332 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3333 feclearexcept. Remove symbol versioning code.
3334 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3335 symbol versioning code.
3336 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3337 symbol versioning code.
3338 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3339 feupdateenv. Remove symbol versioning code.
3340 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3341 fegetexceptflag. Remove symbol versioning code.
3342 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3343 fesetexceptflag. Remove symbol versioning code.
3344 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3345 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3346 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3347 (__posix_fadvise64_l32): Remove prototype.
3348 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3351 2014-05-13 Roland McGrath <roland@hack.frob.com>
3353 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3354 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3355 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3356 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3358 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3360 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3361 current working directory
3363 2014-05-13 Roland McGrath <roland@hack.frob.com>
3365 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3366 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3367 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3368 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3369 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3370 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3371 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3372 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3373 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3374 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3376 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3377 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3378 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3379 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3380 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3384 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3386 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3388 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3389 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3390 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3391 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3392 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3393 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3394 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3396 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3397 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3398 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3399 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3400 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3401 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3402 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3403 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3404 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3405 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3406 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3408 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3409 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3411 * sysdeps/unix/sysv/linux/arm/Makefile
3412 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3413 Add rt-aeabi_unwind_cpp_pr1.
3414 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3415 Add nptl-aeabi_unwind_cpp_pr1.
3416 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3417 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3418 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3419 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3420 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3421 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3423 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3424 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3425 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3426 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3428 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3429 Deconditionalize the code that was previously under [RESET_PID].
3430 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3432 * sysdeps/generic/exit-thread.h: New file.
3433 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3434 * include/unistd.h (__exit_thread): Remove declaration.
3435 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3436 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3437 * csu/libc-start.c: Include <exit-thread.h>.
3438 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3439 * nptl/pthread_create.c: Include <exit-thread.h>.
3440 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3441 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3442 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3443 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3444 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3445 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3446 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3447 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3448 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3449 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3450 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3451 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3452 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3453 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3454 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3455 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3456 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3458 2014-05-13 Andreas Schwab <schwab@suse.de>
3460 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3462 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3464 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3465 (__ASSUME_UTIMES): Do not condition on kernel version.
3466 (__ASSUME_PSELECT): Define unconditionally.
3467 (__ASSUME_PPOLL): Likewise.
3468 (__ASSUME_ATFCTS): Likewise.
3469 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3470 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3471 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3472 (__ASSUME_UTIMENSAT): Define unconditionally.
3473 (__ASSUME_PRIVATE_FUTEX): Likewise.
3474 (__ASSUME_FALLOCATE): Likewise.
3475 (__ASSUME_O_CLOEXEC): Likewise.
3476 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3477 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3478 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3479 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3480 (__ASSUME_IN_NONBLOCK): Likewise.
3481 (__ASSUME_PIPE2): Likewise.
3482 (__ASSUME_EVENTFD2): Likewise.
3483 (__ASSUME_SIGNALFD4): Likewise.
3484 (__ASSUME_DUP3): Likewise.
3485 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3486 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3487 (__ASSUME_AT_RANDOM): Likewise.
3488 (__ASSUME_PREADV): Likewise.
3489 (__ASSUME_PWRITEV): Likewise.
3490 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3491 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3492 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3493 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3494 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3495 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3496 (__ASSUME_O_CLOEXEC): Define unconditionally.
3497 (__ASSUME_PSELECT): Do not undefine conditionally.
3498 (__ASSUME_PPOLL): Likewise.
3499 (__ASSUME_ATFCTS): Likewise.
3500 (__ASSUME_SET_ROBUST_LIST): Likewise.
3501 (__ASSUME_UTIMENSAT): Likewise.
3502 (__ASSUME_FDATASYNC): Define unconditionally.
3503 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3504 (__ASSUME_SIGFRAME_V2): Likewise.
3505 )__ASSUME_EVENTFD2): Likewise.
3506 (__ASSUME_SIGNALFD4): Likewise.
3507 (__ASSUME_PSELECT): Do not undefine conditionally.
3508 (__ASSUME_PPOLL): Likewise.
3509 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3510 (__ASSUME_PSELECT): Define unconditionally.
3511 (__ASSUME_PPOLL): Likewise.
3512 (__ASSUME_O_CLOEXEC): Likewise.
3513 (__ASSUME_SOCK_CLOEXEC): Likewise.
3514 (__ASSUME_IN_NONBLOCK): Likewise.
3515 (__ASSUME_PIPE2): Likewise.
3516 (__ASSUME_EVENTFD2): Likewise.
3517 (__ASSUME_SIGNALFD4): Likewise.
3518 (__ASSUME_DUP3): Likewise.
3519 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
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/mips/kernel-features.h
3528 (__ASSUME_EVENTFD2): Likewise.
3529 (__ASSUME_SIGNALFD4): Likewise.
3530 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3532 2014-05-12 Andreas Schwab <schwab@suse.de>
3535 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3536 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3537 than maximum RPC packet size.
3538 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3539 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3540 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3541 (_nss_nis_getservbyport_r): Likewise.
3543 2014-05-12 Will Newton <will.newton@linaro.org>
3545 * malloc/Makefile (tests): Add tst-mallopt.
3546 * malloc/tst-mallopt.c: New file.
3548 2014-05-09 Roland McGrath <roland@hack.frob.com>
3550 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3551 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3553 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3555 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3556 (tst-tlsmod6.so): Likewise.
3558 2014-05-09 Roland McGrath <roland@hack.frob.com>
3560 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3562 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3565 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3566 and <dl-procinfo.h>.
3567 (__fegetenv): Save SSE state in envp->__eip if supported.
3568 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3569 envp->__eip if supported.
3570 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3571 and <dl-procinfo.h>.
3572 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3573 __data_offset and __data_selector in environment to 0. Set SSE
3575 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3577 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3579 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3581 2014-05-09 Will Newton <will.newton@linaro.org>
3583 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3584 and libc_relro_required for ARM.
3585 * sysdeps/arm/preconfigure: Regenerate.
3587 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3588 Stefan Liebler <stli@linux.vnet.ibm.com>
3590 * config.make.in (enable-lock-elision): New Makefile variable.
3591 * configure.ac: Likewise.
3592 * configure: Regenerate.
3593 * sysdeps/s390/configure.ac:
3594 Add check for gcc transactions support.
3595 * sysdeps/s390/configure: Regenerate.
3596 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3597 Build elision files if enabled.
3598 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3599 Add lock elision support for s390.
3600 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3601 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3602 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3603 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3604 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3605 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3606 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3608 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3610 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3612 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3614 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3615 (__lll_timedlock_elision, __lll_lock_elision)
3616 (__lll_unlock_elision, __lll_trylock_elision)
3617 (lll_timedlock_elision, lll_lock_elision)
3618 (lll_unlock_elision, lll_trylock_elision): Add.
3619 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3620 (pthread_mutex_t): Add lock elision support for s390.
3622 2014-05-14 Wilco <wdijkstr@arm.com>
3624 * sysdeps/arm/fclrexcpt.c: Cleanup.
3625 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3626 * sysdeps/arm/feenablxcpt.c: Cleanup.
3627 * sysdeps/arm/fegetenv.c: Cleanup.
3628 * sysdeps/arm/fegetexcept.c: Cleanup.
3629 * sysdeps/arm/fegetround.c: Cleanup.
3630 * sysdeps/arm/feholdexcpt.c: Cleanup.
3631 * sysdeps/arm/fesetenv.c: Cleanup.
3632 * sysdeps/arm/fesetround.c: Cleanup.
3633 * sysdeps/arm/feupdateenv.c: Cleanup.
3634 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3635 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3636 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3637 * sysdeps/arm/ftestexcept.c: Cleanup.
3638 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3639 * sysdeps/arm/setfpucw.c: Cleanup.
3641 2014-05-09 Will Newton <will.newton@linaro.org>
3643 * sysdeps/arm/armv7/strcmp.S: New file.
3644 * NEWS: Mention addition of ARMv7 optimized strcmp.
3646 2014-05-08 Roland McGrath <roland@hack.frob.com>
3648 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3649 look for %.ac rather than %.in.
3651 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3652 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3653 * sysdeps/mach/hurd/configure: Regenerated.
3654 * sysdeps/unix/sysv/linux/configure: Regenerated.
3656 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3658 2014-05-07 Steve Ellcey <sellcey@mips.com>
3661 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3665 2014-05-07 Andreas Schwab <schwab@suse.de>
3667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3668 when skipping over non-matching result from nscd.
3670 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3673 * nptl/sockperf.c (client): Check socket return value.
3676 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3677 nscd security class.
3679 2014-05-06 Roland McGrath <roland@hack.frob.com>
3681 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3682 * sysdeps/arm/unwind.h: ... here.
3684 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3687 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3690 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3692 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3693 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3694 multiarch strncpy for PPC64.
3695 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3696 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3698 multiarch optimizations.
3699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3700 (__libc_ifunc_impl_list): Likewise.
3701 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3702 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3703 multiarch stpncpy for PPC64.
3704 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3705 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3707 2014-05-06 Andreas Schwab <schwab@suse.de>
3710 * gmon/mcount.c (_MCOUNT_DECL): Use
3711 atomic_compare_and_exchange_bool_acq instead of
3712 catomic_compare_and_exchange_bool_acq.
3714 2014-05-05 Roland McGrath <roland@hack.frob.com>
3716 * elf/Makefile (others, install-bin): Remove pldd.
3717 (pldd-modules): Variable removed.
3718 ($(objpfx)pldd): Target removed.
3719 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3720 (others, install-bin): Append pldd here.
3721 ($(objpfx)pldd): New target.
3723 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3724 to 0, so the first #if test emitted later doesn't see it undefined.
3725 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3726 * sysdeps/gnu/errlist.c: Regenerated.
3728 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3731 [libc_hidden_builtin_def]: Define to empty value.
3732 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3733 [libc_hidden_builtin_def]: Likewise.
3734 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3735 [libc_hidden_builtin_def]: Likewise.
3736 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3737 [libc_hidden_builtin_def]: Likewise.
3738 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3739 __redirect_memcpy and define ifunc as default hidden symbol.
3740 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3741 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3743 2014-05-04 Adam Conrad <adconrad@0c3.net>
3745 * locale/iso-4217.def: Reintroduce XDR currency.
3747 2014-05-04 Allan McRae <allan@archlinux.org>
3749 * po/eo.po: Update Esperanto translation from translation project.
3751 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3753 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3754 and FEATURE_INDEX_MAX to 1.
3755 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3757 2014-05-01 Steve Ellcey <sellcey@mips.com>
3759 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3760 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3761 * iconvdata/big5.c (ONE_DIRECTION): Define.
3762 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3763 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3764 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3765 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3766 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3767 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3768 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3769 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3770 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3771 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3772 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3773 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3774 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3775 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3776 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3777 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3778 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3779 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3780 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3781 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3782 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3783 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3784 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3785 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3786 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3787 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3788 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3789 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3790 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3791 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3792 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3793 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3794 * iconvdata/johab.c (ONE_DIRECTION): Define.
3795 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3796 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3797 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3798 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3799 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3800 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3801 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3802 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3803 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3804 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3806 2014-05-01 Roland McGrath <roland@hack.frob.com>
3808 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3809 (_IO_JUMPS_OFFSET): Define to 0.
3811 * nptl/sysdeps/pthread/bits/libc-lock.h
3812 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3813 (__libc_lock_define_initialized_recursive): Always define using
3814 initializer. Modern compilers treat uninitialized (implicit zero) and
3815 explicit zero initializers the same (i.e. put the datum in bss).
3817 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3819 * nscd/nscd-client.h: Include <string.h>.
3821 2014-05-01 David S. Miller <davem@davemloft.net>
3824 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3825 multiple zero bytes exist at the end of a string.
3826 Reported by Aurelien Jarno <aurelien@aurel32.net>
3828 * string/test-strcmp.c (check): Add explicit test for situations where
3829 there are multiple zero bytes after the first.
3831 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3834 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3835 when compiling wprintf.
3836 * stdio-common/tstdiomisc.c (t3): New function.
3839 2014-05-01 Steve Ellcey <sellcey@mips.com>
3841 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3842 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3843 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3844 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3846 2014-05-01 Steve Ellcey <sellcey@mips.com>
3848 * stdlib/longlong.h: Updated from GCC.
3850 2014-05-01 Will Newton <will.newton@linaro.org>
3851 Bernard Ogden <bernie.ogden@linaro.org>
3853 * NEWS: Update fixed bug list.
3856 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3858 2014-04-30 David S. Miller <davem@davemloft.net>
3860 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3861 (libc_feholdexcept_setround_sparc_ctx): New function.
3862 (libc_fesetenv_sparc_ctx): Likewise.
3863 (libc_feupdateenv_sparc_ctx): Likewise.
3864 (libc_feholdsetround_sparc_ctx): Likewise.
3865 (libc_feholdexcept_setround_ctx): Define.
3866 (libc_feholdexcept_setroundf_ctx): Likewise.
3867 (libc_feholdexcept_setroundl_ctx): Likewise.
3868 (libc_fesetenv_ctx): Likewise.
3869 (libc_fesetenvf_ctx): Likewise.
3870 (libc_fesetenvl_ctx): Likewise.
3871 (libc_feupdateenv_ctx): Likewise.
3872 (libc_feupdateenvf_ctx): Likewise.
3873 (libc_feupdateenvl_ctx): Likewise.
3874 (libc_feresetround_ctx): Likewise.
3875 (libc_feresetroundf_ctx): Likewise.
3876 (libc_feresetroundl_ctx): Likewise.
3877 (libc_feholdsetround_ctx): Likewise.
3878 (libc_feholdsetroundf_ctx): Likewise.
3879 (libc_feholdsetroundl_ctx): Likewise.
3881 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3882 with __USE_GNU instead of XOPEN cpp guards.
3884 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3887 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3888 with XOPEN cpp guards.
3890 2014-04-30 Julian Brown <julian@codesourcery.com>
3893 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3896 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3899 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3901 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3902 * sysdeps/unix/sysv/linux/configure: Regenerated.
3903 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3904 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3905 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3906 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3907 * README: Update reference to required Linux kernel version.
3908 * manual/install.texi (Linux): Update reference to required Linux
3909 kernel headers version.
3910 * INSTALL: Regenerated.
3912 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3914 [POSIX] (limits.h): Likewise.
3915 [POSIX] (math.h): Likewise.
3916 [POSIX] (sys/wait.h): Likewise.
3917 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3919 [POSIX] (stddef.h): Do not allow header inclusion.
3921 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3925 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3927 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3928 Return immediately after lll_futex_wake.
3930 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3933 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3935 (datahead_init_pos): Call datahead_init_common early.
3936 (datahead_init_neg): Likewise.
3938 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3939 datahead_init_neg): New functions.
3940 * nscd/aicache.c (addhstaiX): Use them.
3941 * nscd/grpcache.c (cache_addgr): Likewise.
3942 * nscd/hstcache.c (cache_addhst): Likewise.
3943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3944 * nscd/netgroupcache.c (do_notfound): Likewise.
3945 (addgetnetgrentX): Likewise.
3946 (addinnetgrX): Likewise.
3947 * nscd/pwdcache.c (cache_addpw): Likewise.
3948 * nscd/servicescache.c (cache_addserv): Likewise.
3950 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3951 Atsushi Onoe <atsushi@onoe.org>
3956 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3957 one response is valid.
3958 * resolv/res_send.c (send_dg): Check for validity of other
3959 response if the current response is a referral.
3961 2014-04-29 Steve Ellcey <sellcey@mips.com>
3963 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3965 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3968 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3969 Always divide by positive zero when computing -Inf result.
3970 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3971 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3973 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3975 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3976 FPSCR if value do not change.
3977 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3978 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3979 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3980 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3981 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3982 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3985 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3987 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3988 * sysdeps/unix/sysv/linux/hppa: Move directory from
3989 ports/systeps/unix/sysv/linux/hppa.
3990 * README: Update listing for hppa-*-linux-gnu.
3992 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3995 * manual/stdio.texi (Hook functions): Fix types of stream hook
3998 * socket/sys/socket.h: Fix typo in comment.
4000 2014-04-28 Wilco <wdijkstr@arm.com>
4002 * sysdeps/arm/fenv_private.h: New file.
4003 * sysdeps/arm/math_private.h: New file.
4004 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4006 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4008 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4010 (La_x86_64_retval): Likewise.
4012 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4014 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4015 fpsr if value didn't change.
4016 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4017 to fpcr if value didn't change.
4018 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4019 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4020 fpsr or fpcr if value didn't change.
4021 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4022 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4023 fpcr if value didn't change.
4024 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4025 to fpsr if value didn't change.
4027 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4029 * nptl/tst-sem3.c: Use test-skeleton.c
4030 (main): Rename to do_test. Use return instead of
4032 * nptl/tst-sem4.c: Use test-skeleton.c
4033 (main): Rename to do_test.
4035 2014-04-22 David S. Miller <davem@davemloft.net>
4037 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4038 (struct sigaction): New struct member __glibc_reserved0, change
4039 type of sa_flags to int.
4041 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4043 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4044 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4046 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4048 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4049 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4051 2014-04-22 Will Newton <will.newton@linaro.org>
4052 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4054 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4055 (__longjmp): Add longjmp and longjmp_target SystemTap
4057 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4058 (__sigsetjmp): Add setjmp SystemTap probe.
4060 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4062 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4065 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4067 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4069 * sysdeps/powerpc/fpu/fenv_private.h
4070 (libc_feholdexcept_setroundl_ctx): Define to
4071 libc_feholdexcept_setround_ppc_ctx.
4072 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4073 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4074 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4075 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4077 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4079 * sysdeps/aarch64/math-tests.h: New file.
4081 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4083 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4086 Check and set bit_AVX2_Usable.
4087 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4089 (bit_AVX2): Likewise.
4090 (index_AVX2_Usable): Likewise.
4091 (CPUID_AVX2): Likewise.
4092 (HAS_AVX2): Likewise.
4094 2014-04-17 Will Newton <will.newton@linaro.org>
4096 * manual/setjmp.texi (System V contexts): Add note that
4097 calling setcontext on a context created by a call to a
4098 signal handler is undefined. Update text to note that
4099 setcontext from a signal handler is possible but not
4103 * stdlib/tst-setcontext.c: Include signal.h.
4104 (main): Check that the signal stack before and
4105 after swapcontext is the same.
4107 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4108 Re-implement to restore registers in user code and avoid
4109 rt_sigreturn system call.
4111 2014-04-17 Wilco <wdijkstr@arm.com>
4113 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4114 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4115 * math/test-fenv.c: Skip exception trap tests on targets which only
4116 support non-stop mode.
4118 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4119 Wilco Dijkstra <wilco.dijkstra@arm.com>
4121 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4122 (libc_feholdsetround_aarch64_ctx)
4123 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4124 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4125 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4126 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4127 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4128 (libc_feresetround_noexl_ctx): Define.
4130 2014-04-16 Richard Henderson <rth@redhat.com>
4132 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4134 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4137 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4138 const from the non-libc, non-ldso copy.
4140 * sysdeps/alpha/libm-test-ulps: Regenerate.
4142 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4143 Wilco Dijkstra <wilco.dijkstra@arm.com>
4145 * sysdeps/aarch64/fpu/math_private.h: New file.
4147 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4149 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4151 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4153 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4154 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4156 Intel MPX bound registers before _dl_profile_fixup.
4157 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4158 registers after _dl_profile_fixup. Save and restore bound
4159 registers bnd0/bnd1 when calling _dl_call_pltexit.
4160 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4161 (LR_BND_OFFSET): Likewise.
4162 (LRV_BND0_OFFSET): Likewise.
4163 (LRV_BND1_OFFSET): Likewise.
4165 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4167 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4169 * sysdeps/mach/hurd/i386/tls.h: ... here.
4170 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4171 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4174 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4176 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4178 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4180 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4182 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4185 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4186 * sysdeps/s390/configure: Regenerate.
4189 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4190 Set round-to-nearest internally to reduce error accumulation.
4192 2014-04-16 Alan Modra <amodra@gmail.com>
4196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4197 * math/libm-test.inc (frexp_test_data): Add tests.
4198 * NEWS: Update fixed bug list.
4200 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4202 * benchtests/Makefile: Depend on libraries in build directory.
4203 (bench-math): Separate out math tests.
4204 (bench-pthread): Separate out pthread tests.
4205 (bench): Include math and pthread tests.
4207 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4210 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4211 _dl_debug_initialize.
4213 * configure.ac: Remove SELinux header check.
4214 * configure: Regenerate.
4215 * nscd/selinux.c (perms): Array of const char* to permission names.
4216 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4217 default policy. Call string_to_security_class and string_to_av_perm to
4218 translate strings. Enforce default policy and call avs_has_perm with
4219 results of translated strings.
4221 2014-04-13 David S. Miller <davem@davemloft.net>
4223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4225 2014-04-12 Allan McRae <allan@archlinux.org>
4228 * manual/string.texi (Collation Functions): Fix qsort argument
4230 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4232 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4234 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4235 Make the test a no-op if there are no exceptions defined.
4237 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4239 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4240 enable-hardcoded-path-in-tests
4242 2014-04-11 Will Newton <will.newton@linaro.org>
4244 * benchtests/Makefile (extra-objs): Add json-lib.o.
4245 (bench-func): Tidy up JSON output.
4246 * benchtests/bench-skeleton.c: Include json-lib.h.
4247 (main): Use JSON library functions to do output of
4249 * benchtests/bench-timing-type.c (main): Output the
4250 timing type simply, leaving formatting to the user.
4251 * benchtests/json-lib.c: New file.
4252 * benchtests/json-lib.h: Likewise.
4254 2014-04-11 Torvald Riegel <triegel@redhat.com>
4257 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4258 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4259 memory barriers. Add comments.
4260 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4261 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4262 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4263 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4264 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4265 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4267 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4269 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4270 * sysdeps/s390/s390-64/configure.ac: ... this ...
4271 * sysdeps/s390/configure.ac: ... to here.
4272 * sysdeps/s390/s390-32/configure: Delete file.
4273 * sysdeps/s390/s390-64/configure: Delete file.
4274 * sysdeps/s390/configure: Regenerate.
4276 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4278 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4280 2014-04-11 Will Newton <will.newton@linaro.org>
4282 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4283 to zero if it is not defined elsewhere. (mtrim): Test
4284 the value of MALLOC_DEBUG with #if rather than #ifdef.
4286 2014-04-10 Torvald Riegel <triegel@redhat.com>
4288 * benchtests/pthread_once-inputs: New file.
4289 * benchtests/pthread_once-source.c: New file.
4290 * benchtests/README: Update documentation.
4292 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4293 H.J. Lu <hongjiu.lu@intel.com>
4295 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4296 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4297 * sysdeps/x86_64/configure: Regenerated.
4298 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4300 (REGISTER_SAVE_RAX): Likewise.
4301 (REGISTER_SAVE_RCX): Likewise.
4302 (REGISTER_SAVE_RDX): Likewise.
4303 (REGISTER_SAVE_RSI): Likewise.
4304 (REGISTER_SAVE_RDI): Likewise.
4305 (REGISTER_SAVE_R8): Likewise.
4306 (REGISTER_SAVE_R9): Likewise.
4307 (REGISTER_SAVE_BND0): Likewise.
4308 (REGISTER_SAVE_BND1): Likewise.
4309 (REGISTER_SAVE_BND2): Likewise.
4310 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4311 bound registers when calling _dl_fixup.
4313 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4315 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4316 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4318 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4319 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4320 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4321 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4322 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4323 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4324 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4326 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4329 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4330 pathconf(_PC_NAME_MAX).
4332 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4334 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4336 (__PTHREAD_SPINS): Move definition to ...
4337 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4338 (__PTHREAD_SPINS): ... here.
4339 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4340 (__PTHREAD_SPIN): Likewise.
4341 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4342 (__PTHREAD_SPIN): Likewise.
4343 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4344 (__PTHREAD_SPIN): Likewise.
4345 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4346 (__PTHREAD_SPIN): Likewise.
4347 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4348 (__PTHREAD_SPIN): Likewise.
4349 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4350 (__PTHREAD_SPIN): Likewise.
4351 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4352 (__PTHREAD_SPIN): Likewise.
4353 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4354 (__PTHREAD_SPIN): Likewise.
4355 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4356 (__PTHREAD_SPIN): Likewise.
4357 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4358 (__PTHREAD_SPIN): Likewise.
4359 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4360 (__PTHREAD_SPIN): Likewise.
4361 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4362 (__PTHREAD_SPIN): Likewise.
4364 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4365 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4366 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4367 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4369 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4370 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4371 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4372 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4374 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4375 strlen symbol for non multi-arch builds.
4376 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4377 missing hidden_def and weak_alias.
4379 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4381 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4383 2014-04-07 Will Newton <will.newton@linaro.org>
4385 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4386 and contents. [!_LIBC] Remove #ifndef and contents.
4387 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4388 * string/memccpy.c (__memccpy): Use ANSI prototype.
4389 * string/memfrob.c (memfrob): Likewise.
4390 * string/strcoll.c (STRCOLL): Likewise.
4391 * string/strlen.c (strlen): Likewise.
4392 * string/strtok.c (STRTOK): Likewise.
4393 * string/strcat.c: Remove unused #include of memcopy.h.
4394 (strcat): Use ANSI prototype.
4395 * string/strchr.c: Remove unused #include of memcopy.h.
4396 (strchr): Use ANSI prototype.
4397 * string/strcmp.c: Remove unused #include of memcopy.h.
4398 (strcmp): Use ANSI prototype.
4399 * string/strcpy.c: Remove unused #include of memcopy.h.
4400 (strcpy): Use ANSI prototype.
4402 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4404 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4405 * config.make.in (config-extra-cppflags): Set it from
4406 libc_extra_cppflags.
4407 * configure.ac (libc_extra_cflags): Make it accumulate over
4408 configure fragments.
4409 (libc_extra_cppflags): New flag.
4410 * configure. Regenerate.
4411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4412 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4413 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4417 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4418 result for FE_DOWNWARD rounding mode.
4419 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4423 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4425 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4426 in function argument name.
4428 2014-04-03 David Svoboda <svoboda@cert.org>
4431 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4434 2014-04-03 Roland McGrath <roland@hack.frob.com>
4436 * elf/dl-unmap-segments.h: New file.
4437 * sysdeps/generic/ldsodefs.h
4438 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4439 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4440 * elf/dl-fptr.c: Likewise.
4441 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4442 * sysdeps/aarch64/tlsdesc.c: Likewise.
4443 * sysdeps/arm/tlsdesc.c: Likewise.
4444 * sysdeps/i386/tlsdesc.c: Likewise.
4445 * sysdeps/tile/dl-runtime.c: Likewise.
4446 * sysdeps/x86_64/tlsdesc.c: Likewise.
4447 * elf/dl-load.h: New file.
4448 * elf/dl-load.c: Include it.
4449 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4450 Macros moved to dl-load.h.
4451 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4452 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4453 Use _dl_unmap_segments in place of __munmap.
4454 Break out segment-mapping loop into ...
4455 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4457 2014-04-03 Will Newton <will.newton@linaro.org>
4459 * elf/dl-lookup.c (do_lookup_x): Remove comment
4460 referring to nested function and move variable
4461 declarations down to before first use.
4463 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4467 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4469 * math/s_catanf.c (__catanf): Likewise.
4470 * math/s_catanh.c (__catanh): Likewise.
4471 * math/s_catanhf.c (__catanhf): Likewise.
4472 * math/s_catanhl.c (__catanhl): Likewise.
4473 * math/s_catanl.c (__catanl): Likewise.
4474 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4475 by positive zero when computing -Inf result.
4476 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4477 (catanh_test): Likewise.
4478 * sysdeps/i386/fpu/libm-test-ulps: Update.
4479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4482 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4483 instead of using underflowing value in computing result.
4484 * math/s_clog10.c (__clog10): Likewise.
4485 * math/s_clog10f.c (__clog10f): Likewise.
4486 * math/s_clog10l.c (__clog10l): Likewise.
4487 * math/s_clogf.c (__clogf): Likewise.
4488 * math/s_clogl.c (__clogl): Likewise.
4489 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4490 (clog10_test): Likewise.
4491 * sysdeps/i386/fpu/libm-test-ulps: Update.
4492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4494 2014-04-02 Alan Modra <amodra@gmail.com>
4497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4498 output when value is near a power of two. Use int64_t for lx and
4499 remove casts. Use decimal rather than hex exponent constants.
4500 Don't use long double multiplication when double will suffice.
4501 * math/libm-test.inc (nextafter_test_data): Add tests.
4502 * NEWS: Add 16739 and 16786 to bug list.
4504 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4506 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4508 2014-04-01 Will Newton <will.newton@linaro.org>
4510 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4511 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4513 2014-04-01 Florian Weimer <fweimer@redhat.com>
4516 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4517 * nptl/tst-setuid2.c: New file.
4518 * nptl/Makefile (xtests): Add tst-setuid2.
4520 2014-04-01 Alan Modra <amodra@gmail.com>
4523 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4525 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4529 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4530 set errno as appropriate.
4531 * math/w_scalbf.c (__scalbf): Likewise.
4532 * math/w_scalbl.c (__scalbl): Likewise.
4533 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4534 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4535 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4539 * math/w_atan2.c: Include <errno.h>.
4540 (__atan2): Set errno for result underflowing to zero.
4541 * math/w_atan2f.c: Include <errno.h>.
4542 (__atan2f): Set errno for result underflowing to zero.
4543 * math/w_atan2l.c: Include <errno.h>.
4544 (__atan2l): Set errno for result underflowing to zero.
4545 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4547 * math/auto-libm-test-out: Regenerated.
4549 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4551 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4552 Encode instruction correctly in little endian.
4553 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4555 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4557 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4559 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4562 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4565 * sysdeps/unix/sysv/linux/kernel-features.h
4566 [__sparc__ && !__arch64__ && !__sparc_v9__]
4567 (__ASSUME_SET_ROBUST_LIST): Do not define.
4568 [__sparc__ && !__arch64__ && !__sparc_v9__]
4569 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4570 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4572 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4573 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4574 (__ASSUME_REQUEUE_PI): Likewise.
4575 (__ASSUME_SET_ROBUST_LIST): Likewise.
4576 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4577 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4580 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4582 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4584 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4586 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4587 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4589 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4590 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4594 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4595 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4596 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4598 2014-03-31 Will Newton <will.newton@linaro.org>
4600 * benchtests/Makefile (bench): Add ffs and ffsll to list
4602 * benchtests/ffs-inputs: New file.
4603 * benchtests/ffsll-inputs: Likewise.
4605 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4608 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4609 too large before casting to int.
4610 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4611 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4612 * math/libm-test.inc (scalb_test_data): Add more tests.
4614 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4616 * benchtests/Makefile (DETAILED_OPT): New make option.
4617 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4619 * benchtests/bench-skeleton.c: Include stdbool.h.
4620 (main): Store and print timings per input.
4621 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4622 member to each argument value.
4623 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4624 (_print_arg_data): Initialize per-input timing to 0.
4626 * benchtests/Makefile (timing-type): New binary.
4627 (bench-clean): Also remove bench-timing-type.
4628 (bench): New target for timing-type.
4629 (bench-func): Print output in JSON format.
4630 * benchtests/bench-skeleton.c (main): Print output in JSON
4632 * benchtests/bench-timing-type.c: New file.
4633 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4634 (TIMING_PRINT_STATS): Remove.
4635 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4638 * benchtests/bench-modf.c: Remove.
4639 * benchtests/modf-inputs: New inputs file.
4641 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4644 * math/s_clog10.c (M_PI_LOG10E): New macro.
4645 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4646 imaginary parts are 0.
4647 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4648 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4649 imaginary parts are 0.
4650 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4651 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4652 imaginary parts are 0.
4653 * math/libm-test.inc (clog10_test_data): Update expected results
4654 for when real and imaginary parts are 0.
4656 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4658 * elf/dl-load.c: Finish conversion of __builtin_expect into
4661 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4664 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4665 1+x for argument with exponent below -67.
4666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4668 * math/auto-libm-test-in: Add more tests of exp.
4669 * math/auto-libm-test-out: Regenerated.
4671 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4674 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4675 (nscd_getnetgrent): Use it.
4678 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4681 2014-03-27 Andi Kleen <ak@linux.intel.com>
4683 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4684 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4685 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4686 (lll_robust_unlock): Remove out of line section. Use cfi
4688 (LLL_STUB_UNWIND_INFO*): Remove.
4689 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4690 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4691 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4692 (lll_robust_unlock): Remove out of line section. Use cfi
4694 (LLL_STUB_UNWIND_INFO*): Remove.
4696 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4699 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4702 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4704 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4706 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4709 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4711 * math/test-fenv-preserve.c: New file.
4712 * math/Makefile (tests): Add test-fenv-preserve.
4714 2014-03-26 Will Newton <will.newton@linaro.org>
4716 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4718 2014-03-25 Roland McGrath <roland@hack.frob.com>
4720 * scripts/versionlist.awk: Partition the version sets and emit all
4721 GLIBC_* (sorted) before all others (sorted).
4723 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4725 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4726 GLIBC_2.2.5 version.
4728 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4730 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4733 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4738 2014-03-25 Andreas Schwab <schwab@suse.de>
4740 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4741 label to be used after in6ailist is initialized.
4743 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4745 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4746 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4748 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4752 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4754 (fp_formats): Update initializers.
4755 (init_fp_formats): Initialize new field.
4756 (output_for_one_input_case): Allow underflow for results up to
4758 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4759 * math/auto-libm-test-in: Don't mark some underflows from asin and
4761 * math/auto-libm-test-out: Regenerated.
4762 * sysdeps/i386/fpu/libm-test-ulps: Update.
4763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4765 2014-03-25 Andreas Schwab <schwab@suse.de>
4767 * libio/Makefile (tst-ftell-partial-wide-ENV)
4768 (tst-ftell-active-handler-ENV): Define.
4770 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4772 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4774 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4776 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4778 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4780 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4781 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4782 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4784 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4787 * elf/dl-load.c (open_verify): Add mode parameter.
4788 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4789 (open_path): Change from boolean 'secure' to complete flag 'mode'
4790 (_dl_map_object): Adjust.
4791 * elf/Makefile (tests): Add tst-dlopen-aout.
4792 * elf/tst-dlopen-aout.c: New test.
4794 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4797 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4798 (struct stat): Rename member pad0 to __glibc_reserved0.
4801 * sysdeps/s390/s390-32/bits/wordsize.h
4802 (__WORDSIZE32_SIZE_ULONG): New define.
4803 * sysdeps/s390/s390-64/bits/wordsize.h
4804 (__WORDSIZE32_SIZE_ULONG): Likewise.
4805 * sysdeps/generic/stdint.h (SIZE_MAX):
4806 Define as UL if __WORDSIZE32_SIZE_ULONG.
4809 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4810 (__glibc_reserved0): New variable.
4811 (sa_flags): Change type to int.
4813 * posix/Makefile (before-compile): Use += before-compile instead
4816 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4817 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4819 2014-03-20 Andreas Schwab <schwab@suse.de>
4822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4823 non-matching result from nscd.
4825 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4827 * scripts/bench.py: Moved to ...
4828 * benchtests/scripts/bench.py: ... here.
4829 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4831 2014-03-24 Andreas Schwab <schwab@suse.de>
4834 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4835 alloca_account and account alloca use for struct in6ailist.
4837 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4840 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4841 rounding mode to recompute results that overflow to infinity or
4843 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4845 * math/auto-libm-test-out: Regenerated.
4846 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4847 (ccosh_test): Likewise.
4848 (csin_test_data): Use plus_oflow.
4849 (csin_test): Use ALL_RM_TEST.
4850 (csinh_test_data): Use plus_oflow.
4851 (csinh_test): Use ALL_RM_TEST.
4852 * sysdeps/i386/fpu/libm-test-ulps: Update.
4853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4855 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4857 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4858 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4859 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4862 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4864 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4865 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4866 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4867 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4869 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4870 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4872 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4873 * sysdeps/i386/fpu/libm-test-ulps: Update.
4874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4876 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4878 * scripts/bench.pl: Remove file.
4879 * scripts/bench.py: New benchmark script.
4880 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4881 * benchtests/README: Mention python dependency.
4882 * scripts/pylintrc: New file.
4883 * scripts/pylint: New file.
4885 * bits/mathdef.h: Use #ifdef instead of #if.
4886 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4887 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4888 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4889 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4890 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4891 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4893 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4894 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4896 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4898 and strpbrk-ppc64 objects.
4899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4900 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4901 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4902 multiarch strpbrk for POWER7.
4903 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4904 multiarch strpbrk for PPC64.
4905 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4907 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4910 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4912 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4913 (atan_test): Likewise.
4914 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4915 (atanh_test): Use ALL_RM_TEST.
4916 (atan2_test_data): Likewise.
4917 (cabs_test): Likewise.
4918 (cacosh_test): Likewise.
4919 (carg_test): Likewise.
4920 (casin_test): Likewise.
4921 (casinh_test): Likewise.
4922 (cbrt_test): Likewise.
4923 (csqrt_test): Likewise.
4924 (erf_test): Likewise.
4925 (erfc_test): Likewise.
4926 (pow10_test): Likewise.
4927 (exp2_test): Likewise.
4928 (hypot_test): Likewise.
4929 (j0_test): Likewise.
4930 (j1_test): Likewise.
4931 (lgamma_test): Likewise.
4932 (gamma_test): Likewise.
4933 (sincos_test): Likewise.
4934 (tanh_test): Likewise.
4935 (y0_test): Likewise.
4936 (y1_test): Likewise.
4937 * sysdeps/i386/fpu/libm-test-ulps: Update.
4938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4940 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4942 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4944 and strcspn-ppc64 objects.
4945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4946 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4947 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4948 multiarch strcspn for POWER7.
4949 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4950 multiarch strcspn for PPC64.
4951 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4953 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4956 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4958 * math/gen-libm-test.pl (generate_testfile): Expect only function
4959 name as argument to AUTO_TESTS_* and pass results for all rounding
4960 modes to parse_args.
4961 (parse_auto_input): Separate inputs of automatic tests from
4962 outputs before storing in %auto_tests.
4963 * math/libm-test.inc (acos_test_data): Update call to
4965 (acos_test): Use ALL_RM_TEST.
4966 (acos_tonearest_test_data): Remove.
4967 (acos_test_tonearest): Likewise.
4968 (acos_towardzero_test_data): Likewise.
4969 (acos_test_towardzero): Likewise.
4970 (acos_downward_test_data): Likewise.
4971 (acos_test_downward): Likewise.
4972 (acos_upward_test_data): Likewise.
4973 (acos_test_upward): Likewise.
4974 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4975 (asin_test_data): Likewise.
4976 (asin_test): Use ALL_RM_TEST.
4977 (asin_tonearest_test_data): Remove.
4978 (asin_test_tonearest): Likewise.
4979 (asin_towardzero_test_data): Likewise.
4980 (asin_test_towardzero): Likewise.
4981 (asin_downward_test_data): Likewise.
4982 (asin_test_downward): Likewise.
4983 (asin_upward_test_data): Likewise.
4984 (asin_test_upward): Likewise.
4985 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4986 (atan_test_data): Likewise.
4987 (atanh_test_data): Likewise.
4988 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4989 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4990 (carg_test_data): Likewise.
4991 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4992 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4993 (ccosh_test_data): Likewise.
4994 (cexp_test_data): Likewise.
4995 (clog_test_data): Likewise.
4996 (clog10_test_data): Likewise.
4997 (cos_test_data): Update call to AUTO_TESTS_f_f.
4998 (cos_test): Use ALL_RM_TEST.
4999 (cos_tonearest_test_data): Remove.
5000 (cos_test_tonearest): Likewise.
5001 (cos_towardzero_test_data): Likewise.
5002 (cos_test_towardzero): Likewise.
5003 (cos_downward_test_data): Likewise.
5004 (cos_test_downward): Likewise.
5005 (cos_upward_test_data): Likewise.
5006 (cos_test_upward): Likewise.
5007 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5008 (cosh_test): Use ALL_RM_TEST.
5009 (cosh_tonearest_test_data): Remove.
5010 (cosh_test_tonearest): Likewise.
5011 (cosh_towardzero_test_data): Likewise.
5012 (cosh_test_towardzero): Likewise.
5013 (cosh_downward_test_data): Likewise.
5014 (cosh_test_downward): Likewise.
5015 (cosh_upward_test_data): Likewise.
5016 (cosh_test_upward): Likewise.
5017 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5018 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5019 (ctan_test_data): Likewise.
5020 (ctan_test): Use ALL_RM_TEST.
5021 (ctan_tonearest_test_data): Remove.
5022 (ctan_test_tonearest): Likewise.
5023 (ctan_towardzero_test_data): Likewise.
5024 (ctan_test_towardzero): Likewise.
5025 (ctan_downward_test_data): Likewise.
5026 (ctan_test_downward): Likewise.
5027 (ctan_upward_test_data): Likewise.
5028 (ctan_test_upward): Likewise.
5029 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5030 (ctanh_test): Use ALL_RM_TEST.
5031 (ctanh_tonearest_test_data): Remove.
5032 (ctanh_test_tonearest): Likewise.
5033 (ctanh_towardzero_test_data): Likewise.
5034 (ctanh_test_towardzero): Likewise.
5035 (ctanh_downward_test_data): Likewise.
5036 (ctanh_test_downward): Likewise.
5037 (ctanh_upward_test_data): Likewise.
5038 (ctanh_test_upward): Likewise.
5039 (erf_test_data): Update call to AUTO_TESTS_f_f.
5040 (erfc_test_data): Likewise.
5041 (exp_test_data): Likewise.
5042 (exp_test): Use ALL_RM_TEST.
5043 (exp_tonearest_test_data): Remove.
5044 (exp_test_tonearest): Likewise.
5045 (exp_towardzero_test_data): Likewise.
5046 (exp_test_towardzero): Likewise.
5047 (exp_downward_test_data): Likewise.
5048 (exp_test_downward): Likewise.
5049 (exp_upward_test_data): Likewise.
5050 (exp_test_upward): Likewise.
5051 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5052 (exp10_test): Use ALL_RM_TEST.
5053 (exp10_tonearest_test_data): Remove.
5054 (exp10_test_tonearest): Likewise.
5055 (exp10_towardzero_test_data): Likewise.
5056 (exp10_test_towardzero): Likewise.
5057 (exp10_downward_test_data): Likewise.
5058 (exp10_test_downward): Likewise.
5059 (exp10_upward_test_data): Likewise.
5060 (exp10_test_upward): Likewise.
5061 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5062 (expm1_test_data): Likewise.
5063 (expm1_test): Use ALL_RM_TEST.
5064 (expm1_tonearest_test_data): Remove.
5065 (expm1_test_tonearest): Likewise.
5066 (expm1_towardzero_test_data): Likewise.
5067 (expm1_test_towardzero): Likewise.
5068 (expm1_downward_test_data): Likewise.
5069 (expm1_test_downward): Likewise.
5070 (expm1_upward_test_data): Likewise.
5071 (expm1_test_upward): Likewise.
5072 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5073 (fma_test): Use ALL_RM_TEST.
5074 (fma_towardzero_test_data): Remove.
5075 (fma_test_towardzero): Likewise.
5076 (fma_downward_test_data): Likewise.
5077 (fma_test_downward): Likewise.
5078 (fma_upward_test_data): Likewise.
5079 (fma_test_upward): Likewise.
5080 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5081 (j0_test_data): Update call to AUTO_TESTS_f_f.
5082 (j1_test_data): Likewise.
5083 (jn_test_data): Update call to AUTO_TESTS_if_f.
5084 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5085 (log_test_data): Update call to AUTO_TESTS_f_f.
5086 (log10_test_data): Likewise.
5087 (log1p_test_data): Likewise.
5088 (log2_test_data): Likewise.
5089 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5090 (pow_tonearest_test_data): Likewise.
5091 (sin_test_data): Update call to AUTO_TESTS_f_f.
5092 (sin_test): Use ALL_RM_TEST.
5093 (sin_tonearest_test_data): Remove.
5094 (sin_test_tonearest): Likewise.
5095 (sin_towardzero_test_data): Likewise.
5096 (sin_test_towardzero): Likewise.
5097 (sin_downward_test_data): Likewise.
5098 (sin_test_downward): Likewise.
5099 (sin_upward_test_data): Likewise.
5100 (sin_test_upward): Likewise.
5101 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5102 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5103 (sinh_test): Use ALL_RM_TEST.
5104 (sinh_tonearest_test_data): Remove.
5105 (sinh_test_tonearest): Likewise.
5106 (sinh_towardzero_test_data): Likewise.
5107 (sinh_test_towardzero): Likewise.
5108 (sinh_downward_test_data): Likewise.
5109 (sinh_test_downward): Likewise.
5110 (sinh_upward_test_data): Likewise.
5111 (sinh_test_upward): Likewise.
5112 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5113 (sqrt_test): Use ALL_RM_TEST.
5114 (sqrt_tonearest_test_data): Remove.
5115 (sqrt_test_tonearest): Likewise.
5116 (sqrt_towardzero_test_data): Likewise.
5117 (sqrt_test_towardzero): Likewise.
5118 (sqrt_downward_test_data): Likewise.
5119 (sqrt_test_downward): Likewise.
5120 (sqrt_upward_test_data): Likewise.
5121 (sqrt_test_upward): Likewise.
5122 (tan_test_data): Update call to AUTO_TESTS_f_f.
5123 (tan_test): Use ALL_RM_TEST.
5124 (tan_tonearest_test_data): Remove.
5125 (tan_test_tonearest): Likewise.
5126 (tan_towardzero_test_data): Likewise.
5127 (tan_test_towardzero): Likewise.
5128 (tan_downward_test_data): Likewise.
5129 (tan_test_downward): Likewise.
5130 (tan_upward_test_data): Likewise.
5131 (tan_test_upward): Likewise.
5132 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5133 (tgamma_test_data): Likewise.
5134 (y0_test_data): Likewise.
5135 (y1_test_data): Likewise.
5136 (yn_test_data): Update call to AUTO_TESTS_if_f.
5137 (main): Do not call removed functions.
5139 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5141 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5142 (ldexp_test_data): Remove.
5143 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5145 (scalb_test): Use ALL_RM_TEST.
5147 2014-03-19 Andreas Schwab <schwab@suse.de>
5149 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5151 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5154 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5155 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5156 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5157 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5158 (__ASSUME_PREADV): Undefine.
5159 (__ASSUME_PWRITEV): Likewise.
5161 2014-03-18 Roland McGrath <roland@hack.frob.com>
5163 * bits/mman-linux.h: Add comment about non-Linux use.
5164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5165 bits/mman-linux.h resting place.
5167 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5168 * bits/mman-linux.h: ... here.
5170 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5172 * conform/conformtest.pl: Add standard definition when calling C
5173 preprocessor on data files.
5174 (checknamespace): Remove unused variable.
5176 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5178 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5179 minus_oflow, plus_uflow and minus_uflow in expected results.
5180 * math/libm-test.inc (scalbn_test_data): Add more tests of
5181 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5183 (scalbn_test): Use ALL_RM_TEST.
5184 (scalbln_test_data): Add more tests of negative arguments. Use
5185 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5186 (scalbln_test): Use ALL_RM_TEST.
5188 2014-03-18 Roland McGrath <roland@hack.frob.com>
5190 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5192 2014-03-18 Will Newton <will.newton@linaro.org>
5194 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5197 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5199 * Makerules [!subdir] (check-abi): Exit with error status if a
5202 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5204 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5205 for rint. Include results for all rounding modes.
5206 (nearbyint_test): Use ALL_RM_TEST.
5207 (rint_test_data): Include all tests used for nearbyint.
5209 2014-03-17 Will Newton <will.newton@linaro.org>
5211 * nptl/sysdeps/pthread/pthread.h: Revert previous
5214 * sysdeps/generic/ldsodefs.h: Revert previous
5217 * libio/genops.c: Revert previous change.
5218 * libio/libioP.h: Likewise.
5219 * stdio-common/vfprintf.c: Likewise.
5221 * sysdeps/generic/math_private.h: Revert previous
5224 * sysdeps/generic/math_private.h: Check whether
5225 HAVE_RM_CTX is defined with #ifdef rather
5228 * argp/argp-fmtstream.h: Check whether
5229 __STRICT_ANSI__ is defined with #ifdef rather
5231 * argp/argp.h: Likewise.
5233 * libio/genops.c: Check whether
5234 _IO_JUMPS_OFFSET is defined with #ifdef rather
5236 * libio/libioP.h: Likewise.
5237 * stdio-common/vfprintf.c: Likewise.
5239 * sysdeps/generic/ldsodefs.h: Check whether
5240 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5243 * nptl/sysdeps/pthread/pthread.h: Check
5244 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5247 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5249 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5251 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5255 * libio/fileops.c (_IO_file_open): Seek to end of file but
5256 don't cache the offset.
5257 (get_file_offset): Remove function.
5258 (do_ftell): Use cached offset when available.
5259 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5260 don't cache the offset.
5261 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5263 (do_one_test): Call it.
5264 (do_ftell_test): Fix up expected old offset for a+ mode.
5265 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5268 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5269 up test status with function return status.
5270 (do_write_test): Likewise.
5271 (do_append_test): Likewise.
5273 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5274 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5277 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5279 * math/gen-libm-test.pl (parse_args): Handle results specified for
5280 each rounding mode separately.
5281 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5282 tests and results from lrint_tonearest_test_data,
5283 lrint_towardzero_test_data, lrint_downward_test_data and
5284 lrint_upward_test_data.
5285 (lrint_test): Use ALL_RM_TEST.
5286 (lrint_tonearest_test_data): Remove.
5287 (lrint_test_tonearest): Likewise.
5288 (lrint_towardzero_test_data): Likewise.
5289 (lrint_test_towardzero): Likewise.
5290 (lrint_downward_test_data): Likewise.
5291 (lrint_test_downward): Likewise.
5292 (lrint_upward_test_data): Likewise.
5293 (lrint_test_upward): Likewise.
5294 (llrint_test_data): Merge in per-rounding-mode tests and results
5295 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5296 llrint_downward_test_data and llrint_upward_test_data.
5297 (llrint_test): Use ALL_RM_TEST.
5298 (llrint_tonearest_test_data): Remove.
5299 (llrint_test_tonearest): Likewise.
5300 (llrint_towardzero_test_data): Likewise.
5301 (llrint_test_towardzero): Likewise.
5302 (llrint_downward_test_data): Likewise.
5303 (llrint_test_downward): Likewise.
5304 (llrint_upward_test_data): Likewise.
5305 (llrint_test_upward): Likewise.
5306 (rint_test_data): Merge in per-rounding-mode tests and results
5307 from rint_tonearest_test_data, rint_towardzero_test_data,
5308 rint_downward_test_data and rint_upward_test_data. Add
5309 per-rounding-mode results for tests not in those arrays.
5310 (rint_test): Use ALL_RM_TEST.
5311 (rint_tonearest_test_data): Remove.
5312 (rint_test_tonearest): Likewise.
5313 (rint_towardzero_test_data): Likewise.
5314 (rint_test_towardzero): Likewise.
5315 (rint_downward_test_data): Likewise.
5316 (rint_test_downward): Likewise.
5317 (rint_upward_test_data): Likewise.
5318 (rint_test_upward): Likewise.
5319 (main): Don't call removed functions.
5321 2014-03-14 Roland McGrath <roland@hack.frob.com>
5323 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5324 "Compiled on ..." crapola. It is anti-useful.
5326 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5328 * scripts/evaluate-test.sh: Handle fourth argument to determine
5329 whether test run should stop on failure.
5330 * Makeconfig (stop-on-test-failure): New variable.
5331 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5332 $(stop-on-test-failure).
5333 * Makefile (tests): Give a summary of results from testing and
5334 exit with failure status if they include an ERROR or FAIL.
5336 * manual/install.texi (Configuring and compiling): Mention
5337 stop-on-test-failure=y.
5338 * INSTALL: Regenerated.
5340 2014-03-14 Roland McGrath <roland@hack.frob.com>
5342 * scripts/versionlist.awk: New file.
5343 * Makerules [$(build-shared) = yes]
5344 (postclean-generated): Add Versions.def, not Versions.def.v and
5346 ($(common-objpfx)Versions.def.v.i): Target removed.
5347 ($(common-objpfx)Versions.def): New target.
5348 ($(common-objpfx)Versions.all): Depend on that rather that
5349 $(common-objpfx)Versions.def.v.
5350 * Versions.def: File removed.
5352 * Makeconfig (+gccwarn): Add -Wundef.
5353 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5354 a dl-sysdep.h breaking its contract.
5355 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5356 * include/stackinfo.h: New file.
5357 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5358 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5359 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5360 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5361 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5362 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5363 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5364 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5365 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5366 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5367 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5368 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5369 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5370 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5371 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5373 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5376 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5378 * math/libm-test.inc (round_test_data): Add more tests.
5381 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5383 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5386 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5388 * math/libm-test.inc (ceil_test_data): Add more tests.
5390 * math/libm-test.inc (trunc_test_data): Add more tests related to
5393 2014-03-14 Roland McGrath <roland@hack.frob.com>
5395 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5396 with #if rather than #ifdef.
5397 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5399 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5401 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5402 first. Disable AVX-512 GCC support if assembler doesn't support
5404 * sysdeps/x86_64/configure: Regenerated.
5406 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5408 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5409 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5410 (__old_pthread_attr_setstack): Likewise.
5411 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5412 [!_STACK_GROWS_DOWN]: Likewise.
5414 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5416 * config.make.in (have-bash2): Delete.
5417 * configure.ac (libc_cv_have_bash2): Delete.
5418 * configure: Regenerate.
5419 * elf/Makefile (common-ldd-rewrite): Rename to ...
5420 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5421 (sh-ldd-rewrite): Delete.
5422 (bash-ldd-rewrite): Delete.
5423 (have-bash2): Delete checks.
5424 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5427 * config.make.in (have-ksh): Delete.
5429 * configure.ac (libc_cv_have_ksh): Delete.
5430 * configure: Regenerate.
5432 * elf/Makefile: Delete $(have-ksh) check.
5433 ($(objpfx)sotruss): Change KSH to BASH.
5434 * elf/sotruss.ksh: Rename to ...
5435 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5436 function style to match POSIX. Drop ksh vim mode setting.
5438 * manual/time.texi (Specifying the Time Zone with TZ): Change
5439 Tuesday to Thursday.
5441 * debug/tst-longjmp_chk2.c: Update header comment.
5442 (stackoverflow_handler): Add comment. Call assert on pass value.
5444 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5446 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5447 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5448 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5449 (La_x86_64_vector): Add zmm.
5450 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5451 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5452 ($(objpfx)tst-audit10): New target.
5453 ($(objpfx)tst-audit10.out): Likewise.
5454 (tst-audit10-ENV): New.
5455 (AVX512-CFLAGS): Likewise.
5456 (CFLAGS-tst-audit10.c): Likewise.
5457 (CFLAGS-tst-auditmod10a.c): Likewise.
5458 (CFLAGS-tst-auditmod10b.c): Likewise.
5459 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5460 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5461 * sysdeps/x86_64/configure: Regenerated.
5462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5463 AVX-512 zmm register support.
5464 (_dl_x86_64_save_sse): Likewise.
5465 (_dl_x86_64_restore_sse): Likewise.
5466 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5467 size vector registers.
5468 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5469 (ZMM_SIZE): Likewise.
5470 * sysdeps/x86_64/tst-audit10.c: New file.
5471 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5472 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5474 2014-03-13 Roland McGrath <roland@hack.frob.com>
5476 * configure.ac (HAVE_EHDR_START): New check.
5477 * configure: Regenerated.
5478 * config.h.in (HAVE_EHDR_START): New #undef.
5479 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5480 assuming the lowest-addressed segment maps the start of the file.
5482 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5484 * INSTALL: Regenerated.
5486 2014-03-13 Will Newton <will.newton@linaro.org>
5488 * manual/setjmp.texi (System V contexts): Improve
5489 clarity and grammar of documentation.
5491 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5494 * elf/Makefile (tests): Add tst-pie2.
5495 (tests-pie): Add tst-pie2.
5496 * elf/tst-pie2.c: New file.
5497 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5499 * elf/rtld.c (map_doit): Load executable as lt_executable.
5500 (dl_main): Likewise.
5502 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5505 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5506 (__ASSUME_PSELECT): Undefine.
5508 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5511 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5512 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5514 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5515 selector for static builds.
5517 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5520 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5523 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5525 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5526 IFUNC selector for static builds.
5528 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5530 * sysdeps/mips/math_private.h [__mips_hard_float]
5531 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5532 libc_feresetround_mips_ctx.
5533 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5534 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5535 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5538 * math/s_nextafter.c (__nextafter): Do not return value from
5539 overflowing computation.
5540 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5541 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5542 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5546 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5547 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5549 2014-03-11 Roland McGrath <roland@hack.frob.com>
5551 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5552 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5553 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5554 the new mov targetting sp.
5556 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5559 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5560 Define it for static builds as well.
5561 (NO_BZERO_IMPL): Likewise.
5563 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5565 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5566 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5567 multiarch strspn for PPC64.
5568 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5569 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5571 (__libc_ifunc_impl_list): Likewise.
5572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5573 multiarch optimizations
5574 * string/strspn.c (strspn): Using macro to redefine symbol name.
5576 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5577 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5579 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5580 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5581 multiarch strncat for PPC64.
5582 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5583 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5585 (__libc_ifunc_impl_list): Likewise.
5586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5587 multiarch optimizations
5589 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5592 * nscd/nscd.service: Make service type forking.
5594 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5596 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5597 sign in non default rounding modes.
5598 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5600 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5602 * math/libm-test.inc (ALL_RM_TEST): New macro.
5603 (ceil_test): Use ALL_RM_TEST.
5604 (cimag_test): Likewise.
5605 (conj_test): Likewise.
5606 (copysign_test): Likewise.
5607 (cproj_test): Likewise.
5608 (creal_test): Likewise.
5609 (fabs_test): Likewise.
5610 (floor_test): Likewise.
5611 (fmax_test): Likewise.
5612 (fmin_test): Likewise.
5613 (fmod_test): Likewise.
5614 (fpclassify_test): Likewise.
5615 (frexp_test): Likewise.
5616 (ilogb_test): Likewise.
5617 (isfinite_test): Likewise.
5618 (finite_test): Likewise.
5619 (isgreater_test): Likewise.
5620 (isgreaterequal_test): Likewise.
5621 (isinf_test): Likewise.
5622 (isless_test): Likewise.
5623 (islessequal_test): Likewise.
5624 (islessgreater_test): Likewise.
5625 (isnan_test): Likewise.
5626 (isnormal_test): Likewise.
5627 (issignaling_test): Likewise.
5628 (isunordered_test): Likewise.
5629 (logb_test): Likewise.
5630 (logb_downward_test_data): Remove.
5631 (logb_test_downward): Likewise.
5632 (lround_test): Use ALL_RM_TEST.
5633 (llround_test): Likewise.
5634 (modf_test): Likewise.
5635 (nexttoward_test): Likewise.
5636 (remainder_test): Likewise.
5637 (drem_test): Likewise.
5638 (remainder_tonearest_test_data): Likewise.
5639 (remainder_test_tonearest): Likewise.
5640 (drem_test_tonearest): Likewise.
5641 (remainder_towardzero_test_data): Likewise.
5642 (remainder_test_towardzero): Likewise.
5643 (drem_test_towardzero): Likewise.
5644 (remainder_downward_test_data): Likewise.
5645 (remainder_test_downward): Likewise.
5646 (drem_test_downward): Likewise.
5647 (remainder_upward_test_data): Likewise.
5648 (remainder_test_upward): Likewise.
5649 (drem_test_upward): Likewise.
5650 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5651 (round_test): Use ALL_RM_TEST.
5652 (signbit_test): Likewise.
5653 (trunc_test): Likewise.
5654 (significand_test): Likewise.
5655 (main): Don't call removed functions.
5657 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5660 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5662 (ILL_ILLOPN): Likewise.
5663 (ILL_ILLADR): Likewise.
5664 (ILL_ILLTRP): Likewise.
5665 (ILL_PRVOPC): Likewise.
5666 (ILL_PRVREG): Likewise.
5667 (ILL_COPROC): Likewise.
5668 (ILL_BADSTK): Likewise.
5669 (FPE_INTDIV): Likewise.
5670 (FPE_INTOVF): Likewise.
5671 (FPE_FLTDIV): Likewise.
5672 (FPE_FLTOVF): Likewise.
5673 (FPE_FLTUND): Likewise.
5674 (FPE_FLTRES): Likewise.
5675 (FPE_FLTINV): Likewise.
5676 (FPE_FLTSUB): Likewise.
5677 (SEGV_MAPERR): Likewise.
5678 (SEGV_ACCERR): Likewise.
5679 (BUS_ADRALN): Likewise.
5680 (BUS_ADRERR): Likewise.
5681 (BUS_OBJERR): Likewise.
5682 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5683 (TRAP_TRACE): Likewise.
5684 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5686 (CLD_KILLED): Likewise.
5687 (CLD_DUMPED): Likewise.
5688 (CLD_TRAPPED): Likewise.
5689 (CLD_STOPPED): Likewise.
5690 (CLD_CONTINUED): Likewise.
5691 (POLL_IN): Likewise.
5692 (POLL_OUT): Likewise.
5693 (POLL_MSG): Likewise.
5694 (POLL_ERR): Likewise.
5695 (POLL_PRI): Likewise.
5696 (POLL_HUP): Likewise.
5697 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5699 (ILL_ILLOPN): Likewise.
5700 (ILL_ILLADR): Likewise.
5701 (ILL_ILLTRP): Likewise.
5702 (ILL_PRVOPC): Likewise.
5703 (ILL_PRVREG): Likewise.
5704 (ILL_COPROC): Likewise.
5705 (ILL_BADSTK): Likewise.
5706 (FPE_INTDIV): Likewise.
5707 (FPE_INTOVF): Likewise.
5708 (FPE_FLTDIV): Likewise.
5709 (FPE_FLTOVF): Likewise.
5710 (FPE_FLTUND): Likewise.
5711 (FPE_FLTRES): Likewise.
5712 (FPE_FLTINV): Likewise.
5713 (FPE_FLTSUB): Likewise.
5714 (SEGV_MAPERR): Likewise.
5715 (SEGV_ACCERR): Likewise.
5716 (BUS_ADRALN): Likewise.
5717 (BUS_ADRERR): Likewise.
5718 (BUS_OBJERR): Likewise.
5719 (BUS_MCEERR_AR): Likewise.
5720 (BUS_MCEERR_AO): Likewise.
5721 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5722 (TRAP_TRACE): Likewise.
5723 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5725 (CLD_KILLED): Likewise.
5726 (CLD_DUMPED): Likewise.
5727 (CLD_TRAPPED): Likewise.
5728 (CLD_STOPPED): Likewise.
5729 (CLD_CONTINUED): Likewise.
5730 (POLL_IN): Likewise.
5731 (POLL_OUT): Likewise.
5732 (POLL_MSG): Likewise.
5733 (POLL_ERR): Likewise.
5734 (POLL_PRI): Likewise.
5735 (POLL_HUP): Likewise.
5736 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5737 (ILL_ILLOPN): Likewise.
5738 (ILL_ILLADR): Likewise.
5739 (ILL_ILLTRP): Likewise.
5740 (ILL_PRVOPC): Likewise.
5741 (ILL_PRVREG): Likewise.
5742 (ILL_COPROC): Likewise.
5743 (ILL_BADSTK): Likewise.
5744 (FPE_INTDIV): Likewise.
5745 (FPE_INTOVF): Likewise.
5746 (FPE_FLTDIV): Likewise.
5747 (FPE_FLTOVF): Likewise.
5748 (FPE_FLTUND): Likewise.
5749 (FPE_FLTRES): Likewise.
5750 (FPE_FLTINV): Likewise.
5751 (FPE_FLTSUB): Likewise.
5752 (SEGV_MAPERR): Likewise.
5753 (SEGV_ACCERR): Likewise.
5754 (BUS_ADRALN): Likewise.
5755 (BUS_ADRERR): Likewise.
5756 (BUS_OBJERR): Likewise.
5757 (BUS_MCEERR_AR): Likewise.
5758 (BUS_MCEERR_AO): Likewise.
5759 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5760 (TRAP_TRACE): Likewise.
5761 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5763 (CLD_KILLED): Likewise.
5764 (CLD_DUMPED): Likewise.
5765 (CLD_TRAPPED): Likewise.
5766 (CLD_STOPPED): Likewise.
5767 (CLD_CONTINUED): Likewise.
5768 (POLL_IN): Likewise.
5769 (POLL_OUT): Likewise.
5770 (POLL_MSG): Likewise.
5771 (POLL_ERR): Likewise.
5772 (POLL_PRI): Likewise.
5773 (POLL_HUP): Likewise.
5774 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5776 (ILL_ILLOPN): Likewise.
5777 (ILL_ILLADR): Likewise.
5778 (ILL_ILLTRP): Likewise.
5779 (ILL_PRVOPC): Likewise.
5780 (ILL_PRVREG): Likewise.
5781 (ILL_COPROC): Likewise.
5782 (ILL_BADSTK): Likewise.
5783 (ILL_BADIADDR): Likewise.
5784 (ILL_BREAK): Likewise.
5785 (FPE_INTDIV): Likewise.
5786 (FPE_INTOVF): Likewise.
5787 (FPE_FLTDIV): Likewise.
5788 (FPE_FLTOVF): Likewise.
5789 (FPE_FLTUND): Likewise.
5790 (FPE_FLTRES): Likewise.
5791 (FPE_FLTINV): Likewise.
5792 (FPE_FLTSUB): Likewise.
5793 (FPE_DECOVF): Likewise.
5794 (FPE_DECDIV): Likewise.
5795 (FPE_DECERR): Likewise.
5796 (FPE_INVASC): Likewise.
5797 (FPE_INVDEC): Likewise.
5798 (SEGV_MAPERR): Likewise.
5799 (SEGV_ACCERR): Likewise.
5800 (SEGV_PSTKOVF): Likewise.
5801 (BUS_ADRALN): Likewise.
5802 (BUS_ADRERR): Likewise.
5803 (BUS_OBJERR): Likewise.
5804 (BUS_MCEERR_AR): Likewise.
5805 (BUS_MCEERR_AO): Likewise.
5806 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5807 (TRAP_TRACE): Likewise.
5808 (TRAP_BRANCH): Likewise.
5809 (TRAP_HWBKPT): Likewise.
5810 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5812 (CLD_KILLED): Likewise.
5813 (CLD_DUMPED): Likewise.
5814 (CLD_TRAPPED): Likewise.
5815 (CLD_STOPPED): Likewise.
5816 (CLD_CONTINUED): Likewise.
5817 (POLL_IN): Likewise.
5818 (POLL_OUT): Likewise.
5819 (POLL_MSG): Likewise.
5820 (POLL_ERR): Likewise.
5821 (POLL_PRI): Likewise.
5822 (POLL_HUP): Likewise.
5823 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5824 (ILL_ILLOPN): Likewise.
5825 (ILL_ILLADR): Likewise.
5826 (ILL_ILLTRP): Likewise.
5827 (ILL_PRVOPC): Likewise.
5828 (ILL_PRVREG): Likewise.
5829 (ILL_COPROC): Likewise.
5830 (ILL_BADSTK): Likewise.
5831 (FPE_INTDIV): Likewise.
5832 (FPE_INTOVF): Likewise.
5833 (FPE_FLTDIV): Likewise.
5834 (FPE_FLTOVF): Likewise.
5835 (FPE_FLTUND): Likewise.
5836 (FPE_FLTRES): Likewise.
5837 (FPE_FLTINV): Likewise.
5838 (FPE_FLTSUB): Likewise.
5839 (SEGV_MAPERR): Likewise.
5840 (SEGV_ACCERR): Likewise.
5841 (BUS_ADRALN): Likewise.
5842 (BUS_ADRERR): Likewise.
5843 (BUS_OBJERR): Likewise.
5844 (BUS_MCEERR_AR): Likewise.
5845 (BUS_MCEERR_AO): Likewise.
5846 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5847 (TRAP_TRACE): Likewise.
5848 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5850 (CLD_KILLED): Likewise.
5851 (CLD_DUMPED): Likewise.
5852 (CLD_TRAPPED): Likewise.
5853 (CLD_STOPPED): Likewise.
5854 (CLD_CONTINUED): Likewise.
5855 (POLL_IN): Likewise.
5856 (POLL_OUT): Likewise.
5857 (POLL_MSG): Likewise.
5858 (POLL_ERR): Likewise.
5859 (POLL_PRI): Likewise.
5860 (POLL_HUP): Likewise.
5861 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5862 (ILL_ILLOPN): Likewise.
5863 (ILL_ILLADR): Likewise.
5864 (ILL_ILLTRP): Likewise.
5865 (ILL_PRVOPC): Likewise.
5866 (ILL_PRVREG): Likewise.
5867 (ILL_COPROC): Likewise.
5868 (ILL_BADSTK): Likewise.
5869 (FPE_INTDIV): Likewise.
5870 (FPE_INTOVF): Likewise.
5871 (FPE_FLTDIV): Likewise.
5872 (FPE_FLTOVF): Likewise.
5873 (FPE_FLTUND): Likewise.
5874 (FPE_FLTRES): Likewise.
5875 (FPE_FLTINV): Likewise.
5876 (FPE_FLTSUB): Likewise.
5877 (SEGV_MAPERR): Likewise.
5878 (SEGV_ACCERR): Likewise.
5879 (BUS_ADRALN): Likewise.
5880 (BUS_ADRERR): Likewise.
5881 (BUS_OBJERR): Likewise.
5882 (BUS_MCEERR_AR): Likewise.
5883 (BUS_MCEERR_AO): Likewise.
5884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5885 (TRAP_TRACE): Likewise.
5886 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5888 (CLD_KILLED): Likewise.
5889 (CLD_DUMPED): Likewise.
5890 (CLD_TRAPPED): Likewise.
5891 (CLD_STOPPED): Likewise.
5892 (CLD_CONTINUED): Likewise.
5893 (POLL_IN): Likewise.
5894 (POLL_OUT): Likewise.
5895 (POLL_MSG): Likewise.
5896 (POLL_ERR): Likewise.
5897 (POLL_PRI): Likewise.
5898 (POLL_HUP): Likewise.
5899 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5900 (ILL_ILLOPN): Likewise.
5901 (ILL_ILLADR): Likewise.
5902 (ILL_ILLTRP): Likewise.
5903 (ILL_PRVOPC): Likewise.
5904 (ILL_PRVREG): Likewise.
5905 (ILL_COPROC): Likewise.
5906 (ILL_BADSTK): Likewise.
5907 (FPE_INTDIV): Likewise.
5908 (FPE_INTOVF): Likewise.
5909 (FPE_FLTDIV): Likewise.
5910 (FPE_FLTOVF): Likewise.
5911 (FPE_FLTUND): Likewise.
5912 (FPE_FLTRES): Likewise.
5913 (FPE_FLTINV): Likewise.
5914 (FPE_FLTSUB): Likewise.
5915 (SEGV_MAPERR): Likewise.
5916 (SEGV_ACCERR): Likewise.
5917 (BUS_ADRALN): Likewise.
5918 (BUS_ADRERR): Likewise.
5919 (BUS_OBJERR): Likewise.
5920 (BUS_MCEERR_AR): Likewise.
5921 (BUS_MCEERR_AO): Likewise.
5922 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5923 (TRAP_TRACE): Likewise.
5924 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5926 (CLD_KILLED): Likewise.
5927 (CLD_DUMPED): Likewise.
5928 (CLD_TRAPPED): Likewise.
5929 (CLD_STOPPED): Likewise.
5930 (CLD_CONTINUED): Likewise.
5931 (POLL_IN): Likewise.
5932 (POLL_OUT): Likewise.
5933 (POLL_MSG): Likewise.
5934 (POLL_ERR): Likewise.
5935 (POLL_PRI): Likewise.
5936 (POLL_HUP): Likewise.
5937 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5938 (ILL_ILLOPN): Likewise.
5939 (ILL_ILLADR): Likewise.
5940 (ILL_ILLTRP): Likewise.
5941 (ILL_PRVOPC): Likewise.
5942 (ILL_PRVREG): Likewise.
5943 (ILL_COPROC): Likewise.
5944 (ILL_BADSTK): Likewise.
5945 (ILL_DBLFLT): Likewise.
5946 (ILL_HARDWALL): Likewise.
5947 (FPE_INTDIV): Likewise.
5948 (FPE_INTOVF): Likewise.
5949 (FPE_FLTDIV): Likewise.
5950 (FPE_FLTOVF): Likewise.
5951 (FPE_FLTUND): Likewise.
5952 (FPE_FLTRES): Likewise.
5953 (FPE_FLTINV): Likewise.
5954 (FPE_FLTSUB): Likewise.
5955 (SEGV_MAPERR): Likewise.
5956 (SEGV_ACCERR): Likewise.
5957 (BUS_ADRALN): Likewise.
5958 (BUS_ADRERR): Likewise.
5959 (BUS_OBJERR): Likewise.
5960 (BUS_MCEERR_AR): Likewise.
5961 (BUS_MCEERR_AO): Likewise.
5962 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5963 (TRAP_TRACE): Likewise.
5964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5966 (CLD_KILLED): Likewise.
5967 (CLD_DUMPED): Likewise.
5968 (CLD_TRAPPED): Likewise.
5969 (CLD_STOPPED): Likewise.
5970 (CLD_CONTINUED): Likewise.
5971 (POLL_IN): Likewise.
5972 (POLL_OUT): Likewise.
5973 (POLL_MSG): Likewise.
5974 (POLL_ERR): Likewise.
5975 (POLL_PRI): Likewise.
5976 (POLL_HUP): Likewise.
5977 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5978 (ILL_ILLOPN): Likewise.
5979 (ILL_ILLADR): Likewise.
5980 (ILL_ILLTRP): Likewise.
5981 (ILL_PRVOPC): Likewise.
5982 (ILL_PRVREG): Likewise.
5983 (ILL_COPROC): Likewise.
5984 (ILL_BADSTK): Likewise.
5985 (FPE_INTDIV): Likewise.
5986 (FPE_INTOVF): Likewise.
5987 (FPE_FLTDIV): Likewise.
5988 (FPE_FLTOVF): Likewise.
5989 (FPE_FLTUND): Likewise.
5990 (FPE_FLTRES): Likewise.
5991 (FPE_FLTINV): Likewise.
5992 (FPE_FLTSUB): Likewise.
5993 (SEGV_MAPERR): Likewise.
5994 (SEGV_ACCERR): Likewise.
5995 (BUS_ADRALN): Likewise.
5996 (BUS_ADRERR): Likewise.
5997 (BUS_OBJERR): Likewise.
5998 (BUS_MCEERR_AR): Likewise.
5999 (BUS_MCEERR_AO): Likewise.
6000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6001 (TRAP_TRACE): Likewise.
6002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6004 (CLD_KILLED): Likewise.
6005 (CLD_DUMPED): Likewise.
6006 (CLD_TRAPPED): Likewise.
6007 (CLD_STOPPED): Likewise.
6008 (CLD_CONTINUED): Likewise.
6009 (POLL_IN): Likewise.
6010 (POLL_OUT): Likewise.
6011 (POLL_MSG): Likewise.
6012 (POLL_ERR): Likewise.
6013 (POLL_PRI): Likewise.
6014 (POLL_HUP): Likewise.
6015 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6016 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6019 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6020 before #include of <time.h>.
6021 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6022 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6023 (test-xfail-UNIX98/sched.h/conform): Likewise.
6025 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6027 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6028 error absence of trapping exception support.
6029 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6031 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6033 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6034 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6035 * timezone/Makefile (testdata): Move definition above include of
6037 (test-zones): New variable.
6038 (tests-special): Add zone files.
6039 (build-testdata): Use $(evaluate-test).
6041 * elf/Makefile (tests-special): Rename tests to end with .out.
6042 ($(objpfx)noload-mem): Likewise.
6043 ($(objpfx)tst-leaks1-mem): Likewise.
6044 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6045 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6046 $(objpfx)test-iconvconfig.out.
6047 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6048 set -e inside subshell and redirect output to file.
6049 * iconvdata/Makefile (generated): Rename tests to end with .out.
6051 (tests-special): Rename tests to end with .out.
6052 ($(objpfx)mtrace-tst-loading): Likewise.
6053 * intl/Makefile (generated): Likewise.
6054 (tests-special): Likewise.
6055 ($(objpfx)mtrace-tst-gettext): Likewise.
6056 * misc/Makefile (generated): Likewise.
6057 (tests-special): Likewise.
6058 ($(objpfx)tst-error1-mem): Likewise.
6059 * nptl/Makefile (tests-special): Likewise.
6060 ($(objpfx)tst-stack3-mem): Likewise.
6061 (generated): Likewise.
6062 * posix/Makefile (generated): Likewise.
6063 (tests-special): Likewise.
6064 (xtests-special): Likewise.
6065 ($(objpfx)tst-fnmatch-mem): Likewise.
6066 ($(objpfx)bug-regex2-mem): Likewise.
6067 ($(objpfx)bug-regex14-mem): Likewise.
6068 ($(objpfx)bug-regex21-mem): Likewise.
6069 ($(objpfx)bug-regex31-mem): Likewise.
6070 ($(objpfx)tst-vfork3-mem): Likewise.
6071 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6072 ($(objpfx)tst-pcre-mem): Likewise.
6073 ($(objpfx)tst-boost-mem): Likewise.
6074 ($(objpfx)bug-ga2-mem): Likewise.
6075 ($(objpfx)bug-glob2-mem): Likewise.
6076 * resolv/Makefile (generate): Likewise.
6077 (tests-special): Likewise.
6078 (xtests-special): Likewise.
6079 (generated): Likewise.
6080 ($(objpfx)mtrace-tst-leaks): Likewise.
6081 ($(objpfx)mtrace-tst-leaks2): Likewise.
6083 * scripts/merge-test-results.sh: New file.
6084 * Makefile (tests-special-notdir): New variable.
6085 (tests): Run merge-test-results.sh.
6087 * Rules (tests-special-notdir): New variable.
6088 (xtests-special-notdir): Likewise.
6089 (tests): Run merge-test-results.sh
6092 * Makeconfig (test-xfail-name): New variable.
6093 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6094 compute variable name for expected failures.
6095 * conform/Makefile (conformtest-headers-data): New variable.
6096 (conformtest-standards): Likewise.
6097 (conformtest-headers-ISO): Likewise.
6098 (conformtest-headers-ISO99): Likewise.
6099 (conformtest-headers-ISO11): Likewise.
6100 (conformtest-headers-POSIX): Likewise.
6101 (conformtest-headers-XPG3): Likewise.
6102 (conformtest-headers-XPG4): Likewise.
6103 (conformtest-headers-UNIX98): Likewise.
6104 (conformtest-headers-XOPEN2K): Likewise.
6105 (conformtest-headers-POSIX2008): Likewise.
6106 (conformtest-headers-XOPEN2K8): Likewise.
6107 (conformtest-header-list-base): Likewise.
6108 (conformtest-header-list-tests): Likewise.
6109 (conformtest-header-base): Likewise.
6110 (conformtest-header-tests): Likewise.
6111 (tests-special): Add $(conformtest-header-list-tests). If
6112 [$(fast-check) && !$(cross-compiling)], add
6113 $(conformtest-header-tests) instead of
6114 $(objpfx)run-conformtest.out.
6115 (generated): Add $(conformtest-header-list-base). If
6116 [$(fast-check) && !$(cross-compiling)], add
6117 $(conformtest-header-base). Remove previous setting.
6118 ($(conformtest-header-list-tests)): New target.
6119 (test-xfail-run-conformtest): Remove variable.
6120 ($(objpfx)run-conformtest.out): Remove target.
6121 (test-xfail-ISO11/complex.h/conform): New variable.
6122 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6123 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6124 (test-xfail-XPG3/varargs.h/conform): Likewise.
6125 (test-xfail-XPG4/varargs.h/conform): Likewise.
6126 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6127 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6128 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6129 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6130 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6131 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6132 (test-xfail-XPG3/ftw.h/conform): Likewise.
6133 (test-xfail-XPG3/grp.h/conform): Likewise.
6134 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6135 (test-xfail-XPG3/limits.h/conform): Likewise.
6136 (test-xfail-XPG3/pwd.h/conform): Likewise.
6137 (test-xfail-XPG3/search.h/conform): Likewise.
6138 (test-xfail-XPG3/signal.h/conform): Likewise.
6139 (test-xfail-XPG3/stdio.h/conform): Likewise.
6140 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6141 (test-xfail-XPG3/string.h/conform): Likewise.
6142 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6143 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6144 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6145 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6146 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6147 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6148 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6149 (test-xfail-XPG3/termios.h/conform): Likewise.
6150 (test-xfail-XPG3/time.h/conform): Likewise.
6151 (test-xfail-XPG3/unistd.h/conform): Likewise.
6152 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6153 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6154 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6155 (test-xfail-XPG4/netdb.h/conform): Likewise.
6156 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6157 (test-xfail-XPG4/signal.h/conform): Likewise.
6158 (test-xfail-XPG4/stdio.h/conform): Likewise.
6159 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6160 (test-xfail-XPG4/stropts.h/conform): Likewise.
6161 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6162 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6163 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6164 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6165 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6166 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6167 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6168 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6169 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6170 (test-xfail-XPG4/termios.h/conform): Likewise.
6171 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6172 (test-xfail-XPG4/unistd.h/conform): Likewise.
6173 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6174 (test-xfail-POSIX/sched.h/conform): Likewise.
6175 (test-xfail-POSIX/signal.h/conform): Likewise.
6176 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6177 (test-xfail-POSIX/tar.h/conform): Likewise.
6178 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6179 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6180 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6181 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6182 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6183 (test-xfail-UNIX98/sched.h/conform): Likewise.
6184 (test-xfail-UNIX98/signal.h/conform): Likewise.
6185 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6186 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6187 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6188 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6189 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6190 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6191 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6192 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6193 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6194 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6195 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6196 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6197 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6198 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6199 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6200 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6201 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6202 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6203 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6204 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6205 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6206 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6207 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6208 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6209 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6210 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6211 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6212 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6213 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6214 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6215 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6216 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6217 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6218 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6219 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6220 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6221 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6222 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6223 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6224 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6225 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6226 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6227 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6228 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6229 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6230 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6231 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6232 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6233 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6234 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6235 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6236 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6237 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6238 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6239 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6240 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6241 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6242 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6243 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6244 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6245 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6246 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6247 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6248 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6249 (conformtest-cc-flags): Likewise.
6250 ($(conformtest-header-tests): New target.
6251 * conform/check-header-lists.sh: New file.
6252 * conform/run-conformtest.sh: Remove.
6254 * conform/conformtest.pl: Allow ' and \ in values given for
6256 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6258 [POSIX] (sys/types.h): Likewise.
6259 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6261 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6263 * conform/data/signal.h-data (SIGIO): Remove expectation.
6264 [XPG3] (SIGBUS): Do not expect.
6265 [POSIX || XPG3] (SIGPOLL): Likewise.
6266 [POSIX || XPG3] (SIGPROF): Likewise.
6267 [POSIX || XPG3] (SIGSYS): Likewise.
6268 [XPG3] (SIGTRAP): Likewise.
6269 [POSIX || XPG3] (SIGURG): Likewise.
6270 [POSIX || XPG3] (SIGVTALRM): Likewise.
6271 [POSIX || XPG3] (SIGXCPU): Likewise.
6272 [POSIX || XPG3] (SIGXFSZ): Likewise.
6273 [POSIX] (SA_SIGINFO): Expect.
6274 [XPG3] (siginfo_t): Do not expect type or contents.
6275 [POSIX] (si_pid): Do not expect element.
6276 [POSIX] (si_uid): Likewise.
6277 [POSIX] (si_addr): Likewise.
6278 [POSIX] (si_status): Likewise.
6279 [POSIX] (si_band): Likewise.
6280 [XPG4] (si_value): Likewise.
6281 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6282 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6283 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6284 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6285 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6286 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6287 [POSIX || XPG3] (ILL_COPROC): Likewise.
6288 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6289 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6290 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6291 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6292 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6293 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6294 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6295 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6296 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6297 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6298 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6299 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6300 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6301 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6302 [POSIX || XPG3] (CLD_EXITED): Likewise.
6303 [POSIX || XPG3] (CLD_KILLED): Likewise.
6304 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6305 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6306 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6307 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6308 [POSIX || XPG3] (POLL_IN): Likewise.
6309 [POSIX || XPG3] (POLL_OUT): Likewise.
6310 [POSIX || XPG3] (POLL_MSG): Likewise.
6311 [POSIX || XPG3] (POLL_ERR): Likewise.
6312 [POSIX || XPG3] (POLL_PRI): Likewise.
6313 [POSIX || XPG3] (POLL_HUP): Likewise.
6314 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6315 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6316 (SIG*): Do not allow.
6317 [XPG3] (si_*): Likewise.
6318 [XPG3] (SI_*): Likewise.
6319 [XPG3 || XPG4] (sigev_*): Likewise.
6320 [XPG3 || XPG4] (SIGEV_*): Likewise.
6321 [XPG3 || XPG4] (sival_*): Likewise.
6322 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6323 [POSIX || XPG3] (BUS_*): Likewise.
6324 [POSIX || XPG3] (CLD_*): Likewise.
6325 [POSIX || XPG3] (FPE_*): Likewise.
6326 [POSIX || XPG3] (ILL_*): Likewise.
6327 [POSIX || XPG3] (POLL_*): Likewise.
6328 [POSIX || XPG3] (SEGV_*): Likewise.
6329 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6330 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6331 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6332 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6333 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6334 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6335 Specify type and value.
6336 (TVERSLEN): Likewise.
6337 (REGTYPE): Likewise.
6338 (AREGTYPE): Likewise.
6339 (LNKTYPE): Likewise.
6340 (SYMTYPE): Likewise.
6341 (CHRTYPE): Likewise.
6342 (BLKTYPE): Likewise.
6343 (DIRTYPE): Likewise.
6344 (FIFOTYPE): Likewise.
6345 (CONTTYPE): Likewise.
6350 (TUWRITE): Likewise.
6353 (TGWRITE): Likewise.
6356 (TOWRITE): Likewise.
6358 [POSIX] (TSVTX): Expect constant.
6360 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6362 * Makefile (tests): Change dependencies to ....
6363 (tests-special): ... additions to this variable.
6364 (tests): Depend on $(tests-special).
6365 * Makerules (check-abi-list): New variable.
6366 (check-abi): Depend on $(check-abi-list).
6367 [$(subdir) = elf] (tests-special): Add
6368 $(objpfx)check-abi-libc.out.
6369 [$(build-shared) = yes && subdir] (tests-special): Add
6371 [$(build-shared) = yes && subdir] (tests): Do not depend on
6373 * Rules (tests): Depend on $(tests-special).
6374 (xtests): Depend on $(xtests-special).
6375 * catgets/Makefile (tests): Change dependencies to ....
6376 (tests-special): ... additions to this variable.
6377 * conform/Makefile (tests): Change dependencies to ....
6378 (tests-special): ... additions to this variable.
6379 * elf/Makefile (tests): Change dependencies to ....
6380 (tests-special): ... additions to this variable.
6381 * grp/Makefile (tests): Change dependencies to ....
6382 (tests-special): ... additions to this variable.
6383 * iconv/Makefile (xtests): Change dependencies to ....
6384 (xtests-special): ... additions to this variable.
6385 * iconvdata/Makefile (tests): Change dependencies to ....
6386 (tests-special): ... additions to this variable.
6387 * intl/Makefile (tests): Change dependencies to ....
6388 (tests-special): ... additions to this variable. Also add
6389 $(objpfx)tst-gettext.out.
6390 * io/Makefile (tests): Change dependencies to ....
6391 (tests-special): ... additions to this variable.
6392 * libio/Makefile (tests): Change dependencies to ....
6393 (tests-special): ... additions to this variable.
6394 * malloc/Makefile (tests): Change dependencies to ....
6395 (tests-special): ... additions to this variable.
6396 * misc/Makefile (tests): Change dependencies to ....
6397 (tests-special): ... additions to this variable.
6398 * nptl/Makefile (tests): Change dependencies to ....
6399 (tests-special): ... additions to this variable.
6400 * nptl_db/Makefile (tests): Change dependencies to ....
6401 (tests-special): ... additions to this variable.
6402 * posix/Makefile (tests): Change dependencies to ....
6403 (tests-special): ... additions to this variable.
6404 (xtests): Change dependencies to ....
6405 (xtests-special): ... additions to this variable.
6406 * resolv/Makefile (tests): Change dependencies to ....
6407 (tests-special): ... additions to this variable.
6408 (xtests): Change dependencies to ....
6409 (xtests-special): ... additions to this variable.
6410 * stdio-common/Makefile (tests): Change dependencies to ....
6411 (tests-special): ... additions to this variable.
6412 (do-tst-unbputc): Remove target.
6413 (do-tst-printf): Likewise.
6414 * stdlib/Makefile (tests): Change dependencies to ....
6415 (tests-special): ... additions to this variable.
6416 * string/Makefile (tests): Change dependencies to ....
6417 (tests-special): ... additions to this variable.
6418 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6419 (tests-special): ... additions to this variable.
6421 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6423 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6425 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6426 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6428 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6429 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6430 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6431 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6432 * conform/data/libgen.h-data [XPG3]: Likewise.
6433 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6434 * conform/data/ndbm.h-data [XPG3]: Likewise.
6435 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6436 * conform/data/netdb.h-data [XPG3]: Likewise.
6437 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6438 * conform/data/poll.h-data [XPG3]: Likewise.
6439 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6440 * conform/data/strings.h-data [XPG3]: Likewise.
6441 * conform/data/stropts.h-data [XPG3]: Likewise.
6442 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6443 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6444 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6446 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6447 * conform/data/sys/time.h-data [XPG3]: Likewise.
6448 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6449 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6450 * conform/data/sys/un.h-data [XPG3]: Likewise.
6451 * conform/data/syslog.h-data [XPG3]: Likewise.
6452 * conform/data/ucontext.h-data [XPG3]: Likewise.
6453 * conform/data/utmpx.h-data [XPG3]: Likewise.
6454 * conform/data/varargs.h-data [UNIX98]: Enable file.
6456 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6458 * math/libm-test.inc (struct test_f_f_data): Move expected results
6459 into structure for each rounding mode.
6460 (struct test_ff_f_data): Likewise.
6461 (struct test_ff_f_data_nexttoward): Likewise.
6462 (struct test_fi_f_data): Likewise.
6463 (struct test_fl_f_data): Likewise.
6464 (struct test_if_f_data): Likewise.
6465 (struct test_fff_f_data): Likewise.
6466 (struct test_c_f_data): Likewise.
6467 (struct test_f_f1_data): Likewise.
6468 (struct test_fF_f1_data): Likewise.
6469 (struct test_ffI_f1_data): Likewise.
6470 (struct test_c_c_data): Likewise.
6471 (struct test_cc_c_data): Likewise.
6472 (struct test_f_i_data): Likewise.
6473 (struct test_ff_i_data): Likewise.
6474 (struct test_f_l_data): Likewise.
6475 (struct test_f_L_data): Likewise.
6476 (struct test_fFF_11_data): Likewise.
6478 (RM_FE_DOWNWARD): Likewise.
6479 (RM_FE_TONEAREST): Likewise.
6480 (RM_FE_TOWARDZERO): Likewise.
6481 (RM_FE_UPWARD): Likewise.
6482 (RUN_TEST_LOOP_f_f): Update references to expected results.
6483 (RUN_TEST_LOOP_2_f): Likewise.
6484 (RUN_TEST_LOOP_fff_f): Likewise.
6485 (RUN_TEST_LOOP_c_f): Likewise.
6486 (RUN_TEST_LOOP_f_f1): Likewise.
6487 (RUN_TEST_LOOP_fF_f1): Likewise.
6488 (RUN_TEST_LOOP_fI_f1): Likewise.
6489 (RUN_TEST_LOOP_ffI_f1): Likewise.
6490 (RUN_TEST_LOOP_c_c): Likewise.
6491 (RUN_TEST_LOOP_cc_c): Likewise.
6492 (RUN_TEST_LOOP_f_i): Likewise.
6493 (RUN_TEST_LOOP_f_i_tg): Likewise.
6494 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6495 (RUN_TEST_LOOP_f_b): Likewise.
6496 (RUN_TEST_LOOP_f_b_tg): Likewise.
6497 (RUN_TEST_LOOP_f_l): Likewise.
6498 (RUN_TEST_LOOP_f_L): Likewise.
6499 (RUN_TEST_LOOP_fFF_11): Likewise.
6500 * math/gen-libm-test.pl (parse_args): Output four copies of
6501 expected results for each test.
6503 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6504 (__ASSUME_UTIMES): Remove.
6505 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6506 (__ASSUME_UTIMES): Likewise.
6508 * math/gen-auto-libm-tests.c: Update comment on output format.
6509 (output_for_one_input_case): Generate before-rounding and
6510 after-rounding information as conditions on output flags not
6511 floating-point format.
6512 * math/auto-libm-test-out: Regenerated.
6513 * math/gen-libm-test.pl (cond_value): New function.
6514 (or_cond_value): Use cond_value.
6515 (generate_testfile): Handle conditional exceptions.
6517 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6519 * math/libm-test.inc (max_valid_error): New variable.
6520 (init_max_error): Take new argument specifying whether function
6521 results are exactly determined. Set max_valid_error and bound
6522 other variables for errors based on this argument.
6523 (set_max_error): Do not record results above max_valid_error.
6524 (check_float_internal): Only accept errors of up to 0.5ulps if
6525 also at most max_valid_error.
6526 (START): Take new argument EXACT and pass it to init_max_error.
6527 (acos_test): Update call to START.
6528 (acos_test_tonearest): Likewise.
6529 (acos_test_towardzero): Likewise.
6530 (acos_test_downward): Likewise.
6531 (acos_test_upward): Likewise.
6532 (acosh_test): Likewise.
6533 (asin_test): Likewise.
6534 (asin_test_tonearest): Likewise.
6535 (asin_test_towardzero): Likewise.
6536 (asin_test_downward): Likewise.
6537 (asin_test_upward): Likewise.
6538 (asinh_test): Likewise.
6539 (atan_test): Likewise.
6540 (atanh_test): Likewise.
6541 (atan2_test): Likewise.
6542 (cabs_test): Likewise.
6543 (cacos_test): Likewise.
6544 (cacosh_test): Likewise.
6545 (carg_test): Likewise.
6546 (casin_test): Likewise.
6547 (casinh_test): Likewise.
6548 (catan_test): Likewise.
6549 (catanh_test): Likewise.
6550 (cbrt_test): Likewise.
6551 (ccos_test): Likewise.
6552 (ccosh_test): Likewise.
6553 (ceil_test): Likewise.
6554 (cexp_test): Likewise.
6555 (cimag_test): Likewise.
6556 (clog_test): Likewise.
6557 (clog10_test): Likewise.
6558 (conj_test): Likewise.
6559 (copysign_test): Likewise.
6560 (cos_test): Likewise.
6561 (cos_test_tonearest): Likewise.
6562 (cos_test_towardzero): Likewise.
6563 (cos_test_downward): Likewise.
6564 (cos_test_upward): Likewise.
6565 (cosh_test): Likewise.
6566 (cosh_test_tonearest): Likewise.
6567 (cosh_test_towardzero): Likewise.
6568 (cosh_test_downward): Likewise.
6569 (cosh_test_upward): Likewise.
6570 (cpow_test): Likewise.
6571 (cproj_test): Likewise.
6572 (creal_test): Likewise.
6573 (csin_test): Likewise.
6574 (csinh_test): Likewise.
6575 (csqrt_test): Likewise.
6576 (ctan_test): Likewise.
6577 (ctan_test_tonearest): Likewise.
6578 (ctan_test_towardzero): Likewise.
6579 (ctan_test_downward): Likewise.
6580 (ctan_test_upward): Likewise.
6581 (ctanh_test): Likewise.
6582 (ctanh_test_tonearest): Likewise.
6583 (ctanh_test_towardzero): Likewise.
6584 (ctanh_test_downward): Likewise.
6585 (ctanh_test_upward): Likewise.
6586 (erf_test): Likewise.
6587 (erfc_test): Likewise.
6588 (exp_test): Likewise.
6589 (exp_test_tonearest): Likewise.
6590 (exp_test_towardzero): Likewise.
6591 (exp_test_downward): Likewise.
6592 (exp_test_upward): Likewise.
6593 (exp10_test): Likewise.
6594 (exp10_test_tonearest): Likewise.
6595 (exp10_test_towardzero): Likewise.
6596 (exp10_test_downward): Likewise.
6597 (exp10_test_upward): Likewise.
6598 (pow10_test): Likewise.
6599 (exp2_test): Likewise.
6600 (expm1_test): Likewise.
6601 (expm1_test_tonearest): Likewise.
6602 (expm1_test_towardzero): Likewise.
6603 (expm1_test_downward): Likewise.
6604 (expm1_test_upward): Likewise.
6605 (fabs_test): Likewise.
6606 (fdim_test): Likewise.
6607 (floor_test): Likewise.
6608 (fma_test): Likewise.
6609 (fma_test_towardzero): Likewise.
6610 (fma_test_downward): Likewise.
6611 (fma_test_upward): Likewise.
6612 (fmax_test): Likewise.
6613 (fmin_test): Likewise.
6614 (fmod_test): Likewise.
6615 (fpclassify_test): Likewise.
6616 (frexp_test): Likewise.
6617 (hypot_test): Likewise.
6618 (ilogb_test): Likewise.
6619 (isfinite_test): Likewise.
6620 (finite_test): Likewise.
6621 (isgreater_test): Likewise.
6622 (isgreaterequal_test): Likewise.
6623 (isinf_test): Likewise.
6624 (isless_test): Likewise.
6625 (islessequal_test): Likewise.
6626 (islessgreater_test): Likewise.
6627 (isnan_test): Likewise.
6628 (isnormal_test): Likewise.
6629 (issignaling_test): Likewise.
6630 (isunordered_test): Likewise.
6631 (j0_test): Likewise.
6632 (j1_test): Likewise.
6633 (jn_test): Likewise.
6634 (ldexp_test): Likewise.
6635 (lgamma_test): Likewise.
6636 (gamma_test): Likewise.
6637 (lrint_test): Likewise.
6638 (lrint_test_tonearest): Likewise.
6639 (lrint_test_towardzero): Likewise.
6640 (lrint_test_downward): Likewise.
6641 (lrint_test_upward): Likewise.
6642 (llrint_test): Likewise.
6643 (llrint_test_tonearest): Likewise.
6644 (llrint_test_towardzero): Likewise.
6645 (llrint_test_downward): Likewise.
6646 (llrint_test_upward): Likewise.
6647 (log_test): Likewise.
6648 (log10_test): Likewise.
6649 (log1p_test): Likewise.
6650 (log2_test): Likewise.
6651 (logb_test): Likewise.
6652 (logb_test_downward): Likewise.
6653 (lround_test): Likewise.
6654 (llround_test): Likewise.
6655 (modf_test): Likewise.
6656 (nearbyint_test): Likewise.
6657 (nextafter_test): Likewise.
6658 (nexttoward_test): Likewise.
6659 (pow_test): Likewise.
6660 (pow_test_tonearest): Likewise.
6661 (pow_test_towardzero): Likewise.
6662 (pow_test_downward): Likewise.
6663 (pow_test_upward): Likewise.
6664 (remainder_test): Likewise.
6665 (drem_test): Likewise.
6666 (remainder_test_tonearest): Likewise.
6667 (drem_test_tonearest): Likewise.
6668 (remainder_test_towardzero): Likewise.
6669 (drem_test_towardzero): Likewise.
6670 (remainder_test_downward): Likewise.
6671 (drem_test_downward): Likewise.
6672 (remainder_test_upward): Likewise.
6673 (drem_test_upward): Likewise.
6674 (remquo_test): Likewise.
6675 (rint_test): Likewise.
6676 (rint_test_tonearest): Likewise.
6677 (rint_test_towardzero): Likewise.
6678 (rint_test_downward): Likewise.
6679 (rint_test_upward): Likewise.
6680 (round_test): Likewise.
6681 (scalb_test): Likewise.
6682 (scalbn_test): Likewise.
6683 (scalbln_test): Likewise.
6684 (signbit_test): Likewise.
6685 (sin_test): Likewise.
6686 (sin_test_tonearest): Likewise.
6687 (sin_test_towardzero): Likewise.
6688 (sin_test_downward): Likewise.
6689 (sin_test_upward): Likewise.
6690 (sincos_test): Likewise.
6691 (sinh_test): Likewise.
6692 (sinh_test_tonearest): Likewise.
6693 (sinh_test_towardzero): Likewise.
6694 (sinh_test_downward): Likewise.
6695 (sinh_test_upward): Likewise.
6696 (sqrt_test): Likewise.
6697 (sqrt_test_tonearest): Likewise.
6698 (sqrt_test_towardzero): Likewise.
6699 (sqrt_test_downward): Likewise.
6700 (sqrt_test_upward): Likewise.
6701 (tan_test): Likewise.
6702 (tan_test_tonearest): Likewise.
6703 (tan_test_towardzero): Likewise.
6704 (tan_test_downward): Likewise.
6705 (tan_test_upward): Likewise.
6706 (tanh_test): Likewise.
6707 (tgamma_test): Likewise.
6708 (trunc_test): Likewise.
6709 (y0_test): Likewise.
6710 (y1_test): Likewise.
6711 (yn_test): Likewise.
6712 (significand_test): Likewise.
6714 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6715 individual tests in comment.
6716 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6717 (prev_max_error): New variable.
6718 (prev_real_max_error): Likewise.
6719 (prev_imag_max_error): Likewise.
6720 (compare_ulp_data): Don't refer to test names in comment.
6721 (find_test_ulps): Remove function.
6722 (find_function_ulps): Likewise.
6723 (find_complex_function_ulps): Likewise.
6724 (init_max_error): Take function name as argument. Look up ulps
6726 (print_ulps): Remove function.
6727 (print_max_error): Use prev_max_error instead of calling
6729 (print_complex_max_error): Use prev_real_max_error and
6730 prev_imag_max_error instead of calling find_complex_function_ulps.
6731 (check_float_internal): Take max_ulp parameter instead of calling
6732 find_test_ulps. Don't call print_ulps.
6733 (check_float): Update call to check_float_internal.
6734 (check_complex): Update calls to check_float_internal.
6735 (START): Pass argument to init_max_error.
6736 * math/gen-libm-test.pl (%results): Don't include "kind"
6738 (parse_ulps): Don't handle ulps of individual tests.
6739 (print_ulps_file): Likewise.
6740 (output_ulps): Likewise.
6741 * math/README.libm-test: Update.
6742 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6744 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6745 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6746 * sysdeps/arm/libm-test-ulps: Likewise.
6747 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6748 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6749 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6750 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6751 * sysdeps/microblaze/libm-test-ulps: Likewise.
6752 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6753 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6754 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6755 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6756 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6757 * sysdeps/sh/libm-test-ulps: Likewise.
6758 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6759 * sysdeps/tile/libm-test-ulps: Likewise.
6760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6762 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6764 * math/libm-test.inc (print_complex_max_error): Check separately
6765 whether real and imaginary errors are within allowed range and
6766 pass 0 to print_complex_function_ulps instead of value within
6769 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6771 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6773 (get_handles_fopen): Likewise.
6774 (do_write_test): Likewise.
6776 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6778 * libio/fileops.c (do_ftell): Use cached offset when
6780 * libio/iofwide.c (do_ftell_wide): Likewise.
6781 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6783 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6786 * libio/libioP.h (get_file_offset): New function.
6787 * libio/fileops.c (get_file_offset): Likewise.
6788 (do_ftell): Likewise.
6789 (_IO_new_file_seekoff): Split out ftell logic.
6790 * libio/wfileops.c (do_ftell_wide): Likewise.
6791 (_IO_wfile_seekoff): Split out ftell logic.
6792 * libio/tst-ftell-active-handler.c: New test case.
6793 * libio/Makefile (tests): Add it.
6795 2014-03-03 Roland McGrath <roland@hack.frob.com>
6797 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6798 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6800 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6803 * nscd/connections.c (nscd_init): Call do_exit.
6804 (start_threads): Call do_exit and notify_parent.
6805 (begin_drop_privileges): Call do_exit.
6806 (finish_drop_privileges): Likewise.
6807 * nscd/selinux.c (preserve_capabilities): Likewise.
6808 (install_real_capabilities): Likewise.
6809 (nscd_selinux_enabled): Likewise.
6810 (avc_create_thread): Likewise.
6811 (avc_alloc_lock): Likewise.
6812 (nscd_avc_init): Likewise.
6813 * nscd/nscd.c (parent_fd): New static variable.
6814 (main): Create a pipe between parent and child processes.
6815 Skip closing parent_fd.
6816 (monitor_child): New function.
6817 (do_exit): Likewise.
6818 (notify_parent): Likewise.
6819 * nscd/nscd.h (notify_parent): Likewise.
6820 (do_exit): Likewise.
6822 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6824 * malloc/malloc.c (__libc_calloc): Revert last change.
6826 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6830 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6832 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6836 (__libc_ifunc_impl_list): Likewise.
6837 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6838 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6839 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6840 * string/strrchr.c: Define STRRCHR.
6842 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6844 * benchtest/bench-strtok.c (simple_strtok): Delete.
6845 (strtok_string): Use as benchmark.
6846 * string/strtok (STRTOK): New macro.
6848 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6850 * manual/threads.texi: Add header and standard comments to all
6853 * elf/dl-lookup.c (check_match): New function.
6854 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6855 (do_lookup_x): Remove nested function check_match. Use non-nested
6856 function check_match.
6858 2014-02-28 Roland McGrath <roland@hack.frob.com>
6860 * csu/Makefile (generated, before-compile): Use += rather than =.
6861 * catgets/Makefile (generated, generated-dirs): Likewise.
6862 * debug/Makefile (generated): Likewise.
6863 * dlfcn/Makefile (generated): Likewise.
6864 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6865 * iconvdata/Makefile (before-compile, generated): Likewise.
6866 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6867 * libio/Makefile (generated): Likewise.
6868 * malloc/Makefile (generated): Likewise.
6869 * manual/Makefile (generated, generated-dirs): Likewise.
6870 * misc/Makefile (generated): Likewise.
6871 * posix/Makefile (generated): Likewise.
6872 * resolv/Makefile (generated): Likewise.
6873 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6874 * timezone/Makefile (generated, generated-dirs): Likewise.
6876 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6878 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6881 power8 implementation.
6882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6883 file: POWER8 llround ifunc implementation.
6884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6885 (__lllround): Add POWER8 implementation.
6886 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6887 POWER8 llround implementation.
6889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6890 power8 implementation.
6891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6892 file: POWER8 llrint ifunc implementation.
6893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6894 Add POWER8 implementation.
6895 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6896 POWER8 llrint implementation.
6898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6899 power8 implementation.
6900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6901 file: POWER8 finite ifunc implementation.
6902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6903 Add POWER8 implementation.
6904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6906 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6907 POWER8 finite implementation.
6908 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6911 power8 implementation.
6912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6913 file: POWER8 isinf ifunc implementation.
6914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6915 POWER8 implementation.
6916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6919 isinf implementation.
6920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6922 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6923 (INIT_ARCH): Add hwcap2 initialization.
6924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6925 power8 implementation.
6926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6927 file: POWER8 isnan ifunc implementation.
6928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6929 POWER8 implementation.
6930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6932 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6933 isnan implementation.
6934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6936 2014-02-27 Joey Ye <joey.ye@arm.com>
6938 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6939 (_FP_NANFRAC_Q): Set to zero.
6941 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6944 * math/auto-libm-test-in: New test inputs.
6945 * math/auto-libm-test-out: Regenerate.
6946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6949 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6951 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6953 * scripts/evaluate-test.sh: Take new argument indicating whether
6954 failure is expected.
6955 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6956 indicating whether failure is expected.
6957 * conform/Makefile (test-xfail-run-conformtest): New variable.
6958 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6960 * posix/Makefile (test-xfail-annexc): New variable.
6961 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6963 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6965 * argp/Makefile: Include Makeconfig immediately after defining
6967 * assert/Makefile: Likewise.
6968 * benchtests/Makefile: Likewise.
6969 * catgets/Makefile: Likewise.
6970 * conform/Makefile: Likewise.
6971 * crypt/Makefile: Likewise.
6972 * csu/Makefile: Likewise.
6973 (all): Remove target.
6974 * ctype/Makefile: Include Makeconfig immediately after defining
6976 * debug/Makefile: Likewise.
6977 * dirent/Makefile: Likewise.
6978 * dlfcn/Makefile: Likewise.
6979 * gmon/Makefile: Likewise.
6980 * gnulib/Makefile: Likewise.
6981 * grp/Makefile: Likewise.
6982 * gshadow/Makefile: Likewise.
6983 * hesiod/Makefile: Likewise.
6984 * hurd/Makefile: Likewise.
6985 (all): Remove target.
6986 * iconvdata/Makefile: Include Makeconfig immediately after
6988 * inet/Makefile: Likewise.
6989 * intl/Makefile: Likewise.
6990 * io/Makefile: Likewise.
6991 * libio/Makefile: Likewise.
6992 (all): Remove target.
6993 * locale/Makefile: Include Makeconfig immediately after defining
6995 * login/Makefile: Likewise.
6996 * mach/Makefile: Likewise.
6997 (all): Remove target.
6998 * malloc/Makefile: Include Makeconfig immediately after defining
7000 (all): Remove target.
7001 * manual/Makefile: Include Makeconfig immediately after defining
7003 * math/Makefile: Likewise.
7004 * misc/Makefile: Likewise.
7005 * nis/Makefile: Likewise.
7006 * nss/Makefile: Likewise.
7007 * po/Makefile: Likewise.
7008 (all): Remove target.
7009 * posix/Makefile: Include Makeconfig immediately after defining
7011 * pwd/Makefile: Likewise.
7012 * resolv/Makefile: Likewise.
7013 * resource/Makefile: Likewise.
7014 * rt/Makefile: Likewise.
7015 * setjmp/Makefile: Likewise.
7016 * shadow/Makefile: Likewise.
7017 * signal/Makefile: Likewise.
7018 * socket/Makefile: Likewise.
7019 * soft-fp/Makefile: Likewise.
7020 * stdio-common/Makefile: Likewise.
7021 * stdlib/Makefile: Likewise.
7022 * streams/Makefile: Likewise.
7023 * string/Makefile: Likewise.
7024 * sunrpc/Makefile: Likewise.
7025 (all): Remove target.
7026 * sysvipc/Makefile: Include Makeconfig immediately after defining
7028 * termios/Makefile: Likewise.
7029 * time/Makefile: Likewise.
7030 * timezone/Makefile: Likewise.
7031 (all): Remove target.
7032 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7034 * wctype/Makefile: Likewise.
7036 2014-02-26 Steve Ellcey <sellcey@mips.com>
7038 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7039 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7040 (libc_feholdexcept_setround_mips): Ditto.
7041 (libc_feholdsetround): New.
7042 (libc_feholdsetroundf): New.
7043 (libc_feholdsetroundl): New.
7044 (libc_feupdateenv_test_mips): New.
7045 (libc_feupdateenv_test): New.
7046 (libc_feupdateenv_testf): New.
7047 (libc_feupdateenv_testl): New.
7048 (libc_feresetround): New.
7049 (libc_feresetroundf): New.
7050 (libc_feresetroundl): New.
7051 (libc_fetestexcept_mips): New.
7052 (libc_fetestexcept): New.
7053 (libc_fetestexceptf): New.
7054 (libc_fetestexceptl): New.
7056 (libc_feholdexcept_setround_mips_ctx): New.
7057 (libc_feholdexcept_setround_ctx): New.
7058 (libc_feholdexcept_setroundf_ctx): New.
7059 (libc_feholdexcept_setroundl_ctx): New.
7060 (libc_fesetenv_mips_ctx): New.
7061 (libc_fesetenv_ctx): New.
7062 (libc_fesetenv_ctxf): New.
7063 (libc_fesetenv_ctxl): New.
7064 (libc_feupdateenv_mips_ctx): New.
7065 (libc_feupdateenv_ctx): New.
7066 (libc_feupdateenvf_ctx): New.
7067 (libc_feupdateenvl_ctx): New.
7068 (libc_feholdsetround_mips_ctx): New.
7069 (libc_feholdsetround_ctx): New.
7070 (libc_feholdsetroundf_ctx): New.
7071 (libc_feholdsetroundl_ctx): New.
7072 (libc_feresetround_mips_ctx): New.
7073 (libc_feresetround_ctx): New.
7074 (libc_feresetroundf_ctx): New.
7075 (libc_feresetroundl_ctx): New.
7077 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7079 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7081 * manual/ipc.texi: New file.
7082 * manual/Makefile (chapters): Add ipc.
7083 * manual/job.texi: Add "Inter-Process Communication" to next.
7084 * manual/process.texi: Add "Inter-Process Communication" to prev.
7086 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7090 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7092 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7094 * manual/arith.texi: Fix spaces after sentences.
7095 * manual/charset.texi: Likewise.
7096 * manual/errno.texi: Likewise.
7097 * manual/install.texi: Likewise.
7098 * manual/llio.texi: Likewise.
7099 * manual/locale.texi: Likewise.
7100 * manual/maint.texi: Likewise.
7101 * manual/math.texi: Likewise.
7102 * manual/memory.texi: Likewise.
7103 * manual/message.texi: Likewise.
7104 * manual/probes.texi: Likewise.
7105 * manual/resource.texi: Likewise.
7106 * manual/signal.texi: Likewise.
7107 * manual/socket.texi: Likewise.
7108 * manual/stdio.texi: Likewise.
7109 * manual/string.texi: Likewise.
7110 * manual/time.texi: Likewise.
7111 * manual/users.texi: Likewise.
7113 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7116 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7117 _DEFAULT_SOURCE is defined.
7119 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7120 Carlos O'Donell <carlos@redhat.com>
7123 * elf/dl-tls.c (_dl_count_modids): New function.
7124 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7125 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7126 audit library and increment generation counter.
7127 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7128 * elf/tst-audit9.c: New file.
7129 * elf/tst-auditmod9a.c: New file.
7130 * elf/tst-auditmod9b.c: New file.
7131 * elf/Makefile: Add rules to build and run tst-audit9.
7133 2014-02-25 Florian Weimer <fweimer@redhat.com>
7136 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7138 2014-02-25 Will Newton <will.newton@linaro.org>
7140 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7141 (__longjmp): Restore sp and lr before restoring callee
7142 saved registers. Add longjmp and longjmp_target
7143 SystemTap probe point.
7144 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7145 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7146 Define to zero to match jmpbuf layout.
7147 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7148 (__sigsetjmp): Save sp and lr before saving callee
7149 saved registers. Add setjmp SystemTap probe point.
7151 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7153 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7155 2014-02-24 Andreas Schwab <schwab@suse.de>
7158 * elf/pldd.c (wait_for_ptrace_stop): New function.
7159 (main): Call it after attaching.
7161 2014-02-22 Roland McGrath <roland@hack.frob.com>
7163 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7164 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7165 Versions files is now verboten.
7166 * hurd/Versions (libc: GLIBC_2.0):
7167 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7168 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7169 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7170 * mach/Versions: Likewise.
7172 * csu/Versions: Remove unused %include.
7173 * resolv/Versions: Likewise.
7175 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7177 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7178 ($(objpfx)check-local-headers.out): Likewise.
7179 ($(objpfx)begin-end-check.out): Likewise.
7180 * Makerules (check-abi-%.out): Likewise.
7181 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7182 ($(objpfx)test2.cat): Likewise.
7183 ($(objpfx)de/libc.cat): Likewise.
7184 ($(objpfx)test-gencat.out): Likewise.
7185 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7186 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7187 ($(objpfx)noload-mem): Likewise.
7188 ($(objpfx)tst-pathopt.out): Likewise.
7189 ($(objpfx)tst-rtld-load-self.out): Likewise.
7190 ($(objpfx)tst-array1-cmp.out): Likewise.
7191 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7192 ($(objpfx)tst-array2-cmp.out): Likewise.
7193 ($(objpfx)tst-array3-cmp.out): Likewise.
7194 ($(objpfx)tst-array4-cmp.out): Likewise.
7195 ($(objpfx)tst-array5-cmp.out): Likewise.
7196 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7197 ($(objpfx)check-textrel.out): Likewise.
7198 ($(objpfx)check-execstack.out): Likewise.
7199 ($(objpfx)check-localplt.out): Likewise.
7200 ($(objpfx)order2-cmp.out): Likewise.
7201 ($(objpfx)tst-leaks1-mem): Likewise.
7202 ($(objpfx)tst-leaks1-static-mem): Likewise.
7203 ($(objpfx)tst-initorder-cmp.out): Likewise.
7204 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7205 ($(objpfx)tst-unused-dep.out): Likewise.
7206 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7207 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7208 * iconv/Makefile (test-iconvconfig): Likewise.
7209 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7210 ($(objpfx)iconv-test.out): Likewise.
7211 ($(objpfx)tst-tables.out): Likewise.
7212 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7213 ($(objpfx)tst-gettext.out): Likewise.
7214 ($(objpfx)tst-translit.out): Likewise.
7215 ($(objpfx)tst-gettext2.out): Likewise.
7216 ($(objpfx)tst-gettext4.out): Likewise.
7217 ($(objpfx)tst-gettext6.out): Likewise.
7218 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7219 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7220 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7221 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7222 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7223 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7224 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7225 ($(objpfx)wordexp-tst.out): Likewise.
7226 ($(objpfx)annexc.out): Likewise.
7227 ($(objpfx)tst-fnmatch-mem): Likewise.
7228 ($(objpfx)bug-regex2-mem): Likewise.
7229 ($(objpfx)bug-regex14-mem): Likewise.
7230 ($(objpfx)bug-regex21-mem): Likewise.
7231 ($(objpfx)bug-regex31-mem): Likewise.
7232 ($(objpfx)tst-vfork3-mem): Likewise.
7233 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7234 ($(objpfx)tst-pcre-mem): Likewise.
7235 ($(objpfx)tst-boost-mem): Likewise.
7236 ($(objpfx)tst-getconf.out): Likewise.
7237 ($(objpfx)bug-ga2-mem): Likewise.
7238 ($(objpfx)bug-glob2-mem): Likewise.
7239 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7240 ($(objpfx)mtrace-tst-leaks2): Likewise.
7241 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7242 ($(objpfx)tst-printf.out): Likewise.
7243 ($(objpfx)tst-setvbuf1.out): Likewise.
7244 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7245 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7246 ($(objpfx)tst-fmtmsg.out): Likewise.
7247 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7248 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7250 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7251 * bits/sigaction.h [__USE_MISC]: Likewise.
7252 * bits/waitstatus.h: Update #endif comments.
7253 * ctype/ctype.h: Likewise.
7254 * dirent/dirent.h: Likewise.
7255 [__USE_MISC]: Remove redundant conditionals.
7256 * grp/grp.h: Update #endif comments.
7257 [__USE_GNU]: Remove redundant conditionals.
7258 [__USE_MISC]: Likewise.
7259 * inet/netinet/in.h [__USE_GNU]: Likewise.
7260 * io/sys/stat.h [__USE_MISC]: Likewise.
7261 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7262 * libio/bits/stdio.h: Update #endif comments.
7263 [__USE_MISC]: Remove redundant conditionals.
7264 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7265 * libio/stdio.h: Update #endif comments.
7266 [__USE_MISC]: Remove redundant conditionals.
7267 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7268 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7269 * math/math.h: Update #else and #endif comments.
7270 [__USE_MISC]: Remove redundant conditionals.
7271 * misc/sys/uio.h: Update #endif comments.
7272 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7273 * posix/glob.h [__USE_MISC]: Likewise.
7274 * posix/sys/types.h: Update #endif comments.
7275 [__USE_MISC]: Remove redundant conditionals.
7276 * posix/sys/wait.h: Update #endif comments.
7277 [__USE_MISC]: Remove redundant conditionals.
7278 * posix/unistd.h: Update #endif comments.
7279 [__USE_MISC]: Remove redundant conditionals.
7280 * pwd/pwd.h [__USE_GNU]: Likewise.
7281 [__USE_MISC]: Likewise.
7282 * resolv/netdb.h [__USE_GNU]: Likewise.
7283 * signal/signal.h: Update #endif comments.
7284 [__USE_MISC]: Remove redundant conditionals.
7285 * stdlib/stdlib.h: Update #else and #endif comments.
7286 [__USE_MISC]: Remove redundant conditionals.
7287 [__USE_GNU]: Likewise.
7288 * string/bits/string2.h [__USE_MISC]: Likewise.
7289 * string/string.h: Update #endif comments.
7290 [__USE_MISC]: Remove redundant conditionals.
7291 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7293 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7294 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7295 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7297 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7301 [__USE_MISC]: Remove redundant conditionals.
7302 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7303 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7304 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7305 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7306 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7308 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7309 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7311 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7312 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7314 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7316 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7317 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7319 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7321 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7322 * sysdeps/x86/bits/string.h: Update #endif comments.
7323 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7325 * time/sys/time.h: Update #endif comments.
7326 * time/time.h: Likewise.
7327 [__USE_MISC]: Remove redundant conditionals.
7329 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7332 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7334 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7336 * Versions.def (librt): Add GLIBC_2.17.
7338 2014-02-21 Adam Conrad <adconrad@0c3.net>
7340 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7341 synonym for _SYS_AUXV_H to allow direct inclusion.
7342 * sysdeps/sparc/bits/hwcap.h: Likewise.
7343 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7344 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7345 * sysdeps/sparc/sysdep.h: Likewise.
7347 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7349 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7351 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7353 * benchtests/bench-strrchr.c: Print length instead of position.
7355 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7358 * sysdeps/unix/sysv/linux/kernel-features.h
7359 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7360 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7361 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7362 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7364 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7365 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7366 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7367 (__ASSUME_SENDMMSG): Define instead of using previous
7368 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7369 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7370 (__ASSUME_SENDMMSG_SYSCALL): Define.
7371 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7372 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7374 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7375 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7377 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7378 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7380 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7381 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7382 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7383 [__ASSUME_SENDMMSG]: Change conditionals to
7384 [__ASSUME_SENDMMSG_SOCKETCALL].
7385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7386 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7388 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7389 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7391 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7392 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7393 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7394 [!__ASSUME_SENDMMSG]: Change conditional to
7395 [!__ASSUME_SENDMMSG_SOCKETCALL].
7396 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7397 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7401 * sysdeps/unix/sysv/linux/kernel-features.h
7402 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7403 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7404 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7405 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7406 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7407 [__i386__ || __sparc__]
7408 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7409 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7410 (__ASSUME_RECVMMSG): Define instead of using previous
7411 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7412 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7413 (__ASSUME_RECVMMSG_SYSCALL): Define.
7414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7418 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7420 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7421 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7423 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7424 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7425 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7426 [__ASSUME_RECVMMSG]: Change condition to
7427 [__ASSUME_RECVMMSG_SOCKETCALL].
7428 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7429 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7431 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7432 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7433 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7435 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7436 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7437 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7438 [!__ASSUME_RECVMMSG]: Change condition to
7439 [!__ASSUME_RECVMMSG_SOCKETCALL].
7440 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7441 (__ASSUME_RECVMMSG_SYSCALL): Define.
7444 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7445 __powerpc__ || __s390__ || __sh__ || __sparc__]
7446 (__ASSUME_SOCKETCALL): Define.
7447 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7448 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7449 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7450 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7451 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7452 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7453 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7454 (__ASSUME_ACCEPT4): Define instead of using previous
7455 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7456 __powerpc__ || __sparc__ || __s390__)] condition.
7457 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7458 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7459 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7460 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7461 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7462 [!__ASSUME_ACCEPT4]: Change condition to
7463 [!__ASSUME_ACCEPT4_SOCKETCALL].
7464 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7465 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7466 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7467 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7468 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7469 __ASSUME_ACCEPT4_SYSCALL.
7470 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7471 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7472 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7473 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7474 __ASSUME_ACCEPT4_SYSCALL.
7475 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7476 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7477 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7478 [__ASSUME_ACCEPT4]: Change condition to
7479 [__ASSUME_ACCEPT4_SOCKETCALL].
7480 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7481 (__ASSUME_SOCKETCALL): Define.
7482 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7484 (__ASSUME_SOCKETCALL): Define.
7485 (__ASSUME_ACCEPT4): Remove.
7486 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7488 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7489 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7491 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7492 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7494 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7496 (HWCAP_ARM_LPAE): Likewise.
7497 (HWCAP_ARM_EVTSTRM): Likewise.
7498 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7499 Add vpfd32, lpae and evtstrm.
7500 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7503 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7505 * math/auto-libm-test-in: Add tests of clog10.
7506 * math/auto-libm-test-out: Regenerated.
7507 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7508 * sysdeps/i386/fpu/libm-test-ulps: Update.
7509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7511 2014-02-18 Andreas Schwab <schwab@suse.de>
7514 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7515 Store non-zero if the second buffer was newly allocated.
7516 (send_dg): Likewise.
7517 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7518 to send_vc and send_dg.
7519 (res_nsend): Pass NULL for ansp2_malloced.
7520 * resolv/res_query.c (__libc_res_nquery): Add parameter
7521 answerp2_malloced and pass it down to __libc_res_nsend.
7522 (res_nquery): Pass additional NULL to __libc_res_nquery.
7523 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7524 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7525 second answer buffer if answerp2_malloced was set.
7526 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7527 (__libc_res_nquerydomain): Add parameter
7528 answerp2_malloced and pass it down to __libc_res_nquery.
7529 (res_nquerydomain): Pass additional NULL to
7530 __libc_res_nquerydomain.
7531 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7532 additional NULL to __libc_res_nsend and __libc_res_nquery.
7533 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7534 additional NULL to __libc_res_nsearch.
7535 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7536 parameter of __libc_res_nsearch to check for separately allocated
7538 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7540 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7541 additional NULL to __libc_res_nquery.
7542 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7544 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7545 * include/resolv.h: Update prototypes of __libc_res_nquery,
7546 __libc_res_nsearch, __libc_res_nsend.
7548 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7550 * math/auto-libm-test-in: Add tests of fma.
7551 * math/auto-libm-test-out: Regenerated.
7552 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7553 (fma_towardzero_test_data): Likewise.
7554 (fma_downward_test_data): Likewise.
7555 (fma_upward_test_data): Likewise.
7556 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7558 (rounding_modes): Add values for new field.
7559 (func_calc_method): Add value mpfr_fff_f.
7560 (func_calc_desc): Add mpfr_fff_f union field.
7561 (test_function): Add field exact_args.
7562 (FUNC): Add macro argument EXACT_ARGS.
7563 (FUNC_mpfr_f_f): Update call to FUNC.
7564 (FUNC_mpfr_f_f): Likewise.
7565 (FUNC_mpfr_ff_f): Likewise.
7566 (FUNC_mpfr_if_f): Likewise.
7567 (FUNC_mpc_c_f): Likewise.
7568 (FUNC_mpc_c_c): Likewise.
7569 (test_functions): Add fma. Update calls to FUNC.
7570 (handle_input_arg): Add argument exact_args.
7571 (add_test): Update call to handle_input_arg.
7572 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7573 (output_for_one_input_case): Update call to calc_generic_results.
7574 Recalculate exact zero results in each rounding mode.
7576 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7577 non-negative before setting low bit.
7578 * math/auto-libm-test-in: Mark one asin test possibly having
7580 * math/auto-libm-test-out: Regenerated.
7581 * sysdeps/i386/fpu/libm-test-ulps: Update.
7582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7584 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7586 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7587 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7588 ports/sysdeps/unix/sysv/linux/microblaze.
7589 * README: Add missing listing for microblaze*-*-linux-gnu.
7591 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7593 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7594 * sysdeps/unix/sysv/linux/ia64: Move directory from
7595 ports/sysdeps/unix/sysv/linux/ia64.
7596 * README: Update listing for ia64-*-linux-gnu.
7598 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7599 Joseph Myers <joseph@codesourcery.com>
7601 * Makeconfig (test-name): New variable.
7602 (evaluate-test): Likewise.
7603 * Makerules (do-test-clean): Remove .test-result files.
7604 (common-mostlyclean): Likewise.
7605 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7606 * scripts/evaluate-test.sh: New file.
7608 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7610 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7611 separate $(objpfx)tst-fopenloc-cmp.out and
7612 $(objpfx)tst-fopenloc-mem.out targets.
7613 (tests): Update dependencies.
7614 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7615 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7616 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7617 (tst-rxspencer-no-utf8-ARGS): New variable.
7618 (tst-rxspencer-no-utf8-ENV): Likewise.
7619 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7620 instead of $(objpfx)tst-rxspencer-mem.
7621 ($(objpfx)tst-rxspencer-mem): Change target to
7622 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7623 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7624 * posix/tst-rxspencer-no-utf8.c: New file.
7626 * elf/Makefile ($(objpfx)order.out): Remove rule.
7627 [$(run-built-tests) = yes] (tests): Depend on
7628 $(objpfx)order-cmp.out.
7629 ($(objpfx)order-cmp.out): New rule.
7630 [$(run-built-tests) = yes] (tests): Depend on
7631 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7632 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7633 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7634 $(objpfx)tst-array5-static-cmp.out.
7635 ($(objpfx)tst-array1.out): Remove rule.
7636 ($(objpfx)tst-array1-cmp.out): New rule.
7637 ($(objpfx)tst-array1-static.out): Remove rule.
7638 ($(objpfx)tst-array1-static-cmp.out): New rule.
7639 ($(objpfx)tst-array2.out): Remove rule.
7640 ($(objpfx)tst-array2-cmp.out): New rule.
7641 ($(objpfx)tst-array3.out): Remove rule.
7642 ($(objpfx)tst-array3-cmp.out): New rule.
7643 ($(objpfx)tst-array4.out): Remove rule.
7644 ($(objpfx)tst-array4-cmp.out): New rule.
7645 ($(objpfx)tst-array5.out): Remove rule.
7646 ($(objpfx)tst-array5-cmp.out): New rule.
7647 ($(objpfx)tst-array5-static.out): Remove rule.
7648 ($(objpfx)tst-array5-static-cmp.out): New rule.
7649 [$(run-built-tests) = yes] (tests): Depend on
7650 $(objpfx)order2-cmp.out.
7651 ($(objpfx)order2.out): Remove rule.
7652 ($(objpfx)order2-cmp.out): New rule.
7653 ($(objpfx)tst-initorder.out): Remove rule.
7654 [$(run-built-tests) = yes] (tests): Depend on
7655 $(objpfx)tst-initorder-cmp.out.
7656 ($(objpfx)tst-initorder-cmp.out): New rule.
7657 ($(objpfx)tst-initorder2.out): Remove rule.
7658 [$(run-built-tests) = yes] (tests): Depend on
7659 $(objpfx)tst-initorder2-cmp.out.
7660 ($(objpfx)tst-initorder2-cmp.out): New rule.
7661 [$(run-built-tests) = yes] (tests): Depend on
7662 $(objpfx)tst-unused-dep-cmp.out.
7663 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7664 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7665 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7666 on $(objpfx)tst-setvbuf1-cmp.out.
7667 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7668 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7669 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7670 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7671 ($(objpfx)tst-svc.out): Remove rule.
7672 ($(objpfx)tst-svc-cmp.out): New rule.
7674 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7676 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7677 * ctype/ctype.h [__USE_MISC]: Likewise.
7678 * dirent/dirent.h [__USE_MISC]: Likewise.
7679 * grp/grp.h [__USE_MISC]: Likewise.
7680 * io/fcntl.h [__USE_MISC]: Likewise.
7681 * io/sys/stat.h [__USE_MISC]: Likewise.
7682 * libio/stdio.h [__USE_MISC]: Likewise.
7683 * posix/unistd.h [__USE_MISC]: Likewise.
7684 * pwd/pwd.h [__USE_MISC]: Likewise.
7685 * stdlib.h [__USE_MISC]: Likewise.
7686 * string/bits/string2.h [__USE_MISC]: Likewise.
7687 * string/string.h [__USE_MISC]: Likewise.
7688 * time/time.h [__USE_MISC]: Likewise.
7690 2014-02-13 Andreas Schwab <schwab@suse.de>
7693 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7694 second answer buffer if it was separately allocated.
7696 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7698 * sysdeps/mips/math-tests.h: Include <features.h>.
7699 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7700 (ROUNDING_TESTS_long_double): Do not define.
7701 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7702 (EXCEPTION_TESTS_long_double): Likewise.
7703 * sysdeps/mips/mips64/libm-test-ulps: Update.
7705 * include/features.h (__USE_BSD): Remove macro definitions.
7706 (__USE_SVID): Likewise.
7707 (_BSD_SOURCE): Likewise.
7708 (_SVID_SOURCE): Likewise.
7709 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7710 from definition of _DEFAULT_SOURCE.
7711 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7713 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7714 * bits/mman.h [__USE_BSD]: Likewise.
7715 * bits/termios.h [__USE_BSD]: Likewise.
7716 * bits/waitstatus.h [__USE_BSD]: Likewise.
7717 * ctype/ctype.h [__USE_SVID]: Likewise.
7718 * dirent/dirent.h [__USE_BSD]: Likewise.
7719 * grp/grp.h [__USE_SVID]: Likewise.
7720 [__USE_BSD]: Likewise.
7721 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7722 * io/fcntl.h [__USE_BSD]: Likewise.
7723 * io/ftw.h [__USE_BSD]: Likewise.
7724 * io/sys/stat.h [__USE_BSD]: Likewise.
7725 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7726 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7727 * libio/stdio.h [__USE_SVID]: Likewise.
7728 [__USE_BSD]: Likewise.
7729 * math/math.h [__USE_SVID]: Likewise.
7730 [__USE_BSD]: Likewise.
7731 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7732 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7733 * misc/search.h [__USE_SVID]: Likewise.
7734 * misc/sys/mman.h [__USE_BSD]: Likewise.
7735 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7736 * misc/sys/uio.h [__USE_BSD]: Likewise.
7737 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7738 * posix/glob.h [__USE_BSD]: Likewise.
7739 * posix/regex.h [__USE_BSD]: Likewise.
7740 * posix/sys/types.h [__USE_BSD]: Likewise.
7741 [__USE_SVID]: Likewise.
7742 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7743 * posix/sys/wait.h [__USE_BSD]: Likewise.
7744 [__USE_SVID]: Likewise.
7745 * posix/unistd.h [__USE_BSD]: Likewise.
7746 [__USE_SVID]: Likewise.
7747 * pwd/pwd.h [__USE_SVID]: Likewise.
7748 * resolv/netdb.h [__USE_BSD]: Likewise.
7749 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7750 * signal/signal.h [__USE_BSD]: Likewise.
7751 [__USE_SVID]: Likewise.
7752 * socket/sys/socket.h [__USE_BSD]: Likewise.
7753 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7754 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7755 [__USE_SVID]: Likewise.
7756 * string/bits/string2.h [__USE_BSD]: Likewise.
7757 [__USE_SVID]: Likewise.
7758 * string/bits/string3.h [__USE_BSD]: Likewise.
7759 * string/endian.h [__USE_BSD]: Likewise.
7760 * string/string.h [__USE_SVID]: Likewise.
7761 [__USE_BSD]: Likewise.
7762 * string/strings.h [__USE_BSD]: Likewise.
7763 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7764 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7765 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7766 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7767 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7768 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7772 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7773 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7775 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7776 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7778 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7780 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7781 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7782 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7784 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7786 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7787 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7788 * termios/termios.h [__USE_BSD]: Likewise.
7789 * time/sys/time.h [__USE_BSD]: Likewise.
7790 * time/time.h [__USE_BSD]: Likewise.
7791 [__USE_SVID]: Likewise.
7793 * Makefile (subdir_targets): Remove subdir_lint.out.
7795 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7796 (do-tst-printf): Likewise.
7797 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7798 $(objpfx)tst-printf.out.
7800 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7802 * Makerules (check-abi-%): Change target to
7803 $(objpfx)check-abi-%.out.
7804 (check-abi target): Update dependencies.
7805 (check-abi-pattern variable): Redirect output of diff to $@.
7806 (check-abi variable): Likewise.
7807 * elf/Makefile (check-abi): Update dependencies.
7809 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7811 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7812 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7814 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7815 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7816 value has largest subnormal exponent.
7817 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7818 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7819 * sysdeps/aarch64/soft-fp/sfp-machine.h
7820 (_FP_TININESS_AFTER_ROUNDING): New macro.
7821 * sysdeps/alpha/soft-fp/sfp-machine.h
7822 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7823 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7825 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7826 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7827 * sysdeps/mips/soft-fp/sfp-machine.h
7828 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7829 * sysdeps/powerpc/soft-fp/sfp-machine.h
7830 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7831 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7833 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7834 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7836 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7837 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7840 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7843 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7846 2014-02-12 Richard Henderson <rth@redhat.com>
7848 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7849 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7850 * sysdeps/unix/sysv/linux/alpha: Move directory from
7851 ports/sysdeps/unix/sysv/linux/alpha.
7852 * README: Update listing for alpha-*-linux-gnu.
7854 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7856 * include/features.h: Update comment documenting feature test
7858 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7860 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7861 (_SVID_SOURCE): Likewise.
7862 (_DEFAULT_SOURCE): Update description of default features.
7863 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7865 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7866 (S_ISVTX): Likewise.
7867 * manual/math.texi (Mathematical Constants): Likewise.
7868 * manual/signal.texi (Interrupted Primitives): Likewise.
7869 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7870 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7871 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7872 Don't refer to _SVID_SOURCE in warning text.
7874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7876 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7878 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7879 * sysdeps/mips/dl-lookup.c: Remove.
7880 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7882 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7885 * math/auto-libm-test-in: Add testcase for expl.
7886 * math/auto-libm-test-out: Regenerate.
7887 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7888 calculation of unsafe.
7889 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7891 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7893 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7894 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7895 ports/sysdeps/unix/sysv/linux/aarch64.
7896 * README: Update listing for aarch64*-*-linux-gnu.
7898 2014-02-11 Will Newton <will.newton@linaro.org>
7900 * manual/probes.texi (Mathematical Function Probes): Use
7901 "triggered" instead of "hit".
7903 * manual/probes.texi (Internal Probes): Add documentation
7904 of setjmp, longjmp and longjmp_target probes.
7906 * include/stap-probe.h: Add comment about probe argument
7909 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7910 definition. (tr_where, tr_freehook, tr_mallochook,
7911 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7913 2014-02-11 David S. Miller <davem@davemloft.net>
7915 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7916 processing int_tests.
7918 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7920 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7921 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7922 * sysdeps/unix/sysv/linux/mips: Move directory from
7923 ports/sysdeps/unix/sysv/linux/mips.
7924 * README: Update listing for mips-*-linux-gnu and
7927 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7929 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7930 * sysdeps/unix/sysv/linux/m68k: Move directory from
7931 ports/sysdeps/unix/sysv/linux/m68k.
7932 * README: Update listing for m68k-*-linux-gnu.
7934 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7936 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7937 * sysdeps/unix/sysv/linux/generic: Move directory from
7938 ports/sysdeps/unix/sysv/linux/generic.
7939 * sysdeps/unix/sysv/linux/tile: Move directory from
7940 ports/sysdeps/unix/sysv/linux/tile.
7941 * README: Update listing for tile*-*-linux-gnu.
7943 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7945 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7947 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7948 * catgets/open_catalog.c (__open_catalog): Likewise.
7949 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7950 * debug/confstr_chk.c: Likewise.
7951 * debug/fread_chk.c (__fread_chk): Likewise.
7952 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7953 * debug/getgroups_chk.c: Likewise.
7954 * debug/mbsnrtowcs_chk.c: Likewise.
7955 * debug/mbsrtowcs_chk.c: Likewise.
7956 * debug/mbstowcs_chk.c: Likewise.
7957 * debug/memcpy_chk.c: Likewise.
7958 * debug/memmove_chk.c: Likewise.
7959 * debug/mempcpy_chk.c: Likewise.
7960 * debug/memset_chk.c: Likewise.
7961 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7962 * debug/strcat_chk.c (__strcat_chk): Likewise.
7963 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7964 * debug/strncat_chk.c (__strncat_chk): Likewise.
7965 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7966 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7967 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7968 * debug/wcpncpy_chk.c: Likewise.
7969 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7970 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7971 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7972 * debug/wcsncpy_chk.c: Likewise.
7973 * debug/wcsnrtombs_chk.c: Likewise.
7974 * debug/wcsrtombs_chk.c: Likewise.
7975 * debug/wcstombs_chk.c: Likewise.
7976 * debug/wmemcpy_chk.c: Likewise.
7977 * debug/wmemmove_chk.c: Likewise.
7978 * debug/wmempcpy_chk.c: Likewise.
7979 * debug/wmemset_chk.c: Likewise.
7980 * dirent/scandirat.c (SCANDIRAT): Likewise.
7981 * dlfcn/dladdr1.c (dladdr1): Likewise.
7982 * dlfcn/dladdr.c (dladdr): Likewise.
7983 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7984 * dlfcn/dlerror.c (__dlerror): Likewise.
7985 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7986 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7987 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7988 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7989 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7990 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7991 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7992 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7994 * elf/dl-conflict.c: Likewise.
7995 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7996 * elf/dl-dst.h: Likewise.
7997 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7998 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7999 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8000 * elf/dl-init.c (call_init, _dl_init): Likewise.
8001 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8002 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8003 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8005 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8007 * elf/dl-minimal.c (__libc_memalign): Likewise.
8008 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8009 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8010 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8011 * elf/dl-sym.c (do_sym): Likewise.
8012 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8013 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8014 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8015 * elf/dl-writev.h (_dl_writev): Likewise.
8016 * elf/ldconfig.c (search_dir): Likewise.
8017 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8018 (dl_main): Likewise.
8019 * elf/setup-vdso.h (setup_vdso): Likewise.
8020 * grp/compat-initgroups.c (compat_call): Likewise.
8021 * grp/fgetgrent.c (fgetgrent): Likewise.
8022 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8023 * grp/putgrent.c (putgrent): Likewise.
8024 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8026 * hurd/hurdinit.c: Likewise.
8027 * iconvdata/8bit-gap.c (struct): Likewise.
8028 * iconvdata/ansi_x3.110.c : Likewise.
8029 * iconvdata/big5.c : Likewise.
8030 * iconvdata/big5hkscs.c : Likewise.
8031 * iconvdata/cp1255.c: Likewise.
8032 * iconvdata/cp1258.c : Likewise.
8033 * iconvdata/cp932.c : Likewise.
8034 * iconvdata/euc-cn.c: Likewise.
8035 * iconvdata/euc-jisx0213.c : Likewise.
8036 * iconvdata/euc-jp.c: Likewise.
8037 * iconvdata/euc-jp-ms.c : Likewise.
8038 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8039 * iconvdata/gb18030.c : Likewise.
8040 * iconvdata/gbbig5.c (const): Likewise.
8041 * iconvdata/gbgbk.c: Likewise.
8042 * iconvdata/gbk.c : Likewise.
8043 * iconvdata/ibm1364.c : Likewise.
8044 * iconvdata/ibm930.c : Likewise.
8045 * iconvdata/ibm932.c: Likewise.
8046 * iconvdata/ibm933.c : Likewise.
8047 * iconvdata/ibm935.c : Likewise.
8048 * iconvdata/ibm937.c : Likewise.
8049 * iconvdata/ibm939.c : Likewise.
8050 * iconvdata/ibm943.c: Likewise.
8051 * iconvdata/iso_11548-1.c: Likewise.
8052 * iconvdata/iso-2022-cn.c : Likewise.
8053 * iconvdata/iso-2022-cn-ext.c : Likewise.
8054 * iconvdata/iso-2022-jp-3.c: Likewise.
8055 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8056 * iconvdata/iso-2022-kr.c : Likewise.
8057 * iconvdata/iso646.c (gconv_end): Likewise.
8058 * iconvdata/iso_6937-2.c : Likewise.
8059 * iconvdata/iso_6937.c : Likewise.
8060 * iconvdata/iso8859-1.c: Likewise.
8061 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8062 * iconvdata/shift_jisx0213.c : Likewise.
8063 * iconvdata/sjis.c : Likewise.
8064 * iconvdata/t.61.c : Likewise.
8065 * iconvdata/tcvn5712-1.c : Likewise.
8066 * iconvdata/tscii.c: Likewise.
8067 * iconvdata/uhc.c : Likewise.
8068 * iconvdata/unicode.c (gconv_end): Likewise.
8069 * iconvdata/utf-16.c (gconv_end): Likewise.
8070 * iconvdata/utf-32.c (gconv_end): Likewise.
8071 * iconvdata/utf-7.c (base64): Likewise.
8072 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8073 * iconv/gconv_close.c (__gconv_close): Likewise.
8074 * iconv/gconv_open.c (__gconv_open): Likewise.
8075 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8076 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8077 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8078 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8079 (ucs4le_internal_loop_single): Likewise.
8080 * iconv/iconv.c (iconv): Likewise.
8081 * iconv/iconv_close.c: Likewise.
8082 * iconv/loop.c (SINGLE): Likewise.
8083 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8084 * include/atomic.h: Likewise.
8085 * inet/inet6_option.c (option_alloc): Likewise.
8086 * intl/bindtextdom.c (set_binding_values): Likewise.
8087 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8088 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8089 * intl/localealias.c (read_alias_file): Likewise.
8090 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8091 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8092 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8093 * libio/fmemopen.c (fmemopen): Likewise.
8094 * libio/iofgets.c (_IO_fgets): Likewise.
8095 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8096 * libio/iofgetws.c (fgetws): Likewise.
8097 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8098 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8099 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8100 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8101 * locale/findlocale.c (_nl_find_locale): Likewise.
8102 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8103 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8105 * locale/setlocale.c (setlocale): Likewise.
8106 * login/programs/pt_chown.c (main): Likewise.
8107 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8108 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8109 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8110 (mmap, mmap64, mremap, munmap): Likewise.
8111 * math/e_exp2l.c: Likewise.
8112 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8113 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8114 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8115 * math/s_catan.c (__catan): Likewise.
8116 * math/s_catanf.c (__catanf): Likewise.
8117 * math/s_catanh.c (__catanh): Likewise.
8118 * math/s_catanhf.c (__catanhf): Likewise.
8119 * math/s_catanhl.c (__catanhl): Likewise.
8120 * math/s_catanl.c (__catanl): Likewise.
8121 * math/s_ccosh.c (__ccosh): Likewise.
8122 * math/s_ccoshf.c (__ccoshf): Likewise.
8123 * math/s_ccoshl.c (__ccoshl): Likewise.
8124 * math/s_cexp.c (__cexp): Likewise.
8125 * math/s_cexpf.c (__cexpf): Likewise.
8126 * math/s_cexpl.c (__cexpl): Likewise.
8127 * math/s_clog10.c (__clog10): Likewise.
8128 * math/s_clog10f.c (__clog10f): Likewise.
8129 * math/s_clog10l.c (__clog10l): Likewise.
8130 * math/s_clog.c (__clog): Likewise.
8131 * math/s_clogf.c (__clogf): Likewise.
8132 * math/s_clogl.c (__clogl): Likewise.
8133 * math/s_csin.c (__csin): Likewise.
8134 * math/s_csinf.c (__csinf): Likewise.
8135 * math/s_csinh.c (__csinh): Likewise.
8136 * math/s_csinhf.c (__csinhf): Likewise.
8137 * math/s_csinhl.c (__csinhl): Likewise.
8138 * math/s_csinl.c (__csinl): Likewise.
8139 * math/s_csqrt.c (__csqrt): Likewise.
8140 * math/s_csqrtf.c (__csqrtf): Likewise.
8141 * math/s_csqrtl.c (__csqrtl): Likewise.
8142 * math/s_ctan.c (__ctan): Likewise.
8143 * math/s_ctanf.c (__ctanf): Likewise.
8144 * math/s_ctanh.c (__ctanh): Likewise.
8145 * math/s_ctanhf.c (__ctanhf): Likewise.
8146 * math/s_ctanhl.c (__ctanhl): Likewise.
8147 * math/s_ctanl.c (__ctanl): Likewise.
8148 * math/w_pow.c: Likewise.
8149 * math/w_powf.c: Likewise.
8150 * math/w_powl.c: Likewise.
8151 * math/w_scalb.c (sysv_scalb): Likewise.
8152 * math/w_scalbf.c (sysv_scalbf): Likewise.
8153 * math/w_scalbl.c (sysv_scalbl): Likewise.
8154 * misc/error.c (error_tail): Likewise.
8155 * misc/pselect.c (__pselect): Likewise.
8156 * nis/nis_callback.c (__nis_create_callback): Likewise.
8157 * nis/nis_call.c (__nisfind_server): Likewise.
8158 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8159 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8160 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8161 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8162 * nis/nis_lookup.c (nis_lookup): Likewise.
8163 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8164 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8165 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8166 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8167 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8168 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8169 * nis/nss_compat/compat-initgroups.c (add_group)
8170 (internal_getgrent_r): Likewise.
8171 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8172 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8173 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8174 (internal_getspnam_r): Likewise.
8175 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8176 (_nss_nis_getaliasbyname_r): Likewise.
8177 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8178 (_nss_nis_getntohost_r): Likewise.
8179 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8180 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8181 (_nss_nis_getgrgid_r): Likewise.
8182 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8183 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8184 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8185 (_nss_nis_gethostbyname4_r): Likewise.
8186 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8187 (initgroups_netid): Likewise.
8188 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8189 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8190 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8191 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8192 (_nss_nis_getprotobynumber_r): Likewise.
8193 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8194 (_nss_nis_getsecretkey): Likewise.
8195 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8196 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8197 (_nss_nis_getpwuid_r): Likewise.
8198 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8199 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8200 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8201 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8202 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8203 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8204 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8206 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8207 (_nss_nisplus_getntohost_r): Likewise.
8208 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8209 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8210 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8211 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8213 * nis/nss_nisplus/nisplus-initgroups.c
8214 (_nss_nisplus_initgroups_dyn): Likewise.
8215 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8216 (_nss_nisplus_getnetbyaddr_r): Likewise.
8217 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8218 (_nss_nisplus_getprotobynumber_r): Likewise.
8219 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8220 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8221 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8223 * nis/nss_nisplus/nisplus-service.c
8224 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8225 (_nss_nisplus_getservbyport_r): Likewise.
8226 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8227 (_nss_nisplus_getspnam_r): Likewise.
8228 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8230 * nscd/aicache.c (addhstaiX): Likewise.
8231 * nscd/cache.c (cache_search, prune_cache): Likewise.
8232 * nscd/connections.c (register_traced_file, send_ro_fd)
8233 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8234 (main_loop_epoll): Likewise.
8235 * nscd/grpcache.c (addgrbyX): Likewise.
8236 * nscd/hstcache.c (addhstbyX): Likewise.
8237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8238 * nscd/mem.c (gc, mempool_alloc): Likewise.
8239 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8240 (addinnetgrX): Likewise.
8241 * nscd/nscd-client.h (__nscd_acquire_maplock)
8242 (__nscd_drop_map_ref): Likewise.
8243 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8244 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8245 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8247 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8248 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8249 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8250 (__nscd_get_map_ref): Likewise.
8251 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8252 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8254 * nscd/pwdcache.c (addpwbyX): Likewise.
8255 * nscd/selinux.c (preserve_capabilities): Likewise.
8256 * nscd/servicescache.c (addservbyX): Likewise.
8257 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8258 * posix/fnmatch.c (fnmatch): Likewise.
8259 * posix/getopt.c (_getopt_internal_r): Likewise.
8260 * posix/glob.c (glob, glob_in_dir): Likewise.
8261 * posix/wordexp.c (exec_comm_child): Likewise.
8262 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8263 (getanswer_r, gaih_getanswer_slice): Likewise.
8264 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8265 * resolv/res_init.c: Likewise.
8266 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8267 * resolv/res_query.c (__libc_res_nquery): Likewise.
8268 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8270 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8271 * stdio-common/perror.c (perror): Likewise.
8272 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8273 * stdio-common/tmpnam.c (tmpnam): Likewise.
8274 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8275 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8276 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8278 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8279 * stdlib/putenv.c (putenv): Likewise.
8280 * stdlib/setenv.c (__add_to_environ): Likewise.
8281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8282 * stdlib/strtol_l.c (INTERNAL): Likewise.
8283 * string/memmem.c (memmem): Likewise.
8284 * string/strerror.c (strerror): Likewise.
8285 * string/strnlen.c (__strnlen): Likewise.
8286 * string/test-memmem.c (simple_memmem): Likewise.
8287 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8288 * sunrpc/pm_getport.c (__get_socket): Likewise.
8289 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8290 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8291 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8292 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8294 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8295 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8296 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8297 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8298 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8299 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8301 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8303 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8304 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8305 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8306 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8307 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8309 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8310 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8311 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8312 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8313 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8314 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8316 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8318 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8320 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8322 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8324 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8325 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8326 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8335 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8337 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8339 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8341 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8343 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8344 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8345 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8347 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8348 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8349 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8350 * sysdeps/posix/sleep.c: Likewise.
8351 * sysdeps/posix/tempname.c: Likewise.
8352 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8353 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8355 * sysdeps/powerpc/powerpc32/dl-machine.h
8356 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8357 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8359 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8360 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8362 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8363 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8364 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8365 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8366 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8367 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8368 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8369 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8370 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8371 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8373 (elf_machine_lazy_rel): Likewise.
8374 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8375 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8376 (elf_machine_lazy_rel): Likewise.
8377 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8378 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8379 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8380 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8381 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8382 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8383 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8386 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8387 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8388 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8389 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8390 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8391 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8392 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8393 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8394 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8395 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8396 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8398 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8399 (__posix_fallocate64_l64): Likewise.
8400 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8401 (posix_fallocate): Likewise.
8402 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8404 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8405 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8406 (getifaddrs_internal): Likewise.
8407 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8408 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8409 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8410 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8411 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8412 (__posix_fallocate64_l64): Likewise.
8413 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8415 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8416 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8417 (__get_clockfreq): Likewise.
8418 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8419 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8420 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8422 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8423 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8424 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8425 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8427 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8428 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8429 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8430 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8431 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8432 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8433 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8435 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8436 (posix_fallocate): Likewise.
8437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8438 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8439 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8440 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8441 (elf_machine_rela, elf_machine_rela_relative)
8442 (elf_machine_lazy_rel): Likewise.
8443 * time/asctime.c (asctime_internal): Likewise.
8444 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8445 * time/tzset.c (__tzset_parse_tz): Likewise.
8446 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8447 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8448 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8449 * wcsmbs/wcsmbsload.h: Likewise.
8452 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8454 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8455 (arena_get2): Remove THREAD_STATS conditionals.
8456 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8457 (__malloc_stats, int): Likewise.
8459 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8461 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8462 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8464 * manual/setjmp.texi: Fix typos/grammar errors.
8466 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8467 Only return early when n is <= 0. Delete unused return statement.
8469 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8470 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8471 * debug/tst-longjmp_chk3.c: New file.
8473 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8474 (test_main): Replace code with set_fortify_handler call.
8475 * debug/test-strcpy_chk.c: Likewise.
8476 * debug/tst-chk1.c: Likewise.
8477 * debug/tst-longjmp_chk.c: Likewise.
8478 * test-skeleton.c: Include fcntl.h & paths.h
8479 (set_fortify_handler): Define.
8481 * debug/tst-longjmp_chk.c: Add header comment and include
8483 (do_test): Mark static.
8484 (TEST_FUNCTION): Define.
8486 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8487 (IP_PMTUDISC_INTERFACE): Likewise.
8488 (IP_MULTICAST_IF): Likewise.
8489 (IP_MULTICAST_TTL): Likewise.
8490 (IP_MULTICAST_LOOP): Likewise.
8491 (IP_ADD_MEMBERSHIP): Likewise.
8492 (IP_DROP_MEMBERSHIP): Likewise.
8493 (IP_UNBLOCK_SOURCE): Likewise.
8494 (IP_BLOCK_SOURCE): Likewise.
8495 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8496 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8497 (IP_MSFILTER): Likewise.
8498 (MCAST_JOIN_GROUP): Likewise.
8499 (MCAST_BLOCK_SOURCE): Likewise.
8500 (MCAST_UNBLOCK_SOURCE): Likewise.
8501 (MCAST_LEAVE_GROUP): Likewise.
8502 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8503 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8504 (MCAST_MSFILTER): Likewise.
8505 (IP_MULTICAST_ALL): Likewise.
8506 (IP_UNICAST_IF): Likewise.
8508 * timezone/Makefile: Delete $(have-ksh) check.
8509 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8510 * timezone/tzselect.ksh: Add +x mode bits.
8512 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8513 (ANON_INODE_FS_MAGIC): Likewise.
8514 (BDEVFS_MAGIC): Likewise.
8515 (BINFMTFS_MAGIC): Likewise.
8516 (BTRFS_TEST_MAGIC): Likewise.
8517 (CRAMFS_MAGIC_WEND): Likewise.
8518 (DEBUGFS_MAGIC): Likewise.
8519 (ECRYPTFS_SUPER_MAGIC): Likewise.
8520 (EXT3_SUPER_MAGIC): Likewise.
8521 (EXT4_SUPER_MAGIC): Likewise.
8522 (FUTEXFS_SUPER_MAGIC): Likewise.
8523 (HOSTFS_SUPER_MAGIC): Likewise.
8524 (HUGETLBFS_MAGIC): Likewise.
8525 (MINIX3_SUPER_MAGIC): Likewise.
8526 (MTD_INODE_FS_MAGIC): Likewise.
8527 (NILFS_SUPER_MAGIC): Likewise.
8528 (OPENPROM_SUPER_MAGIC): Likewise.
8529 (PIPEFS_MAGIC): Likewise.
8530 (PSTOREFS_MAGIC): Likewise.
8531 (QNX6_SUPER_MAGIC): Likewise.
8532 (RAMFS_MAGIC): Likewise.
8533 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8534 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8535 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8536 (SECURITYFS_MAGIC): Likewise.
8537 (SELINUX_MAGIC): Likewise.
8538 (SMACK_MAGIC): Likewise.
8539 (SOCKFS_MAGIC): Likewise.
8540 (SQUASHFS_MAGIC): Likewise.
8541 (STACK_END_MAGIC): Likewise.
8542 (TMPFS_MAGIC): Likewise.
8543 (USBDEVICE_SUPER_MAGIC): Likewise.
8544 (V9FS_MAGIC): Likewise.
8545 (XENFS_SUPER_MAGIC): Likewise.
8546 (CRAMFS_MAGIC): Fix typo in comment.
8547 (EXT2_SUPER_MAGIC): Update comment.
8548 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8550 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8552 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8553 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8554 * sysdeps/unix/sysv/linux/arm: Move directory from
8555 ports/sysdeps/unix/sysv/linux/arm.
8556 * README: Update listing for arm-*-linux-gnueabi.
8558 * README: Remove mention of am33.
8560 2014-02-07 Roland McGrath <roland@hack.frob.com>
8562 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8563 than the comma operator, to avoid "rhs of comma has no effect"
8565 (__sigfillset, __sigandset, __sigorset): Likewise.
8566 * include/signal.h (__sigemptyset): Likewise.
8567 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8569 2014-02-07 Allan McRae <allan@archlinux.org>
8571 * version.h (RELEASE): Set to "development".
8572 (VERSION): Set to "2.19.90"
8573 * NEWS: Add 2.20 section.
8575 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8578 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8580 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8582 * manual/contrib.texi: Update entry for Carlos O'Donell,
8583 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8585 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8587 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8589 * sysdeps/unix/sysv/linux/kernel-features.h
8590 [__LINUX_KERNEL_VERSION >= 0x020621]
8591 (__ASSUME_PROC_PID_TASK_COMM): Define.
8593 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8596 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8597 conversion when destination buffer does not have enough space.
8598 * libio/tst-ftell-partial-wide.c: New test case.
8599 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8601 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8602 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8603 Leonard and Allan McRae.
8605 2014-02-04 David S. Miller <davem@davemloft.net>
8607 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8610 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8639 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8641 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8642 * shlib-versions: Likewise.
8644 2014-02-04 Roland McGrath <roland@hack.frob.com>
8645 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8647 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8648 (abilist-pattern): New variable, set to %-le.abilist.
8650 * Makerules (abilist-pattern): New variable.
8651 (vpath): Use $(abilist-pattern) in place of %.abilist.
8652 (check-abi-% pattern rule): Likewise.
8653 (check-abi, update-abi): Likewise.
8655 2014-02-04 Eric Wong <normalperson@yhbt.net>
8657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8659 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8661 * manual/startup.texi: Add next, previous, and top entries for
8662 the `Program Arguments' and `Environment Variables' nodes.
8664 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8666 * manual/macros.texi: Add comments before MTASC-safety macros.
8668 * manual/users.texi: Document MTASC-safety properties.
8670 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8671 (pthread_getspecific, pthread_setspecific): Format with
8672 @deftypefun, and add @safety note.
8673 * manual/signal.texi: Move comments that analyze the above
8674 functions to their home place.
8676 2014-02-03 Allan McRae <allan@archlinux.org>
8678 * po/sl.po: Update Slovenian translation from translation project.
8680 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8682 * manual/time.texi (timegm): Add missing blank after @c.
8683 Reported by Joseph Myers <joseph@codesourcery.com>.
8685 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8687 * manual/check-safety.sh: New.
8688 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8690 * manual/terminal.texi: Document MTASC-safety properties.
8692 * manual/filesys.texi: Document MTASC-safety properties.
8694 * manual/errno.texi: Document MTASC-safety properties.
8696 * manual/intro.texi: Document safety identifiers and
8699 * manual/string.texi (wcstok): Fix prototype.
8700 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8702 * manual/time.texi: Document MTASC-safety properties.
8704 * manual/string.texi: Document MTASC-safety properties.
8706 * manual/threads.texi: Document MTASC-safety properties.
8708 * manual/stdio.texi: Document MTASC-safety properties.
8710 * manual/syslog.texi: Document MTASC-safety properties.
8712 * manual/sysinfo.texi: Document MTASC-safety properties.
8714 * manual/startup.texi: Document MTASC-safety properties.
8716 * manual/socket.texi: Document MTASC-safety properties.
8718 * manual/signal.texi: Document MTASC-safety properties.
8720 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8722 * manual/setjmp.texi: Document MTASC-safety properties.
8724 * manual/search.texi: Document MTASC-safety properties.
8726 * manual/resource.texi: Document MTASC-safety properties.
8728 * manual/process.texi: Document MTASC-safety properties.
8730 * manual/platform.texi: Document MTASC-safety properties.
8732 * manual/pipe.texi: Document MTASC-safety properties.
8734 * manual/pattern.texi: Document MTASC-safety properties.
8736 * manual/message.texi: Document MTASC-safety properties.
8739 * manual/memory.texi: Document MTASC-safety properties.
8741 * manual/math.texi: Document MTASC-safety properties.
8743 * manual/locale.texi: Document MTASC-safety properties.
8745 * manual/llio.texi: Document MTASC-safety properties.
8747 * manual/libdl.texi: New.
8749 * manual/lang.texi: Document MTASC-safety properties.
8751 * manual/job.texi: Document MTASC-safety properties.
8753 * manual/getopt.texi: Document MTASC-safety properties.
8755 * manual/ctype.texi: Document MTASC-safety properties.
8757 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8760 * csu/libc-tls.c (static_map): Remove variable.
8761 (__libc_setup_tls): Use main executable's link map for TLS data.
8762 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8763 casing for LM_ID_BASE and GL(dl_nns).
8764 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8765 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8766 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8767 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8768 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8770 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8773 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8775 * manual/debug.texi: Document MTASC-safety properties.
8777 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8780 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8781 of __x86_64__ when disabling x87 inline functions.
8783 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8785 * manual/charset.texi: Document MTASC-safety properties.
8787 * manual/crypt.texi: Document MTASC-safety properties.
8789 * manual/conf.texi: Document MTASC-safety properties.
8791 * manual/arith.texi: Document MTASC-safety properties.
8793 * manual/argp.texi: Document MTASC-safety properties.
8795 * manual/macros.texi: Introduce macros to document multi
8796 thread, asynchronous signal and asynchronous cancellation
8798 * manual/intro.texi: Introduce the properties themselves.
8800 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8802 * sysdeps/sh/sh4/Makefile: New file.
8804 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8806 * math/gen-libm-test.pl ($srcdir): New variable.
8807 ($auto_input): Use it.
8809 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8812 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8813 access beyond array bounds when parsing netgroups file.
8815 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8816 the old buffer before realloc.
8818 2014-01-27 Allan McRae <allan@archlinux.org>
8820 * po/fr.po: Update French translation from translation project.
8822 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8824 * sysdeps/sh/libm-test-ulps: Regenerate.
8826 2014-01-24 David S. Miller <davem@davemloft.net>
8828 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8830 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8832 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8833 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8835 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8838 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8839 string pointers after reallocation.
8841 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8843 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8844 __SH4A__ instead of __SH_FPU_ANY__.
8846 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8848 * sysdeps/sh/fpu_control.h: New file.
8849 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8850 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8851 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8852 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8853 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8854 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8855 * sysdeps/sh/sys/ucontext.h: Remove.
8856 * sysdeps/sh/sys: Remove directory.
8858 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8860 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8861 s390/sys/ucontext.h.
8862 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8863 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8865 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8868 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8870 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8873 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8874 Adjust the vDSO correctly for internal calls.
8875 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8877 2014-01-20 Allan McRae <allan@archlinux.org>
8879 * po/ca.po: Update Catalan translation from translation project.
8881 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8883 * sysdeps/s390/sotruss-lib.c: New file.
8885 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8888 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8889 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8890 local calls issues by not having a PLT stub required for IFUNC calls.
8891 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8893 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8895 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8896 * math/test-fpucw-static.c: Likewise.
8898 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8901 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8903 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8905 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8906 implementation for powerpc.
8908 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8911 * sysdeps/posix/system.c (__libc_system): Do not enable
8912 asynchronous cancellation.
8914 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8917 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8918 handling only for numbers special also in the IEEE case.
8920 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8922 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8924 2014-01-11 Allan McRae <allan@archlinux.org>
8926 * po/bg.po: Update Bulgarian translation from translation project.
8928 * po/de.po: Update German translation from translation project.
8930 2014-01-10 Roland McGrath <roland@hack.frob.com>
8932 * sysdeps/generic/gcc-compat.h: New file.
8934 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8936 * benchtests/asin-inputs: Correct slow inputs.
8937 * benchtests/acos-inputs: Likewise.
8939 2014-01-10 Allan McRae <allan@archlinux.org>
8941 * po:sv.po: Update Swedish translation from translation project.
8943 * po/vi.po: Update Vietnamese translation from translation project.
8945 * po/eo.po: Update Esperanto translation from translation project.
8947 * po/cs.po: Update Czech translation from translation project.
8949 * po/nl.po: Update Dutch translation from translation project.
8951 * po/pl.po: Update Polish translation from translation project.
8953 * po/ru.po: Update Russian translation from translation project.
8955 * po/uk.po: Update Ukrainian translation from translation project.
8957 2014-01-08 Brooks Moses <bmoses@google.com>
8959 * elf/dl-load.c: Fix comment typo.
8961 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8963 * po/header.pot: Rename to...
8964 * po/pot.header: ... this.
8965 * po/Makefile: Use pot.header.
8967 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8968 Maxim Kuvyrkov <maxim@kugelworks.com>
8971 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8972 SRC and DEST against LEN.
8974 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8977 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8979 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8981 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8985 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8988 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8989 for large positive arguments.
8991 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8993 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8995 * math/auto-libm-test-in: Mark various tests with
8996 xfail-rounding:ldbl-128ibm.
8997 * math/auto-libm-test-out: Regenerated.
9000 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9001 Increase overflow threshold.
9003 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9006 * stdio-common/vfprintf.c: Check for integer overflow.
9008 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9010 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9011 the first argument and return value of __tls_get_addr_internal.
9013 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9015 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9016 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9018 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9020 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9021 * sysdeps/s390/rtld-global-offsets.sym: New file.
9022 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9024 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9025 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9026 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9028 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9029 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9035 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9036 halfs of GPRs for high_gprs contexts.
9037 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9038 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9040 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9042 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9044 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9045 for high GPRs (uc_high_gprs) and for future extensions
9047 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9048 for future extensions (__reserved).
9049 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9051 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9052 SC_HIGHGPRS offset definition.
9053 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9054 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9056 * Versions.def: Add GLIBC_2.19 for libpthread.
9057 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9058 siglongjmp for libpthread with GLIBC_2.19 symver.
9059 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9060 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9061 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9062 * sysdeps/s390/__longjmp.c: New file.
9063 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9064 * sysdeps/s390/longjmp.c: New file.
9065 * sysdeps/s390/setjmp.S: New file.
9066 * sysdeps/s390/sigjmp.S: New file.
9067 * sysdeps/s390/v1-longjmp.c: New file.
9068 * sysdeps/s390/v1-setjmp.h: New file.
9069 * sysdeps/s390/v1-sigjmp.c: New file.
9070 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9071 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9073 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9074 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9075 versioned symbols for ____longjmp_chk.
9076 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9086 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9087 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9088 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9089 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9090 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9091 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9092 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9093 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9094 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9095 * sysdeps/s390/rtld-__longjmp.c: New file.
9096 * sysdeps/s390/rtld-setjmp.S: New file.
9098 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9102 Return -__logl (x) for small positive arguments without evaluating
9105 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9107 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9109 (__ptrace_peeksiginfo_args): ... this.
9110 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9111 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9112 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9114 2014-01-06 Allan McRae <allan@archlinux.org>
9116 * inet/netinet/in.h: Fix typo in comment.
9118 2014-01-05 Andreas Jaeger <aj@suse.de>
9120 * sysdeps/i386/fpu/libm-test-ulps: Update.
9122 2014-01-05 Allan McRae <allan@archlinux.org>
9124 * po/libc.pot: Regenerated.
9126 * malloc/memusagestat.c: Fix gettext call formatting.
9128 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9130 * nscd/nscd.c: Improve usage() output.
9132 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9134 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9135 * sysdeps/unix/sysv/linux/configure: Regenerated.
9136 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9137 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9139 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9142 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9143 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9145 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9147 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9148 extra tokens at end of #undef directive.
9149 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9150 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9151 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9153 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9155 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9157 * math/auto-libm-test-in: Mark various tests with
9158 xfail-rounding:ldbl-128ibm.
9159 * math/auto-libm-test-out: Regenerated.
9161 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9164 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9165 numbers with subnormal high part when calculating exponent.
9168 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9172 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9174 (__ieee754_acoshl): Use __log1pl not __log1p.
9176 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9178 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9179 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9180 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9181 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9182 (reused_arena, arena_get2): Convert to GNU style.
9183 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9184 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9185 (memalign_check, __malloc_set_state): Likewise.
9186 * malloc/mallocbug.c (main): Likewise.
9187 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9188 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9189 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9190 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9191 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9192 (__posix_memalign, malloc_info): Likewise.
9193 * malloc/malloc.h: Likewise.
9194 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9195 (mallochook, memalignhook, reallochook, mabort): Likewise.
9196 * malloc/mcheck.h: Likewise.
9197 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9198 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9199 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9200 * malloc/morecore.c (__default_morecore): Likewise.
9201 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9202 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9203 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9204 (print_and_abort): Likewise.
9205 * malloc/obstack.h: Likewise.
9206 * malloc/set-freeres.c (__libc_freeres): Likewise.
9207 * malloc/tst-mallocstate.c (main): Likewise.
9208 * malloc/tst-mtrace.c (main): Likewise.
9209 * malloc/tst-realloc.c (do_test): Likewise.
9211 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9214 * nscd/netgroupcache.c (do_notfound): New function.
9215 (addgetnetgrentX): Use it.
9218 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9219 NSS_STATUS_NOTFOUND.
9221 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9223 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9226 2014-01-01 Allan McRae <allan@archlinux.org>
9228 * scripts/update-copyrights: Update configure input file suffix.
9230 * NEWS: Update copyright year.
9231 * catgets/gencat.c: Likewise.
9232 * csu/version.c: Likewise.
9233 * debug/catchsegv.sh: Likewise.
9234 * debug/pcprofiledump.c: Likewise.
9235 * debug/xtrace.sh: Likewise.
9236 * elf/ldconfig.c: Likewise.
9237 * elf/ldd.bash.in: Likewise.
9238 * elf/pldd.c: Likewise.
9239 * elf/sotruss.ksh: Likewise.
9240 * elf/sprof.c: Likewise.
9241 * iconv/iconv_prog.c: Likewise.
9242 * iconv/iconvconfig.c: Likewise.
9243 * locale/programs/locale.c: Likewise.
9244 * locale/programs/localedef.c: Likewise.
9245 * login/programs/pt_chown.c: Likewise.
9246 * malloc/memusage.sh: Likewise.
9247 * malloc/memusagestat.c: Likewise.
9248 * malloc/mtrace.pl: Likewise.
9249 * manual/libc.texinfo: Likewise.
9250 * nscd/nscd.c: Likewise.
9251 * nss/getent.c: Likewise.
9252 * nss/makedb.c: Likewise.
9253 * posix/getconf.c: Likewise.
9254 * scripts/test-installation.pl: Likewise.
9256 * All files with FSF copyright notices: Update copyright dates
9257 using scripts/update-copyrights.
9258 * intl/plural.c: Regenerated.
9259 * locale/programs/charmap-kw.h: Likewise.
9260 * locale/programs/locfile-kw.h: Likewise.
9262 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9264 * sysdeps/unix/sysv/linux/configure: Regenerated.
9265 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9266 the linux/fanotify.h header.
9267 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9268 HAVE_LINUX_FANOTIFY_H is defined.
9270 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9272 * benchtests/cos-inputs: New inputs.
9273 * benchtests/sin-inputs: Likewise.
9275 * benchtests/atan-inputs: New inputs. Fix name of multiple
9276 precision fallback inputs.
9278 * benchtests/atanh-inputs: New inputs.
9279 * benchtests/tanh-inputs: Likewise.
9281 * benchtests/acosh-inputs: New inputs.
9282 * benchtests/asinh-inputs: Likewise.
9284 * benchtests/cosh-inputs: New inputs.
9285 * benchtests/sinh-inputs: Likewise.
9287 * benchtests/acos-inputs: Add more inputs.
9288 * benchtests/asin-inputs: Likewise.
9290 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9293 * manual/arith.texi: Fix spelling.
9294 * manual/charset.texi: Likewise.
9295 * manual/errno.texi: Likewise.
9296 * manual/filesys.texi: Likewise.
9297 * manual/lang.texi: Likewise.
9298 * manual/llio.texi: Likewise.
9299 * manual/locale.texi: Likewise.
9300 * manual/message.texi: Likewise.
9301 * manual/resource.texi: Likewise.
9302 * manual/search.texi: Likewise.
9303 * manual/setjmp.texi: Likewise.
9304 * manual/stdio.texi: Likewise.
9305 * manual/string.texi: Likewise.
9306 * manual/sysinfo.texi: Likewise.
9307 * manual/time.texi: Likewise.
9309 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9311 * po/sl.po: New file.
9313 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9315 * .gitignore: Add core/.gdbinit/.gdb_history.
9317 2013-12-27 Allan McRae <allan@archlinux.org>
9320 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9321 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9323 2013-12-24 Brooks Moses <bmoses@google.com>
9325 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9326 all compilers that claim C++98 compliance, not just GCC.
9327 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9330 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9332 * NEWS: Restore accidentally deleted bug-fix entries.
9334 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9335 Ondřej Bílka <neleai@seznam.cz>
9338 * malloc/malloc.c (_int_free): Perform sanity check only if we
9341 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9344 * manual/stdio.texi (String Input Conversions): Clarify that character
9345 classes are not supported.
9347 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9351 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9355 Calculate results for small negative arguments directly rather
9356 than using reflection formula with special underflow handling.
9358 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9359 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9360 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9361 (fchflags): Likewise.
9363 (setlogin): Likewise.
9364 (sigaltstack): Likewise.
9367 (sigsetmask): Likewise.
9369 (waitpid): Likewise.
9370 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9371 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9373 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9374 * sysdeps/unix/bsd/Makefile: ... here.
9375 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9376 * sysdeps/unix/bsd/Versions: ... here.
9377 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9378 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9379 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9380 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9381 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9382 * sysdeps/unix/bsd/sigblock.c: ... here.
9383 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9384 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9385 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9386 * sysdeps/unix/bsd/sigvec.c: ... here.
9387 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9388 * sysdeps/unix/bsd/tcdrain.c: ... here.
9389 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9390 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9391 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9392 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9393 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9394 * sysdeps/unix/bsd/wait.c: ... here.
9395 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9396 * sysdeps/unix/bsd/wait3.c: ... here.
9397 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9398 * sysdeps/unix/bsd/waitpid.c: ... here.
9400 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9404 round-to-nearest for [!USE_AS_EXPM1L].
9405 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9406 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9407 more tests of exp and exp10. Expect some exp10 tests to miss
9408 exceptions or fail in directed rounding modes.
9409 * math/auto-libm-test-out: Regenerated.
9410 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9411 (exp10_test_tonearest): New function.
9412 (exp10_towardzero_test_data): New array.
9413 (exp10_test_towardzero): New function.
9414 (exp10_downward_test_data): New array.
9415 (exp10_test_downward): New function.
9416 (exp10_upward_test_data): New array.
9417 (exp10_test_upward): New function.
9418 (main): Call the new functions.
9419 * sysdeps/i386/fpu/libm-test-ulps: Update.
9420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9422 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9424 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9425 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9426 * math/auto-libm-test-out: Regenerated.
9427 * math/libm-test.inc (acosh_test_data): Add more tests.
9428 (atanh_test_data): Likewise.
9429 (ceil_test_data): Likewise.
9430 (copysign_test_data): Likewise.
9431 * sysdeps/i386/fpu/libm-test-ulps: Update.
9432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9434 * timezone/checktab.awk: Update from tzcode 2013i.
9435 * timezone/private.h: Likewise.
9436 * timezone/scheck.c: Likewise.
9437 * timezone/tzfile.h: Likewise.
9438 * timezone/tzselect.ksh: Likewise.
9439 * timezone/zdump.c: Likewise.
9440 * timezone/zic.c: Likewise.
9442 * math/auto-libm-test-in: Add tests of cpow.
9443 * math/auto-libm-test-out: Regenerated.
9444 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9445 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9447 (func_calc_desc): Add mpc_cc_c union field.
9448 (test_functions): Add cpow.
9449 (special_fill_2pi): New function.
9450 (special_real_inputs): Add 2pi.
9451 (calc_generic_results): Handle mpc_cc_c.
9452 * sysdeps/i386/fpu/libm-test-ulps: Update.
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9455 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9456 csqrt, ctan and ctanh.
9457 * math/auto-libm-test-out: Regenerated.
9458 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9459 (TEST_COND_x86): Likewise.
9460 (ccos_test_data): Use AUTO_TESTS_c_c.
9461 (ccosh_test_data): Likewise.
9462 (cexp_test_data): Likewise.
9463 (clog_test_data): Likewise.
9464 (csqrt_test_data): Likewise.
9465 (ctan_test_data): Likewise.
9466 (ctan_tonearest_test_data): Likewise.
9467 (ctan_towardzero_test_data): Likewise.
9468 (ctan_downward_test_data): Likewise.
9469 (ctan_upward_test_data): Likewise.
9470 (ctanh_test_data): Likewise.
9471 (ctanh_tonearest_test_data): Likewise.
9472 (ctanh_towardzero_test_data): Likewise.
9473 (ctanh_downward_test_data): Likewise.
9474 (ctanh_upward_test_data): Likewise.
9475 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9477 (func_calc_desc): Add mpc_c_c union field.
9478 (FUNC_mpc_c_c): New macro.
9479 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9480 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9482 (special_fill_min_subnorm_p120): New function.
9483 (special_real_inputs): Add min_subnorm_p120.
9484 (calc_generic_results): Handle mpc_c_c.
9485 * sysdeps/i386/fpu/libm-test-ulps: Update.
9486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9488 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9490 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9491 (do_sin_slow): New functions.
9492 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9493 (cslow2, csloww1, csloww2): Use the new functions.
9495 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9496 Use M to change sign of result instead of X. Assume X is
9498 (csloww1): Likewise.
9502 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9507 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9509 (sloww1): Don't adjust sign of DX.
9510 (csloww1): Likewise.
9511 (sloww2): Use X directly and don't adjust sign of DX.
9512 (csloww2): Likewise.
9514 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9516 * math/auto-libm-test-in: Add tests of cabs and carg.
9517 * math/auto-libm-test-out: Regenerated.
9518 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9519 (carg_test_data): Likewise.
9520 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9522 (func_calc_desc): Add mpc_c_f union field.
9523 (test_functions): Add cabs and carg.
9524 (calc_generic_results): Handle mpc_c_f.
9526 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9527 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9528 as a macro and a compat symbol.
9529 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9530 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9531 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9532 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9533 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9534 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9536 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9538 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9540 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9542 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9544 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9546 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9547 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9550 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9554 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9556 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9557 trailing whitespace removed.
9558 * scripts/config.guess: Update to version 2013-11-29.
9559 * scripts/config.sub: Update to version 2013-10-01.
9561 * math/auto-libm-test-in: Add tests of sincos.
9562 * math/auto-libm-test-out: Regenerated.
9563 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9566 (func_calc_desc): Add mpfr_f_11 union field.
9567 (test_functions): Add sincos.
9568 (calc_generic_results): Handle mpfr_f_11.
9569 * sysdeps/i386/fpu/libm-test-ulps: Update.
9570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9572 2013-12-19 Andreas Schwab <schwab@suse.de>
9574 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9576 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9577 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9578 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9580 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9582 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9583 * sysdeps/i386/fpu/libm-test-ulps: Update.
9584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9588 round-to-nearest mode when using frndint.
9589 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9590 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9591 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9593 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9595 * math/auto-libm-test-out: Regenerated.
9596 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9597 (TEST_COND_x86): Likewise.
9598 (expm1_tonearest_test_data): New array.
9599 (expm1_test_tonearest): New function.
9600 (expm1_towardzero_test_data): New array.
9601 (expm1_test_towardzero): New function.
9602 (expm1_downward_test_data): New array.
9603 (expm1_test_downward): New function.
9604 (expm1_upward_test_data): New array.
9605 (expm1_test_upward): New function.
9606 (main): Run the new test functions.
9607 * sysdeps/i386/fpu/libm-test-ulps: Update.
9608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9610 * include/features.h: Update comment documenting feature test
9611 macros. Mention _DEFAULT_SOURCE in comment.
9612 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9613 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9614 _BSD_SOURCE and _SVID_SOURCE.
9615 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9616 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9617 !_SVID_SOURCE]: Likewise.
9618 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9619 (__USE_POSIX_IMPLICITLY): Define.
9620 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9621 (_POSIX_SOURCE): Undefine and redefine.
9622 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9623 (_POSIX_C_SOURCE): Likewise.
9624 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9625 (Feature Test Macros): Update documentation of default features.
9627 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9629 * benchtests/Makefile: Add bench-strtok.
9630 * benchtests/bench-strtok.c: New file: strtok benchtest.
9632 2013-12-19 Allan McRae <allan@archlinux.org>
9634 * manual/install.texi: Suppress menu for plain text output.
9635 * INSTALL: Regenerated.
9637 2013-12-18 Brooks Moses <bmoses@google.com>
9640 * misc/getauxval.c: Include errno.h.
9641 (__getauxval): Set errno to ENOENT if the requested type is not
9643 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9644 don't declare with __attribute_const__.
9645 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9646 * manual/startup.texi: Document that getauxval sets errno.
9648 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9650 * math/auto-libm-test-in: Add tests of jn and yn.
9651 * math/auto-libm-test-out: Regenerated.
9652 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9653 (yn_test_data): Likewise.
9654 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9656 (func_calc_desc): Add mpfr_if_f union field.
9657 (FUNC_mpfr_if_f): New macro.
9658 (test_functions): Add jn and yn.
9659 (calc_generic_results): Assert type of second input for
9660 mpfr_ff_f. Handle mpfr_if_f.
9661 (output_for_one_input_case): Disable all checking for arguments
9662 fitting floating-point types in case of an integer argument.
9663 * sysdeps/i386/fpu/libm-test-ulps: Update.
9664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9667 Don't expect fegetround reference in libm.so.
9669 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9671 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9672 $(config-cflags-nofma).
9674 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9676 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9677 * math/auto-libm-test-out: Regenerated.
9680 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9681 to determine exponent and adjust argument to have exponent of -1.
9682 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9684 * math/auto-libm-test-out: Regenerated.
9685 * sysdeps/i386/fpu/libm-test-ulps: Update.
9686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9688 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9690 * manual/probes.texi: Remove cases when per-thread arenas are
9693 2013-12-18 Andreas Schwab <schwab@suse.de>
9695 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9696 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9697 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9698 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9699 * sysdeps/i386/i686/multiarch/Makefile: Update.
9700 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9702 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9704 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9705 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9707 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9710 Support TZ transition times < 00:00:00.
9711 This is needed for version-3 tz-format files; it supports time
9712 stamps past 2037 for America/Godthab (the only entry in the tz
9713 database for which this change is relevant).
9714 * manual/time.texi (TZ Variable): Document transition times
9715 from -167:59:59 through -00:00:01.
9716 * time/tzset.c (tz_rule): Time of day is now signed.
9717 (__tzset_parse_tz): Parse negative time of day.
9719 Document TZ transition times >= 25:00:00.
9720 * manual/time.texi (TZ Variable): Document transition times from
9721 25:00:00 through 167:59:59. These are already supported, and this
9722 support will help with version-3 tz-format files.
9724 * manual/time.texi (TZ Variable): Modernize North America example
9725 to reflect current (i.e., 2007-and-later) daylight saving rules.
9727 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9729 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9731 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9732 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9734 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9735 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9736 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9737 * sysdeps/unix/bsd/clock.c: Likewise.
9738 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9739 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9740 * sysdeps/unix/bsd/init-posix.c: Likewise.
9741 * sysdeps/unix/bsd/poll.c: Likewise.
9742 * sysdeps/unix/bsd/ptsname.c: Likewise.
9743 * sysdeps/unix/bsd/seekdir.c: Likewise.
9744 * sysdeps/unix/bsd/setegid.c: Likewise.
9745 * sysdeps/unix/bsd/seteuid.c: Likewise.
9746 * sysdeps/unix/bsd/setgid.c: Likewise.
9747 * sysdeps/unix/bsd/setrgid.c: Likewise.
9748 * sysdeps/unix/bsd/setruid.c: Likewise.
9749 * sysdeps/unix/bsd/setsid.c: Likewise.
9750 * sysdeps/unix/bsd/setuid.c: Likewise.
9751 * sysdeps/unix/bsd/sigaction.c: Likewise.
9752 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9753 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9754 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9755 * sysdeps/unix/bsd/telldir.c: Likewise.
9756 * sysdeps/unix/bsd/times.c: Likewise.
9757 * sysdeps/unix/bsd/usleep.c: Likewise.
9759 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9760 ($(objpfx)libbsd-compat.a): Remove rule.
9762 * include/features.h (__FAVOR_BSD): Do not define.
9763 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9764 features conflicting with POSIX.
9765 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9766 (_BSD_SOURCE): Remove description of not being a subset of other
9767 feature test macros.
9768 * manual/job.texi (getpgrp): Do not document BSD version.
9769 (getpgid): Do not document by reference to BSD getpgrp.
9770 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9771 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9772 * signal/signal.h [__FAVOR_BSD]: Likewise.
9773 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9774 instead of making contents conditional on [__FAVOR_BSD].
9775 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9777 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9781 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9784 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9785 values below 2**-450, not 2**-500.
9786 * math/auto-libm-test-in: Don't allow spurious underflow from
9788 * math/auto-libm-test-out: Regenerated.
9792 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9793 values of ha and hb and sort them after adjusting subnormal
9795 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9797 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9798 values of ea and eb and sort them after adjusting subnormal
9800 * math/auto-libm-test-in: Do not expect some hypot tests of
9801 subnormals to fail. Add more hypot tests.
9802 * math/auto-libm-test-out: Regenerated.
9804 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9807 * sysdeps/sh/s_fma.c: New file.
9808 * sysdeps/sh/s_fmaf.c: New file.
9809 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9811 * sysdeps/sh/Implies: Add sh/soft-fp.
9813 2013-12-16 Roland McGrath <roland@hack.frob.com>
9815 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9816 level of indirection to members `objname', `errstring', `malloced'.
9817 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9818 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9819 it as the __longjmp argument (just pass 1 instead).
9820 (_dl_catch_error): Initialize C with argument pointers and address of
9821 volatile local ERRCODE rather than copying values out of C at return.
9823 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9825 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9826 * math/auto-libm-test-out: Regenerated.
9827 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9828 (hypot_test_data): Likewise.
9829 (pow_test_data): Likewise.
9830 (pow_tonearest_test_data): Likewise.
9831 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9833 (func_calc_desc): Add mpfr_ff_f union field.
9834 (FUNC_mpfr_ff_f): New macro.
9835 (test_functions): Add atan2, hypot and pow.
9836 (special_fill_min): New function.
9837 (special_fill_minus_min): Likewise.
9838 (special_fill_min_subnorm): Likewise.
9839 (special_fill_minus_min_subnorm): Likewise.
9840 (special_real_inputs): Add min, -min, min_subnorm and
9842 (calc_generic_results): Handle mpfr_ff_f.
9843 * sysdeps/i386/fpu/libm-test-ulps: Update.
9844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9846 2013-12-16 Will Newton <will.newton@linaro.org>
9848 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9849 (Aligned Memory Blocks): Add documentation for aligned_alloc
9850 and suggest it as an alternative to posix_memalign.
9851 (Hooks for Malloc): Document __memalign_hook is also called
9852 for aligned_alloc. (Summary of Malloc): Add summary for
9853 aligned alloc. Document __memalign_hook is also called
9856 2013-12-16 Will Newton <will.newton@linaro.org>
9858 * manual/memory.texi (Malloc Examples): Clarify default
9859 alignment documentation. Suggest posix_memalign rather
9860 than memalign or valloc.
9861 (Aligned Memory Blocks): Remove suggestion to use memalign
9862 or valloc. Remove obsolete comment about BSD.
9863 Document memalign errno values and mark the function obsolete.
9864 Document posix_memalign returned error codes. Mark valloc
9865 as obsolete. (Hooks for Malloc): __memalign_hook is also
9866 called for posix_memalign and valloc.
9867 (Summary of Malloc): Add posix_memalign to function summary.
9868 __memalign_hook is also called for posix_memalign and valloc.
9870 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9872 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9876 (sloww): Use mynumber union. Expand ternary operator into
9878 (cslow): use mynumber union.
9880 2013-12-16 Allan McRae <allan@archlinux.org>
9882 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9883 * configure: Regenerated.
9885 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9888 * configure.ac: Added --enable-maintainer-mode. Check for
9889 autoconf when enabled.
9890 * configure: Regenerated.
9892 * nscd/nscd.service: New file.
9893 * nscd/nscd.tmpfiles: New file.
9895 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9898 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9899 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9900 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9901 (strstr): Add __strstr_sse2_unaligned ifunc.
9902 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9903 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9904 (strcasestr): Remove __strcasestr_sse42 ifunc.
9905 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9909 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9911 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9912 * sysdeps/sh/bits/fenv.h: ... here.
9913 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9915 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9917 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9920 hypotf multiarch implementations.
9921 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9922 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9923 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9924 multiarch hypot for PPC64.
9925 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9926 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9927 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9928 multiarch hypotf for PPC64.
9930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9931 modff multiarch implementations.
9932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9935 multiarch modf for PPC64.
9936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9939 multiarch modff for PPC64.
9941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9942 and logl multiarch implementations.
9943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9946 multiarch logb for PPC64.
9947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9950 multiarch logb for PPC64.
9951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9954 multiarch logb for PPC64.
9956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9957 isinff multiarch implementation.
9958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9962 multiarch isinf for PPC64.
9963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9966 multiarch isinff for PPC64.
9968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9969 finitef multiarch implementation.
9970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9974 multiarch finite for PPC64.
9975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9978 multiarch finitef for PPC64.
9980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9981 lrint multiarch implementation.
9982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9986 multiarch llrint for PPC64.
9987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9988 multiarch lrint for PPC64.
9990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9991 copysignf multiarch implementation.
9992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9997 multiarch copysign for PPC64.
9998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9999 multiarch copysignf for PPC64.
10001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10002 multiarch implementation.
10003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10011 multiarch llround for PPC64.
10012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10013 multiarch trunc for PPC64.
10014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10015 multiarch truncf for PPC64.
10017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10018 multiarch implementation.
10019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10027 multiarch llround for PPC64.
10028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10029 multiarch round for PPC64.
10030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10031 multiarch roundf for PPC64.
10033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10034 multiarch implementation.
10035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10043 multiarch llround for PPC64.
10044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10045 multiarch floor for PPC64.
10046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10047 multiarch floorf for PPC64.
10049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10050 multiarch implementation.
10051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10059 multiarch llround for PPC64.
10060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10061 multiarch ceil for PPC64.
10062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10063 multiarch ceilf for PPC64.
10065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10066 multiarch implementation.
10067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10074 multiarch llround for PPC64.
10075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10076 multiarch lround for PPC64.
10078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10079 multiarch implementation.
10080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10087 multiarch isnan for PPC64.
10088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10089 multiarch isnanf for PPC64.
10091 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10092 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10093 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10094 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10095 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10098 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10099 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10100 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10101 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10104 multiarch implementations.
10105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10106 (__libc_ifunc_impl_list): Likewise.
10107 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10108 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10109 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10110 multiarch stpcpy for PPC64.
10112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10113 multiarch implementations.
10114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10115 (__libc_ifunc_impl_list): Likewise.
10116 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10117 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10118 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10119 multiarch strcpy for PPC64.
10121 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10122 redefine function name.
10123 (_wordcopy_fwd_dest_aligned): Likewise.
10124 (_wordcopy_bwd_aligned): Likewise.
10125 (_wordcopy_bwd_dest_aligned): Likewise.
10126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10127 multiarch implementations.
10128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10129 (__libc_ifunc_impl_list): Likewise.
10130 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10131 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10132 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10133 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10134 multiarch wcscpy for PPC64.
10136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10137 multiarch implementations.
10138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10139 (__libc_ifunc_impl_list): Likewise.
10140 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10141 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10142 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10143 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10144 multiarch wcscpy for PPC64.
10146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10147 multiarch implementations.
10148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10149 (__libc_ifunc_impl_list): Likewise.
10150 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10151 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10152 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10153 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10154 multiarch wcsrchr for PPC64.
10156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10157 multiarch implementations.
10158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10159 (__libc_ifunc_impl_list): Likewise.
10160 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10161 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10162 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10163 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10164 multiarch wcschr for PPC64.
10166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10167 multiarch implementations.
10168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10169 (__libc_ifunc_impl_list): Likewise.
10170 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10171 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10172 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10173 multiarch strchrnul for PPC64.
10175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10178 (__libc_ifunc_impl_list): Likewise.
10179 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10180 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10181 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10182 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10188 (__libc_ifunc_impl_list): Likewise.
10189 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10190 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10191 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10192 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10196 multiarch implementations.
10197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10198 (__libc_ifunc_impl_list): Likewise.
10199 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10200 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10201 strncasecmp for PPC64.
10202 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10203 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10204 multiarch strncasecmp_l for PPC64.
10206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10207 multiarch implementations.
10208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10209 (__libc_ifunc_impl_list): Likewise.
10210 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10211 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10212 multiarch strcasecmp for PPC64.
10213 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10215 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10216 multiarch strcasecmp_l for PPC64.
10218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10221 (__libc_ifunc_impl_list): Likewise.
10222 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10223 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10224 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10230 (__libc_ifunc_impl_list): Likewise.
10231 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10232 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10233 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10239 (__libc_ifunc_impl_list): Likewise.
10240 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10241 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10242 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10243 rawmemrchr for PPC64.
10245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10248 (__libc_ifunc_impl_list): Likewise.
10249 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10250 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10251 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10257 (__libc_ifunc_impl_list): Likewise.
10258 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10259 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10260 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10266 (__libc_ifunc_impl_list): Likewise.
10267 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10268 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10269 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10272 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10273 avoid cretion of __bzero symbol.
10274 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10276 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10278 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10281 multiarch implementations.
10282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10283 (__libc_ifunc_impl_list): Likewise.
10284 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10285 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10286 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10287 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10289 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10290 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10291 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10292 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10293 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10295 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10297 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10301 (__libc_ifunc_impl_list): Likewise.
10302 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10303 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10304 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10305 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10309 multiarch for POWER/PPC64.
10310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10311 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10318 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10321 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10322 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10323 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10324 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10325 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10326 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10327 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10328 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10329 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10330 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10331 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10332 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10333 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10334 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10335 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10344 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10346 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10348 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10350 * benchtests/Makefile (bench): Add exp2 and log2.
10351 (LDLIBS-bench-exp2): Add -lm.
10352 (LDLIBS-bench-log2): Likewise.
10353 * benchtests/exp2-inputs: New inputs file.
10354 * benchtests/log2-inputs: New inputs file.
10355 * benchtests/log-inputs: Add new inputs.
10356 * benchtests/tan-inputs: Likewise.
10358 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10360 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10362 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10363 (csloww2): ... from here.
10365 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10366 instead of structures.
10367 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10368 (POLYNOMIAL): Likewise.
10369 (TAYLOR_SLOW): Likewise.
10375 (sloww1); Likewise.
10376 (sloww2): Likewise.
10377 (bsloww1): Likewise.
10378 (bsloww2): Likewise.
10379 (cslow2): Likewise.
10380 (csloww): Likewise.
10381 (csloww1): Likewise.
10382 (csloww2): Likewise.
10384 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10386 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10387 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10388 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10389 * malloc/hooks.c (realloc_check): Likewise.
10391 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10392 * malloc/arena.c: Remove PER_THREAD conditional.
10393 [!PER_THREAD]: Remove code.
10394 (ptmalloc_unlock_all2): Likewise.
10395 (ptmalloc_init): Likewise.
10396 (_int_new_arena): Likewise.
10397 (arena_get2): Likewise.
10398 * malloc/hooks.c (__malloc_get_state): Likewise.
10399 (__malloc_set_state): Likewise.
10400 * malloc/malloc.c: Likewise.
10401 (struct malloc_state): Likewise.
10402 (struct malloc_par): Likewise.
10403 (__libc_realloc): Likewise.
10404 (__libc_mallopt): Likewise.
10406 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10408 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10410 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10412 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10413 macro to a function. Check for zero perturb_byte.
10414 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10416 * malloc/malloc.c: (force_reg): Remove.
10417 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10418 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10419 force_reg by atomic_forced_read.
10420 * malloc/arena.c (ptmalloc_init): Likewise.
10421 * malloc/hooks.c (top_check): Likewise.
10423 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10427 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10431 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10433 * math/auto-libm-test-in: Add tests of lgamma.
10434 * math/auto-libm-test-out: Regenerated.
10435 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10436 (M_LOG_2_SQRT_PIl): Likewise.
10437 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10438 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10440 (func_calc_desc): Add mpfr_f_f1 union field.
10441 (ARGS1): New macro.
10449 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10450 (test_functions): Add lgamma.
10451 (calc_generic_results): Handle mpfr_f_f1.
10452 * sysdeps/i386/fpu/libm-test-ulps: Update.
10453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10455 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10457 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10458 __mpn_add_n for PowerPC64/POWER7.
10459 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10460 __mpn_sub_n for PowerPC64/POWER7.
10462 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10463 __mpn_addmul_1 for PowerPC64.
10464 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10465 __mpn_submul_1 for PowerPC64.
10466 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10468 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10471 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10474 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10476 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10478 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10480 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10481 add multiarch folders.
10482 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10483 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10484 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10485 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10486 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10487 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10488 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10489 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10490 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10491 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10492 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10501 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10507 multiarch __ieee754_hypot for PowerPC32.
10508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10513 multiarch __ieee754_hypotf for PowerPC32.
10515 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10516 long_double_symbol only if __logbl is defined.
10517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10518 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10519 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10520 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10522 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10523 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10524 path for implementation.
10525 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10526 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10528 logb, and logbl multiarch implementations for PowerPC32.
10529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10534 multiarch logb for PowerPC32.
10535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10540 multiarch logbf for PowerPC32.
10541 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10545 multiarch logbl implementation for PowerPC32.
10547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10548 and modff multiarch implementations.
10549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10554 multiarch modf for PowerPC32.
10555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10560 multiarch modff for PowerPC32.
10562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10563 and lrintf multiarch implementations.
10564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10569 multiarch lrint for PowerPC32.
10570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10571 file: multiarch lrintf for PowerPC32.
10573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10574 and lroundf multiarch implementations.
10575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10582 multiarch lround for PowerPC32.
10583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10584 file: multiarch lroundf for PowerPC32.
10586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10587 copysign and copysignf multiarch implementations.
10588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10593 file: multiarch copysign for PowerPC32.
10594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10595 file: multiarch copysignf for PowerPC32.
10597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10598 and truncf multiarch implementations.
10599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10604 multiarch trunc for PowerPC32.
10605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10610 multiarch truncf for PowerPC32.
10612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10613 and roundf multiarch implementations.
10614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10619 multiarch round for PowerPC32.
10620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10625 multiarch roundf for PowerPC32.
10627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10628 and floorf multiarch implementations.
10629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10634 multiarch floor for PowerPC32.
10635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10640 multiarch floorf for PowerPC32.
10642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10643 and ceilf multiarch implementations.
10644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10649 multiarch ceil for PowerPC32.
10650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10655 multiarch ceilf for PowerPC32.
10657 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10659 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10660 FINITEF is defined.
10661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10662 and finitef multiarch implementations.
10663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10668 multiarch finite for PowerPC32.
10669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10672 file: multiarch finitef for PowerPC32.
10674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10675 and isinff multiarch implementations.
10676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10681 multiarch isinf for PowerPC32.
10682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10685 multiarch isinff for PowerPC32.
10687 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10688 alias when __isnan is defined.
10689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10690 and isnanf multiarch implementations.
10691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10700 multiarch isnan for PowerPC32.
10701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10706 multiarch isnanf for PowerPC32.
10708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10709 and sqrtf multiarch implementations.
10710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10715 multiarch sqrt for PowerPC32.
10716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10721 multiarch sqrtf for PowerPC32.
10723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10724 and llroundf multiarch implementations.
10725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10732 file: multiarch llround for PowerPC32.
10733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10734 file: multiarch llroundf for PowerPC32.
10736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10737 multiarch PowerPC32 fpu implementations.
10738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10743 multiarch llrint for PowerPC32.
10744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10753 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10755 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10757 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10759 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10760 multiarch wordcopy for PPC32.
10761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10764 (__libc_ifunc_impl_list): Likewise.
10765 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10766 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10767 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10768 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10770 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10772 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10780 multiarch wcscpy for PPC32.
10781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10784 (__libc_ifunc_impl_list): Likewise.
10785 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10786 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10787 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10788 sysdeps/powerpc/power6/wcscpy.c.
10790 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10798 multiarch wcsrchr for PPC32.
10799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10802 (__libc_ifunc_impl_list): Likewise.
10803 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10804 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10805 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10806 sysdeps/powerpc/power6/wcsrchr.c.
10808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10814 multiarch wcschr for PPc32.
10815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10818 (__libc_ifunc_impl_list): Likewise.
10819 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10820 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10821 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10822 sysdeps/powerpc/power6/wcschr.c.
10824 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10825 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10827 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10828 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10829 file: multiarch strchr for PPC32.
10830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10833 (__libc_ifunc_impl_list): Likewise.
10835 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10837 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10839 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10841 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10842 multiarch strchrnul for PPC32.
10843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10846 (__libc_ifunc_impl_list): Likewise.
10848 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10850 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10851 multiarch strncasecmp for PPC32.
10852 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10854 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10855 multiarch strncasecmp_l for PPC32.
10856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10857 strncasecmp multiarch objects.
10858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10859 (__libc_ifunc_impl_list): Likewise.
10861 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10863 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10864 multiarch strncasecmp for PPC32.
10865 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10867 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10868 multiarch strcasecmp_l for PPC32.
10869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10872 (__libc_ifunc_impl_list): Likewise.
10874 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10876 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10878 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10879 multiarch strncmp for PPC32.
10880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10883 (__libc_ifunc_impl_list): Likewise.
10885 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10886 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10888 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10889 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10893 (__libc_ifunc_impl_list): Likewise.
10895 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10897 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10899 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10903 (__libc_ifunc_impl_list): Likewise.
10905 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10907 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10909 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10910 multiarch rawmemchr for PPC32.
10911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10914 (__libc_ifunc_impl_list): Likewise.
10916 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10918 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10920 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10921 file: memrchr multiarch for PPC32.
10922 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10924 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10925 (__libc_ifunc_impl_list): Likewise.
10927 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10928 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10930 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10931 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10932 multiarch memchr for PPC32.
10933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10936 (__libc_ifunc_impl_list): Likewise.
10938 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10939 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10941 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10943 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10944 file: multiarch mempcpy for PPC32.
10945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10948 (__libc_ifunc_impl_list): Likewise.
10950 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10951 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10952 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10953 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10954 multiarch bzero for PPC32.
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10957 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10959 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10960 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10961 file: multiarch memset for PPC32.
10962 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10964 memset multiarch objects.
10965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10966 (__libc_ifunc_impl_list): Likewise.
10968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10973 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10977 (__libc_ifunc_impl_list): Likewise.
10979 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10981 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10983 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10988 multiarch memcpy for PPC32.
10989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10992 (__libc_ifunc_impl_list): Likewise.
10994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10995 support multiarch for POWER/PPC32.
10996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10998 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11000 Implies file to make multiarch folder appers before the fpu and
11001 default folder for power4 configuration.
11003 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11005 * scripts/bench.pl: Append volatile keyword to type.
11007 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11009 * sysdeps/sh/sotruss-lib.c: New file.
11010 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11012 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11016 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11019 * math/w_tgamma.c: Include <errno.h>.
11020 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11021 * math/w_tgammaf.c: Include <errno.h>.
11022 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11023 * math/w_tgammal.c: Include <errno.h>.
11024 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11025 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11026 underflow. Add more tgamma tests.
11027 * math/auto-libm-test-out: Regenerated.
11028 * sysdeps/i386/fpu/libm-test-ulps: Update.
11029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11031 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11032 sin, sinh, tan, tanh, tgamma, y0 and y1.
11033 * math/auto-libm-test-out: Regenerated.
11034 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11035 (TEST_COND_x86): Likewise.
11036 (M_E2l): Remove macro.
11038 (M_2_SQRT_PIl): Likewise.
11039 (M_SQRT_PIl): Likewise.
11040 (M_1_DIV_El): Likewise.
11041 (log_test_data): Use AUTO_TESTS_f_f.
11042 (log10_test_data): Likewise.
11043 (log1p_test_data): Likewise.
11044 (log2_test_data): Likewise.
11045 (sin_test_data): Likewise.
11046 (sin_tonearest_test_data): Likewise.
11047 (sin_towardzero_test_data): Likewise.
11048 (sin_downward_test_data): Likewise.
11049 (sin_upward_test_data): Likewise.
11050 (sinh_test_data): Likewise.
11051 (sinh_tonearest_test_data): Likewise.
11052 (sinh_towardzero_test_data): Likewise.
11053 (sinh_downward_test_data): Likewise.
11054 (sinh_upward_test_data): Likewise.
11055 (tan_test_data): Likewise.
11056 (tan_tonearest_test_data): Likewise.
11057 (tan_towardzero_test_data): Likewise.
11058 (tan_downward_test_data): Likewise.
11059 (tan_upward_test_data): Likewise.
11060 (tanh_test_data): Likewise.
11061 (tgamma_test_data): Likewise.
11062 (y0_test_data): Likewise.
11063 (y1_test_data): Likewise.
11064 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11065 (special_real_inputs): Add pi/4.
11066 * sysdeps/i386/fpu/libm-test-ulps: Update.
11067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11069 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11071 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11072 "longjmp_target" static probes.
11073 (__longjmp): Rename to __longjmp_symbol.
11074 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11075 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11076 on which longjmp to generate.
11077 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11078 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11080 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11081 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11082 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11083 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11084 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11085 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11087 __longjmp_symbol based on which __longjmp to generate.
11088 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11090 (setjmp): Rename to setjmp_symbol.
11091 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11092 (_setjmp): Rename to _setjmp_symbol.
11093 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11094 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11095 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11096 which setjmp to generate.
11097 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11098 "longjmp_target" static probes.
11100 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11102 * benchtests/README: Add note about output arguments.
11103 * benchtests/bench-sincos.c: Remove file.
11104 * benchtests/sincos-inputs: New file.
11105 * scripts/bench.pl: Identify output arguments and define
11106 static variables for them.
11108 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11111 * Makefile (INSTALL): Add install-plain.texi as the primary
11113 * manual/install-plain.texi: New file.
11114 * manual/install.texi: Include node directive only for
11115 non-plaintext output.
11117 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11119 * stdlib/longlong.h: Update from GCC.
11123 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11124 * math/w_j0f.c (y0f): Likewise.
11125 * math/w_j0l.c (__y0l): Likewise.
11126 * math/w_j1.c (y1): Likewise.
11127 * math/w_j1f.c (y1f): Likewise.
11128 * math/w_j1l.c (__y1l): Likewise
11129 * math/w_jn.c (yn): Likewise.
11130 * math/w_jnf.c (ynf): Likewise.
11131 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11132 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11133 value for Bessel function domain errors outside _SVID_ mode.
11134 Adjust sign of return value for yn (negative integer, 0).
11135 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11136 by zero in return for negative x and set sign appropriately for
11138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11139 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11140 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11141 expectations in error cases.
11142 (y1_test_data): Likewise.
11143 (yn_test_data): Likewise.
11144 * sysdeps/i386/fpu/libm-test-ulps: Update.
11145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11147 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11149 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11150 "64" to "64-v1". Add "64-v2".
11151 (abi-64-options): Rename to ...
11152 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11153 (abi-64-condition): Rename to ...
11154 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11155 (abi-64-ld-soname): Rename to ...
11156 (abi-64-v1-ld-soname): ... this.
11157 (abi-64-v2-options): Define.
11158 (abi-64-v2-condition): Likewise.
11159 (abi-64-v2-ld-soname): Likewise.
11160 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11161 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11166 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11167 Alan Modra <amodra@gmail.com>
11169 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11170 New versions for use with the ELFv2 ABI.
11171 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11172 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11174 (struct La_ppc64v2_retval): Likewise.
11175 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11176 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11177 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11178 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11179 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11180 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11181 Do not save or restore CR.
11182 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11183 (_dl_profile_resolve): Do no save or restore CR. Support extended
11184 return values for ELFv2 ABI. Fix location of FPR return registers.
11185 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11186 updated values for _CALL_ELF == 2.
11187 (La_regs, La_retval, int_retval): Likewise.
11189 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11191 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11192 (FRAME_MIN_SIZE_PARM): Likewise.
11193 (FRAME_BACKCHAIN): Likewise.
11194 (FRAME_CR_SAVE): Likewise.
11195 (FRAME_LR_SAVE): Likewise.
11196 (FRAME_TOC_SAVE): Likewise.
11197 (FRAME_PARM_SAVE): Likewise.
11198 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11199 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11200 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11201 (call_mcount_parm_offset): New macro.
11202 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11203 (PROF): Use symbolic stack frame offsets.
11204 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11205 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11206 Redefine in terms of FRAME_MIN_SIZE.
11207 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11208 (_dl_profile_resolve): Likewise. Update comment.
11209 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11210 symbols stack frame offsets.
11211 (__sigsetjmp): Likewise.
11212 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11213 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11214 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11215 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11218 (FRAME_BACKCHAIN): Remove.
11219 (FRAME_CR_SAVE): Likewise.
11220 (FRAME_LR_SAVE): Likewise.
11221 (FRAME_COMPILER_DW): Likewise.
11222 (FRAME_LINKER_DW): Likewise.
11223 (FRAME_TOC_SAVE): Likewise.
11224 (FRAME_PARM_SAVE): Likewise.
11225 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11226 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11227 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11229 (CHECK_SP): Use symbolic stack frame offsets.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11231 zone" instead of caller's parameter save area for temp storage.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11233 Likewise. Also, use symbolic stack frame offsets.
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11235 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11236 our own stack frame instead of the caller's.
11237 (__socket): Use symbolic stack frame offsets.
11239 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11240 Alan Modra <amodra@gmail.com>
11242 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11244 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11245 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11246 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11248 (elf_machine_fixup_plt): Call it.
11249 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11251 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11252 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11253 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11254 r2 before calling target.
11256 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11257 Alan Modra <amodra@gmail.com>
11259 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11260 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11261 versions of macros to support ELFv2 ABI.
11262 (LOCALENTRY): New macro.
11263 (ENTRY, EALIGN): Use it.
11264 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11265 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11266 fall through into ENTRY entry point.
11267 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11268 Only define if _CALL_ELF != 2.
11270 (elf_machine_matches_host): Verify ABI version matches.
11271 (RTLD_START): Use LOCALENTRY.
11272 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11273 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11274 (PLT_ENTRY_WORDS): New macro.
11275 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11276 (elf_machine_runtime_setup): Support ELFv2 ABI.
11277 (elf_machine_fixup_plt): Likewise.
11278 (elf_machine_plt_conflict): Likewise.
11279 (resolve_ifunc): Likewise.
11280 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11281 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11284 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11286 (makecontext): Support ELFv2 ABI.
11287 * elf/elf.h (EF_PPC64_ABI): Define.
11289 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11291 * sysdeps/powerpc/powerpc64/sysdep.h
11292 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11293 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11294 (ENTRY) [ASSEMBLER]: ... but instead here ...
11295 (EALIGN) [ASSEMBLER]: ... and here.
11296 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11297 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11298 (ENTRY_2) [!ASSEMBLER]: Use it.
11299 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11300 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11301 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11302 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11303 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11305 Use PPC64_LOAD_FUNCPTR.
11307 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11309 2013-12-04 Alan Modra <amodra@gmail.com>
11311 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11312 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11313 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11314 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11317 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11318 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11319 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11320 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11321 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11323 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11326 (__makecontext): Fix incorrect CFI when backtracing out of
11327 context created via makecontext.
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11329 (__setcontext): Fix incorrect CFI during switch to new context.
11330 (__novec_setcontext): Likewise.
11332 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11335 * time/strptime_l.c (__strptime_internal): Allow modifiers
11337 * time/tst-strptime.c (day_tests): Add testcase.
11339 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11341 * scripts/bench.pl: Skip over blank lines.
11343 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11346 * manual/time.texi (Calendar Time): Clarify what timezone functions
11349 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11353 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11355 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11357 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11358 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11359 * debug/memset_chk.c (__memset_chk): Likewise.
11360 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11361 * debug/strncpy_chk.c: Likewise.
11363 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11367 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11368 (__ieee754_exp): For possibly underflowing results, check size of
11369 result and force underflow exception if required.
11370 * math/auto-libm-test-in: Add more tests of exp.
11371 * math/auto-libm-test-out: Regenerated.
11372 * sysdeps/i386/fpu/libm-test-ulps: Update.
11373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11376 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11377 * math/w_exp2f.c (__exp2f): Likewise.
11378 * math/w_exp2l.c (__exp2l): Likewise.
11379 * math/auto-libm-test-in: Do not allow missing errno on exp2
11381 * math/auto-libm-test-out: Regenerated.
11383 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11386 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11387 handle filename validation.
11388 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11391 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11394 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11395 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11396 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11398 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11400 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11402 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11403 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11404 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11405 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11406 Add more erfc tests.
11407 * math/auto-libm-test-out: Regenerated.
11408 * sysdeps/i386/fpu/libm-test-ulps: Update.
11409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11411 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11412 exp2, expm1, j0 and j1.
11413 * math/auto-libm-test-out: Regenerated.
11414 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11415 (erfc_test_data): Likewise.
11416 (exp_test_data): Likewise.
11417 (exp_tonearest_test_data): Likewise.
11418 (exp_towardzero_test_data): Likewise.
11419 (exp_downward_test_data): Likewise.
11420 (exp_upward_test_data): Likewise.
11421 (exp10_test_data): Likewise.
11422 (exp2_test_data): Likewise.
11423 (expm1_test_data): Likewise.
11424 (j0_test_data): Likewise.
11425 (j1_test_data): Likewise.
11426 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11427 (input_flag_type): Add flag_xfail_rounding.
11428 (input_flags): Add xfail-rounding.
11429 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11430 (output_for_one_input_case): Handle flag_xfail_rounding.
11431 * sysdeps/i386/fpu/libm-test-ulps: Update.
11432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11434 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11437 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11440 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11443 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11444 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11445 (STAP_PROBE0): New macro.
11446 (STAP_PROBE1): Likewise.
11447 (STAP_PROBE2): Likewise.
11448 (STAP_PROBE3): Likewise.
11449 (STAP_PROBE4): Likewise.
11451 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11453 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11455 2013-12-02 Steve Ellcey <sellcey@mips.com>
11457 * benchtests/Makefile (bench): Add sqrt.
11458 (LDLIBS-bench-sqrt): New.
11459 * benchtests/sqrt-input: New.
11461 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11463 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11464 (GAIH_EAI): Likewise.
11465 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11466 (gaih_inet): Likewise.
11467 (getaddrinfo): Don't use GAIH_EAI.
11469 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11470 (struct gaih): Remove definition.
11472 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11474 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11475 Use HERRNOP directly.
11477 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11481 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11483 * math/gen-auto-libm-tests.c (test_functions): Add more
11484 single-argument functions.
11485 (special_fill_pi_2): New function.
11486 (special_fill_minus_pi_2): Likewise.
11487 (special_fill_pi_6): Likewise.
11488 (special_fill_minus_pi_6): Likewise.
11489 (special_fill_pi_3): Likewise.
11490 (special_fill_2pi_3): Likewise.
11491 (special_fill_e): Likewise.
11492 (special_fill_1_e): Likewise.
11493 (special_fill_e_minus_1): Likewise.
11494 (special_real_inputs): Add more special inputs.
11495 (output_for_one_input_case): Do not require ERANGE on underflow to
11496 zero if round-to-nearest result does not underflow to zero, unless
11497 exact results required.
11498 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11499 atan, atanh, cbrt, cos and cosh.
11500 * math/auto-libm-test-out: Regenerated.
11501 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11502 (acos_tonearest_test_data): Likewise.
11503 (acos_towardzero_test_data): Likewise.
11504 (acos_downward_test_data): Likewise.
11505 (acos_upward_test_data): Likewise.
11506 (acosh_test_data): Likewise.
11507 (asin_test_data): Likewise.
11508 (asin_tonearest_test_data): Likewise.
11509 (asin_towardzero_test_data): Likewise.
11510 (asin_upward_test_data): Likewise.
11511 (asinh_test_data): Likewise.
11512 (atan_test_data): Likewise.
11513 (atanh_test_data): Likewise.
11514 (cbrt_test_data): Likewise.
11515 (cos_test_data): Likewise.
11516 (cos_tonearest_test_data): Likewise.
11517 (cos_towardzero_test_data): Likewise.
11518 (cos_downward_test_data): Likewise.
11519 (cos_upward_test_data): Likewise.
11520 (cosh_test_data): Likewise.
11521 (cosh_tonearest_test_data): Likewise.
11522 (cosh_towardzero_test_data): Likewise.
11523 (cosh_downward_test_data): Likewise.
11524 (cosh_upward_test_data): Likewise.
11525 * sysdeps/i386/fpu/libm-test-ulps: Update.
11526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11528 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11531 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11532 * math/w_exp10f.c (__exp10f): Likewise.
11533 * math/w_exp10l.c (__exp10l): Likewise.
11534 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11535 errno settings in existing tests.
11538 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11539 precision control set to double precision.
11540 * sysdeps/i386/fpu/w_sqrt.c: New file.
11541 * math/auto-libm-test-in: Add more tests.
11542 * math/auto-libm-test-out: Update.
11544 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11545 (sqrt_test_tonearest): New function.
11546 (sqrt_towardzero_test_data): New variable.
11547 (sqrt_test_towardzero): New function.
11548 (sqrt_downward_test_data): New variable.
11549 (sqrt_test_downward): New function.
11550 (sqrt_upward_test_data): New variable.
11551 (sqrt_test_upward): New function.
11552 (main): Call the new functions.
11554 * math/gen-auto-libm-tests.c: New file.
11555 * math/auto-libm-test-in: Likewise.
11556 * math/auto-libm-test-out: New generated file.
11557 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11559 (%beautify): Add generated representations of zero.
11560 (top level): Set $auto_input and call parse_auto_input.
11561 (beautify): Remove trailing "f" from hex float constants.
11562 (parse_args): Handle XFAIL_TEST.
11563 (convert_condition): New function.
11564 (or_value): Likewise.
11565 (or_cond_value): Likewise.
11566 (generate_testfile): Handle AUTO_TESTS_* lines.
11567 (parse_auto_input): New function.
11568 * math/libm-test.inc (XFAIL_TEST): New macro.
11569 (ERRNO_UNCHANGED): Update value.
11570 (ERRNO_EDOM): Likewise.
11571 (ERRNO_ERANGE): Likewise.
11572 (IGNORE_RESULT): Likewise.
11573 (TEST_COND_flt_32): New macro.
11574 (TEST_COND_dbl_64): Likewise.
11575 (TEST_COND_ldbl_96_intel): Likewise.
11576 (TEST_COND_ldbl_96_m68k): Likewise.
11577 (TEST_COND_ldbl_128): Likewise.
11578 (TEST_COND_ldbl_128ibm): Likewise.
11579 (TEST_COND_long32): Likewise.
11580 (TEST_COND_long64): Likewise.
11581 (TEST_COND_before_rounding): Likewise.
11582 (TEST_COND_after_rounding): Likewise.
11583 (enable_test): Handle XFAIL_TEST flag.
11584 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11585 with finite results.
11586 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11587 auto-libm-test-out.
11589 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11590 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11593 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11594 __tls_get_addr_internal instead of __tls_get_offset in order to
11595 avoid GOT pointer dependency. Make rtld export
11596 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11597 __tls_get_addr since we are a __tls_get_offset platform.
11598 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11599 GOT pointer being set up before.
11600 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11602 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11604 * manual/math.texi (Errors in Math Functions): Document accuracy
11608 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11609 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11612 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11625 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11626 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11627 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11628 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11629 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11631 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11633 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11635 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11636 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11637 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11638 atomic-feupdateenv and flt-rounds.
11639 * sysdeps/powerpc/nofpu/Versions (libc): Add
11640 __atomic_feholdexcept, __atomic_feclearexcept,
11641 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11642 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11643 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11644 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11645 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11650 * manual/arith.texi (FP Exceptions): Document that exceptions may
11651 not be raised when matherr is used.
11652 (Math Error Reporting): Document overflow in directed rounding
11653 modes. Document that errno may not be set when finite values are
11654 returned on overflow. Document intent to set errno on underflow
11655 only for underflow to zero.
11658 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11659 round-to-nearest then adjust result for other rounding modes.
11660 * include/fenv.h (fegetround): Use libm_hidden_proto.
11661 * math/fegetround.c (fegetround): Use libm_hidden_def.
11662 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11663 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11664 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11665 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11667 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11668 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11669 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11670 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11672 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11675 * nss/Versions (libnss_files): Add
11676 _nss_files_gethostbyname3_r.
11677 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11679 (HOST_DB_LOOKUP): Remove macro.
11680 (_nss_files_gethostbyname_r): Implement function without the
11681 HOST_DB_LOOKUP macro.
11682 (_nss_files_gethostbyname2_r): Likewise.
11684 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11686 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11688 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11690 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11691 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11694 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11696 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11697 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11698 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11699 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11700 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11701 __fe_nomask_env_priv and attribute_hidden.
11702 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11703 (libc_feupdateenv_test_ppc): Likewise.
11704 (libc_feresetround_ppc): Likewise.
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11706 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11707 compat_symbol macro.
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11709 (__fe_nomask_env): Likewise.
11710 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11712 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11714 * string/Makefile: Remove ifunc tests.
11715 * string/test-string.h: Define TEST_IFUNC.
11716 * string/test-bcopy-ifunc.c: Remove.
11717 * string/test-bzero-ifunc.c: Likewise.
11718 * string/test-memccpy-ifunc.c: Likewise.
11719 * string/test-memchr-ifunc.c: Likewise.
11720 * string/test-memcmp-ifunc.c: Likewise.
11721 * string/test-memcpy-ifunc.c: Likewise.
11722 * string/test-memmem-ifunc.c: Likewise.
11723 * string/test-memmove-ifunc.c: Likewise.
11724 * string/test-mempcpy-ifunc.c: Likewise.
11725 * string/test-memrchr-ifunc.c: Likewise.
11726 * string/test-memset-ifunc.c: Likewise.
11727 * string/test-rawmemchr-ifunc.c: Likewise.
11728 * string/test-stpcpy-ifunc.c: Likewise.
11729 * string/test-stpncpy-ifunc.c: Likewise.
11730 * string/test-strcasecmp-ifunc.c: Likewise.
11731 * string/test-strcasestr-ifunc.c: Likewise.
11732 * string/test-strcat-ifunc.c: Likewise.
11733 * string/test-strchr-ifunc.c: Likewise.
11734 * string/test-strchrnul-ifunc.c: Likewise.
11735 * string/test-strcmp-ifunc.c: Likewise.
11736 * string/test-strcpy-ifunc.c: Likewise.
11737 * string/test-strcspn-ifunc.c: Likewise.
11738 * string/test-strlen-ifunc.c: Likewise.
11739 * string/test-strncasecmp-ifunc.c: Likewise.
11740 * string/test-strncat-ifunc.c: Likewise.
11741 * string/test-strncmp-ifunc.c: Likewise.
11742 * string/test-strncpy-ifunc.c: Likewise.
11743 * string/test-strnlen-ifunc.c: Likewise.
11744 * string/test-strpbrk-ifunc.c: Likewise.
11745 * string/test-strrchr-ifunc.c: Likewise.
11746 * string/test-strspn-ifunc.c: Likewise.
11747 * string/test-strstr-ifunc.c: Likewise.
11749 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11751 * benchtests/Makefile: Remove ifunc tests.
11752 * benchtests/bench-string.h: Define TEST_IFUNC.
11753 * benchtests/bench-bcopy-ifunc.c: Remove.
11754 * benchtests/bench-bzero-ifunc.c: Likewise.
11755 * benchtests/bench-memccpy-ifunc.c: Likewise.
11756 * benchtests/bench-memchr-ifunc.c: Likewise.
11757 * benchtests/bench-memcmp-ifunc.c: Likewise.
11758 * benchtests/bench-memcpy-ifunc.c: Likewise.
11759 * benchtests/bench-memmem-ifunc.c: Likewise.
11760 * benchtests/bench-memmove-ifunc.c: Likewise.
11761 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11762 * benchtests/bench-memrchr-ifunc.c: Likewise.
11763 * benchtests/bench-memset-ifunc.c: Likewise.
11764 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11765 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11766 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11767 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11768 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11769 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11770 * benchtests/bench-strcat-ifunc.c: Likewise.
11771 * benchtests/bench-strchr-ifunc.c: Likewise.
11772 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11773 * benchtests/bench-strcmp-ifunc.c: Likewise.
11774 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11775 * benchtests/bench-strcpy-ifunc.c: Likewise.
11776 * benchtests/bench-strcspn-ifunc.c: Likewise.
11777 * benchtests/bench-strlen-ifunc.c: Likewise.
11778 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11779 * benchtests/bench-strncat-ifunc.c: Likewise.
11780 * benchtests/bench-strncmp-ifunc.c: Likewise.
11781 * benchtests/bench-strncpy-ifunc.c: Likewise.
11782 * benchtests/bench-strnlen-ifunc.c: Likewise.
11783 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11784 * benchtests/bench-strrchr-ifunc.c: Likewise.
11785 * benchtests/bench-strsep-ifunc.c: Likewise.
11786 * benchtests/bench-strspn-ifunc.c: Likewise.
11787 * benchtests/bench-strstr-ifunc.c: Likewise.
11789 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11791 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11793 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11795 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11796 * rt/aio.h: Likewise.
11797 * sysdeps/gnu/bits/utmp.h: Likewise.
11798 * sysdeps/gnu/bits/utmpx.h: Likewise.
11799 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11800 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11801 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11802 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11803 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11804 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11805 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11806 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11807 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11808 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11809 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11810 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11811 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11813 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11814 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11815 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11816 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11817 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11818 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11819 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11820 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11821 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11822 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11823 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11825 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11826 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11827 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11828 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11829 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11830 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11832 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11833 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11834 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11835 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11836 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11837 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11838 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11839 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11840 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11842 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11845 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11846 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11848 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11850 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11851 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11854 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11857 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11858 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11859 (__fesetround): Remove define.
11860 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11861 rounding and exceptions handling.
11862 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11863 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11864 (__fe_nomask_env): Likewise.
11865 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11866 __fegetround instead of fegetround.
11867 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11868 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11870 2013-11-21 Roland McGrath <roland@hack.frob.com>
11872 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11875 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11877 2013-11-21 Meador Inge <meadori@codesourcery.com>
11880 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11881 (encrypt_r): Likewise.
11882 * malloc/obstack.h (obstack_free): Likewise.
11883 * posix/unistd.h (encrypt): Likewise.
11885 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11887 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11888 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11889 DL_CALL_DT_FINI() that call the functions directly.
11890 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11891 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11892 * elf/dl-fini.c: Likewise.
11894 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11896 * malloc/hooks.c (memalign_check): Add alignment rounding.
11897 * malloc/malloc.c (_mid_memalign): New function.
11898 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11899 Implement by calling _mid_memalign.
11900 * manual/probes.texi (Memory Allocation Probes): Remove
11901 memory_valloc_retry and memory_pvalloc_retry.
11903 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11905 * locale/programs/locarchive.c (open_archive): Add const
11906 qualifier to ARCHIVEFNAME and copy default fname to
11910 * libio/tst-widetext.input: Rename Oriya to Odia.
11911 * locale/iso-639.def: Likewise.
11913 * manual/probes.texi (Mathematical Function Probes): Add
11914 documentation for sin, cos, asin and acos probes.
11915 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11916 (__sin32): Add slowasin probe.
11917 (__cos32): Add slowacos probe.
11918 (__mpsin): Add slowsin probe.
11919 (__mpcos): Add slowcos probe.
11921 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11924 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11925 thread-local __sim_exceptions_thread and global
11926 __sim_exceptions_global.
11927 (__sim_disabled_exceptions): Change to thread-local
11928 __sim_disabled_exceptions_thread and global
11929 __sim_disabled_exceptions_global.
11930 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11931 and global __sim_round_mode_global.
11932 (__simulate_exceptions): Use thread-local floating-point state and
11933 set global state from it as needed.
11934 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11935 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11936 __sim_round_mode_thread.
11937 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11938 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11939 and global __sim_exceptions_global.
11940 (__sim_disabled_exceptions): Change to thread-local
11941 __sim_disabled_exceptions_thread and global
11942 __sim_disabled_exceptions_global.
11943 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11944 and global __sim_round_mode_global.
11945 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11946 (SIM_SET_GLOBAL): Likewise.
11947 * sysdeps/powerpc/soft-fp/sfp-machine.h
11948 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11949 __sim_round_mode_thread.
11950 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11951 __sim_disabled_exceptions_thread.
11952 (__sim_exceptions): Change to __sim_exceptions_thread.
11953 (__sim_disabled_exceptions): Change to
11954 __sim_disabled_exceptions_thread.
11955 (__sim_round_mode): Change to __sim_round_mode_thread.
11956 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11957 thread-local floating-point state and set global state from it as
11959 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11960 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11961 (__sim_disabled_exceptions): Remove extern declaration.
11962 (feenableexcept): Use thread-local floating-point state and set
11963 global state from it as needed.
11964 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11965 extern declaration.
11966 (__sim_disabled_exceptions): Likewise.
11967 (__sim_round_mode): Likewise.
11968 (__fegetenv): Use thread-local floating-point state.
11969 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11970 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11971 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11972 floating-point state and set global state from it as needed.
11973 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11974 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11975 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11977 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11978 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11980 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11981 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11982 Use __sim_round_mode_thread.
11983 * math/test-fenv-tls.c: New file.
11984 * math/Makefile (tests): Add test-fenv-tls.
11985 ($(objpfx)test-fenv-tls): Depend on
11986 $(common-objpfx)nptl/libpthread.so.
11988 2013-11-19 Andreas Schwab <schwab@suse.de>
11990 * locale/programs/locale.c (show_info): Decode wordarray elements.
11991 * locale/categories.def (LC_MONETARY): Add element for
11992 _NL_MONETARY_CRNCYSTR.
11993 * locale/C-monetary.c (conversion_rate): New variable.
11994 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11997 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11999 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12000 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12002 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12004 * elf/Makefile (tst-auxv): New test.
12005 * elf/tst-auxv.c: New
12006 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12008 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12010 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12011 (hidden_proto): Caller changed.
12012 (hidden_tls_proto): New macro.
12013 (libc_hidden_tls_proto): Likewise.
12014 (rtld_hidden_tls_proto): Likewise.
12015 (libm_hidden_tls_proto): Likewise.
12016 (libresolv_hidden_tls_proto): Likewise.
12017 (librt_hidden_tls_proto): Likewise.
12018 (libdl_hidden_tls_proto): Likewise.
12019 (libnss_files_hidden_tls_proto): Likewise.
12020 (libnsl_hidden_tls_proto): Likewise.
12021 (libnss_nisplus_hidden_tls_proto): Likewise.
12022 (libutil_hidden_tls_proto): Likewise.
12024 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12027 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12028 (decompose_rpath): Defer expansion to fillin_rpath.
12029 (_dl_init_paths): Pass linkmap to fillin_rpath.
12031 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12033 * benchtests/Makefile: Add strsep.
12034 * benchtests/bench-strsep.c: New file: strsep benchtest.
12035 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12037 2013-11-18 Andreas Schwab <schwab@suse.de>
12039 * locale/programs/locale.c (show_info) [case byte]: Check for
12040 '\377' instead of '\177'.
12041 * locale/C-monetary.c (not_available): Always use "\377".
12042 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12043 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12044 detect unavailable sign_posn locale elements.
12045 * locale/localeconv.c (__localeconv): For grouping and
12046 mon_grouping handle "\177" and "\377" like no grouping.
12047 (INT_ELEM): New macro. Use it to set all numeric members.
12048 * locale/programs/ld-monetary.c (monetary_read)
12049 <tok_mon_grouping>: Normalize single -1 to the empty string.
12050 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12053 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12056 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12057 when we match (nil).
12058 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12060 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12062 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12063 (NO_TEST_INLINE): Update value.
12064 (ERRNO_UNCHANGED): Likewise.
12065 (ERRNO_EDOM): Likewise.
12066 (ERRNO_ERANGE): Likewise.
12067 (IGNORE_RESULT): Likewise.
12068 (check_float_internal): Check signs of NaN results if
12069 TEST_NAN_SIGN used.
12070 (check_complex): Pass TEST_NAN_SIGN flag through to second
12071 check_float_internal call.
12072 (copysign_test_data): Add tests with quiet NaNs as second
12073 argument. Use TEST_NAN_SIGN.
12074 (fabs_test_data): Add test of negative quiet NaN argument. Use
12076 (signbit_test_data): Add tests of quiet NaN argument.
12077 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12079 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12081 (parse_args): Handle function results specified as IGNORE.
12082 * math/libm-test.inc (IGNORE_RESULT): New macro.
12083 (check_float_internal): Do not check numerical result if flag
12085 (check_complex): Pass through IGNORE_RESULT to second
12086 check_float_internal call.
12087 (check_int): Do not check numerical result if flag IGNORE_RESULT
12089 (check_long): Likewise.
12090 (check_bool): Likewise.
12091 (check_longlong): Likewise.
12092 (lrint_test_data): Add tests of infinite and NaN arguments.
12093 (lrint_tonearest_test_data): Likewise.
12094 (lrint_towardzero_test_data): Likewise.
12095 (lrint_downward_test_data): Likewise.
12096 (lrint_upward_test_data): Likewise.
12097 (llrint_test_data): Likewise.
12098 (llrint_tonearest_test_data): Likewise.
12099 (llrint_towardzero_test_data): Likewise.
12100 (llrint_downward_test_data): Likewise.
12101 (llrint_upward_test_data): Likewise.
12102 (lround_test_data): Likewise.
12103 (llround_test_data): Likewise.
12105 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12106 (ERRNO_UNCHANGED): Update value.
12107 (ERRNO_EDOM): Likewise.
12108 (ERRNO_ERANGE): Likewise.
12109 (NO_TEST_INLINE_FLOAT): New macro.
12110 (NO_TEST_INLINE_DOUBLE): Likewise.
12111 (enable_test): New function.
12112 (RUN_TEST_f_f): Check enable_test before running test.
12113 (RUN_TEST_2_f): Likewise.
12114 (RUN_TEST_fff_f): Likewise.
12115 (RUN_TEST_c_f): Likewise.
12116 (RUN_TEST_f_f1): Likewise.
12117 (RUN_TEST_fF_f1): Likewise.
12118 (RUN_TEST_fI_f1): Likewise.
12119 (RUN_TEST_ffI_f1): Likewise.
12120 (RUN_TEST_c_c): Likewise.
12121 (RUN_TEST_cc_c): Likewise.
12122 (RUN_TEST_f_i): Likewise.
12123 (RUN_TEST_f_i_tg): Likewise.
12124 (RUN_TEST_ff_i_tg): Likewise.
12125 (RUN_TEST_f_b): Likewise.
12126 (RUN_TEST_f_b_tg): Likewise.
12127 (RUN_TEST_f_l): Likewise.
12128 (RUN_TEST_f_L): Likewise.
12129 (RUN_TEST_fFF_11): Likewise.
12130 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12132 (cosh_test_data): Likewise.
12133 (exp_test_data): Likewise.
12134 (expm1_test_data): Likewise.
12135 (hypot_test_data): Likewise.
12136 (pow_test_data): Likewise.
12137 (sinh_test_data): Likewise.
12138 (tanh_test_data): Likewise.
12139 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12142 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12143 tests with quiet NaN input and output.
12144 (acosh_test_data): Likewise.
12145 (asin_test_data): Likewise.
12146 (asinh_test_data): Likewise.
12147 (atan_test_data): Likewise.
12148 (atanh_test_data): Likewise.
12149 (atan2_test_data): Likewise.
12150 (cbrt_test_data): Likewise.
12151 (cos_test_data): Likewise.
12152 (cosh_test_data): Likewise.
12153 (erf_test_data): Likewise.
12154 (erfc_test_data): Likewise.
12155 (exp_test_data): Likewise.
12156 (exp10_test_data): Likewise.
12157 (exp2_test_data): Likewise.
12158 (expm1_test_data): Likewise.
12159 (hypot_test_data): Likewise.
12160 (j0_test_data): Likewise.
12161 (j1_test_data): Likewise.
12162 (jn_test_data): Likewise.
12163 (lgamma_test_data): Likewise.
12164 (log_test_data): Likewise.
12165 (log10_test_data): Likewise.
12166 (log1p_test_data): Likewise.
12167 (log2_test_data): Likewise.
12168 (pow_test_data): Likewise.
12169 (scalb_test_data): Likewise.
12170 (sin_test_data): Likewise.
12171 (sincos_test_data): Likewise.
12172 (sinh_test_data): Likewise.
12173 (tan_test_data): Likewise.
12174 (tanh_test_data): Likewise.
12175 (tgamma_test_data): Likewise.
12176 (y0_test_data): Likewise.
12177 (y1_test_data): Likewise.
12178 (yn_test_data): Likewise.
12181 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12182 argument being NaN and avoid computations with second argument in
12184 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12185 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12186 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12188 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12190 * locale/iso-639.def: Add Chitwani Tharu (the).
12192 2013-11-14 Andreas Schwab <schwab@suse.de>
12194 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12195 word instead of empty string.
12197 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12200 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12202 (__fe_nomask_env): Likewise.
12204 2013-11-13 Steve Ellcey <sellcey@mips.com>
12206 * benchtests/bench-timing.h: Include time.h.
12208 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12211 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12213 * sysdeps/unix/sysv/linux/configure: Regenerated.
12215 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12218 * stdlib/strtod_l.c (round_and_return): Do not consider
12219 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12220 exponent one less than half the least subnormal exponent.
12221 * stdlib/test-strtod-round-data: Add more tests.
12222 * stdlib/tst-strtod-round.c (tests): Regenerated.
12224 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12227 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12228 (__fe_mask_env): Likewise.
12229 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12230 libm_hidden_proto and add function prototype.
12231 (__fe_mask_env): Add function prototype.
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12233 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12235 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12237 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12239 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12241 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12242 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12244 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12246 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12247 of htab_find_slot().
12249 2013-11-11 David S. Miller <davem@davemloft.net>
12252 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12253 symbol in the non-vis3 case in static builds.
12254 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12255 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12256 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12257 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12259 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12262 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12265 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12267 * benchtests/Makefile: Add bench-strtod.
12268 * benchtests/bench-strtod.c: New file: strtod benchtest
12270 2013-11-11 Andreas Schwab <schwab@suse.de>
12273 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12274 terminating NUL in key length.
12276 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12278 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12279 Add artificial ODP entry for vDSO symbol for PPC64.
12280 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12281 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12283 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12286 * nss/getent.c (services_keys): Recognize services starting with digit.
12288 2013-11-06 David S. Miller <davem@davemloft.net>
12291 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12292 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12294 2013-11-06 Will Newton <will.newton@linaro.org>
12296 * manual/memory.texi (Malloc Examples): Remove register
12297 keyword from examples.
12299 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12301 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12303 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12306 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12307 depending on [__GCC_IEC_559 > 0].
12308 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12309 depending on [__GCC_IEC_559_COMPLEX > 0].
12311 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12313 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12316 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12318 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12320 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12323 * malloc/malloc (malloc_info): Do not handle first bin as
12326 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12328 * locale/iso-639.def: Add Central Nahuatl (nhn).
12330 2013-11-01 Bruno Haible <bruno@clisp.org>
12333 * manual/math.texi (BSD Random): Specify range upper bound as
12336 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12338 * locale/iso-639.def: Add Meadow Mari (mhr).
12340 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12342 [BZ #14752], [BZ #15763]
12343 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12345 * rt/tst_shm.c: Add test for escaping directory.
12347 2013-10-31 Andreas Schwab <schwab@suse.de>
12350 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12351 followed by 'x' as part of digit sequence.
12352 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12354 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12357 * configure.ac: allow GNU Make 4.0 and greater.
12358 * configure: Regenerated.
12360 2013-10-30 Will Newton <will.newton@linaro.org>
12363 * malloc/hooks.c (memalign_check): Limit alignment to the
12364 maximum representable power of two.
12365 * malloc/malloc.c (__libc_memalign): Likewise.
12366 * malloc/tst-memalign.c (do_test): Add test for very
12367 large alignment values.
12368 * malloc/tst-posix_memalign.c (do_test): Likewise.
12370 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12373 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12374 (munmap_chunk): Likewise.
12375 (mremap_chunk): Likewise.
12377 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12380 * stdlib/div.c (div): Remove obsolete code.
12381 * stdlib/ldiv.c (ldiv): Likewise.
12382 * stdlib/lldiv.c (lldiv): Likewise.
12384 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12387 * nss/nss_files/files-XXX.c (get_contents_ret): New
12389 (get_contents): New function.
12390 (internal_getent): Use it. Expand size of LINEBUFLEN.
12392 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12394 * configure.in: Moved to ...
12395 * configure.ac: ... here. Change reference to configure.in
12397 * sysdeps/arm/preconfigure.ac: ... here.
12398 configure.in to configure.ac.
12399 * sysdeps/gnu/configure.in: Moved to ...
12400 * sysdeps/gnu/configure.ac: ... here.
12401 * sysdeps/i386/configure.in: Moved to ...
12402 * sysdeps/i386/configure.ac: ... here.
12403 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12404 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12405 * sysdeps/mach/configure.in: Moved to ...
12406 * sysdeps/mach/configure.ac: ... here.
12407 * sysdeps/mach/hurd/configure.in: Moved to ...
12408 * sysdeps/mach/hurd/configure.ac: ... here.
12409 * sysdeps/powerpc/configure.in: Moved to ...
12410 * sysdeps/powerpc/configure.ac: ... here.
12411 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12412 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12413 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12414 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12415 * sysdeps/s390/s390-32/configure.in: Moved to ...
12416 * sysdeps/s390/s390-32/configure.ac: ... here.
12417 * sysdeps/s390/s390-64/configure.in: Moved to ...
12418 * sysdeps/s390/s390-64/configure.ac: ... here.
12419 * sysdeps/sh/configure.in: Moved to ...
12420 * sysdeps/sh/configure.ac: ... here.
12421 * sysdeps/sparc/configure.in: Moved to ...
12422 * sysdeps/sparc/configure.ac: ... here.
12423 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12424 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12425 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12426 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12427 * sysdeps/x86_64/configure.in: Moved to ...
12428 * sysdeps/x86_64/configure.ac: ... here.
12429 * sysdeps/x86_64/preconfigure.in: Moved to ...
12430 * sysdeps/x86_64/preconfigure.ac: ... here.
12431 * aclocal.m4: Change reference to configure.in to configure.ac.
12432 * config.h.in: Likewise.
12433 * manual/install.texi: Likewise.
12434 * manual/maint.texi: Likewise.
12435 * Makefile: Likewise.
12436 * malloc/Makefile: Likewise.
12437 * nscd/Makefile: Likewise.
12438 * Makeconfig: Change reference to configure.in and
12439 preconfigure.in to configure.ac and preconfigure.ac
12441 * INSTALL: Regenerated.
12442 * configure: Likewise.
12443 * sysdeps/gnu/configure: Likewise.
12444 * sysdeps/i386/configure: Likewise.
12445 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12446 * sysdeps/mach/configure: Likewise.
12447 * sysdeps/mach/hurd/configure: Likewise.
12448 * sysdeps/powerpc/configure: Likewise.
12449 * sysdeps/powerpc/powerpc32/configure: Likewise.
12450 * sysdeps/powerpc/powerpc64/configure: Likewise.
12451 * sysdeps/s390/s390-32/configure: Likewise.
12452 * sysdeps/s390/s390-64/configure: Likewise.
12453 * sysdeps/sh/configure: Likewise.
12454 * sysdeps/sparc/configure: Likewise.
12455 * sysdeps/unix/sysv/linux/configure: Likewise.
12456 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12457 * sysdeps/x86_64/configure: Likewise.
12458 * sysdeps/x86_64/preconfigure: Likewise.
12460 2013-10-29 Andreas Schwab <schwab@suse.de>
12462 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12464 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12466 * benchtests/pow-inputs: Add new inputs.
12468 * benchtests/exp-inputs: Add new inputs.
12470 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12471 conditional check for return value.
12472 (__cos32): Likewise.
12474 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12476 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12477 to provide a boost for large inputs with word alignment.
12478 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12479 implementation based on optimized PPC64 strcpy.
12480 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12481 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12482 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12483 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12485 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12488 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12490 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12493 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12494 * time/tst-strptime.c (day_tests): Add testcase.
12496 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12499 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12501 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12504 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12505 MAP_FAILED on error.
12507 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12510 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12511 heap for large requests.
12513 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12516 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12517 result if the result has no associated interface.
12518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12519 interface for all 127.X.Y.Z addresses.
12521 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12523 * locale/iso-639.def: Add Ligurian (lij)
12525 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12528 * sunrpc/rpc_main.c: Document rpcgen -5.
12530 2013-10-19 Michael Stahl <mstahl@redhat.com>
12532 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12534 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12537 * posix/glob.c: Match only directories when trailing slash is present.
12538 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12539 (main): Add testcase.
12541 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12544 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12546 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12548 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12549 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12550 AUTH_DES and cindex for FIPS 140-2.
12551 (DES Encryption): Add cindex FIPS 46-3.
12553 * locale/locarchive.h (struct locarhandle): Add fname.
12554 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12555 if an optional argument was specified to --list-archive,
12557 * locale/programs/locarchive.c (show_archive_content): Take new
12558 argument fname and pass it via ah.fname to open_archive.
12559 * locale/programs/localedef.h: Update decl.
12560 (open_archive): If AH->fname is non-null, open that file
12561 rather than the default file name, and don't ignore ENOENT.
12562 (create_archive): Set AH.fname to NULL.
12563 (delete_locales_from_archive): Likewise.
12564 (add_locales_to_archive): Likewise.
12565 * locale/programs/locfile.c (write_all_categories): Likewise.
12567 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12568 Aldy Hernandez <aldyh@redhat.com>
12570 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12571 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12572 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12573 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12574 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12577 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12578 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12579 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12580 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12581 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12582 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12583 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12584 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12586 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12588 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12590 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12592 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12593 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12595 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12596 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12597 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12598 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12600 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12601 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12602 * sysdeps/powerpc/preconfigure: Likewise.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12605 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12606 Replace contents of file by #include of <fenv_libc.h>.
12607 * sysdeps/powerpc/soft-fp/sfp-machine.h
12608 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12610 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12623 Allow copysignl PLT reference to be missing.
12625 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12626 Joseph Myers <joseph@codesourcery.com
12629 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12631 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12633 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12635 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12636 * elf/tst-tls1.c: Likewise.
12637 * elf/tst-tls10.h: Likewise.
12638 * elf/tst-tls14.c: Likewise.
12639 * elf/tst-tls2.c: Likewise.
12640 * elf/tst-tls3.c: Likewise.
12641 * elf/tst-tls4.c: Likewise.
12642 * elf/tst-tls5.c: Likewise.
12643 * elf/tst-tls6.c: Likewise.
12644 * elf/tst-tls7.c: Likewise.
12645 * elf/tst-tls8.c: Likewise.
12646 * elf/tst-tls9.c: Likewise.
12647 * elf/tst-tlsmod1.c: Likewise.
12648 * elf/tst-tlsmod13.c: Likewise.
12649 * elf/tst-tlsmod13a.c: Likewise.
12650 * elf/tst-tlsmod14a.c: Likewise.
12651 * elf/tst-tlsmod16a.c: Likewise.
12652 * elf/tst-tlsmod16b.c: Likewise.
12653 * elf/tst-tlsmod2.c: Likewise.
12654 * elf/tst-tlsmod3.c: Likewise.
12655 * elf/tst-tlsmod4.c: Likewise.
12656 * elf/tst-tlsmod5.c: Likewise.
12657 * elf/tst-tlsmod6.c: Likewise.
12659 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12662 * malloc/malloc.c: remove checks for statistics.
12664 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12667 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12668 * inet/tst-network.c: Add testcase.
12670 2013-10-17 Andreas Schwab <schwab@suse.de>
12673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12674 to determine canonical name.
12676 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12678 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12679 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12692 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12693 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12695 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12701 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12702 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12703 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12710 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12711 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12716 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12719 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12725 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12737 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12740 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12741 make result into a quiet NaN.
12743 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12745 * soft-fp/adddf3.c: Fix horizontal whitespace.
12746 * soft-fp/addsf3.c: Likewise.
12747 * soft-fp/addtf3.c: Likewise.
12748 * soft-fp/divdf3.c: Likewise.
12749 * soft-fp/divsf3.c: Likewise.
12750 * soft-fp/divtf3.c: Likewise.
12751 * soft-fp/double.h: Likewise.
12752 * soft-fp/eqdf2.c: Likewise.
12753 * soft-fp/eqsf2.c: Likewise.
12754 * soft-fp/eqtf2.c: Likewise.
12755 * soft-fp/extenddftf2.c: Likewise.
12756 * soft-fp/extended.h: Likewise.
12757 * soft-fp/extendsfdf2.c: Likewise.
12758 * soft-fp/extendsftf2.c: Likewise.
12759 * soft-fp/extendxftf2.c: Likewise.
12760 * soft-fp/fixdfdi.c: Likewise.
12761 * soft-fp/fixdfsi.c: Likewise.
12762 * soft-fp/fixdfti.c: Likewise.
12763 * soft-fp/fixsfdi.c: Likewise.
12764 * soft-fp/fixsfsi.c: Likewise.
12765 * soft-fp/fixsfti.c: Likewise.
12766 * soft-fp/fixtfdi.c: Likewise.
12767 * soft-fp/fixtfsi.c: Likewise.
12768 * soft-fp/fixtfti.c: Likewise.
12769 * soft-fp/fixunsdfdi.c: Likewise.
12770 * soft-fp/fixunsdfsi.c: Likewise.
12771 * soft-fp/fixunsdfti.c: Likewise.
12772 * soft-fp/fixunssfdi.c: Likewise.
12773 * soft-fp/fixunssfsi.c: Likewise.
12774 * soft-fp/fixunssfti.c: Likewise.
12775 * soft-fp/fixunstfdi.c: Likewise.
12776 * soft-fp/fixunstfsi.c: Likewise.
12777 * soft-fp/fixunstfti.c: Likewise.
12778 * soft-fp/floatdidf.c: Likewise.
12779 * soft-fp/floatdisf.c: Likewise.
12780 * soft-fp/floatditf.c: Likewise.
12781 * soft-fp/floatsidf.c: Likewise.
12782 * soft-fp/floatsisf.c: Likewise.
12783 * soft-fp/floatsitf.c: Likewise.
12784 * soft-fp/floattidf.c: Likewise.
12785 * soft-fp/floattisf.c: Likewise.
12786 * soft-fp/floattitf.c: Likewise.
12787 * soft-fp/floatundidf.c: Likewise.
12788 * soft-fp/floatundisf.c: Likewise.
12789 * soft-fp/floatunditf.c: Likewise.
12790 * soft-fp/floatunsidf.c: Likewise.
12791 * soft-fp/floatunsisf.c: Likewise.
12792 * soft-fp/floatunsitf.c: Likewise.
12793 * soft-fp/floatuntidf.c: Likewise.
12794 * soft-fp/floatuntisf.c: Likewise.
12795 * soft-fp/floatuntitf.c: Likewise.
12796 * soft-fp/fmadf4.c: Likewise.
12797 * soft-fp/fmasf4.c: Likewise.
12798 * soft-fp/fmatf4.c: Likewise.
12799 * soft-fp/gedf2.c: Likewise.
12800 * soft-fp/gesf2.c: Likewise.
12801 * soft-fp/getf2.c: Likewise.
12802 * soft-fp/ledf2.c: Likewise.
12803 * soft-fp/lesf2.c: Likewise.
12804 * soft-fp/letf2.c: Likewise.
12805 * soft-fp/muldf3.c: Likewise.
12806 * soft-fp/mulsf3.c: Likewise.
12807 * soft-fp/multf3.c: Likewise.
12808 * soft-fp/negdf2.c: Likewise.
12809 * soft-fp/negsf2.c: Likewise.
12810 * soft-fp/negtf2.c: Likewise.
12811 * soft-fp/op-1.h: Likewise.
12812 * soft-fp/op-2.h: Likewise.
12813 * soft-fp/op-4.h: Likewise.
12814 * soft-fp/op-8.h: Likewise.
12815 * soft-fp/op-common.h: Likewise.
12816 * soft-fp/quad.h: Likewise.
12817 * soft-fp/single.h: Likewise.
12818 * soft-fp/soft-fp.h: Likewise.
12819 * soft-fp/sqrtdf2.c: Likewise.
12820 * soft-fp/sqrtsf2.c: Likewise.
12821 * soft-fp/sqrttf2.c: Likewise.
12822 * soft-fp/subdf3.c: Likewise.
12823 * soft-fp/subsf3.c: Likewise.
12824 * soft-fp/subtf3.c: Likewise.
12825 * soft-fp/truncdfsf2.c: Likewise.
12826 * soft-fp/trunctfdf2.c: Likewise.
12827 * soft-fp/trunctfsf2.c: Likewise.
12828 * soft-fp/trunctfxf2.c: Likewise.
12829 * soft-fp/unorddf2.c: Likewise.
12830 * soft-fp/unordsf2.c: Likewise.
12831 * soft-fp/unordtf2.c: Likewise.
12833 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12835 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12836 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12838 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12840 * elf/dl-libc.c: Clear initfini list after freeing.
12842 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12844 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12845 * soft-fp/addsf3.c: Likewise.
12846 * soft-fp/addtf3.c: Likewise.
12847 * soft-fp/divdf3.c: Likewise.
12848 * soft-fp/divsf3.c: Likewise.
12849 * soft-fp/divtf3.c: Likewise.
12850 * soft-fp/double.h: Likewise.
12851 * soft-fp/eqdf2.c: Likewise.
12852 * soft-fp/eqsf2.c: Likewise.
12853 * soft-fp/eqtf2.c: Likewise.
12854 * soft-fp/extenddftf2.c: Likewise.
12855 * soft-fp/extended.h: Likewise.
12856 * soft-fp/extendsfdf2.c: Likewise.
12857 * soft-fp/extendsftf2.c: Likewise.
12858 * soft-fp/extendxftf2.c: Likewise.
12859 * soft-fp/fixdfdi.c: Likewise.
12860 * soft-fp/fixdfsi.c: Likewise.
12861 * soft-fp/fixdfti.c: Likewise.
12862 * soft-fp/fixsfdi.c: Likewise.
12863 * soft-fp/fixsfsi.c: Likewise.
12864 * soft-fp/fixsfti.c: Likewise.
12865 * soft-fp/fixtfdi.c: Likewise.
12866 * soft-fp/fixtfsi.c: Likewise.
12867 * soft-fp/fixtfti.c: Likewise.
12868 * soft-fp/fixunsdfdi.c: Likewise.
12869 * soft-fp/fixunsdfsi.c: Likewise.
12870 * soft-fp/fixunsdfti.c: Likewise.
12871 * soft-fp/fixunssfdi.c: Likewise.
12872 * soft-fp/fixunssfsi.c: Likewise.
12873 * soft-fp/fixunssfti.c: Likewise.
12874 * soft-fp/fixunstfdi.c: Likewise.
12875 * soft-fp/fixunstfsi.c: Likewise.
12876 * soft-fp/fixunstfti.c: Likewise.
12877 * soft-fp/floatdidf.c: Likewise.
12878 * soft-fp/floatdisf.c: Likewise.
12879 * soft-fp/floatditf.c: Likewise.
12880 * soft-fp/floatsidf.c: Likewise.
12881 * soft-fp/floatsisf.c: Likewise.
12882 * soft-fp/floatsitf.c: Likewise.
12883 * soft-fp/floattidf.c: Likewise.
12884 * soft-fp/floattisf.c: Likewise.
12885 * soft-fp/floattitf.c: Likewise.
12886 * soft-fp/floatundidf.c: Likewise.
12887 * soft-fp/floatundisf.c: Likewise.
12888 * soft-fp/floatunsidf.c: Likewise.
12889 * soft-fp/floatunsisf.c: Likewise.
12890 * soft-fp/floatuntidf.c: Likewise.
12891 * soft-fp/floatuntisf.c: Likewise.
12892 * soft-fp/floatuntitf.c: Likewise.
12893 * soft-fp/fmadf4.c: Likewise.
12894 * soft-fp/fmasf4.c: Likewise.
12895 * soft-fp/fmatf4.c: Likewise.
12896 * soft-fp/gedf2.c: Likewise.
12897 * soft-fp/gesf2.c: Likewise.
12898 * soft-fp/getf2.c: Likewise.
12899 * soft-fp/ledf2.c: Likewise.
12900 * soft-fp/lesf2.c: Likewise.
12901 * soft-fp/letf2.c: Likewise.
12902 * soft-fp/muldf3.c: Likewise.
12903 * soft-fp/mulsf3.c: Likewise.
12904 * soft-fp/multf3.c: Likewise.
12905 * soft-fp/negdf2.c: Likewise.
12906 * soft-fp/negsf2.c: Likewise.
12907 * soft-fp/negtf2.c: Likewise.
12908 * soft-fp/op-1.h: Likewise.
12909 * soft-fp/op-2.h: Likewise.
12910 * soft-fp/op-4.h: Likewise.
12911 * soft-fp/op-8.h: Likewise.
12912 * soft-fp/op-common.h: Likewise.
12913 * soft-fp/quad.h: Likewise.
12914 * soft-fp/single.h: Likewise.
12915 * soft-fp/soft-fp.h: Likewise.
12916 * soft-fp/sqrtdf2.c: Likewise.
12917 * soft-fp/sqrtsf2.c: Likewise.
12918 * soft-fp/sqrttf2.c: Likewise.
12919 * soft-fp/subdf3.c: Likewise.
12920 * soft-fp/subsf3.c: Likewise.
12921 * soft-fp/subtf3.c: Likewise.
12922 * soft-fp/truncdfsf2.c: Likewise.
12923 * soft-fp/trunctfdf2.c: Likewise.
12924 * soft-fp/trunctfsf2.c: Likewise.
12925 * soft-fp/trunctfxf2.c: Likewise.
12926 * soft-fp/unorddf2.c: Likewise.
12927 * soft-fp/unordsf2.c: Likewise.
12928 * soft-fp/unordtf2.c: Likewise.
12930 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12933 * misc/error.c (error_tail): Fix possible buffer overflow.
12935 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12938 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12941 2013-10-14 P. J. McDermott <pj@pehjota.net>
12944 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12945 testing pipefail option.
12947 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12949 * soft-fp/double.h: Indent preprocessor directives inside #if.
12950 * soft-fp/extended.h: Likewise.
12951 * soft-fp/op-2.h: Likewise.
12952 * soft-fp/op-4.h: Likewise.
12953 * soft-fp/op-common.h: Likewise.
12954 * soft-fp/quad.h: Likewise.
12955 * soft-fp/single.h: Likewise.
12956 * soft-fp/soft-fp.h: Likewise.
12958 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12960 * iconv/iconv_prog.c: Fix typos.
12961 * stdio-common/psiginfo-data.h: Likewise.
12963 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12966 * locale/setlocale.c: Fix typo.
12968 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12971 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12972 signaling NaN arguments.
12973 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12974 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12977 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12978 unordered operands.
12979 * soft-fp/gesf2.c (__gesf2): Likewise.
12980 * soft-fp/getf2.c (__getf2): Likewise.
12981 * soft-fp/ledf2.c (__ledf2): Likewise.
12982 * soft-fp/lesf2.c (__lesf2): Likewise.
12983 * soft-fp/letf2.c (__letf2): Likewise.
12985 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12986 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12987 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12988 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12989 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12990 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12991 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12992 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12993 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12994 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12995 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12996 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12997 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12998 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12999 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13000 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13001 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13002 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13003 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13004 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13005 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13006 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13007 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13008 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13009 * soft-fp/floattidf.c (__floattidf): Likewise.
13010 * soft-fp/floattisf.c (__floattisf): Likewise.
13011 * soft-fp/floattitf.c (__floattitf): Likewise.
13012 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13013 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13014 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13015 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13016 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13017 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13018 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13019 * soft-fp/gesf2.c (__gesf2): Likewise.
13020 * soft-fp/getf2.c (__getf2): Likewise.
13021 * soft-fp/ledf2.c (__ledf2): Likewise.
13022 * soft-fp/lesf2.c (__lesf2): Likewise.
13023 * soft-fp/letf2.c (__letf2): Likewise.
13025 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13026 Undefine and redefine.
13027 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13028 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13029 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13030 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13031 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13032 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13033 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13034 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13035 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13036 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13037 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13038 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13039 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13040 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13041 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13045 without decrementing exponent if mantissa >= that for the
13046 denominator, not >.
13047 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13048 denominator, not >. Decrement exponent in < case instead of
13049 incrementing in >= case.
13050 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13051 without decrementing exponent if mantissa >= that for the
13052 denominator, not >.
13054 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13055 computing saturated result for unsigned overflow.
13057 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13058 Jeff Law <law@redhat.com>
13060 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13061 (atan2Mp): Add systemtap probe marker.
13062 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13063 (__ieee754_log): Add systemtap probe marker.
13064 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13065 (atanMp): Add systemtap probe marker.
13066 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13067 (tanMp): Add systemtap probe marker.
13068 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13069 (__slowexp): Add systemtap probe marker.
13070 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13071 (__slowpow): Add systemtap probe marker.
13072 * manual/probes.texi: Document probes.
13074 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13077 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13079 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13081 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13082 written to buffer but not flushed.
13083 * libio/iofwrite_u.c: Likewise.
13084 * libio/iopadn.c: Return bytes returned even if EOF was
13086 * libio/iowpadn.c: Likewise.
13087 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13088 if _IO_padn does not write the whole buffer.
13089 [!COMPILE_WPRINTF] (PAD): Likewise.
13091 2013-10-10 David S. Miller <davem@davemloft.net>
13093 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13096 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13098 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13099 instead of FSF address.
13100 * soft-fp/fixdfti.c: Likewise.
13101 * soft-fp/fixsfti.c: Likewise.
13102 * soft-fp/fixtfti.c: Likewise.
13103 * soft-fp/fixunsdfti.c: Likewise.
13104 * soft-fp/fixunssfti.c: Likewise.
13105 * soft-fp/fixunstfti.c: Likewise.
13106 * soft-fp/floattidf.c: Likewise.
13107 * soft-fp/floattisf.c: Likewise.
13108 * soft-fp/floattitf.c: Likewise.
13109 * soft-fp/floatuntidf.c: Likewise.
13110 * soft-fp/floatuntisf.c: Likewise.
13111 * soft-fp/floatuntitf.c: Likewise.
13112 * soft-fp/trunctfxf2.c: Likewise.
13114 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13115 * soft-fp/fixdfti.c: Likewise.
13116 * soft-fp/fixsfti.c: Likewise.
13117 * soft-fp/fixtfti.c: Likewise.
13118 * soft-fp/fixunsdfti.c: Likewise.
13119 * soft-fp/fixunssfti.c: Likewise.
13120 * soft-fp/fixunstfti.c: Likewise.
13121 * soft-fp/floattidf.c: Likewise.
13122 * soft-fp/floattisf.c: Likewise.
13123 * soft-fp/floattitf.c: Likewise.
13124 * soft-fp/floatuntidf.c: Likewise.
13125 * soft-fp/floatuntisf.c: Likewise.
13126 * soft-fp/floatuntitf.c: Likewise.
13127 * soft-fp/trunctfxf2.c: Likewise.
13129 2013-10-10 David S. Miller <davem@davemloft.net>
13131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13133 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13135 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13136 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13137 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13138 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13139 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13140 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13141 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13144 for NaNs before doing comparisons on argument.
13145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13148 2013-10-10 Will Newton <will.newton@linaro.org>
13150 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13151 passed to _int_memalign does not overflow.
13153 2013-10-10 Torvald Riegel <triegel@redhat.com>
13155 * scripts/bench.pl: Add include-sources directive.
13156 * benchtests/README: Update documentation.
13158 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13160 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13161 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13162 instead of FP_INIT_ROUNDMODE.
13163 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13164 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13167 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13168 copy class of input value.
13169 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13170 not handle exceptions.
13171 * soft-fp/negsf2.c (__negsf2): Likewise.
13172 * soft-fp/negtf2.c (__negtf2): Likewise.
13173 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13175 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13177 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13178 semicolon. From Linux kernel.
13180 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13182 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13184 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13187 * manual/socket.texi: Added statement about buffer
13188 for gethostbyname2_r.
13190 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13192 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13193 Use .p2align directive instead, throughout.
13194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13195 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13196 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13197 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13199 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13200 * sysdeps/x86_64/strchr.S: Likewise.
13201 * sysdeps/x86_64/strrchr.S: Likewise.
13203 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13205 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13207 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13209 * sysdeps/generic/math_private.h (__mpsin1): Remove
13211 (__mpcos1): Likewise.
13212 (__mpsin): New argument __range_reduce.
13213 (__mpcos): Likewise.
13214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13215 (slow): Use __mpsin and __mpcos.
13219 (sloww1): Likewise.
13220 (sloww2): Likewise.
13221 (bsloww): Likewise.
13222 (bsloww1): Likewise.
13223 (bsloww2): Likewise.
13224 (cslow2): Likewise.
13225 (csloww): Likewise.
13226 (csloww1): Likewise.
13227 (csloww2): Likewise.
13228 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13229 range_reduce. Merge in __mpsin1.
13230 (__mpcos): Likewise.
13231 (__mpsin1): Remove.
13232 (__mpcos1): Likewise.
13234 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13236 * locale/loadlocale.c (_nl_intern_locale_data): Use
13238 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13239 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13240 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13241 obstack data is appropriately aligned.
13242 (obstack_int32_grow_fast): Likewise.
13243 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13244 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13245 (add_locale_uint32_array): Likewise.
13247 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13249 * benchtests/Makefile: Remove ARGLIST and RET variables.
13250 ($(objpfx)bench-%.c): Pass only function name to the script.
13251 * benchtests/README: Update documentation.
13252 * benchtests/acos-inputs: Add new directives.
13253 * benchtests/acosh-inputs: Likewise.
13254 * benchtests/asin-inputs: Likewise.
13255 * benchtests/asinh-inputs: Likewise.
13256 * benchtests/atan-inputs: Likewise.
13257 * benchtests/atanh-inputs: Likewise.
13258 * benchtests/cos-inputs: Likewise.
13259 * benchtests/cosh-inputs: Likewise.
13260 * benchtests/exp-inputs: Likewise.
13261 * benchtests/log-inputs: Likewise.
13262 * benchtests/pow-inputs: Likewise.
13263 * benchtests/rint-inputs: Likewise.
13264 * benchtests/sin-inputs: Likewise.
13265 * benchtests/sinh-inputs: Likewise.
13266 * benchtests/tan-inputs: Likewise.
13267 * benchtests/tanh-inputs: Likewise.
13268 * scripts/bench.pl: Add support for new directives.
13270 2013-10-07 Alan Modra <amodra@gmail.com>
13272 * README: Fix careless merge.
13274 2013-10-05 Alan Modra <amodra@gmail.com>
13276 * NEWS: Mention powerpc64le support and bugs fixed.
13277 * README: Both big-endian and little-endian powerpc64 supported.
13279 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13281 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13282 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13283 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13284 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13286 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13288 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13291 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13293 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13294 Move -mhard-float appending from
13295 ports/sysdeps/powerpc/powerpc32/Makefile.
13296 [$(with-fp) = yes] (ASFLAGS): Likewise.
13297 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13298 * sysdeps/powerpc/nofpu: Move directory from
13299 ports/sysdeps/powerpc/nofpu.
13300 * sysdeps/powerpc/soft-fp: Move directory from
13301 ports/sysdeps/powerpc/soft-fp.
13302 * sysdeps/powerpc/powerpc32/405: Move directory from
13303 ports/sysdeps/powerpc/powerpc32/405.
13304 * sysdeps/powerpc/powerpc32/440: Move directory from
13305 ports/sysdeps/powerpc/powerpc32/440.
13306 * sysdeps/powerpc/powerpc32/464: Move directory from
13307 ports/sysdeps/powerpc/powerpc32/464.
13308 * sysdeps/powerpc/powerpc32/476: Move directory from
13309 ports/sysdeps/powerpc/powerpc32/476.
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13311 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13313 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13315 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13317 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13319 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13320 * README: Update for powerpc-*-linux-gnu software floating point
13323 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13324 case to powerpc/powerpc32*.
13325 * sysdeps/unix/sysv/linux/configure: Regenerated.
13327 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13328 (_FPU_MASK_OM): Define as 0x04.
13329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13337 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13340 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13343 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13344 and setcontext_e500.
13346 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13348 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13350 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13352 * manual/threads.texi (Default Thread Attributes): Fix typo.
13354 2013-10-04 Will Newton <will.newton@linaro.org>
13356 * malloc/Makefile: Add tst-memalign.
13357 * malloc/tst-memalign.c: New file.
13359 * malloc/tst-posix_memalign.c: Add comments.
13360 (do_test): Add comments and call free on all potentially
13361 allocated pointers. Add space after cast.
13363 * malloc/tst-pvalloc.c: Add comments.
13364 (do_test): Add comments and call free on all potentially
13365 allocated pointers. Remove duplicate check for NULL pointer.
13366 Add space after cast.
13368 * malloc/tst-valloc.c: Add comments.
13369 (do_test): Add comments and call free on all potentially
13370 allocated pointers. Remove duplicate check for NULL pointer.
13371 Add space after cast.
13373 2013-10-04 Alan Modra <amodra@gmail.com>
13375 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13376 Use stdint types in rather than __attribute__((mode())).
13377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13379 2013-10-04 Alan Modra <amodra@gmail.com>
13381 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13382 Correct handling of unaligned relocs for little-endian.
13383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13385 2013-10-04 Alan Modra <amodra@gmail.com>
13387 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13388 * configure: Regenerate.
13389 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13390 * shlib-versions: Likewise.
13392 2013-10-04 Alan Modra <amodra@gmail.com>
13394 * string/tester.c (test_memrchr): Increment reported test cycle.
13396 2013-10-04 Alan Modra <amodra@gmail.com>
13398 * string/test-memcpy.c (do_one_test): When reporting errors, print
13399 string address and don't overrun end of string.
13401 2013-10-04 Alan Modra <amodra@gmail.com>
13403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13404 insrdi. Make better use of reg selection to speed exit slightly.
13405 Schedule entry path a little better. Remove useless "are we done"
13406 checks on entry to main loop. Handle wrapping around zero address.
13407 Correct main loop count. Handle single left-over word from main
13408 loop inline rather than by using loop_small. Remove extra word
13409 case in loop_small caused by wrong loop count. Add little-endian
13411 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13412 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13414 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13415 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13416 support. Avoid rlwimi.
13417 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13419 2013-10-04 Alan Modra <amodra@gmail.com>
13421 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13422 insrdi. Formatting.
13423 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13424 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13425 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13426 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13427 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13428 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13430 2013-10-04 Alan Modra <amodra@gmail.com>
13432 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13433 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13435 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13436 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13439 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13441 use of regs. Use power7 mtocrf. Tidy function tails.
13443 2013-10-04 Alan Modra <amodra@gmail.com>
13445 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13446 Formatting. Consistently use rXXX register defines or rN defines.
13447 Use early exit labels that avoid restoring unused non-volatile regs.
13448 Make cr field use more consistent with rWORDn compares. Rename
13449 regs used as shift registers for unaligned loop, using rN defines
13450 for short lifetime/multiple use regs.
13451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13453 addi 1,1,64 to pop stack frame. Simplify return value code.
13454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13456 2013-10-04 Alan Modra <amodra@gmail.com>
13458 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13459 support. Correct typos, formatting. Optimize tail. Use insrdi
13460 rather than rlwimi.
13461 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13462 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13463 little-endian support. Correct typos.
13464 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13465 rather than rlwimi.
13466 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13467 in loop and entry code to keep "and." results.
13468 (strchr): Add little-endian support. Comment. Move cntlzd
13470 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13472 2013-10-04 Alan Modra <amodra@gmail.com>
13474 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13475 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13476 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13477 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13479 2013-10-04 Alan Modra <amodra@gmail.com>
13481 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13482 (rTMP): Define as r11.
13483 (strcmp): Add little-endian support. Optimise tail.
13484 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13485 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13486 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13488 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13492 2013-10-04 Alan Modra <amodra@gmail.com>
13494 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13495 little-endian support. Remove unnecessary "are we done" tests.
13496 Handle "s" wrapping around zero and extremely large "size".
13497 Correct main loop count. Handle single left-over word from main
13498 loop inline rather than by using small_loop. Correct comments.
13499 Delete "zero" tail, use "end_max" instead.
13500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13502 2013-10-04 Alan Modra <amodra@gmail.com>
13504 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13505 support. Don't branch over align.
13506 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13507 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13508 support. Rearrange tmp reg use to suit. Comment.
13509 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13511 2013-10-04 Alan Modra <amodra@gmail.com>
13513 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13515 2013-10-04 Alan Modra <amodra@gmail.com>
13517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13518 conditional form of branch and link when obtaining pc.
13519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13521 2013-10-04 Alan Modra <amodra@gmail.com>
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13528 2013-10-04 Alan Modra <amodra@gmail.com>
13530 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13531 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13532 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13533 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13534 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13535 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13536 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13537 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13538 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13539 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13541 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13542 Alistair Popple <alistair@ozlabs.au.ibm.com>
13543 Alan Modra <amodra@gmail.com>
13546 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13548 _dl_hwcap access for little-endian.
13549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13550 destroy vmx regs when saving unaligned.
13551 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13552 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13553 destroy vmx regs when saving unaligned.
13555 2013-10-04 Alan Modra <amodra@gmail.com>
13557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13558 Don't use a union to pack hi/low value.
13560 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13562 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13564 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13566 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13567 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13568 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13570 2013-10-04 Alan Modra <amodra@gmail.com>
13572 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13573 constants to usual value for .cst8 section, and remove redundant
13575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13576 constant for 0x1p52. Load little-endian words of double from
13577 correct stack offsets.
13579 2013-10-04 Alan Modra <amodra@gmail.com>
13581 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13582 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13583 words of double from correct stack offsets.
13584 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13585 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13586 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13588 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13590 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13591 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13592 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13595 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13596 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13597 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13599 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13600 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13602 2013-10-04 Alan Modra <amodra@gmail.com>
13604 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13605 64-bit int/double union.
13606 (_FPU_SETCW): Likewise.
13607 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13608 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13610 2013-10-04 Alan Modra <amodra@gmail.com>
13612 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13613 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13615 2013-10-04 Alan Modra <amodra@gmail.com>
13617 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13618 use vector int constants.
13619 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13621 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13623 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13624 array with long long.
13625 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13626 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13627 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13628 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13629 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13630 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13631 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13632 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13633 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13634 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13635 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13636 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13637 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13639 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13641 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13642 (__signbit): Likewise. Correct for little-endian.
13643 (__signbitl): Call __signbit.
13644 (lrint): Correct for little-endian.
13645 (lrintf): Call lrint.
13647 2013-10-04 Alan Modra <amodra@gmail.com>
13649 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13650 union 32-bit int array member with 64-bit int array.
13651 (t515, tm256): Double rather than long double.
13652 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13654 2013-10-04 Alan Modra <amodra@gmail.com>
13656 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13658 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13660 version of math_ldbl.h.
13662 2013-10-04 Alan Modra <amodra@gmail.com>
13664 [BZ #15734], [BZ #15735]
13665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13666 all uses of ieee875 long double macros and unions. Simplify test
13667 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13668 ldbl_extract_mantissa value for ix,iy exponents. Properly
13669 normalize after ldbl_extract_mantissa, and don't add hidden bit
13670 already handled. Don't treat low word of ieee854 mantissa like
13671 low word of IBM long double and mask off bit when testing for
13673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13674 all uses of ieee875 long double macros and unions. Simplify tests
13675 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13676 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13677 two1022, instead use their values. Recognise that tests for large
13678 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13679 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13680 Rewrite all uses of ieee875 long double macros and unions. Simplify
13681 test for 0.0L and nan. Correct negation.
13682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13683 ieee875 long double macros and unions. Correct output for large
13684 magnitude x. Correct absolute value calculation.
13685 (__erfcl): Likewise.
13686 * math/libm-test.inc: Add tests for errors discovered in IBM long
13687 double versions of fmodl, remainderl, erfl and erfcl.
13689 2013-10-04 Alan Modra <amodra@gmail.com>
13691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13692 all uses of ieee854 long double macros and unions. Simplify tests
13693 for long doubles that are fully specified by the high double.
13694 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13697 Remove dead code too.
13698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13699 (__ieee754_ynl): Likewise.
13700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13703 Remove dead code too.
13704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13714 Comment on variable precision.
13715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13718 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13722 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13724 2013-10-04 Alan Modra <amodra@gmail.com>
13726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13728 all uses of ieee854 long double macros and unions.
13729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13734 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13740 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13742 Simplify sign and nan test too.
13743 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13744 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13745 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13748 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13758 2013-10-04 Alan Modra <amodra@gmail.com>
13760 * stdio-common/printf_size.c (__printf_size): Don't use
13761 union ieee854_long_double in fpnum union.
13762 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13763 signbit macro to retrieve sign from long double.
13764 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13765 retrieve sign from long double.
13766 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13767 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13768 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13769 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13770 * math/test-misc.c (main): Don't use union ieee854_long_double.
13772 2013-10-04 Alan Modra <amodra@gmail.com>
13775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13776 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13777 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13778 calculation. Remove unnecessary test for denormal exponent.
13779 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13780 Correct handling of denormals. Avoid undefined shift behaviour.
13781 Correct normalisation of low mantissa when low double is denormal.
13782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13783 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13784 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13785 Correct normalisation of low mantissa. Test for overflow of high
13786 mantissa and normalise.
13787 (ldbl_nearbyint): Use more readable constant for two52.
13788 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13789 (__mpn_construct_long_double): Fix test for overflow of high
13790 mantissa and correct normalisation. Avoid undefined shift.
13792 2013-10-04 Alan Modra <amodra@gmail.com>
13794 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13795 (union ibm_extended_long_double): Define as an array of ieee754_double.
13796 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13798 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13799 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13808 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13810 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13811 page size instead of calling getpagesize.
13813 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13814 (LOCFILE_ALIGN_MASK): Likewise.
13815 (LOCFILE_ALIGN_UP): Likewise.
13816 (LOCFILE_ALIGNED_P): Likewise.
13817 * locale/programs/ld-collate.c (collate_output): Use the new
13818 macros instead of __alignof__ (int32_t).
13819 * locale/weight.h (findidx): Likewise.
13821 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13824 * manual/string.texi: Fix strncat and wcsncat.
13826 2013-10-03 Brooks Moses <bmoses@google.com>
13829 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13830 * Makerules: ...here, and adjust associated comments.
13832 2013-10-02 Will Newton <will.newton@linaro.org>
13834 * malloc/Makefile: Add tst-pvalloc.
13835 * malloc/tst-pvalloc.c: New file.
13837 2013-10-02 Will Newton <will.newton@linaro.org>
13839 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13840 improve test coverage.
13842 2013-10-02 Will Newton <will.newton@linaro.org>
13844 * malloc/Makefile: Add tst-posix_memalign.
13845 * malloc/tst-posix_memalign.c: New file.
13847 2013-10-01 Eric Blake <eblake@redhat.com>
13849 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13850 Use __THROWNL rather than __THROW on static functions.
13852 2013-09-30 Petr Machata <pmachata@redhat.com>
13854 * elf/elf.h (R_AARCH64_ABS16): New macro.
13855 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13856 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13857 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13858 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13859 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13860 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13861 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13862 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13863 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13864 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13865 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13866 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13867 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13868 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13869 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13870 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13871 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13872 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13873 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13874 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13875 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13876 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13877 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13878 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13879 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13880 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13881 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13882 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13883 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13884 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13885 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13886 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13887 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13888 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13889 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13890 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13891 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13892 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13893 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13894 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13895 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13896 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13897 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13898 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13899 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13900 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13901 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13902 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13903 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13904 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13905 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13906 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13907 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13908 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13909 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13910 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13911 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13912 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13913 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13914 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13915 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13916 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13917 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13918 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13919 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13920 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13921 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13922 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13923 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13924 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13925 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13926 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13927 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13928 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13929 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13930 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13931 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13932 (R_AARCH64_TLSDESC_LDR): Likewise.
13933 (R_AARCH64_TLSDESC_ADD): Likewise.
13934 (R_AARCH64_TLSDESC_CALL): Likewise.
13936 2013-09-30 Andreas Schwab <schwab@suse.de>
13939 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13940 the nss database lookup.
13941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13944 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13946 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13948 2013-09-28 P. J. McDermott <pj@pehjota.net>
13950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13951 ${Bash-specific parameter/pattern/string} parameter expansion.
13952 * sysdeps/unix/make-syscalls.sh: Likewise.
13954 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13956 * sysdeps/sh/stackguard-macros.h: New file.
13958 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13962 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13964 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13965 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13967 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13969 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13970 Fix thread ID register.
13972 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13974 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13975 [POSIX || UNIX98]: Require rather than permitting all symbols from
13977 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13978 element of struct sched_param.
13979 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13980 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13981 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13982 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13985 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13987 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13988 argument calculation.
13990 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13992 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13994 [POSIX] (pthread_attr_t): Do not require type.
13995 [POSIX] (pthread_cond_t): Likewise.
13996 [POSIX] (pthread_condattr_t): Likewise.
13997 [POSIX] (pthread_key_t): Likewise.
13998 [POSIX] (pthread_mutex_t): Likewise.
13999 [POSIX] (pthread_mutexattr_t): Likewise.
14000 [POSIX] (pthread_once_t): Likewise.
14001 [POSIX] (pthread_t): Likewise.
14002 [POSIX-based standards] (pthread_atfork): Expect function.
14004 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14005 Richard Sandiford <richard@codesourcery.com>
14007 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14008 (swap_endianness_p): New extern variable.
14009 (set_big_endian): New inline function.
14010 (maybe_swap_uint32): Likewise.
14011 (maybe_swap_uint32_array): Likewise.
14012 (maybe_swap_uint32_obstack): Likewise.
14013 * locale/programs/locfile.c: Include <stdbool.h>.
14014 (swap_endianness_p): New variable.
14015 (add_locale_uint32): Call maybe_swap_uint32.
14016 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14017 (write_locale_data): Call maybe_swap_uint32_array.
14018 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14020 (obstack_int32_grow_fast): Likewise.
14021 (output_weightwc): Call maybe_swap_uint32_obstack.
14022 (collate_output): Likewise.
14023 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14024 (OPT_LITTLE_ENDIAN): Likewise.
14025 (options): Add --little-endian and --big-endian options.
14026 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14027 * locale/programs/locarchive.c: Include "locfile.h".
14031 (create_archive): Use the new macros to access fields of
14032 structures directly mapped from or written to locale archives.
14033 (oldlocrecentcmp): Likewise.
14034 (enlarge_archive): Likewise.
14035 (insert_name): Likewise.
14036 (add_alias): Likewise.
14037 (add_locale): Likewise.
14038 (delete_locales_from_archive): Likewise.
14039 (show_archive_content): Likewise.
14040 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14043 2013-09-24 Roland McGrath <roland@hack.frob.com>
14045 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14046 http://www.gnu.org/doc/freemanuals.texi.
14047 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14049 2013-09-24 Will Newton <will.newton@linaro.org>
14051 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14054 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14056 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14059 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14061 * manual/threads.texi (POSIX Threads): Fix a typo.
14063 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14066 * string/tst-strcoll-overflow.c: New test case.
14067 * string/Makefile (xtests): Add tst-strcoll-overflow.
14068 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14069 cache if string sizes may cause integer overflow.
14072 * string/strcoll_l.c (coll_seq): New members rule, idx,
14073 save_idx and back_us.
14074 (get_next_seq_nocache): New function.
14075 (do_compare_nocache): New function.
14076 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14079 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14082 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14083 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14084 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14087 * elf/Makefile (tests): Add tst-ptrguard1.
14088 (tests-static): Add tst-ptrguard1-static.
14089 (tst-ptrguard1-ARGS): Define.
14090 (tst-ptrguard1-static-ARGS): Define.
14091 * elf/tst-ptrguard1.c: New file.
14092 * elf/tst-ptrguard1-static.c: New file.
14093 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14094 * sysdeps/i386/stackguard-macros.h: Likewise.
14095 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14096 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14097 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14098 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14099 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14100 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14102 2013-09-23 Hector Marco <hecmargi@upv.es>
14103 Ismael Ripoll <iripoll@disca.upv.es>
14104 Carlos O'Donell <carlos@redhat.com>
14107 * sysdeps/generic/stackguard-macros.h: Define
14108 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14109 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14110 Define __pointer_chk_guard_local.
14111 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14112 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14114 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14117 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14119 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14121 * include/string.h (__ffs): Declare as hidden.
14122 * string/ffs.c (__ffs): Define as hidden.
14123 * sysdeps/i386/ffs.c (__ffs): Likewise.
14124 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14125 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14126 * sysdeps/s390/ffs.c (__ffs): Likewise.
14127 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14129 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14131 * NEWS: Mention malloc probes.
14133 * malloc/arena.c (new_heap): New memory_heap_new probe.
14134 (grow_heap): New memory_heap_more probe.
14135 (shrink_heap): New memory_heap_less probe.
14136 (heap_trim): New memory_heap_free probe.
14137 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14138 (systrim): New memory_sbrk_less probe.
14139 * manual/probes.texi: Document them.
14141 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14142 * manual/probes.texi: Document it.
14144 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14145 (__libc_realloc): Add memory_realloc_retry probe.
14146 (__libc_memalign): Add memory_memalign_retry probe.
14147 (__libc_valloc): Add memory_valloc_retry probe.
14148 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14149 (__libc_calloc): Add memory_calloc_retry probe.
14150 * manual/probes.texi: Document them.
14152 * malloc/arena.c (get_free_list): Add probe
14153 memory_arena_reuse_free_list.
14154 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14155 and memory_arena_reuse.
14156 (arena_get2) [!PER_THREAD]: Likewise.
14157 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14158 memory_arena_reuse_realloc.
14159 * manual/probes.texi: Document them.
14161 * malloc/malloc.c (__libc_free): Add
14162 memory_mallopt_free_dyn_thresholds probe.
14163 (__libc_mallopt): Add multiple memory_mallopt probes.
14164 * manual/probes.texi: Document them.
14166 * malloc/malloc.c: Include stap-probe.h.
14167 (__libc_mallopt): Add memory_mallopt probe.
14168 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14169 * manual/probes.texi: New.
14170 * manual/Makefile (chapters): Add probes.
14171 * manual/threads.texi: Set next node.
14173 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14175 [BZ #15963, #13985]
14176 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14177 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14178 Add `Chinese' to `nan' entry name.
14180 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14182 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14183 (POLYNOMIAL): Likewise.
14184 (TAYLOR_SINCOS): Likewise.
14185 (TAYLOR_SLOW): Likewise.
14186 (__sin): Use TAYLOR_SINCOS.
14188 (slow): Use TAYLOR_SLOW.
14190 (bsloww): Likewise.
14191 (csloww): Likewise.
14193 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14195 * stdlib/strtod_l.c: Fix buffer overrun.
14197 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14199 * benchtests/Makefile (bench): Add sincos.
14200 * benchtests/bench-sincos.c: New file.
14202 * math/libm-test.inc (cos_test_data): New test inputs.
14203 (sin_test_data): Likewise.
14205 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14211 (sloww1): Likewise.
14212 (sloww2): Likewise.
14213 (bsloww1): Likewise.
14214 (bsloww2): Likewise.
14215 (cslow2): Likewise.
14216 (csloww1): Likewise.
14217 (csloww2): Likewise.
14219 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14228 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14230 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14231 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14232 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14233 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14234 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14235 * elf/cache.c (print_entry): Handle the new cache flags.
14237 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14238 Aldy Hernandez <aldyh@redhat.com>
14240 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14241 Change condition to [_SOFT_FLOAT].
14242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14254 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14257 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14260 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14262 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14263 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14264 (__longjmp): Use LOAD_GP to load saved GPRs.
14265 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14266 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14267 (__sigsetjmp): Use SAVE_GP to save GPRs.
14269 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14270 Do not append -msoft-float.
14271 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14273 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14275 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14277 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14280 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14281 (_FPU_GETCW): Use initial "__" on variable and field names but not
14282 on macro parameter name.
14283 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14284 parentheses around reference to macro parameter.
14286 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14288 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14290 (ctype_startup): Use uint32_t in cast and sizeof for
14293 2013-09-11 Jia Liu <proljc@gmail.com>
14295 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14297 [__FreeBSD__]: Likewise.
14299 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14302 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14303 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14304 (strchr): Remove __strchr_sse42 ifunc selection.
14305 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14306 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14308 2013-09-11 Will Newton <will.newton@linaro.org>
14310 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14311 parameter to RES. Remove hardcoded 1000 value.
14312 * benchtests/bench-skeleton.c (main): Pass RES parameter
14313 to TIMING_INIT and multiply result by 1000.
14315 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14319 2013-09-11 Andreas Schwab <schwab@suse.de>
14321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14323 (O_TMPFILE) [__USE_GNU]: Define.
14324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14327 2013-09-11 Will Newton <will.newton@linaro.org>
14330 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14333 2013-09-11 Will Newton <will.newton@linaro.org>
14336 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14339 2013-09-11 Will Newton <will.newton@linaro.org>
14342 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14345 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14347 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14353 2013-09-10 Allan McRae <allan@archlinux.org>
14356 * manual/arith.texi (Parsing of Floats): Clarify
14360 * manual/install.texi (Running make install): Mention
14362 * INSTALL: Regenerated.
14364 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14366 * csu/init-first.c (_init): Remove the !SHARED condition around
14367 FPU control word initialization.
14368 * elf/dl-support.c (_dl_fpu_control): New variable.
14369 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14370 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14371 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14372 * math/test-fpucw-static.c: New file.
14373 * math/test-fpucw-ieee.c: New file.
14374 * math/test-fpucw-ieee-static.c: New file.
14375 * math/Makefile (tests): Add `test-fpucw-ieee' and
14377 (tests-static): New variable.
14378 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14380 [($(build-shared),yes)]
14381 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14383 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14386 2013-09-09 Allan McRae <allan@archlinux.org>
14389 * manual/string.texi (Collation Functions): Fix typo in
14391 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14394 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14397 * libio/memstream.c (open_memstream): Fix memory leak.
14398 * libio/wmemstream.c (open_wmemstream): Likewise.
14401 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14403 2013-09-09 Will Newton <will.newton@linaro.org>
14405 * malloc/Makefile: Add tst-realloc to tests.
14406 * malloc/tst-realloc.c: New file.
14408 2013-09-09 Allan McRae <allan@archlinux.org>
14411 * COPYING: Update from GNU website to fix FSF address.
14412 * COPYING.LIB: Likewise.
14414 2013-09-06 David S. Miller <davem@davemloft.net>
14416 * po/zh_TW.po: Update Chinese (traditional) translation from
14417 translation project.
14419 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14420 Joseph Myers <joseph@codesourcery.com>
14422 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14424 (obstack_chunk_alloc): New macro.
14425 (obstack_chunk_free): Likewise.
14426 (record_offset): New function.
14427 (init_locale_data): Likewise.
14428 (align_locale_data): Likewise.
14429 (add_locale_empty): Likewise.
14430 (add_locale_raw_data): Likewise.
14431 (add_locale_raw_obstack): Likewise.
14432 (add_locale_string): Likewise.
14433 (add_locale_wstring): Likewise.
14434 (add_locale_uint32): Likewise.
14435 (add_locale_uint32_array): Likewise.
14436 (add_locale_char): Likewise.
14437 (start_locale_structure): Likewise.
14438 (end_locale_structure): Likewise.
14439 (start_locale_prelude): Likewise.
14440 (end_locale_prelude): Likewise.
14441 (write_locale_data): Take locale_file structure rather than an
14443 * locale/programs/locfile.h: Include "obstack.h".
14444 (struct locale_file): Change to store locale file contents instead
14446 (init_locale_data): New prototype.
14447 (align_locale_data): Likewise.
14448 (add_locale_empty): Likewise.
14449 (add_locale_raw_data): Likewise.
14450 (add_locale_raw_obstack): Likewise.
14451 (add_locale_string): Likewise.
14452 (add_locale_wstring): Likewise.
14453 (add_locale_uint32): Likewise.
14454 (add_locale_uint32_array): Likewise.
14455 (add_locale_char): Likewise.
14456 (start_locale_structure): Likewise.
14457 (end_locale_structure): Likewise.
14458 (start_locale_prelude): Likewise.
14459 (end_locale_prelude): Likewise.
14460 (write_locale_data): Update prototype.
14461 * locale/programs/3level.h (struct TABLE): Remove result field.
14462 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14463 Use new locale_file interface.
14464 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14465 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14466 * locale/programs/ld-address.c (address_output): Use new
14467 locale_file interface.
14468 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14470 (collate_finish): Don't call collseq_table_finalize.
14471 (collate_output): Use new locale_file interface.
14472 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14474 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14475 (TABLE): Move defines earlier in file.
14476 (ELEMENT): Likewise.
14477 (DEFAULT): Likewise.
14478 (wctrans_table_add): Move macro and inline function earlier in
14480 (struct wctype_table): Move type earlier in file.
14481 (add_locale_wctype_table): New static prototype.
14482 (struct locale_ctype_t): Use logical types instead of struct iovec
14483 pointers for members.
14484 (ctype_output): Use new locale_file interface.
14485 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14486 new locale_file interface.
14487 (allocate_arrays): Update for use of new locale_file interface.
14488 * locale/programs/ld-identification.c (identification_output): Use
14489 new locale_file interface.
14490 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14491 * locale/programs/ld-messages.c (messages_output): Likewise.
14492 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14493 * locale/programs/ld-name.c (name_output): Likewise.
14494 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14495 * locale/programs/ld-paper.c (paper_output): Likewise.
14496 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14497 * locale/programs/ld-time.c (time_output): Likewise.
14499 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14501 * benchtests/Makefile: Add memrchr benchmark.
14502 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14503 benchmark as memrchr.
14504 * benchtests/bench-memrchr-ifunc.c: New file.
14505 * benchtests/bench-memrchr.c: New file.
14507 2013-09-06 Will Newton <will.newton@linaro.org>
14509 * benchtests/Makefile (string-bench): Add memcpy.
14511 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14512 Cong Wang <amwang@redhat.com>
14515 * sysdeps/unix/sysv/linux/bits/in.h
14516 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14517 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14518 before __USE_KERNEL_IPV6_DEFS uses.
14519 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14521 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14522 sockaddr_in6, or ipv6_mreq.
14524 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14526 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14527 memory access for final bytes in some large inputs.
14528 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14530 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14532 * string/test-memrchr.c: New file.
14533 * string/test-memrchr-ifunc.c: New file.
14534 * string/Makefile: Add new memrchr testcase.
14536 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14538 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14539 fanotify_init returns EPERM.
14541 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14543 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14545 (top level): Treat second token from macro or constant entries for
14546 allowed headers as allowed.
14547 * include/complex.h: Condition internal declarations on
14549 * include/fenv.h: Condition include of <stdbool.h> and internal
14550 declarations on [!_ISOMAC].
14552 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14555 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14557 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14559 * configure.in (--enable-versioning): Remove configure option.
14560 (libc_cv_asm_symver_directive): Remove configure test.
14561 (libc_cv_ld_version_script_option): Likewise.
14562 (VERSIONING): Remove variable and AC_SUBST.
14563 (DO_VERSIONING): Remove AC_DEFINE.
14564 * configure: Regenerated.
14565 * config.h.in (DO_VERSIONING): Remove macro.
14566 * Makerules [$(versioning) = yes]: Change conditionals to
14567 [$(build-shared) = yes].
14568 * config.make.in (versioning): Remove variable.
14569 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14570 [$(build-shared) = yes].
14571 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14572 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14573 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14574 [$(build-shared) = yes].
14575 * extra-lib.mk [$(versioning) = yes]: Likewise.
14576 * hurd/Makefile [$(versioning) = yes]: Likewise.
14577 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14579 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14581 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14582 [SHARED && !NO_HIDDEN].
14583 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14585 [SHARED && DO_VERSIONING]: Likewise..
14586 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14587 [$(build-shared) = yes].
14588 * manual/install.texi (--disable-versioning): Remove
14590 * INSTALL: Regenerated.
14591 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14593 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14594 [$(build-shared) = yes].
14595 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14596 * sysdeps/i386/i686/multiarch/strstr-c.c
14597 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14598 [SHARED && !NO_HIDDEN].
14599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14600 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14601 * sysdeps/powerpc/powerpc32/dl-machine.c
14602 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14603 * sysdeps/powerpc/powerpc32/sysdep.h
14604 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14605 to [SHARED && PIC && !NO_HIDDEN].
14606 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14607 conditional to [SHARED].
14609 2013-09-04 Will Newton <will.newton@linaro.org>
14611 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14612 * benchtests/bench-string.h: Include bench-timing.h instead
14613 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14614 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14615 call to HP_TIMING_DIFF_INIT.
14616 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14617 instead of hp-timing.h macros.
14618 * benchtests/bench-memchr.c: Likewise.
14619 * benchtests/bench-memcmp.c: Likewise.
14620 * benchtests/bench-memcpy.c: Likewise.
14621 * benchtests/bench-memmem.c: Likewise.
14622 * benchtests/bench-memmove.c: Likewise.
14623 * benchtests/bench-memset.c: Likewise.
14624 * benchtests/bench-rawmemchr.c: Likewise.
14625 * benchtests/bench-strcasecmp.c: Likewise.
14626 * benchtests/bench-strcasestr.c: Likewise.
14627 * benchtests/bench-strcat.c: Likewise.
14628 * benchtests/bench-strchr.c: Likewise.
14629 * benchtests/bench-strcmp.c: Likewise.
14630 * benchtests/bench-strcpy.c: Likewise.
14631 * benchtests/bench-strcpy_chk.c: Likewise.
14632 * benchtests/bench-strlen.c: Likewise.
14633 * benchtests/bench-strncasecmp.c: Likewise.
14634 * benchtests/bench-strncat.c: Likewise.
14635 * benchtests/bench-strncmp.c: Likewise.
14636 * benchtests/bench-strncpy.c: Likewise.
14637 * benchtests/bench-strnlen.c: Likewise.
14638 * benchtests/bench-strpbrk.c: Likewise.
14639 * benchtests/bench-strrchr.c: Likewise.
14640 * benchtests/bench-strspn.c: Likewise.
14641 * benchtests/bench-strstr.c: Likewise.
14643 2013-09-04 Will Newton <will.newton@linaro.org>
14645 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14647 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14650 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14651 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14652 * math/libm-test.inc (lgamma_test_data): Add more tests.
14653 * sysdeps/i386/fpu/libm-test-ulps: Update.
14654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14656 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14658 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14662 Add strcmp-sse2-unaligned
14663 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14665 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14667 * Versions.def (libc): Add GLIBC_2.19.
14669 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14671 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14672 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14674 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14677 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14678 intermediate calculations in recurrence.
14679 (__ieee754_ynf): Likewise.
14680 * math/libm-test.inc (jn_test_data): Do not allow spurious
14681 underflow exception. Add more tests.
14682 (yn_test_data): Add more tests.
14683 * sysdeps/i386/fpu/libm-test-ulps: Update.
14684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14686 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14688 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14690 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14692 * csu/init-first.c: Fix then/than typos.
14693 * locale/programs/ld-collate.c: Likewise.
14694 * locale/programs/linereader.h: Likewise.
14695 * manual/charset.texi: Likewise.
14696 * manual/filesys.texi: Likewise.
14697 * manual/stdio.texi: Likewise.
14698 * manual/string.texi: Likewise.
14699 * stdlib/fmtmsg.c: Likewise.
14700 * sysdeps/i386/stpncpy.S: Likewise.
14701 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14702 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14703 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14704 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14706 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14708 * elf/dl-open.c: Fix typos.
14709 * iconvdata/gbbig5.c: Likewise.
14710 * iconvdata/iso-2022-jp.c: Likewise.
14711 * iconv/gconv_int.h: Likewise.
14712 * iconv/loop.c: Likewise.
14713 * nis/rpcsvc/nis.h: Likewise.
14714 * resolv/ns_name.c: Likewise.
14715 * stdio-common/vfscanf.c: Likewise.
14716 * streams/stropts.h: Likewise.
14717 * sunrpc/rpc_thread.c: Likewise.
14718 * sysdeps/i386/strpbrk.S: Likewise.
14719 * sysdeps/ieee754/k_standard.c: Likewise.
14720 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14722 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14723 * sysdeps/mach/hurd/profil.c: Likewise.
14724 * sysdeps/s390/dl-procinfo.h: Likewise.
14725 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14726 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14727 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14728 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14729 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14731 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14733 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14736 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14738 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14739 aix specific files.
14740 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14741 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14742 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14743 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14744 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14745 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14746 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14747 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14749 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14750 Roland McGrath <roland@hack.frob.com>
14752 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14753 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14755 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14757 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14758 __executable_start symbol instead of _start.
14760 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14762 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14763 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14765 * sysdeps/gnu/ldsodefs.h: ... this new file.
14767 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14768 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14769 instead of ELFOSABI_LINUX.
14771 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14772 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14773 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14774 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14776 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14777 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14778 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14780 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14781 (ibm_extended_long_double): Add ieee_nan member.
14782 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14783 (do_test): New function.
14785 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14787 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14788 functions, renamed from truncdfsf_test, trunctfsf_test,
14790 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14792 (do_test): Run all these.
14794 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14796 * argp/argp-help.c: Fix typos.
14797 * argp/argp-parse.c: Likewise.
14798 * debug/backtracesyms.c: Likewise.
14799 * elf/elf.h: Likewise.
14800 * malloc/malloc.c: Likewise.
14801 * nis/nis_print.c: Likewise.
14802 * resolv/res_comp.c: Likewise.
14803 * stdlib/stdlib.h: Likewise.
14804 * sunrpc/clnt_tcp.c: Likewise.
14805 * sunrpc/clnt_udp.c: Likewise.
14806 * sunrpc/clnt_unix.c: Likewise.
14807 * sysdeps/unix/bsd/ptsname.c: Likewise.
14808 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14816 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14818 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14820 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14823 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14826 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14827 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14828 ($(objpfx)bug-dl-leaf): New rule.
14829 ($(objpfx)bug-dl-leaf.so): Likewise.
14830 ($(objpfx)bug-dl-leaf.out): Likewise.
14831 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14832 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14833 * dlfcn/bug-dl-leaf.c: New test.
14834 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14835 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14836 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14837 (dlclose): Likewise.
14838 (dlmopen): Likewise.
14840 2013-08-27 Roland McGrath <roland@hack.frob.com>
14842 * include/netdb.h [!_ISOMAC]:
14843 Don't include <tls.h>.
14844 (h_errno, __libc_h_errno): Move declaration and macros out of
14847 * include/resolv.h [_RESOLV_H_]:
14848 Don't include <tls.h>.
14849 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14850 * resolv/res_libc.c: Don't include <tls.h>.
14851 (_res): Use __attribute__ ((nocommon)) in place of
14852 __attribute__ ((section (".bss"))).
14854 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14855 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14857 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14859 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14860 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14862 * resolv/res_mkquery.c: Include <sys/time.h>.
14864 * inet/ifreq.c: Moved to ...
14865 * sysdeps/unix/ifreq.c: ... here.
14866 * inet/ifreq.c: New file, true stub version.
14868 * socket/sa_len.c: New file.
14869 * socket/Makefile (aux): Add it.
14870 * sysdeps/unix/sysv/linux/Makefile
14871 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14872 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14873 and #include <socket/sa_len.c>.
14874 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14875 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14877 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14878 * bits/socket.h: ... here.
14880 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14881 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14882 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14884 2013-08-27 Andreas Schwab <schwab@suse.de>
14887 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14888 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14889 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14890 * string/test-strcasecmp.c (test_main): Run tests in several
14892 * string/test-strncasecmp.c (test_main): Likewise.
14894 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14895 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14896 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14898 (__strncasecmp_ssse3) [PIC]: Likewise.
14900 2013-08-26 Roland McGrath <roland@hack.frob.com>
14902 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14904 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14905 instead of explicitly declaring xdecrypt.
14906 * nis/nss_nis/nis-publickey.c: Likewise.
14908 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14911 * nscd/aicache.c: Include res_hconf.h.
14912 (addhstaiX): Initialize res_hconf.
14914 2013-08-26 Andreas Schwab <schwab@suse.de>
14916 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14917 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14919 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14921 * nscd/aicache.c (addhstaiX): Fix indentation.
14923 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14925 * configure.ac: Quote $build_pt_chown test.
14926 * configure: Regenerated.
14928 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14931 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14932 * math/s_cexpf.c (__cexpf): Likewise.
14933 * math/s_cexpl.c (__cexpl): Likewise.
14934 * math/libm-test.inc (cexp_test_data): Correct expected return
14935 value for NaN + i0. Add another test.
14937 2013-08-22 David S. Miller <davem@davemloft.net>
14939 * po/ca.po: Update Catalan translation from translation project.
14940 * po/uk.po: Add Ukrainian translations from translation project.
14942 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14945 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14946 is infinite, not alongside NaN test.
14947 * math/s_fdimf.c (__fdimf): Likewise.
14948 * math/s_fdiml.c (__fdiml): Likewise.
14949 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14950 errno is unchanged.
14952 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14954 * argp/argp-help.c: Fix typos.
14955 * crypt/speeds.c: Likewise.
14956 * csu/check_fds.c: Likewise.
14957 * elf/dl-load.c: Likewise.
14958 * elf/dl-open.c: Likewise.
14959 * elf/reldep3.c: Likewise.
14960 * elf/reldep.c: Likewise.
14961 * elf/sprof.c: Likewise.
14962 * iconv/iconv_charmap.c: Likewise.
14963 * iconv/skeleton.c: Likewise.
14964 * iconv/strtab.c: Likewise.
14965 * io/lockf64.c: Likewise.
14966 * libio/libioP.h: Likewise.
14967 * resolv/gai_notify.c: Likewise.
14968 * resolv/ns_name.c: Likewise.
14969 * resolv/ns_samedomain.c: Likewise.
14970 * resolv/res_send.c: Likewise.
14971 * stdlib/random.c: Likewise.
14972 * sunrpc/rpc/xdr.h: Likewise.
14973 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14974 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14975 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14976 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14977 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14981 * sysdeps/mach/hurd/check_fds.c: Likewise.
14982 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14983 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14984 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14985 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14986 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14987 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14988 * sysdeps/pthread/aio_notify.c: Likewise.
14989 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14990 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14991 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14993 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14995 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14997 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14998 version if bit_Slow_SSE4_2 is set.
14999 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15002 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15005 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15006 trampoline stack frame information.
15007 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15008 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15009 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15010 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15011 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15012 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15013 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15014 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15016 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15017 interrupting a syscall and set with option SA_SIGINFO.
15019 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15022 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15023 argument is infinite.
15024 * math/s_cprojf.c (__cprojf): Likewise.
15025 * math/s_cprojl.c (__cprojl): Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15027 * math/libm-test.inc (cproj_test_data): Add more tests.
15029 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15031 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15032 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15033 size. Use __ffs to determine corresponding shift.
15035 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15036 Roland McGrath <roland@hack.frob.com>
15038 * Makefile (INSTALL): Remove trailing blank lines from output of
15041 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15043 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15044 Align 32 bit compat elf_greg to 8 bytes.
15046 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15048 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15050 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15052 * string/strcoll_l.c (coll_seq): New structure.
15053 (get_next_seq_cached): New function.
15054 (get_next_seq): New function.
15055 (do_compare): New function.
15056 (STRCOLL): Use GNU style definition. Simplify implementation
15057 by using get_next_seq, get_next_seq_cached and do_compare.
15059 2013-08-16 Florian Weimer <fweimer@redhat.com>
15063 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15065 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15067 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15068 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15069 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15071 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15072 GETDENTS_64BIT_ALIGNED.
15073 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15074 * manual/filesys.texi (Reading/Closing Directory): Document
15075 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15077 * manual/conf.texi (Limits for Files): Add portability note to
15078 NAME_MAX, PATH_MAX.
15079 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15081 2013-08-13 Andreas Schwab <schwab@suse.de>
15084 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15086 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15087 LDBL_MAX_EXP >= 16384]: Add tests for it.
15089 2013-08-12 David S. Miller <davem@davemloft.net>
15091 * version.h (RELEASE): Set to "development".
15092 (VERSION): Set to "2.18.90".
15093 * NEWS: Add 2.19 section.
15095 2013-08-03 David S. Miller <davem@davemloft.net>
15097 * po/ko.po: Update Korean translation from translation project.
15099 2013-08-01 David S. Miller <davem@davemloft.net>
15101 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15102 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15105 2013-07-30 David S. Miller <davem@davemloft.net>
15107 * po/fr.po: Update French translation from translation project.
15109 2013-07-28 David S. Miller <davem@davemloft.net>
15111 * po/cs.po: Update Czech translation from translation project.
15113 * po/sv.po: Update Swedish translation from translation project.
15115 2013-07-27 David S. Miller <davem@davemloft.net>
15117 * po/eo.po: Update Esperanto translation from translation project.
15119 * po/vi.po: Update Vietnamese translation from translation project.
15121 * po/de.po: Update German translation from translation project.
15123 2013-07-26 David S. Miller <davem@davemloft.net>
15125 * po/bg.po: Update Bulgarian translation from translation project.
15127 * po/nl.po: Update Dutch translation from translation project.
15128 * po/pl.po: Update Polish translation from translation project.
15129 * po/ru.po: Update Russian translation from translation project.
15131 2013-07-24 David S. Miller <davem@davemloft.net>
15133 * po/libc.pot: Update.
15135 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15137 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15138 variable page size.
15139 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15140 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15141 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15143 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15145 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15147 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15148 Andreas Schwab <schwab@suse.de>
15149 Roland McGrath <roland@hack.frob.com>
15150 Joseph Myers <joseph@codesourcery.com>
15151 Carlos O'Donell <carlos@redhat.com>
15154 * config.h.in: Define HAVE_PT_CHOWN.
15155 * config.make.in (build-pt-chown): New variable.
15156 * configure.in (--enable-pt_chown): New configure option.
15157 * configure: Regenerate.
15158 * login/Makefile: Include Makeconfig. Build pt_chown only if
15159 build-pt-chown is enabled.
15160 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15161 pt_chown to fix pty ownership.
15162 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15164 * manual/install.texi (Configuring and compiling): Mention
15165 --enable-pt_chown. Add @findex for grantpt.
15166 * INSTALL: Regenerate.
15168 2013-07-20 David S. Miller <davem@davemloft.net>
15170 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15171 difference between 32-bit and 64-bit.
15173 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15176 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15177 Avoid system header dependency with -ffreestanding.
15178 ($(objpfx)bits/syscall%d): Likewise.
15180 2013-07-13 David S. Miller <davem@davemloft.net>
15182 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15183 underflows from atanl/atan2l due to bug 15319.
15184 (casinh_test_data): Likewise.
15186 2013-07-07 David S. Miller <davem@davemloft.net>
15188 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15190 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15192 * sysdeps/i386/fpu/libm-test-ulps: Update.
15193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15195 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15197 * configure.in (--enable-lock-elision): Fix message text.
15198 * INSTALL: Regenerate.
15199 * configure: Regenerate.
15201 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15205 2013-07-03 Andreas Jaeger <aj@suse.de>
15207 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15209 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15210 (ptrace_peeksiginfo_args): Add.
15211 (__ptrace_peeksiginfo_flags): Add.
15212 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15216 2013-07-03 Allan McRae <allan@archlinux.org>
15218 * sysdeps/i386/fpu/libm-test-ulps: Update.
15220 2013-07-02 David S. Miller <davem@davemloft.net>
15222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15224 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15228 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15230 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15233 2013-07-02 Andi Kleen <ak@linux.intel.com>
15235 * config.h.in (ENABLE_LOCK_ELISION): Add.
15236 * configure.in (--enable-lock-elision): Add option.
15237 * manual/install.texi: Document --enable lock elision.
15238 * configure: Regenerate
15239 * INSTALL: Regenerate.
15241 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15243 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15244 SSE4.2 strcasecmp for libc.a.
15245 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15247 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15250 * soft-fp/op-common.h (_FP_FMA): New macro.
15251 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15252 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15253 (_FP_MUL_MEAT_1_imm): ... here.
15254 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15255 (_FP_MUL_MEAT_1_wide): ... here.
15256 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15257 (_FP_MUL_MEAT_1_hard): ... here.
15258 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15259 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15260 (_FP_MUL_MEAT_2_wide): ... here.
15261 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15262 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15263 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15264 (_FP_MUL_MEAT_2_gmp): ... here.
15265 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15266 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15267 (_FP_MUL_MEAT_4_wide): ... here.
15268 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15269 (_FP_MUL_MEAT_4_gmp): ... here.
15270 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15271 (_FP_WFRACBITS_DW_S): Likewise.
15272 (_FP_WFRACXBITS_DW_S): Likewise.
15273 (_FP_HIGHBIT_DW_S): Likewise.
15274 (FP_FMA_S): Likewise.
15275 (_FP_FRAC_HIGH_DW_S): Likewise.
15276 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15277 (_FP_WFRACBITS_DW_D): Likewise.
15278 (_FP_WFRACXBITS_DW_D): Likewise.
15279 (_FP_HIGHBIT_DW_D): Likewise.
15280 (FP_FMA_D): Likewise.
15281 (_FP_FRAC_HIGH_DW_D): Likewise.
15282 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15283 (_FP_WFRACBITS_DW_E): Likewise.
15284 (_FP_WFRACXBITS_DW_E): Likewise.
15285 (_FP_HIGHBIT_DW_E): Likewise.
15286 (FP_FMA_E): Likewise.
15287 (_FP_FRAC_HIGH_DW_E): Likewise.
15288 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15289 (_FP_WFRACBITS_DW_Q): Likewise.
15290 (_FP_WFRACXBITS_DW_Q): Likewise.
15291 (_FP_HIGHBIT_DW_Q): Likewise.
15292 (FP_FMA_Q): Likewise.
15293 (_FP_FRAC_HIGH_DW_Q): Likewise.
15294 * soft-fp/fmasf4.c: New file.
15295 * soft-fp/fmadf4.c: Likewise.
15296 * soft-fp/fmatf4.c: Likewise.
15298 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15301 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15303 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15305 (index_Slow_SSE4_2): Likewise.
15306 (index_Prefer_PMINUB_for_stringop): Likewise.
15307 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15308 bit_Slow_SSE4_2 is set.
15309 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15312 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15314 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15315 rtld_global._dl_hwcap2.
15316 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15318 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15319 POWER8 feature descriptions defined in _dl_hwcap2.
15320 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15321 string handling for POWER8 feature bits.
15322 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15323 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15324 _dl_powerpc_cap_flags.
15325 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15326 * sysdeps/powerpc/rtld-global-offsets.sym
15327 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15328 _dl_hwcap2 in the rtld_global_ro structure.
15330 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15332 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15333 hardware capabilities in support of AT_HWCAP2.
15334 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15335 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15337 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15338 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15339 explicitly the unknown a_type display mechanism is used.
15340 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15341 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15343 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15344 to macro prototype for AT_HWCAP2 support.
15345 * sysdeps/i386/dl-procinfo.h: Likewise.
15346 * sysdeps/s390/dl-procinfo.h: Likewise.
15347 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15348 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15349 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15350 return -1 for unknown a_type display fallback.
15351 * sysdeps/sparc/dl-procinfo.h: Likewise.
15352 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15353 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15355 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15357 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15358 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15360 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15363 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15364 mprotect making __stack_prot writable.
15366 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15367 Joseph Myers <joseph@codesourcery.com>
15369 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15370 as being properly aligned.
15372 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15374 * dlfcn/modstatic5.c: New file.
15375 * dlfcn/tststatic5.c: New file.
15376 * dlfcn/Makefile (tests): Add tststatic5.
15377 (tests-static): Likewise.
15378 (modules-names): Add modstatic5.
15379 (tststatic5-ENV): New variable.
15380 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15383 * elf/dl-support.c (_dl_main_map): New variable.
15384 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15385 (_dl_nns, _dl_load_adds): Set to 1.
15386 (_dl_initial_searchlist): Refer to _dl_main_map.
15387 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15388 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15389 call to _dl_get_origin.
15390 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15392 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15393 * dlfcn/modstatic3.c: New file.
15394 * dlfcn/tststatic3.c: New file.
15395 * dlfcn/tststatic4.c: New file.
15396 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15397 (tests-static): Likewise.
15398 (modules-names): Add modstatic3.
15399 (tststatic3-ENV, tststatic4-ENV): New variables.
15400 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15401 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15403 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15405 * configure.in (CC): Require GCC version 4.4 or later.
15406 * configure: Regenerated.
15407 * manual/install.texi (Tools for Compilation): Update GCC version
15409 * INSTALL: Regenerated.
15411 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15414 * string/test-memcmp.c (check2): New.
15415 (main): Call check2.
15417 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15419 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15422 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15424 (dl_open_worker) [!SHARED]: ... here.
15426 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15428 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15430 2013-06-25 Richard Henderson <rth@redhat.com>
15432 * locale/programs/locarchive.c: Include <libc-internal.h>
15434 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15436 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15437 trailing whitespace removed.
15439 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15442 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15443 * locale/programs/locarchive.c: Include libc-mmap.h.
15444 (prepare_address_space): Take two new outputs (the mmap base and len).
15445 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15447 (create_archive): Declare new mmap base and len values for
15448 prepare_address_space, and store the result in ah.
15449 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15450 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15451 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15452 Declare new mmap base and len values for
15453 prepare_address_space, and store the result in new_ah.
15454 (open_archive): Declare new mmap base and len values for
15455 prepare_address_space, and store the result in ah.
15456 (close_archive): If ah->mmap_base is not NULL, use that and
15457 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15458 * sysdeps/generic/libc-mmap.h: New file.
15460 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15462 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15463 (ALIGN_UP): Likewise.
15464 (PTR_ALIGN_DOWN): Likewise.
15465 (PTR_ALIGN_UP): Likewise.
15467 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15469 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15470 entry mapped to PPC_PLATFORM_POWER8.
15471 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15473 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15474 (_dl_string_platform): Add case for exporting platform position for
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15477 search path to sysdeps/powerpc/powerpc32/power8 directory.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15479 search path to sysdeps/powerpc/powerpc64/power8 directory.
15480 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15481 power7 directories.
15482 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15483 power7 directories.
15485 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15487 * INSTALL: Regenerate.
15489 * nscd/connections.c (nscd_init): Fix comment.
15491 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15493 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15496 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15497 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15499 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15501 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15503 (DL_DST_REQ_STATIC): Remove macro.
15505 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15508 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15509 with a shift of 0 bits.
15511 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15513 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15516 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15519 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15521 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15523 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15524 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15525 accepts -fno-tree-loop-distribute-patterns.
15526 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15527 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15529 * string/memset.c (memset): Likewise.
15530 * string/test-memmove.c (simple_memmove): Disable loop transformation
15532 * string/test-memset.c (simple_memset): Likewise.
15533 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15534 * benchtests/bench-memset.c (simple_memset): Likewise.
15535 * configure: Regenerated.
15537 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15539 * math/test-misc.c (main): Ignore fesetround failure when failures
15540 of subsequent rounding tests would be ignored.
15543 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15544 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15545 * math/fegetenv.c (__fegetenv): Return 0.
15546 * math/fegetexcept.c (fegetexcept): Return 0.
15547 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15549 * math/feholdexcpt.c (feholdexcept): Return 0.
15550 * math/fesetenv.c (__fesetenv): Return 0.
15551 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15552 argument FE_TONEAREST.
15553 * math/feupdateenv.c (__feupdateenv): Return 0.
15554 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15556 2013-06-18 Roland McGrath <roland@hack.frob.com>
15558 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15559 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15560 ($(objpfx)rtld-%.os rules): Use them.
15562 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15564 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15567 2013-06-17 Roland McGrath <roland@hack.frob.com>
15569 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15570 length of target pattern, then descending length of dependency pattern.
15571 * configure.in (AWK): Require gawk 3.1.2 or newer.
15572 * manual/install.texi (Tools for Compilation): Say that we do.
15573 * configure: Regenerated.
15575 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15576 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15577 * scripts/sysd-rules.awk: ... this new script.
15578 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15579 than a glob-style pattern.
15581 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15583 * math/test-misc.c (main): Do not treat incorrectly rounded
15584 conversions as failure unless ROUNDING_TESTS passes.
15586 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15589 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15590 restore exception state around main square root computation, then
15591 check for inexactness explicitly.
15593 * math/libm-test.inc (fma_test_data): Add another test.
15595 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15597 * manual/threads.texi (Non-POSIX Extensions): New document
15598 node. Document pthread_getattr_default_np and
15599 pthread_setattr_default_np.
15601 * Versions.def (libpthread): Add GLIBC_2.18.
15602 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15611 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15622 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15625 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15627 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15628 H.J. Lu <hjl.tools@gmail.com>
15631 * sysdeps/x86_64/rtld-memset.c: Remove file.
15632 * sysdeps/x86_64/rtld-memset.S: New file.
15634 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15636 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15637 (test_in_one_mode): Take arguments for whether the rounding mode
15638 is supported for each floating-point type.
15639 (do_test): Pass new arguments to test_in_one_mode using
15642 2013-06-13 Roland McGrath <roland@hack.frob.com>
15644 * posix/tst-waitid.c (do_test): Distinguish different instances of
15645 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15646 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15647 before entering the kernel for waitpid.
15649 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15651 * NEWS: Fix note on clock function precision. Text by Roland
15654 2013-06-13 Roland McGrath <roland@hack.frob.com>
15656 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15657 it into place only when and if the sanity check passes.
15659 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15661 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15662 output for whether conversion result is exact. Take argument
15663 indicating whether type is IBM long double.
15664 (round_for_all): Change need_exact field to ibm_ld.
15665 * stdlib/tst-strtod-round.c (struct exactness): New type.
15666 (struct test): Change bool ld_ok field to struct exactness exact.
15667 (TEST): Update all definitions for change to field.
15668 (tests): Regenerate array contents.
15669 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15670 field value. Check for IBM long double here.
15671 (do_test): Update calls to test_in_one_mode.
15673 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15676 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15677 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15679 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15682 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15683 generated by the compiler on loop optimizations.
15684 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15685 general definitions.
15687 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15689 * math/bug-nextafter.c: Include <math-tests.h>.
15690 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15692 * math/bug-nexttoward.c: Include <math-tests.h>.
15693 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15695 * math/test-misc.c: Include <math-tests.h>.
15696 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15699 2013-06-12 Andreas Jaeger <aj@suse.de>
15701 * po/ia.po: Update Interlingua translation from translation
15704 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15706 * include/fenv.h: Include stdbool.h.
15707 (struct rm_ctx): New structure.
15708 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15710 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15711 (SET_RESTORE_ROUNDF): Likewise.
15712 (SET_RESTORE_ROUNDL): Likewise.
15713 (SET_RESTORE_ROUND_NOEX): Likewise.
15714 (SET_RESTORE_ROUND_NOEXF): Likewise.
15715 (SET_RESTORE_ROUND_NOEXL): Likewise.
15716 (SET_RESTORE_ROUND_53BIT): Likewise.
15717 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15718 (libc_feresetround_noexf_ctx): Likewise.
15719 (libc_feresetround_noexl_ctx): Likewise.
15720 (libc_feholdsetround_53bit_ctx): Likewise.
15721 (libc_feresetround_53bit_ctx): Likewise.
15722 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15723 (libc_feholdexcept_setround_sse_ctx): New function.
15724 (libc_fesetenv_sse_ctx): Likewise.
15725 (libc_feupdateenv_sse_ctx): Likewise.
15726 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15727 (libc_feholdexcept_setround_387_ctx): Likewise.
15728 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15729 (libc_feholdsetround_387_prec_ctx): Likewise.
15730 (libc_feholdsetround_387_ctx): Likewise.
15731 (libc_feholdsetround_387_53bit_ctx): Likewise.
15732 (libc_feholdsetround_sse_ctx): Likewise.
15733 (libc_feresetround_sse_ctx): Likewise.
15734 (libc_feresetround_387_ctx): Likewise.
15735 (libc_feupdateenv_387_ctx): Likewise.
15736 (libc_feholdexcept_setroundf_ctx): Define macro.
15737 (libc_fesetenvf_ctx): Likewise.
15738 (libc_feupdateenvf_ctx): Likewise.
15739 (libc_feholdsetroundf_ctx): Likewise.
15740 (libc_feresetroundf_ctx): Likewise.
15741 (libc_feholdexcept_setround_ctx): Likewise.
15742 (libc_fesetenv_ctx): Likewise.
15743 (libc_feupdateenv_ctx): Likewise.
15744 (libc_feholdsetround_ctx): Likewise.
15745 (libc_feresetround_ctx): Likewise.
15746 (libc_feholdexcept_setroundl_ctx): Likewise.
15747 (libc_feupdateenvl_ctx): Likewise.
15748 (libc_feholdsetroundl_ctx): Likewise.
15749 (libc_feresetroundl_ctx): Likewise.
15750 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15751 (libc_feresetround_53bit_ctx): Likewise.
15753 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15755 * locale/iso-639.def: Convert to UTF-8.
15757 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15759 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15760 (EXCEPTION_TESTS_double): Likewise.
15761 (EXCEPTION_TESTS_long_double): Likewise.
15762 (EXCEPTION_TESTS): Likewise.
15763 * math/libm-test.inc (test_exceptions): Only test exceptions if
15764 EXCEPTION_TESTS (FLOAT).
15766 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15768 * benchtests/Makefile (string-bench): Add strcpy_chk and
15770 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15771 * benchtests/bench-stpcpy_chk.c: New file.
15772 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15773 * benchtests/bench-strcpy_chk.c: New file.
15774 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15776 (do_test): Likewise.
15778 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15780 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15781 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15782 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15783 with tabs where appropriate.
15784 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15786 [PPC_PLATFORM_PPC440]: Likewise.
15787 [PPC_PLATFORM_PPC464]: Likewise.
15788 [PPC_PLATFORM_PPC476]: Likewise.
15789 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15790 ppc464, and ppc476 platform strings merging from ports/
15793 2013-06-11 Andreas Schwab <schwab@suse.de>
15796 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15797 (from_ucs4_idx): Regenerate.
15798 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15799 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15800 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15801 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15802 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15803 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15804 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15805 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15806 from FROM_LOOP and TO_LOOP specific macros.
15807 (BODY): Handle combining characters.
15808 * iconvdata/BIG5HKSCS.irreversible: Update.
15809 * iconvdata/BIG5HKSCS.precomposed: New file.
15810 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15812 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15814 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15816 * include/sys/time.h: Fix indentation and add copyright header.
15818 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15819 (do_test): Likewise.
15820 * string/test-memchr.c (do_one_test): Likewise.
15821 (do_test): Likewise.
15822 * string/test-memcmp.c (do_one_test): Likewise.
15823 (do_test): Likewise.
15824 * string/test-memcpy.c (do_one_test): Likewise.
15825 (do_test): Likewise.
15826 * string/test-memmem.c (do_one_test): Likewise.
15827 (do_test): Likewise.
15828 (do_random_tests): Likewise.
15829 * string/test-memmove.c (do_one_test): Likewise.
15830 (do_test): Likewise.
15831 * string/test-memset.c (do_one_test): Likewise.
15832 (do_test): Likewise.
15833 * string/test-rawmemchr.c (do_one_test): Likewise.
15834 (do_test): Likewise.
15835 * string/test-strcasecmp.c (do_one_test): Likewise.
15836 (do_test): Likewise.
15837 * string/test-strcasestr.c (do_one_test): Likewise.
15838 (do_test): Likewise.
15839 * string/test-strcat.c (do_one_test): Likewise.
15840 (do_test): Likewise.
15841 * string/test-strchr.c (do_one_test): Likewise.
15842 (do_test): Likewise.
15843 * string/test-strcmp.c (do_one_test): Likewise.
15844 (do_test): Likewise.
15845 * string/test-strcpy.c (do_one_test): Likewise.
15846 (do_test): Likewise.
15847 * string/test-string.h: Likewise.
15848 (test_init): Likewise.
15849 * string/test-strlen.c (do_one_test): Likewise.
15850 (do_test): Likewise.
15851 * string/test-strncasecmp.c (do_one_test): Likewise.
15852 (do_test): Likewise.
15853 * string/test-strncat.c (do_one_test): Likewise.
15854 (do_test): Likewise.
15855 * string/test-strncmp.c (do_one_test): Likewise.
15856 (do_test_limit): Likewise.
15857 (do_test): Likewise.
15858 * string/test-strncpy.c (do_one_test): Likewise.
15859 (do_test): Likewise.
15860 * string/test-strnlen.c (do_one_test): Likewise.
15861 (do_test): Likewise.
15862 * string/test-strpbrk.c (do_one_test): Likewise.
15863 (do_test): Likewise.
15864 * string/test-strrchr.c (do_one_test): Likewise.
15865 (do_test): Likewise.
15866 * string/test-strspn.c (do_one_test): Likewise.
15867 (do_test): Likewise.
15868 * string/test-strstr.c (do_one_test): Likewise.
15869 (do_test): Likewise.
15871 * benchtests/Makefile (string-bench): Add string benchmarks.
15872 * benchtests/bench-bcopy-ifunc.c: New file.
15873 * benchtests/bench-bcopy.c: New file.
15874 * benchtests/bench-bzero-ifunc.c: New file.
15875 * benchtests/bench-bzero.c: New file.
15876 * benchtests/bench-memccpy-ifunc.c: New file.
15877 * benchtests/bench-memccpy.c: New file.
15878 * benchtests/bench-memchr-ifunc.c: New file.
15879 * benchtests/bench-memchr.c: New file.
15880 * benchtests/bench-memcmp-ifunc.c: New file.
15881 * benchtests/bench-memcmp.c: New file.
15882 * benchtests/bench-memmem-ifunc.c: New file.
15883 * benchtests/bench-memmem.c: New file.
15884 * benchtests/bench-memmove-ifunc.c: New file.
15885 * benchtests/bench-memmove.c: New file.
15886 * benchtests/bench-mempcpy-ifunc.c: New file.
15887 * benchtests/bench-mempcpy.c: New file.
15888 * benchtests/bench-memset-ifunc.c: New file.
15889 * benchtests/bench-memset.c: New file.
15890 * benchtests/bench-rawmemchr-ifunc.c: New file.
15891 * benchtests/bench-rawmemchr.c: New file.
15892 * benchtests/bench-stpcpy-ifunc.c: New file.
15893 * benchtests/bench-stpcpy.c: New file.
15894 * benchtests/bench-stpncpy-ifunc.c: New file.
15895 * benchtests/bench-stpncpy.c: New file.
15896 * benchtests/bench-strcasecmp-ifunc.c: New file.
15897 * benchtests/bench-strcasecmp.c: New file.
15898 * benchtests/bench-strcasestr-ifunc.c: New file.
15899 * benchtests/bench-strcasestr.c: New file.
15900 * benchtests/bench-strcat-ifunc.c: New file.
15901 * benchtests/bench-strcat.c: New file.
15902 * benchtests/bench-strchr-ifunc.c: New file.
15903 * benchtests/bench-strchr.c: New file.
15904 * benchtests/bench-strchrnul-ifunc.c: New file.
15905 * benchtests/bench-strchrnul.c: New file.
15906 * benchtests/bench-strcmp-ifunc.c: New file.
15907 * benchtests/bench-strcmp.c: New file.
15908 * benchtests/bench-strcpy-ifunc.c: New file.
15909 * benchtests/bench-strcpy.c: New file.
15910 * benchtests/bench-strcspn-ifunc.c: New file.
15911 * benchtests/bench-strcspn.c: New file.
15912 * benchtests/bench-strlen-ifunc.c: New file.
15913 * benchtests/bench-strlen.c: New file.
15914 * benchtests/bench-strncasecmp-ifunc.c: New file.
15915 * benchtests/bench-strncasecmp.c: New file.
15916 * benchtests/bench-strncat-ifunc.c: New file.
15917 * benchtests/bench-strncat.c: New file.
15918 * benchtests/bench-strncmp-ifunc.c: New file.
15919 * benchtests/bench-strncmp.c: New file.
15920 * benchtests/bench-strncpy-ifunc.c: New file.
15921 * benchtests/bench-strncpy.c: New file.
15922 * benchtests/bench-strnlen-ifunc.c: New file.
15923 * benchtests/bench-strnlen.c: New file.
15924 * benchtests/bench-strpbrk-ifunc.c: New file.
15925 * benchtests/bench-strpbrk.c: New file.
15926 * benchtests/bench-strrchr-ifunc.c: New file.
15927 * benchtests/bench-strrchr.c: New file.
15928 * benchtests/bench-strspn-ifunc.c: New file.
15929 * benchtests/bench-strspn.c: New file.
15930 * benchtests/bench-strstr-ifunc.c: New file.
15931 * benchtests/bench-strstr.c: New file.
15933 * benchtests/Makefile: Disable parallel execution of targets.
15934 (string-bench): Add memcpy.
15935 (benchset): New variable to store a list of benchmark sets.
15936 (bench-func): Renamed from bench.
15937 (bench-set): New target.
15938 (bench): Depend on bench-func and bench-set.
15939 * benchtests/README: Add section on benchmark sets.
15940 * benchtests/bench-memcpy-ifunc.c: New file.
15941 * benchtests/bench-memcpy.c: New file.
15942 * benchtests/bench-string.h: New file.
15944 2013-06-11 Andreas Schwab <schwab@suse.de>
15947 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15948 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15949 values in the triple.
15950 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15951 terminator in the group key.
15953 2013-06-11 Andreas Jaeger <aj@suse.de>
15955 * po/zh_TW.po: Update Chinese (traditional) translation from
15956 translation project.
15958 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15960 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15961 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15962 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15963 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15964 (clock_getcpuclockid): Likewise.
15965 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15966 Add weak_alias and libc_hidden_def.
15967 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15968 * rt/clock_gettime.c (clock_gettime): Rename to
15969 __clock_gettime. Add weak_alias and libc_hidden_def.
15970 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15971 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15972 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15973 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15974 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15976 * rt/clock_settime.c (clock_settime): Rename to
15977 __clock_settime. Add weak_alias and libc_hidden_def.
15978 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15980 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15982 * mach/err_boot.sub: Remove trailing whitespace.
15983 * mach/err_ipc.sub: Likewise.
15984 * mach/err_mach.sub: Likewise.
15986 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15987 (ROUNDING_TESTS_double): Likewise.
15988 (ROUNDING_TESTS_long_double): Likewise.
15989 (ROUNDING_TESTS): Likewise.
15990 * math/libm-test.inc: Include <math-tests.h>.
15991 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15992 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15993 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15994 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15996 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15998 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16001 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16003 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16004 otherwise empty TRANS lines.
16005 * sysdeps/gnu/errlist.c: Regenerated.
16007 * catgets/gencat.c (error_print): Use (void) in function
16009 * crypt/crypt_util.c (__init_des): Likewise.
16010 * crypt/speeds.c (Stop): Likewise.
16012 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16013 * inet/ruserpass.c (token): Likewise.
16014 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16015 * intl/localealias.c (extend_alias_table): Likewise.
16016 * intl/plural-exp.c (init_germanic_plural): Likewise.
16017 * libio/fcloseall.c (__fcloseall): Likewise.
16018 * libio/genops.c (_IO_flush_all): Likewise.
16019 (_IO_flush_all_linebuffered): Likewise.
16020 (_IO_cleanup): Likewise.
16021 (_IO_iter_begin): Likewise.
16022 (_IO_iter_end): Likewise.
16023 (_IO_list_lock): Likewise.
16024 (_IO_list_unlock): Likewise.
16025 (_IO_list_resetlock): Likewise.
16026 * libio/getchar.c (getchar): Likewise.
16027 * libio/getchar_u.c (getchar_unlocked): Likewise.
16028 * libio/getwchar.c (getwchar): Likewise.
16029 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16030 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16031 * login/getpt.c (__getpt): Likewise.
16032 * login/tst-utmp.c (main): Likewise.
16033 * malloc/hooks.c (__malloc_check_init): Likewise.
16034 * malloc/malloc.c (__malloc_stats): Likewise.
16035 * malloc/mtrace.c (tr_break): Likewise.
16036 (mtrace): Likewise.
16037 (muntrace): Likewise.
16038 * misc/fstab.c (endfsent): Likewise.
16039 * misc/getclktck.c (__getclktck): Likewise.
16040 * misc/getdtsz.c (__getdtablesize): Likewise.
16041 * misc/gethostid.c (gethostid): Likewise.
16042 * misc/getpagesize.c (__getpagesize): Likewise.
16043 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16044 (__get_nprocs): Likewise.
16045 (__get_phys_pages): Likewise.
16046 (__get_avphys_pages): Likewise.
16047 * misc/getttyent.c (getttyent): Likewise.
16048 (setttyent): Likewise.
16049 (endttyent): Likewise.
16050 * misc/getusershell.c (getusershell): Likewise.
16051 (endusershell): Likewise.
16052 (setusershell): Likewise.
16053 (initshells): Likewise.
16054 * misc/hsearch.c (__hdestroy): Likewise.
16055 * misc/sync.c (sync): Likewise.
16056 * misc/syslog.c (closelog_internal): Likewise.
16057 (closelog): Likewise.
16058 * misc/ttyslot.c (ttyslot): Likewise.
16059 * misc/vhangup.c (vhangup): Likewise.
16060 * posix/fork.c (__fork): Likewise.
16061 * posix/getegid.c (__getegid): Likewise.
16062 * posix/geteuid.c (__geteuid): Likewise.
16063 * posix/getgid.c (__getgid): Likewise.
16064 * posix/getpid.c (__getpid): Likewise.
16065 * posix/getppid.c (__getppid): Likewise.
16066 * posix/getuid.c (__getuid): Likewise.
16067 * posix/pause.c (pause): Likewise.
16068 * posix/setpgrp.c (setpgrp): Likewise.
16069 * posix/setsid.c (__setsid): Likewise.
16070 * posix/test-vfork.c (noop): Likewise.
16071 * resolv/gethnamaddr.c (_endhtent): Likewise.
16072 (_gethtent): Likewise.
16073 (ht_endhostent): Likewise.
16074 (gethostent): Likewise.
16075 (dns_service): Likewise.
16076 * stdlib/drand48.c (drand48): Likewise.
16077 * stdlib/lrand48.c (lrand48): Likewise.
16078 * stdlib/mrand48.c (mrand48): Likewise.
16079 * stdlib/rand.c (rand): Likewise.
16080 * stdlib/random.c (__random): Likewise.
16081 * stdlib/setenv.c (clearenv): Likewise.
16082 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16083 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16084 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16085 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16086 (__get_nprocs): Likewise.
16087 (__get_phys_pages): Likewise.
16088 (__get_avphys_pages): Likewise.
16089 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16090 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16091 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16092 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16093 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16094 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16095 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16096 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16097 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16098 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16099 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16100 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16101 * sysdeps/posix/clock.c (clock): Likewise.
16102 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16103 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16104 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16105 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16106 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16108 (__get_nprocs_conf): Likewise.
16109 (__get_phys_pages): Likewise.
16110 (__get_avphys_pages): Likewise.
16111 * time/clock.c (clock): Likewise.
16112 * time/tzset.c (__tzname_max): Likewise.
16114 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16116 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16117 (__bswap_32): Do not use "register".
16118 * crypt/crypt.c (_ufc_doit_r): Likewise.
16119 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16120 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16121 * gmon/gmon.c (__monstartup): Likewise.
16122 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16123 * hurd/hurdmalloc.c (more_memory): Likewise.
16124 (malloc): Likewise.
16126 (realloc): Likewise.
16127 (malloc_fork_prepare): Likewise.
16128 (malloc_fork_parent): Likewise.
16129 (malloc_fork_child): Likewise.
16130 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16131 (_svcauth_des): Likewise.
16132 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16133 * inet/inet_net.c (inet_network): Likewise.
16134 * inet/inet_netof.c (inet_netof): Likewise.
16135 * inet/rcmd.c (__validuser2_sa): Likewise.
16136 * io/fts.c (fts_open): Likewise.
16137 (fts_load): Likewise.
16138 (fts_close): Likewise.
16139 (fts_read): Likewise.
16140 (fts_children): Likewise.
16141 (fts_build): Likewise.
16142 (fts_stat): Likewise.
16143 (fts_sort): Likewise.
16144 (fts_alloc): Likewise.
16145 (fts_lfree): Likewise.
16146 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16147 (_IO_file_xsgetn): Likewise.
16148 (_IO_file_xsgetn_mmap): Likewise.
16149 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16150 (_IO_cookie_write): Likewise.
16151 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16152 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16153 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16154 * malloc/obstack.c (_obstack_begin): Likewise.
16155 (_obstack_begin_1): Likewise.
16156 (_obstack_newchunk): Likewise.
16157 (_obstack_allocated_p): Likewise.
16158 (obstack_free): Likewise.
16159 (_obstack_memory_used): Likewise.
16160 * misc/getttyent.c (getttynam): Likewise.
16161 (getttyent): Likewise.
16164 * misc/getusershell.c (initshells): Likewise.
16165 * misc/syslog.c (__vsyslog_chk): Likewise.
16166 * misc/ttyslot.c (ttyslot): Likewise.
16167 * nis/nis_hash.c (__nis_hash): Likewise.
16168 * posix/fnmatch_loop.c (FCT): Likewise.
16169 * posix/getconf.c (print_all): Likewise.
16171 * posix/getopt.c (exchange): Likewise.
16172 * posix/glob.c (globfree): Likewise.
16173 (prefix_array): Likewise.
16174 (__glob_pattern_type): Likewise.
16175 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16176 (NS_GET32): Likewise.
16177 (NS_PUT16): Likewise.
16178 (NS_PUT32): Likewise.
16179 * resolv/gethnamaddr.c (getanswer): Likewise.
16180 (gethostbyname2): Likewise.
16181 (gethostbyaddr): Likewise.
16182 (_gethtent): Likewise.
16183 (_gethtbyname2): Likewise.
16184 (_gethtbyaddr): Likewise.
16185 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16186 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16187 * resolv/res_init.c (__res_vinit): Likewise.
16188 (net_mask): Likewise.
16189 * resolv/res_mkquery.c (outchar): Likewise.
16191 * stdio-common/printf_fp.c (outchar): Likewise.
16193 * stdio-common/printf_fphex.c (outchar): Likewise.
16195 * stdio-common/printf_size.c (outchar): Likewise.
16197 * stdio-common/test_rdwr.c (main): Likewise.
16198 * stdio-common/tfformat.c (matches): Likewise.
16199 * stdio-common/vfprintf.c (outchar): Likewise.
16200 (printf_unknown): Likewise.
16201 (buffered_vfprintf): Likewise.
16202 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16203 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16204 (ReadFile): Likewise.
16205 * stdlib/qsort.c (SWAP): Likewise.
16206 (_quicksort): Likewise.
16207 * stdlib/setenv.c (__add_to_environ): Likewise.
16208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16209 * stdlib/strtol_l.c (__strtol_l): Likewise.
16210 * stdlib/tst-strtod.c (main): Likewise.
16211 * stdlib/tst-strtol.c (main): Likewise.
16212 * stdlib/tst-strtoll.c (main): Likewise.
16213 * string/bits/string2.h (__strcmp_cc): Likewise.
16214 (__strcmp_cg): Likewise.
16215 (__strcspn_c1): Likewise.
16216 (__strcspn_c2): Likewise.
16217 (__strcspn_c3): Likewise.
16218 (__strspn_c1): Likewise.
16219 (__strspn_c2): Likewise.
16220 (__strspn_c3): Likewise.
16221 (__strsep_1c): Likewise.
16222 (__strsep_2c): Likewise.
16223 (__strsep_3c): Likewise.
16224 * string/memccpy.c (__memccpy): Likewise.
16225 * string/stpcpy.c (__stpcpy): Likewise.
16226 * string/strcmp.c (strcmp): Likewise.
16227 * string/strrchr.c (strrchr): Likewise.
16228 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16230 * sysdeps/mach/hurd/getcwd.c
16231 (_hurd_canonicalize_directory_name_internal): Likewise.
16232 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16233 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16234 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16235 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16236 Likewise, in both definitions.
16237 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16239 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16240 64] (__bswap_64): Likewise.
16241 * time/test_time.c (main): Likewise.
16242 * time/tzfile.c (__tzfile_read): Likewise.
16243 (__tzfile_compute): Likewise.
16244 * time/tzset.c (__tzset_parse_tz): Likewise.
16245 (tzset_internal): Likewise.
16246 (compute_change): Likewise.
16247 * wcsmbs/wcscat.c (__wcscat): Likewise.
16248 * wcsmbs/wcschr.c (wcschr): Likewise.
16249 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16250 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16251 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16252 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16253 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16254 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16255 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16256 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16257 * wcsmbs/wmemset.c (wmemset): Likewise.
16259 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16261 * scripts/config.guess: Update to version 2013-05-16.
16262 * scripts/config.sub: Update to version 2013-04-24.
16263 * scripts/install-sh: Update to version 2011-11-20.07.
16264 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16265 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16267 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16269 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16270 * elf/sln.c: Likewise.
16271 * hurd/hurd/ioctl.h: Likewise.
16272 * hurd/hurdmalloc.c: Likewise.
16273 * hurd/xattr.c: Likewise.
16274 * include/shlib-compat.h: Likewise.
16275 * inet/ruserpass.c: Likewise.
16276 * libio/iofgets_u.c: Likewise.
16277 * libio/iofgetws_u.c: Likewise.
16278 * locale/programs/ld-identification.c: Likewise.
16279 * locale/programs/ld-time.c: Likewise.
16280 * mach/msg-destroy.c: Likewise.
16281 * nss/nss_files/files-netgrp.c: Likewise.
16282 * resolv/res_data.c: Likewise.
16283 * soft-fp/op-1.h: Likewise.
16284 * soft-fp/op-2.h: Likewise.
16285 * soft-fp/op-4.h: Likewise.
16286 * soft-fp/op-common.h: Likewise.
16287 * stdio-common/printf_fphex.c: Likewise.
16288 * stdlib/strtod_l.c: Likewise.
16289 * sunrpc/rpc/clnt.h: Likewise.
16290 * sysdeps/generic/framestate.c: Likewise.
16291 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16292 * sysdeps/i386/bsd-setjmp.S: Likewise.
16293 * sysdeps/i386/__longjmp.S: Likewise.
16294 * sysdeps/i386/setjmp.S: Likewise.
16295 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16296 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16313 * sysdeps/ieee754/support.c: Likewise.
16314 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16315 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16316 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16317 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16318 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16319 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16320 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16321 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16322 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16323 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16324 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16325 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16328 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16329 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16330 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16333 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16335 * posix/transbug.c: Remove executable mode.
16337 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16339 * crypt/speeds.c: Remove trailing whitespace.
16340 * dlfcn/default.c: Likewise.
16341 * elf/ifuncdep2.c: Likewise.
16342 * elf/ifuncmain1.c: Likewise.
16343 * elf/ifuncmain1vis.c: Likewise.
16344 * elf/testobj.h: Likewise.
16345 * elf/tst-stackguard1.c: Likewise.
16346 * gmon/sys/gmon.h: Likewise.
16347 * hurd/hurdmsg.c: Likewise.
16348 * hurd/new-fd.c: Likewise.
16349 * hurd/ports-get.c: Likewise.
16350 * iconvdata/ibm1008_420.c: Likewise.
16351 * inet/tst-getni1.c: Likewise.
16352 * inet/tst-getni2.c: Likewise.
16353 * libio/ioungetc.c: Likewise.
16354 * libio/wfiledoalloc.c: Likewise.
16355 * manual/libm-err-tab.pl: Likewise.
16356 * math/w_dremf.c: Likewise.
16357 * misc/ftruncate.c: Likewise.
16358 * posix/bug-glob2.c: Likewise.
16359 * posix/tst-pcre.c: Likewise.
16360 * posix/wait4.c: Likewise.
16361 * resolv/README: Likewise.
16362 * resolv/res_debug.h: Likewise.
16363 * resolv/tst-inet_ntop.c: Likewise.
16364 * setjmp/bug269-setjmp.c: Likewise.
16365 * soft-fp/extended.h: Likewise.
16366 * soft-fp/op-1.h: Likewise.
16367 * soft-fp/op-2.h: Likewise.
16368 * soft-fp/op-4.h: Likewise.
16369 * soft-fp/op-8.h: Likewise.
16370 * soft-fp/testit.c: Likewise.
16371 * stdio-common/bug16.c: Likewise.
16372 * stdlib/random.c: Likewise.
16373 * sunrpc/rpcsvc/rquota.x: Likewise.
16374 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16375 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16377 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16378 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16379 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16380 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16381 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16382 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16383 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16384 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16385 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16386 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16387 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16389 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16390 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16391 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16392 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16393 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16403 * sysdeps/ieee754/s_lib_version.c: Likewise.
16404 * sysdeps/mach/hurd/check_fds.c: Likewise.
16405 * sysdeps/mach/hurd/getsockname.c: Likewise.
16406 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16407 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16408 * sysdeps/powerpc/bits/link.h: Likewise.
16409 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16410 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16411 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16412 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16413 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16414 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16415 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16416 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16417 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16418 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16419 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16420 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16421 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16422 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16423 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16424 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16427 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16429 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16430 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16431 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16432 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16433 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16435 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16437 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16440 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16441 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16442 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16443 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16444 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16445 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16446 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16447 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16448 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16449 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16450 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16451 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16452 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16453 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16454 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16455 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16456 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16457 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16458 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16461 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16463 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16464 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16465 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16467 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16468 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16470 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16471 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16472 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16473 * sysdeps/powerpc/sysdep.h: Likewise.
16474 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16475 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16476 * sysdeps/sh/dl-trampoline.S: Likewise.
16477 * sysdeps/sh/memset.S: Likewise.
16478 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16479 * sysdeps/sh/strlen.S: Likewise.
16480 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16481 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16482 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16483 * sysdeps/sparc/sparc32/rem.S: Likewise.
16484 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16485 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16486 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16487 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16488 * sysdeps/sparc/sparc32/urem.S: Likewise.
16489 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16490 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16491 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16492 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16494 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16495 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16496 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16497 * sysdeps/unix/bsd/times.c: Likewise.
16498 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16499 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16503 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16504 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16505 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16506 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16507 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16508 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16509 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16510 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16511 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16512 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16513 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16514 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16515 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16516 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16517 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16518 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16519 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16520 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16521 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16522 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16523 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16524 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16526 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16527 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16528 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16529 * sysdeps/x86_64/strcspn.S: Likewise.
16531 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16533 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16534 generated file. Regenerate properly from gen-translit.pl.
16535 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16536 locale/C-translit.h.
16538 2013-06-05 Andreas Schwab <schwab@suse.de>
16541 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16542 week as 6 instead of -1.
16543 * time/tst-strptime.c (day_tests): Add test case.
16545 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16547 * sysdeps/generic/math_private.h
16548 (libc_feholdexcept_setround_53bit): Replace with
16549 libc_feholdsetround_53bit.
16550 (libc_feupdateenv_53bit): Replace with
16551 libc_feresetround_53bit.
16552 (SET_RESTORE_ROUND_53BIT): Adjust.
16554 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16556 * string/test-strchrnul.c: Add copyright header.
16558 * posix/tst-getaddrinfo4.c: Increase test timeout.
16560 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16563 * math/libm-test.inc (MAX_EXP): Remove
16565 (ulp): Use MIN_EXP - MANT_DIG.
16566 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16568 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16570 * po/be.po: Revert last change.
16571 * po/zh_CN.po: Likewise.
16572 * po/header.pot: Likewise.
16574 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16576 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16577 link-libc-deps to empty as target-specific variable.
16578 * Makerules (link-libc-args): New variable.
16579 (libc-for-link): Likewise.
16580 (link-libc-deps): Likewise.
16581 (lib%.so): Depend on $(link-libc-deps). Link with
16583 (build-module): Link with $(link-libc-args).
16584 (build-module-asneeded): Likewise.
16585 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16587 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16588 target-specific variable.
16589 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16590 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16591 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16593 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16595 ($(objpfx)libpcprofile.so): Likewise.
16596 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16598 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16599 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16600 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16602 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16603 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16604 * login/Makefile ($(objpfx)libutil.so): Likewise.
16605 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16606 * math/Makefile ($(objpfx)libm.so): Likewise.
16607 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16608 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16609 variable instead of depending directly on libc.
16610 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16611 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16613 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16615 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16616 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16617 ($(objpfx)libanl.so): Likewise.
16618 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16620 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16622 * sysdeps/i386/fpu/Makefile: Remove file.
16623 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16624 ($(objpfx)libm.so): Remove dependency on ld.so.
16626 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16629 * nis/yp_xdr.c (XDRMAXNAME): Define.
16630 (XDRMAXRECORD): Define.
16631 (xdr_domainname): Use XDRMAXNAME.
16632 (xdr_mapname): Likewise.
16633 (xdr_peername): Likewise.
16634 (xdr_keydat): Use XDRMAXRECORD.
16635 (xdr_valdat): Likewise.
16637 2013-05-30 Jeff Law <law@redhat.com>
16640 * manual/errno.texi (ESTALE): Update to account for more than
16641 just NFS file systems.
16642 * sysdeps/gnu/errlist.c: Regenerated.
16644 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16647 * elf/Makefile (tests): Add tst-null-argv.
16648 (modules-names): Add tst-null-argv-lib.
16649 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16650 (tst-null-argv-ENV): Set environment for tst-null-argv.
16651 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16652 (RTLD_PROGNAME): New macro.
16653 * elf/tst-null-argv.c: New test case.
16654 * elf/tst-null-argv-lib.c: Library for test case.
16655 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16656 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16657 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16658 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16659 * elf/dl-init.c (call_init): Likewise.
16660 (_dl_init): Likewise.
16661 * elf/dl-load.c (print_search_path): Likewise.
16662 (_dl_map_object): Likewise.
16663 * elf/dl-lookup.c (do_lookup_x): Likewise.
16664 (add_dependency): Likewise.
16665 (_dl_lookup_symbol_x): Likewise.
16666 (_dl_debug_bindings): Likewise.
16667 * elf/dl-open.c (_dl_show_scope): Likewise.
16668 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16669 * elf/dl-version.c (match_symbol): Likewise.
16670 (_dl_check_map_versions): Likewise.
16671 * elf/rtld.c (dl_main): Likewise.
16672 (print_unresolved): Use RTLD_PROGNAME.
16673 (print_missing_version): Likewise.
16674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16675 (elf_machine_rela): Likewise.
16676 * sysdeps/powerpc/powerpc32/dl-machine.c
16677 (__process_machine_rela): Likewise.
16678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16680 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16682 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16684 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16691 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16693 * po/be.po: Add descriptive title.
16694 * po/zh_CN.po: Likewise.
16695 * po/header.pot: Likewise.
16697 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16699 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16701 (enlarge_archive): Likewise.
16703 2013-05-28 Ben North <ben@redfrontdoor.org>
16705 * manual/arith.texi (frexp): It is the magnitude of the return
16706 value which lies in [0.5, 1), not the return value itself.
16708 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16712 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16714 * stdio-common/bug26.c (main): Correct fscanf template.
16716 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16717 declare _dl_skip_args.
16719 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16722 * manual/platform.texi: Add missing @end deftypefun.
16724 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16728 bit of mantissa of 2^16382.
16729 * math/libm-test.inc (hypot_test_data): Add more tests.
16731 * math/libm-test.inc: Add drem and pow10 to list of tested
16733 (pow10_test): New function.
16734 (drem_test): Likewise.
16735 (drem_test_tonearest): Likewise.
16736 (drem_test_towardzero): Likewise.
16737 (drem_test_downward): Likewise.
16738 (drem_test_upward): Likewise.
16739 (main): Call the new functions.
16741 * math/libm-test.inc (finite_test_data): Remove.
16742 (finite_test): Run tests from isfinite_test_data.
16743 (gamma_test_data): Remove.
16744 (gamma_test): Run tests from lgamma_test_data.
16745 * sysdeps/i386/fpu/libm-test-ulps: Update.
16746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16748 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16750 * manual/platform.texi: Add PowerPC PPR function set documentation.
16751 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16754 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16756 * math/libm-test.inc (MAX_EXP): Define.
16758 (ulp): New function.
16759 (check_float_internal): Use ULPDIFF.
16760 (cpow_test): Disable failing test.
16761 (check_ulp): Test ulp() implemetnation.
16762 (main): Call check_ulp before starting tests.
16764 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16766 * math/gen-libm-test.pl (generate_testfile): Do not handle
16767 START_DATA and END_DATA.
16768 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16770 (acos_tonearest_test_data): Likewise.
16771 (acos_towardzero_test_data): Likewise.
16772 (acos_downward_test_data): Likewise.
16773 (acos_upward_test_data): Likewise.
16774 (acosh_test_data): Likewise.
16775 (asin_test_data): Likewise.
16776 (asin_tonearest_test_data): Likewise.
16777 (asin_towardzero_test_data): Likewise.
16778 (asin_downward_test_data): Likewise.
16779 (asin_upward_test_data): Likewise.
16780 (asinh_test_data): Likewise.
16781 (atan_test_data): Likewise.
16782 (atanh_test_data): Likewise.
16783 (atan2_test_data): Likewise.
16784 (cabs_test_data): Likewise.
16785 (cacos_test_data): Likewise.
16786 (cacosh_test_data): Likewise.
16787 (carg_test_data): Likewise.
16788 (casin_test_data): Likewise.
16789 (casinh_test_data): Likewise.
16790 (catan_test_data): Likewise.
16791 (catanh_test_data): Likewise.
16792 (cbrt_test_data): Likewise.
16793 (ccos_test_data): Likewise.
16794 (ccosh_test_data): Likewise.
16795 (ceil_test_data): Likewise.
16796 (cexp_test_data): Likewise.
16797 (cimag_test_data): Likewise.
16798 (clog_test_data): Likewise.
16799 (clog10_test_data): Likewise.
16800 (conj_test_data): Likewise.
16801 (copysign_test_data): Likewise.
16802 (cos_test_data): Likewise.
16803 (cos_tonearest_test_data): Likewise.
16804 (cos_towardzero_test_data): Likewise.
16805 (cos_downward_test_data): Likewise.
16806 (cos_upward_test_data): Likewise.
16807 (cosh_test_data): Likewise.
16808 (cosh_tonearest_test_data): Likewise.
16809 (cosh_towardzero_test_data): Likewise.
16810 (cosh_downward_test_data): Likewise.
16811 (cosh_upward_test_data): Likewise.
16812 (cpow_test_data): Likewise.
16813 (cproj_test_data): Likewise.
16814 (creal_test_data): Likewise.
16815 (csin_test_data): Likewise.
16816 (csinh_test_data): Likewise.
16817 (csqrt_test_data): Likewise.
16818 (ctan_test_data): Likewise.
16819 (ctan_tonearest_test_data): Likewise.
16820 (ctan_towardzero_test_data): Likewise.
16821 (ctan_downward_test_data): Likewise.
16822 (ctan_upward_test_data): Likewise.
16823 (ctanh_test_data): Likewise.
16824 (ctanh_tonearest_test_data): Likewise.
16825 (ctanh_towardzero_test_data): Likewise.
16826 (ctanh_downward_test_data): Likewise.
16827 (ctanh_upward_test_data): Likewise.
16828 (erf_test_data): Likewise.
16829 (erfc_test_data): Likewise.
16830 (exp_test_data): Likewise.
16831 (exp_tonearest_test_data): Likewise.
16832 (exp_towardzero_test_data): Likewise.
16833 (exp_downward_test_data): Likewise.
16834 (exp_upward_test_data): Likewise.
16835 (exp10_test_data): Likewise.
16836 (exp2_test_data): Likewise.
16837 (expm1_test_data): Likewise.
16838 (fabs_test_data): Likewise.
16839 (fdim_test_data): Likewise.
16840 (finite_test_data): Likewise.
16841 (floor_test_data): Likewise.
16842 (fma_test_data): Likewise.
16843 (fma_towardzero_test_data): Likewise.
16844 (fma_downward_test_data): Likewise.
16845 (fma_upward_test_data): Likewise.
16846 (fmax_test_data): Likewise.
16847 (fmin_test_data): Likewise.
16848 (fmod_test_data): Likewise.
16849 (fpclassify_test_data): Likewise.
16850 (frexp_test_data): Likewise.
16851 (gamma_test_data): Likewise.
16852 (hypot_test_data): Likewise.
16853 (ilogb_test_data): Likewise.
16854 (isfinite_test_data): Likewise.
16855 (isgreater_test_data): Likewise.
16856 (isgreaterequal_test_data): Likewise.
16857 (isinf_test_data): Likewise.
16858 (isless_test_data): Likewise.
16859 (islessequal_test_data): Likewise.
16860 (islessgreater_test_data): Likewise.
16861 (isnan_test_data): Likewise.
16862 (isnormal_test_data): Likewise.
16863 (issignaling_test_data): Likewise.
16864 (isunordered_test_data): Likewise.
16865 (j0_test_data): Likewise.
16866 (j1_test_data): Likewise.
16867 (jn_test_data): Likewise.
16868 (ldexp_test_data): Likewise.
16869 (lgamma_test_data): Likewise.
16870 (lrint_test_data): Likewise.
16871 (lrint_tonearest_test_data): Likewise.
16872 (lrint_towardzero_test_data): Likewise.
16873 (lrint_downward_test_data): Likewise.
16874 (lrint_upward_test_data): Likewise.
16875 (llrint_test_data): Likewise.
16876 (llrint_tonearest_test_data): Likewise.
16877 (llrint_towardzero_test_data): Likewise.
16878 (llrint_downward_test_data): Likewise.
16879 (llrint_upward_test_data): Likewise.
16880 (log_test_data): Likewise.
16881 (log10_test_data): Likewise.
16882 (log1p_test_data): Likewise.
16883 (log2_test_data): Likewise.
16884 (logb_test_data): Likewise.
16885 (logb_downward_test_data): Likewise.
16886 (lround_test_data): Likewise.
16887 (llround_test_data): Likewise.
16888 (modf_test_data): Likewise.
16889 (nearbyint_test_data): Likewise.
16890 (nextafter_test_data): Likewise.
16891 (nexttoward_test_data): Likewise.
16892 (pow_test_data): Likewise.
16893 (pow_tonearest_test_data): Likewise.
16894 (pow_towardzero_test_data): Likewise.
16895 (pow_downward_test_data): Likewise.
16896 (pow_upward_test_data): Likewise.
16897 (remainder_test_data): Likewise.
16898 (remainder_tonearest_test_data): Likewise.
16899 (remainder_towardzero_test_data): Likewise.
16900 (remainder_downward_test_data): Likewise.
16901 (remainder_upward_test_data): Likewise.
16902 (remquo_test_data): Likewise.
16903 (rint_test_data): Likewise.
16904 (rint_tonearest_test_data): Likewise.
16905 (rint_towardzero_test_data): Likewise.
16906 (rint_downward_test_data): Likewise.
16907 (rint_upward_test_data): Likewise.
16908 (round_test_data): Likewise.
16909 (scalb_test_data): Likewise.
16910 (scalbn_test_data): Likewise.
16911 (scalbln_test_data): Likewise.
16912 (signbit_test_data): Likewise.
16913 (sin_test_data): Likewise.
16914 (sin_tonearest_test_data): Likewise.
16915 (sin_towardzero_test_data): Likewise.
16916 (sin_downward_test_data): Likewise.
16917 (sin_upward_test_data): Likewise.
16918 (sincos_test_data): Likewise.
16919 (sinh_test_data): Likewise.
16920 (sinh_tonearest_test_data): Likewise.
16921 (sinh_towardzero_test_data): Likewise.
16922 (sinh_downward_test_data): Likewise.
16923 (sinh_upward_test_data): Likewise.
16924 (sqrt_test_data): Likewise.
16925 (tan_test_data): Likewise.
16926 (tan_tonearest_test_data): Likewise.
16927 (tan_towardzero_test_data): Likewise.
16928 (tan_downward_test_data): Likewise.
16929 (tan_upward_test_data): Likewise.
16930 (tanh_test_data): Likewise.
16931 (tgamma_test_data): Likewise.
16932 (trunc_test_data): Likewise.
16933 (y0_test_data): Likewise.
16934 (y1_test_data): Likewise.
16935 (yn_test_data): Likewise.
16936 (significand_test_data): Likewise.
16938 * math/gen-libm-test.pl (@functions): Remove variable.
16939 (generate_testfile): Don't handle START and END lines.
16940 * math/libm-test.inc (START): New macro.
16942 (END_COMPLEX): Likewise.
16943 (acos_test): Use END macro without arguments.
16944 (acos_test_tonearest): Likewise.
16945 (acos_test_towardzero): Likewise.
16946 (acos_test_downward): Likewise.
16947 (acos_test_upward): Likewise.
16948 (acosh_test): Likewise.
16949 (asin_test): Likewise.
16950 (asin_test_tonearest): Likewise.
16951 (asin_test_towardzero): Likewise.
16952 (asin_test_downward): Likewise.
16953 (asin_test_upward): Likewise.
16954 (asinh_test): Likewise.
16955 (atan_test): Likewise.
16956 (atanh_test): Likewise.
16957 (atan2_test): Likewise.
16958 (cabs_test): Likewise.
16959 (cacos_test): Use END_COMPLEX macro without arguments.
16960 (cacosh_test): Likewise.
16961 (carg_test): Use END macro without arguments.
16962 (casin_test): Use END_COMPLEX macro without arguments.
16963 (casinh_test): Likewise.
16964 (catan_test): Likewise.
16965 (catanh_test): Likewise.
16966 (cbrt_test): Use END macro without arguments.
16967 (ccos_test): Use END_COMPLEX macro without arguments.
16968 (ccosh_test): Likewise.
16969 (ceil_test): Use END macro without arguments.
16970 (cexp_test): Use END_COMPLEX macro without arguments.
16971 (cimag_test): Use END macro without arguments.
16972 (clog_test): Use END_COMPLEX macro without arguments.
16973 (clog10_test): Likewise.
16974 (conj_test): Likewise.
16975 (copysign_test): Use END macro without arguments.
16976 (cos_test): Likewise.
16977 (cos_test_tonearest): Likewise.
16978 (cos_test_towardzero): Likewise.
16979 (cos_test_downward): Likewise.
16980 (cos_test_upward): Likewise.
16981 (cosh_test): Likewise.
16982 (cosh_test_tonearest): Likewise.
16983 (cosh_test_towardzero): Likewise.
16984 (cosh_test_downward): Likewise.
16985 (cosh_test_upward): Likewise.
16986 (cpow_test): Use END_COMPLEX macro without arguments.
16987 (cproj_test): Likewise.
16988 (creal_test): Use END macro without arguments.
16989 (csin_test): Use END_COMPLEX macro without arguments.
16990 (csinh_test): Likewise.
16991 (csqrt_test): Likewise.
16992 (ctan_test): Likewise.
16993 (ctan_test_tonearest): Likewise.
16994 (ctan_test_towardzero): Likewise.
16995 (ctan_test_downward): Likewise.
16996 (ctan_test_upward): Likewise.
16997 (ctanh_test): Likewise.
16998 (ctanh_test_tonearest): Likewise.
16999 (ctanh_test_towardzero): Likewise.
17000 (ctanh_test_downward): Likewise.
17001 (ctanh_test_upward): Likewise.
17002 (erf_test): Use END macro without arguments.
17003 (erfc_test): Likewise.
17004 (exp_test): Likewise.
17005 (exp_test_tonearest): Likewise.
17006 (exp_test_towardzero): Likewise.
17007 (exp_test_downward): Likewise.
17008 (exp_test_upward): Likewise.
17009 (exp10_test): Likewise.
17010 (exp2_test): Likewise.
17011 (expm1_test): Likewise.
17012 (fabs_test): Likewise.
17013 (fdim_test): Likewise.
17014 (finite_test): Likewise.
17015 (floor_test): Likewise.
17016 (fma_test): Likewise.
17017 (fma_test_towardzero): Likewise.
17018 (fma_test_downward): Likewise.
17019 (fma_test_upward): Likewise.
17020 (fmax_test): Likewise.
17021 (fmin_test): Likewise.
17022 (fmod_test): Likewise.
17023 (fpclassify_test): Likewise.
17024 (frexp_test): Likewise.
17025 (gamma_test): Likewise.
17026 (hypot_test): Likewise.
17027 (ilogb_test): Likewise.
17028 (isfinite_test): Likewise.
17029 (isgreater_test): Likewise.
17030 (isgreaterequal_test): Likewise.
17031 (isinf_test): Likewise.
17032 (isless_test): Likewise.
17033 (islessequal_test): Likewise.
17034 (islessgreater_test): Likewise.
17035 (isnan_test): Likewise.
17036 (isnormal_test): Likewise.
17037 (issignaling_test): Likewise.
17038 (isunordered_test): Likewise.
17039 (j0_test): Likewise.
17040 (j1_test): Likewise.
17041 (jn_test): Likewise.
17042 (ldexp_test): Likewise.
17043 (lgamma_test): Likewise.
17044 (lrint_test): Likewise.
17045 (lrint_test_tonearest): Likewise.
17046 (lrint_test_towardzero): Likewise.
17047 (lrint_test_downward): Likewise.
17048 (lrint_test_upward): Likewise.
17049 (llrint_test): Likewise.
17050 (llrint_test_tonearest): Likewise.
17051 (llrint_test_towardzero): Likewise.
17052 (llrint_test_downward): Likewise.
17053 (llrint_test_upward): Likewise.
17054 (log_test): Likewise.
17055 (log10_test): Likewise.
17056 (log1p_test): Likewise.
17057 (log2_test): Likewise.
17058 (logb_test): Likewise.
17059 (logb_test_downward): Likewise.
17060 (lround_test): Likewise.
17061 (llround_test): Likewise.
17062 (modf_test): Likewise.
17063 (nearbyint_test): Likewise.
17064 (nextafter_test): Likewise.
17065 (nexttoward_test): Likewise.
17066 (pow_test): Likewise.
17067 (pow_test_tonearest): Likewise.
17068 (pow_test_towardzero): Likewise.
17069 (pow_test_downward): Likewise.
17070 (pow_test_upward): Likewise.
17071 (remainder_test): Likewise.
17072 (remainder_test_tonearest): Likewise.
17073 (remainder_test_towardzero): Likewise.
17074 (remainder_test_downward): Likewise.
17075 (remainder_test_upward): Likewise.
17076 (remquo_test): Likewise.
17077 (rint_test): Likewise.
17078 (rint_test_tonearest): Likewise.
17079 (rint_test_towardzero): Likewise.
17080 (rint_test_downward): Likewise.
17081 (rint_test_upward): Likewise.
17082 (round_test): Likewise.
17083 (scalb_test): Likewise.
17084 (scalbn_test): Likewise.
17085 (scalbln_test): Likewise.
17086 (signbit_test): Likewise.
17087 (sin_test): Likewise.
17088 (sin_test_tonearest): Likewise.
17089 (sin_test_towardzero): Likewise.
17090 (sin_test_downward): Likewise.
17091 (sin_test_upward): Likewise.
17092 (sincos_test): Likewise.
17093 (sinh_test): Likewise.
17094 (sinh_test_tonearest): Likewise.
17095 (sinh_test_towardzero): Likewise.
17096 (sinh_test_downward): Likewise.
17097 (sinh_test_upward): Likewise.
17098 (sqrt_test): Likewise.
17099 (tan_test): Likewise.
17100 (tan_test_tonearest): Likewise.
17101 (tan_test_towardzero): Likewise.
17102 (tan_test_downward): Likewise.
17103 (tan_test_upward): Likewise.
17104 (tanh_test): Likewise.
17105 (tgamma_test): Likewise.
17106 (trunc_test): Likewise.
17107 (y0_test): Likewise.
17108 (y1_test): Likewise.
17109 (yn_test): Likewise.
17110 (significand_test): Likewise.
17112 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17115 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17117 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17120 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17121 __ppc_mdoio and __ppc_mdoom.
17122 * manual/platform.texi: Document new functions __ppc_yield,
17123 __ppc_mdoio and __ppc_mdoom.
17125 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17127 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17128 (main): Mention "tls" pseudo-hwcap is legacy.
17129 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17131 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17133 * math/gen-libm-test.pl (parse_args): Output only string of
17134 arguments as text for test name, not full call or descriptions of
17135 tests for extra outputs.
17136 (generate_testfile): Do not pass function name to parse_args.
17137 Generate this_func variable from START.
17138 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17140 (struct test_ff_f_data): Likewise.
17141 (test_ff_f_data_nexttoward): Likewise.
17142 (struct test_fi_f_data): Likewise.
17143 (struct test_fl_f_data): Likewise.
17144 (struct test_if_f_data): Likewise.
17145 (struct test_fff_f_data): Likewise.
17146 (struct test_c_f_data): Likewise.
17147 (struct test_f_f1_data): Likewise. Remove field extra_name.
17148 (struct test_fF_f1_data): Likewise.
17149 (struct test_ffI_f1_data): Likewise.
17150 (struct test_c_c_data): Rename test_name field to arg_str.
17151 (struct test_cc_c_data): Likewise.
17152 (struct test_f_i_data): Likewise.
17153 (struct test_ff_i_data): Likewise.
17154 (struct test_f_l_data): Likewise.
17155 (struct test_f_L_data): Likewise.
17156 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17158 (COMMON_TEST_SETUP): New macro.
17159 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17160 (COMMON_TEST_CLEANUP): Likewise.
17161 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17162 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17164 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17165 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17167 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17168 (RUN_TEST_fff_f): Take argument string. Call new setup and
17170 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17171 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17173 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17174 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17176 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17177 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17179 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17180 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17182 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17183 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17185 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17186 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17188 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17189 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17191 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17192 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17194 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17195 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17197 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17198 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17200 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17201 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17203 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17204 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17206 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17207 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17209 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17210 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17212 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17213 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17215 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17217 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17219 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17220 to _sifields.sigfault.
17221 (si_addr_lsb): Define new macro.
17222 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17223 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17224 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17226 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17229 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17231 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17233 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17234 loading the domain.
17236 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17238 * math/gen-libm-test.pl (parse_args): Do not include expected
17239 result in test name.
17240 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17242 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17243 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17247 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17249 * benchtests/Makefile: Sort function entries.
17251 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17252 tanh, asinh, acosh, atanh.
17253 * benchtests/acos-inputs: New file.
17254 * benchtests/acosh-inputs: New file.
17255 * benchtests/asin-inputs: New file.
17256 * benchtests/asinh-inputs: New file.
17257 * benchtests/atanh-inputs: New file.
17258 * benchtests/cosh-inputs: New file.
17259 * benchtests/log-inputs: New file.
17260 * benchtests/sinh-inputs: New file.
17261 * benchtests/tanh-inputs: New file.
17263 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17266 * posix/tst-getaddrinfo4.c: New test.
17267 * posix/Makefile (tests): Add it.
17269 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17272 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17273 when no services were used.
17274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17275 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17277 2013-05-21 Andreas Schwab <schwab@suse.de>
17280 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17281 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17283 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17284 redundant variable declarations and reallocation of buffer when
17285 parsing as IPv6 address. Always set NSS status when called from
17286 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17287 buffer too small. Correct computation of needed size.
17288 * nss/Makefile (tests): Add test-digits-dots.
17289 * nss/test-digits-dots.c: New test.
17291 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17293 * benchtests/Makefile: Remove instructions for adding
17295 * benchtests/README: New file to explain how to execute and
17296 enhance the benchmark tests.
17298 2013-05-21 Andreas Schwab <schwab@suse.de>
17301 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17302 * setjmp/tst-sigsetjmp.c: New test.
17304 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17306 * sysdeps/x86_64/memset.S (memset): New implementation.
17307 (__bzero): Likewise.
17308 (__memset_tail): New function.
17310 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17312 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17313 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17314 __memcpy_sse2_unaligned ifunc selection.
17315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17316 Add memcpy-sse2-unaligned.S.
17317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17318 Add: __memcpy_sse2_unaligned.
17320 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17323 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17324 math_force_eval before restoring floating-point envrionment.
17325 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17328 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17330 (__nearbyintl): Use math_force_eval before restoring
17331 floating-point environment.
17332 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17334 * math/gen-libm-test.pl (special_functions): Remove.
17335 (parse_args): Don't handle TEST_extra. Handle functions with no
17337 * math/libm-test.inc (struct test_sincos_data): Replace with
17338 struct test_fFF_11_data.
17339 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17340 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17341 (sincos_test_data): Change element type to struct
17342 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17343 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17344 RUN_TEST_LOOP_sincos.
17345 * math/README.libm-test: Don't mention special handling of
17346 individual functions.
17347 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17349 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17350 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17351 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17354 * math/gen-libm-test.pl (get_variable): Remove function.
17355 (parse_args): Don't show pointer parameters to call in test
17356 names. Use "extra output N" in test names for extra outputs
17357 rather than naming variables.
17359 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17362 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17363 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17364 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17366 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17368 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17371 * math/gen-libm-test.pl (@tests): Remove variable.
17372 ($count): Likewise.
17373 (new_test): Remove function.
17374 (show_exceptions): New function.
17375 (special_functions): Use show_exceptions instead of new_test.
17376 (parse_args): Likewise.
17377 (generate_testfile): Pass only function name in generated call to
17378 print_max_error or print_complex_max_error.
17379 (get_ulps): Do not handle complex tests specially.
17380 (output_test): Rename to ...
17381 (get_all_ulps_for_test): ... this. Return a string rather than
17382 printing to a file. Require ulps to be present.
17383 (output_ulps): Generate arrays rather than #defines.
17384 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17385 (struct ulp_data): New type.
17386 (BUILD_COMPLEX_ULP): Remove macro.
17387 (compare_ulp_data): New function.
17388 (find_ulps): Likewise.
17389 (find_test_ulps): Likewise.
17390 (find_function_ulps): Likewise.
17391 (find_complex_function_ulps): Likewise.
17392 (print_max_error): Determine allowed ulps using
17393 find_function_ulps.
17394 (print_complex_max_error): Determine allowed ulps using
17395 find_complex_function_ulps.
17396 (check_float_internal): Determine max ulps using find_test_ulps.
17397 (check_float): Do not take max_ulp parameter. Update call to
17398 check_float_internal.
17399 (check_complex): Likewise.
17400 (check_int): Do not take max_ulp parameter.
17401 (check_long): Likewise.
17402 (check_bool): Likewise.
17403 (check_longlong): Likewise.
17404 (struct test_f_f_data): Remove max_ulp field.
17405 (struct test_ff_f_data): Likewise.
17406 (struct test_ff_f_data_nexttoward): Likewise.
17407 (struct test_fi_f_data): Likewise.
17408 (struct test_fl_f_data): Likewise.
17409 (struct test_if_f_data): Likewise.
17410 (struct test_fff_f_data): Likewise.
17411 (struct test_c_f_data): Likewise.
17412 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17413 (struct test_fF_f1_data): Likewise.
17414 (struct test_ffI_f1_data): Likewise.
17415 (struct test_c_c_data): Remove max_ulp field.
17416 (struct test_cc_c_data): Likewise.
17417 (struct test_f_i_data): Likewise.
17418 (struct test_ff_i_data): Likewise.
17419 (struct test_f_l_data): Likewise.
17420 (struct test_f_L_data): Likewise.
17421 (struct test_sincos_data): Likewise.
17422 (RUN_TEST_f_f): Do not handle ulps.
17423 (RUN_TEST_LOOP_f_f): Likewise.
17424 (RUN_TEST_2_f): Likewise.
17425 (RUN_TEST_LOOP_2_f): Likewise.
17426 (RUN_TEST_fff_f): Likewise.
17427 (RUN_TEST_LOOP_fff_f): Likewise.
17428 (RUN_TEST_c_f): Likewise.
17429 (RUN_TEST_LOOP_c_f): Likewise.
17430 (RUN_TEST_f_f1): Likewise.
17431 (RUN_TEST_LOOP_f_f1): Likewise.
17432 (RUN_TEST_fF_f1): Likewise.
17433 (RUN_TEST_LOOP_fF_f1): Likewise.
17434 (RUN_TEST_fI_f1): Likewise.
17435 (RUN_TEST_LOOP_fI_f1): Likewise.
17436 (RUN_TEST_ffI_f1): Likewise.
17437 (RUN_TEST_LOOP_ffI_f1): Likewise.
17438 (RUN_TEST_c_c): Likewise.
17439 (RUN_TEST_LOOP_c_c): Likewise.
17440 (RUN_TEST_cc_c): Likewise.
17441 (RUN_TEST_LOOP_cc_c): Likewise.
17442 (RUN_TEST_f_i): Likewise.
17443 (RUN_TEST_LOOP_f_i): Likewise.
17444 (RUN_TEST_f_i_tg): Likewise.
17445 (RUN_TEST_LOOP_f_i_tg): Likewise.
17446 (RUN_TEST_ff_i_tg): Likewise.
17447 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17448 (RUN_TEST_f_b): Likewise.
17449 (RUN_TEST_LOOP_f_b): Likewise.
17450 (RUN_TEST_f_b_tg): Likewise.
17451 (RUN_TEST_LOOP_f_b_tg): Likewise.
17452 (RUN_TEST_f_l): Likewise.
17453 (RUN_TEST_LOOP_f_l): Likewise.
17454 (RUN_TEST_f_L): Likewise.
17455 (RUN_TEST_LOOP_f_L): Likewise.
17456 (RUN_TEST_sincos): Likewise.
17457 (RUN_TEST_LOOP_sincos): Likewise.
17459 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17463 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17464 main case of finite arguments, set rounding mode to FE_TONEAREST
17465 and discard exceptions.
17466 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17468 (remainder_tonearest_test_data): New variable.
17469 (remainder_test_tonearest): New function.
17470 (remainder_towardzero_test_data): New variable.
17471 (remainder_test_towardzero): New function.
17472 (remainder_downward_test_data): New variable.
17473 (remainder_test_downward): New function.
17474 (remainder_upward_test_data): New variable.
17475 (remainder_test_upward): New function.
17476 (main): Call the new test functions.
17478 * math/libm-test.inc (struct test_f_f1_data): Remove field
17480 (struct test_fF_f1_data): Likewise.
17481 (struct test_ffI_f1_data): Likewise.
17482 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17483 based on value of EXTRA_EXPECTED.
17484 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17485 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17486 EXTRA_VAR based on value of EXTRA_EXPECTED.
17487 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17488 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17489 EXTRA_VAR based on value of EXTRA_EXPECTED.
17490 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17491 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17492 EXTRA_VAR based on value of EXTRA_EXPECTED.
17493 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17494 * math/gen-libm-test.pl (parse_args): Don't output initializers
17495 for extra output values.
17497 * math/libm-test.inc (check_int): Expect result to be exactly
17498 equal to expected value and do not handle ulps.
17499 (check_long): Likewise.
17500 (check_longlong): Likewise.
17502 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17504 (cimag_test_data): Likewise.
17505 (conj_test_data): Likewise.
17506 (copysign_test_data): Likewise.
17507 (cproj_test_data): Likewise.
17508 (creal_test_data): Likewise.
17509 (fabs_test_data): Likewise.
17510 (fdim_test_data): Likewise.
17511 (finite_test_data): Likewise.
17512 (floor_test_data): Likewise.
17513 (fmax_test_data): Likewise.
17514 (fmin_test_data): Likewise.
17515 (fmod_test_data): Likewise.
17516 (fpclassify_test_data): Likewise.
17517 (frexp_test_data): Likewise.
17518 (ilogb_test_data): Likewise.
17519 (isfinite_test_data): Likewise.
17520 (isgreater_test_data): Likewise.
17521 (isgreaterequal_test_data): Likewise.
17522 (isinf_test_data): Likewise.
17523 (isless_test_data): Likewise.
17524 (islessequal_test_data): Likewise.
17525 (islessgreater_test_data): Likewise.
17526 (isnan_test_data): Likewise.
17527 (isnormal_test_data): Likewise.
17528 (issignaling_test_data): Likewise.
17529 (isunordered_test_data): Likewise.
17530 (ldexp_test_data): Likewise.
17531 (lrint_test_data): Likewise.
17532 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17533 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17534 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17535 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17536 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17537 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17539 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17540 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17541 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17542 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17544 (lrint_downward_test_data): Test for "inexact" exceptions.
17545 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17546 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17547 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17549 (lrint_upward_test_data): Test for "inexact" exceptions.
17550 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17552 (llrint_test_data): Test for "inexact" exceptions.
17553 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17554 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17555 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17556 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17557 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17558 (llrint_downward_test_data): Test for "inexact" exceptions.
17559 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17560 (llrint_upward_test_data): Test for "inexact" exceptions.
17561 (logb_test_data): Likewise.
17562 (logb_downward_test_data): Likewise.
17563 (nextafter_test_data): Likewise.
17564 (nexttoward_test_data): Likewise.
17565 (remainder_test_data): Likewise.
17566 (remquo_test_data): Likewise.
17567 (scalbn_test_data): Likewise.
17568 (scalbln_test_data): Likewise.
17569 (signbit_test_data): Likewise.
17570 (sqrt_test_data): Likewise.
17571 (significand_test_data): Likewise.
17573 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17576 * benchtests/bench-modf.c (struct args): Mark arg0 as
17578 * scripts/bench.pl: Mark members of struct args as volatile.
17580 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17583 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17584 negative infinity on POWER6 or lower.
17585 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17587 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17590 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17591 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17592 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17593 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17594 (_FP_SETQNAN): New macro.
17595 (_FP_SETQNAN_SEMIRAW): Likewise.
17596 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17597 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17598 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17599 (FP_EXTEND): Use _FP_FRAC_SNANP.
17600 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17601 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17603 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17605 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17608 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17610 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17611 with DIVIDE_BY_ZERO_EXCEPTION.
17612 (gamma_test_data): Likewise.
17613 (lgamma_test_data): Likewise.
17614 (log_test_data): Likewise.
17615 (log10_test_data): Likewise.
17616 (log2_test_data): Likewise.
17617 (tgamma_test_data): Likewise.
17619 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17620 (acos_test_tonearest): Likewise.
17621 (acos_test_towardzero): Likewise.
17622 (acos_test_downward): Likewise.
17623 (acos_test_upward): Likewise.
17624 (acosh_test): Likewise.
17625 (asin_test): Likewise.
17626 (asin_test_tonearest): Likewise.
17627 (asin_test_towardzero): Likewise.
17628 (asin_test_downward): Likewise.
17629 (asin_test_upward): Likewise.
17630 (asinh_test): Likewise.
17631 (atan_test): Likewise.
17632 (atanh_test): Likewise.
17633 (atan2_test): Likewise.
17634 (cabs_test): Likewise.
17635 (cacos_test): Likewise.
17636 (cacosh_test): Likewise.
17637 (casin_test): Likewise.
17638 (casinh_test): Likewise.
17639 (catan_test): Likewise.
17640 (catanh_test): Likewise.
17641 (cbrt_test): Likewise.
17642 (ccos_test): Likewise.
17643 (ccosh_test): Likewise.
17644 (cexp_test): Likewise.
17645 (clog_test): Likewise.
17646 (clog10_test): Likewise.
17647 (cos_test): Likewise.
17648 (cos_test_tonearest): Likewise.
17649 (cos_test_towardzero): Likewise.
17650 (cos_test_downward): Likewise.
17651 (cos_test_upward): Likewise.
17652 (cosh_test): Likewise.
17653 (cosh_test_tonearest): Likewise.
17654 (cosh_test_towardzero): Likewise.
17655 (cosh_test_downward): Likewise.
17656 (cosh_test_upward): Likewise.
17657 (cpow_test): Likewise.
17658 (csin_test): Likewise.
17659 (csinh_test): Likewise.
17660 (csqrt_test): Likewise.
17661 (ctan_test): Likewise.
17662 (ctan_test_tonearest): Likewise.
17663 (ctan_test_towardzero): Likewise.
17664 (ctan_test_downward): Likewise.
17665 (ctan_test_upward): Likewise.
17666 (ctanh_test): Likewise.
17667 (ctanh_test_tonearest): Likewise.
17668 (ctanh_test_towardzero): Likewise.
17669 (ctanh_test_downward): Likewise.
17670 (ctanh_test_upward): Likewise.
17671 (erf_test): Likewise.
17672 (erfc_test): Likewise.
17673 (exp_test): Likewise.
17674 (exp_test_tonearest): Likewise.
17675 (exp_test_towardzero): Likewise.
17676 (exp_test_downward): Likewise.
17677 (exp_test_upward): Likewise.
17678 (exp10_test): Likewise.
17679 (exp2_test): Likewise.
17680 (expm1_test): Likewise.
17681 (fmod_test): Likewise.
17682 (gamma_test): Likewise.
17683 (hypot_test): Likewise.
17684 (j0_test): Likewise.
17685 (j1_test): Likewise.
17686 (jn_test): Likewise.
17687 (lgamma_test): Likewise.
17688 (log_test): Likewise.
17689 (log10_test): Likewise.
17690 (log1p_test): Likewise.
17691 (log2_test): Likewise.
17692 (logb_test_downward): Likewise.
17693 (pow_test): Likewise.
17694 (pow_test_tonearest): Likewise.
17695 (pow_test_towardzero): Likewise.
17696 (pow_test_downward): Likewise.
17697 (pow_test_upward): Likewise.
17698 (remainder_test): Likewise.
17699 (remquo_test): Likewise.
17700 (sin_test): Likewise.
17701 (sin_test_tonearest): Likewise.
17702 (sin_test_towardzero): Likewise.
17703 (sin_test_downward): Likewise.
17704 (sin_test_upward): Likewise.
17705 (sincos_test): Likewise.
17706 (sinh_test): Likewise.
17707 (sinh_test_tonearest): Likewise.
17708 (sinh_test_towardzero): Likewise.
17709 (sinh_test_downward): Likewise.
17710 (sinh_test_upward): Likewise.
17711 (sqrt_test): Likewise.
17712 (tan_test): Likewise.
17713 (tan_test_tonearest): Likewise.
17714 (tan_test_towardzero): Likewise.
17715 (tan_test_downward): Likewise.
17716 (tan_test_upward): Likewise.
17717 (tanh_test): Likewise.
17718 (tgamma_test): Likewise.
17719 (y0_test): Likewise.
17720 (y1_test): Likewise.
17721 (yn_test): Likewise.
17723 * math/gen-libm-test.pl (adjust_arg): Remove function.
17724 (special_function): Remove argument $in_func. Only handle
17725 generating output for tables of tests, not inside functions.
17726 (parse_args): Likewise.
17727 (generate_testfile): Remove variable $in_func. Update call to
17729 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17730 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17731 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17732 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17733 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17734 (MAX_VALUE_INIT): Rename macro to max_value.
17735 (MIN_VALUE_INIT): Rename macro to min_value.
17736 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17737 (plus_zero): Remove variable.
17738 (minus_zero): Likewise.
17739 (plus_infty): Likewise.
17740 (minus_infty): Likewise.
17741 (qnan_value): Likewise.
17742 (max_value): Likewise.
17743 (min_value): Likewise.
17744 (min_subnorm_value): Likewise.
17746 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17748 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17749 uint64_t or uint32_t usage.
17750 * crypt/sha256-block.c: Likewise.
17751 * crypt/sha256-crypt.c: Likewise.
17752 * crypt/sha256.c: Likewise.
17753 * crypt/sha512-block.c: Likewise.
17754 * crypt/sha512-crypt.c: Likewise.
17755 * crypt/sha512.c: Likewise.
17756 * debug/backtrace-tst.c: Likewise.
17757 * debug/pcprofiledump.c: Likewise.
17758 * elf/cache.c: Likewise.
17759 * elf/dl-cache.c: Likewise.
17760 * elf/dl-misc.c: Likewise.
17761 * elf/dl-profile.c: Likewise.
17762 * elf/dl-support.c: Likewise.
17763 * elf/ldconfig.c: Likewise.
17764 * elf/sprof.c: Likewise.
17765 * iconv/dummy-repertoire.c: Likewise.
17766 * iconv/iconv_charmap.c: Likewise.
17767 * iconv/skeleton.c: Likewise.
17768 * iconvdata/8bit-generic.c: Likewise.
17769 * iconvdata/cp737.h: Likewise.
17770 * iconvdata/cp775.h: Likewise.
17771 * iconvdata/ibm1008.h: Likewise.
17772 * iconvdata/ibm1025.h: Likewise.
17773 * iconvdata/ibm1046.h: Likewise.
17774 * iconvdata/ibm1097.h: Likewise.
17775 * iconvdata/ibm1112.h: Likewise.
17776 * iconvdata/ibm1122.h: Likewise.
17777 * iconvdata/ibm1123.h: Likewise.
17778 * iconvdata/ibm1124.h: Likewise.
17779 * iconvdata/ibm1129.h: Likewise.
17780 * iconvdata/ibm1130.h: Likewise.
17781 * iconvdata/ibm1132.h: Likewise.
17782 * iconvdata/ibm1133.h: Likewise.
17783 * iconvdata/ibm1137.h: Likewise.
17784 * iconvdata/ibm1140.h: Likewise.
17785 * iconvdata/ibm1141.h: Likewise.
17786 * iconvdata/ibm1142.h: Likewise.
17787 * iconvdata/ibm1143.h: Likewise.
17788 * iconvdata/ibm1144.h: Likewise.
17789 * iconvdata/ibm1145.h: Likewise.
17790 * iconvdata/ibm1146.h: Likewise.
17791 * iconvdata/ibm1147.h: Likewise.
17792 * iconvdata/ibm1148.h: Likewise.
17793 * iconvdata/ibm1149.h: Likewise.
17794 * iconvdata/ibm1153.h: Likewise.
17795 * iconvdata/ibm1154.h: Likewise.
17796 * iconvdata/ibm1155.h: Likewise.
17797 * iconvdata/ibm1156.h: Likewise.
17798 * iconvdata/ibm1157.h: Likewise.
17799 * iconvdata/ibm1158.h: Likewise.
17800 * iconvdata/ibm1160.h: Likewise.
17801 * iconvdata/ibm1161.h: Likewise.
17802 * iconvdata/ibm1162.h: Likewise.
17803 * iconvdata/ibm1163.h: Likewise.
17804 * iconvdata/ibm1164.h: Likewise.
17805 * iconvdata/ibm1166.h: Likewise.
17806 * iconvdata/ibm1167.h: Likewise.
17807 * iconvdata/ibm12712.h: Likewise.
17808 * iconvdata/ibm1390.h: Likewise.
17809 * iconvdata/ibm1399.h: Likewise.
17810 * iconvdata/ibm16804.h: Likewise.
17811 * iconvdata/ibm4517.h: Likewise.
17812 * iconvdata/ibm4899.h: Likewise.
17813 * iconvdata/ibm4909.h: Likewise.
17814 * iconvdata/ibm4971.h: Likewise.
17815 * iconvdata/ibm5347.h: Likewise.
17816 * iconvdata/ibm803.h: Likewise.
17817 * iconvdata/ibm856.h: Likewise.
17818 * iconvdata/ibm901.h: Likewise.
17819 * iconvdata/ibm902.h: Likewise.
17820 * iconvdata/ibm9030.h: Likewise.
17821 * iconvdata/ibm9066.h: Likewise.
17822 * iconvdata/ibm921.h: Likewise.
17823 * iconvdata/ibm922.h: Likewise.
17824 * iconvdata/ibm9448.h: Likewise.
17825 * iconvdata/isiri-3342.h: Likewise.
17826 * iconvdata/jis0201.h: Likewise.
17827 * include/link.h: Likewise.
17828 * include/netdb.h: Likewise.
17829 * inet/check_native.c: Likewise.
17830 * inet/check_pf.c: Likewise.
17831 * inet/getipv4sourcefilter.c: Likewise.
17832 * inet/getnameinfo.c: Likewise.
17833 * inet/getsourcefilter.c: Likewise.
17834 * inet/htonl.c: Likewise.
17835 * inet/setipv4sourcefilter.c: Likewise.
17836 * inet/setsourcefilter.c: Likewise.
17837 * inet/test-inet6_opt.c: Likewise.
17838 * inet/tst-network.c: Likewise.
17839 * locale/C-collate.c: Likewise.
17840 * locale/C-ctype.c: Likewise.
17841 * locale/C-time.c: Likewise.
17842 * locale/C-translit.h: Likewise.
17843 * locale/loadarchive.c: Likewise.
17844 * locale/programs/3level.h: Likewise.
17845 * locale/programs/charmap.c: Likewise.
17846 * locale/programs/charmap.h: Likewise.
17847 * locale/programs/ld-address.c: Likewise.
17848 * locale/programs/ld-collate.c: Likewise.
17849 * locale/programs/ld-ctype.c: Likewise.
17850 * locale/programs/ld-identification.c: Likewise.
17851 * locale/programs/ld-measurement.c: Likewise.
17852 * locale/programs/ld-messages.c: Likewise.
17853 * locale/programs/ld-monetary.c: Likewise.
17854 * locale/programs/ld-name.c: Likewise.
17855 * locale/programs/ld-numeric.c: Likewise.
17856 * locale/programs/ld-paper.c: Likewise.
17857 * locale/programs/ld-telephone.c: Likewise.
17858 * locale/programs/ld-time.c: Likewise.
17859 * locale/programs/linereader.c: Likewise.
17860 * locale/programs/locale.c: Likewise.
17861 * locale/programs/locarchive.c: Likewise.
17862 * locale/programs/locfile.h: Likewise.
17863 * locale/programs/repertoire.c: Likewise.
17864 * locale/programs/simple-hash.c: Likewise.
17865 * locale/programs/simple-hash.h: Likewise.
17866 * malloc/memusage.c: Likewise.
17867 * malloc/memusagestat.c: Likewise.
17868 * nis/nis_defaults.c: Likewise.
17869 * nis/nis_hash.c: Likewise.
17870 * nis/nis_print.c: Likewise.
17871 * nis/nis_xdr.c: Likewise.
17872 * nscd/connections.c: Likewise.
17873 * nscd/hstcache.c: Likewise.
17874 * nscd/nscd_gethst_r.c: Likewise.
17875 * nscd/nscd_getserv_r.c: Likewise.
17876 * nscd/nscd_helper.c: Likewise.
17877 * nscd/servicescache.c: Likewise.
17878 * nss/makedb.c: Likewise.
17879 * nss/nss_db/db-XXX.c: Likewise.
17880 * nss/nss_db/db-initgroups.c: Likewise.
17881 * nss/nss_db/db-netgrp.c: Likewise.
17882 * nss/nss_files/files-network.c: Likewise.
17883 * nss/nss_files/files-parse.c: Likewise.
17884 * posix/bug-regex5.c: Likewise.
17885 * posix/fnmatch_loop.c: Likewise.
17886 * posix/regcomp.c: Likewise.
17887 * posix/regexec.c: Likewise.
17888 * posix/tst-rfc3484-2.c: Likewise.
17889 * posix/tst-rfc3484-3.c: Likewise.
17890 * posix/tst-rfc3484.c: Likewise.
17891 * resolv/nss_dns/dns-canon.c: Likewise.
17892 * resolv/nss_dns/dns-network.c: Likewise.
17893 * resolv/res_init.c: Likewise.
17894 * resolv/res_mkquery.c: Likewise.
17895 * resolv/tst-aton.c: Likewise.
17896 * stdlib/cxa_atexit.c: Likewise.
17897 * stdlib/cxa_finalize.c: Likewise.
17898 * stdlib/gen-fpioconst.c: Likewise.
17899 * stdlib/strtol_l.c: Likewise.
17900 * string/tst-endian.c: Likewise.
17901 * sunrpc/auth_des.c: Likewise.
17902 * sunrpc/clnt_udp.c: Likewise.
17903 * sunrpc/rtime.c: Likewise.
17904 * sunrpc/svcauth_des.c: Likewise.
17905 * sunrpc/xdr.c: Likewise.
17906 * sunrpc/xdr_intXX_t.c: Likewise.
17907 * sunrpc/xdr_rec.c: Likewise.
17908 * sysdeps/generic/ldconfig.h: Likewise.
17909 * sysdeps/generic/ldsodefs.h: Likewise.
17910 * sysdeps/generic/memusage.h: Likewise.
17911 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17913 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17914 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17915 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17917 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17918 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17919 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17921 * sysdeps/posix/getaddrinfo.c: Likewise.
17922 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17923 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17924 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17926 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17927 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17928 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17929 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17930 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17931 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17932 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17933 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17934 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17935 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17936 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17937 * sysdeps/x86_64/dl-tls.h: Likewise.
17938 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17939 * time/alt_digit.c: Likewise.
17940 * time/era.c: Likewise.
17941 * wcsmbs/tst-c16c32-1.c: Likewise.
17943 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17945 * math/libm-test.inc (struct test_sincos_data): New type.
17946 (RUN_TEST_LOOP_sincos): New macro.
17947 (sincos_test_data): New variable.
17948 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17950 2013-05-16 Richard Henderson <rth@redhat.com>
17952 * math/atest-exp2.c (LIMB64): New macro.
17953 (CONSTSZ): New macro.
17954 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17956 (print_mpn_fp): ... to function scope.
17957 (read_mpn_hex): Remove.
17958 (get_log2): Remove.
17959 (exp2_mpn): Use mp_log2.
17960 (main): Use mp_exp1.
17962 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17964 * math/libm-test.inc: Remove comment about not testing "inexact"
17966 (INEXACT_EXCEPTION): New macro.
17967 (NO_INEXACT_EXCEPTION): Likewise.
17968 (INVALID_EXCEPTION_OK): Update value.
17969 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17970 (OVERFLOW_EXCEPTION_OK): Likewise.
17971 (UNDERFLOW_EXCEPTION_OK): Likewise.
17972 (IGNORE_ZERO_INF_SIGN): Likewise.
17973 (ERRNO_UNCHANGED): Likewise.
17974 (ERRNO_EDOM): Likewise.
17975 (ERRNO_ERANGE): Likewise.
17976 (test_exceptions): Handle testing "inexact" exceptions.
17977 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17978 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17979 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17980 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17982 (rint_towardzero_test_data): Likewise.
17983 (rint_downward_test_data): Likewise.
17984 (rint_upward_test_data): Likewise.
17986 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17987 with OVERFLOW_EXCEPTION.
17988 (exp10_test_data): Likewise.
17989 (exp2_test_data): Likewise.
17990 (expm1_test_data): Likewise.
17991 (lgamma_test_data): Likewise.
17992 (pow_test_data): Likewise.
17993 (tgamma_test_data): Likewise.
17994 (yn_test_data): Remove duplicate test of overflow.
17996 * math/libm-test.inc (struct test_cc_c_data): New type.
17997 (RUN_TEST_LOOP_cc_c): New macro.
17998 (cpow_test_data): New variable.
17999 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18001 * math/libm-test.inc (struct test_f_L_data): New type.
18002 (RUN_TEST_LOOP_f_L): New macro.
18003 (llrint_test_data): New variable.
18004 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18005 (llrint_tonearest_test_data): New variable.
18006 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18007 (llrint_towardzero_test_data): New variable.
18008 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18009 (llrint_downward_test_data): New variable.
18010 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18011 (llrint_upward_test_data): New variable.
18012 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18013 (llround_test_data): New variable.
18014 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18016 2013-05-13 Peter Collingbourne <pcc@google.com>
18018 * math/atest-exp2.c (get_log2): Remove const attribute.
18020 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18022 * math/libm-test.inc (struct test_f_l_data): New type.
18023 (RUN_TEST_LOOP_f_l): New macro.
18024 (lrint_test_data): New variable.
18025 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18026 (lrint_tonearest_test_data): New variable.
18027 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18028 (lrint_towardzero_test_data): New variable.
18029 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18030 (lrint_downward_test_data): New variable.
18031 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18032 (lrint_upward_test_data): New variable.
18033 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18034 (lround_test_data): New variable.
18035 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18037 2013-05-15 Peter Collingbourne <pcc@google.com>
18039 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18040 (EXTRACT_WORDS64) Use where appropriate.
18041 (INSERT_WORDS64) Likewise.
18043 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18044 constraints with x constraints.
18045 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18047 * malloc/obstack.c (_obstack_compat): Add initializer.
18049 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18051 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18052 si_trapno and add si_addr_lsb to _sifields.sigfault.
18053 (si_trapno): Remove macro.
18054 (si_addr_lsb): Define new macro.
18055 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18057 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18059 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18060 instead of TEST_f_l.
18061 (llrint_test_tonearest): Likewise.
18062 (llrint_test_towardzero): Likewise.
18063 (llrint_test_downward): Likewise.
18064 (llrint_test_upward): Likewise.
18065 (llround_test): Likewise.
18067 * math/libm-test.inc (struct test_f_i_data): Add comment.
18068 (RUN_TEST_LOOP_f_b): New macro.
18069 (RUN_TEST_LOOP_f_b_tg): Likewise.
18070 (finite_test_data): New variable.
18071 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18072 (isfinite_test_data): New variable.
18073 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18074 (isinf_test_data): New variable.
18075 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18076 (isnan_test_data): New variable.
18077 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18078 (isnormal_test_data): New variable.
18079 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18080 (issignaling_test_data): New variable.
18081 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18082 (signbit_test_data): New variable.
18083 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18085 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18086 with INVALID_EXCEPTION.
18087 (acosh_test_data): Likewise.
18088 (asin_test_data): Likewise.
18089 (atanh_test_data): Likewise.
18090 (fmod_test_data): Likewise.
18091 (log_test_data): Likewise.
18092 (log10_test_data): Likewise.
18093 (log2_test_data): Likewise.
18094 (pow_test_data): Likewise.
18095 (sqrt_test_data): Likewise.
18096 (y0_test_data): Likewise.
18097 (y1_test_data): Likewise.
18098 (yn_test_data): Likewise.
18100 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18103 * math/libm-test.inc (struct test_ff_i_data): New type.
18104 (RUN_TEST_LOOP_ff_i_tg): New macro.
18105 (isgreater_test_data): New variable.
18106 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18107 (isgreaterequal_test_data): New variable.
18108 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18109 (isless_test_data): New variable.
18110 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18111 (islessequal_test_data): New variable.
18112 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18113 (islessgreater_test_data): New variable.
18114 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18115 (isunordered_test_data): New variable.
18116 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18118 2013-05-14 David S. Miller <davem@davemloft.net>
18120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18122 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18124 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18126 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18128 (struct test_f_i_data): Change type of max_ulp to int.
18130 * math/libm-test.inc (test_ffI_f1_data): New type.
18131 (RUN_TEST_LOOP_ffI_f1): New macro.
18132 (remquo_test_data): New variable.
18133 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18135 * setjmp/tst-setjmp-fp.c: New file.
18136 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18137 (link-libm): New variable.
18138 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18140 * math/libm-test.inc (struct test_f_i_data): New type.
18141 (RUN_TEST_LOOP_f_i): New macro.
18142 (RUN_TEST_LOOP_f_i_tg): Likewise.
18143 (fpclassify_test_data): New variable.
18144 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18145 (ilogb_test_data): New variable.
18146 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18148 * math/libm-test.inc (scalbln_test): Correct function name in END
18151 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18152 (RUN_TEST_LOOP_fI_f1): New macro.
18153 (frexp_test_data): New variable.
18154 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18156 * math/libm-test.inc (struct test_fF_f1_data): New type.
18157 (RUN_TEST_LOOP_fF_f1): New macro.
18158 (modf_test_data): New variable.
18159 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18161 * math/libm-test.inc (struct test_f_f1_data): New type.
18162 (RUN_TEST_LOOP_f_f1): New macro.
18163 (gamma_test_data): New variable.
18164 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18165 (lgamma_test_data): New variable.
18166 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18168 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18170 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18171 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18172 (main): Comment "tls" pseudo-hwcap.
18174 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18176 * math/libm-test.inc (struct test_fl_f_data): New type.
18177 (RUN_TEST_LOOP_fl_f): New variable.
18178 (scalbln_test_data): New variable.
18179 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18181 * math/libm-test.inc (struct test_fi_f_data): New type.
18182 (RUN_TEST_LOOP_fi_f): New macro.
18183 (ldexp_test_data): New variable.
18184 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18185 (scalbn_test_data): New variable.
18186 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18188 * math/libm-test.inc (struct test_c_f_data): New type.
18189 (RUN_TEST_LOOP_c_f): New macro.
18190 (cabs_test_data): New variable.
18191 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18192 (carg_test_data): New variable.
18193 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18194 (cimag_test_data): New variable.
18195 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18196 (creal_test_data): New variable.
18197 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18199 * math/libm-test.inc (struct test_if_f_data): New type.
18200 (RUN_TEST_LOOP_if_f): New macro.
18201 (jn_test_data): New variable.
18202 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18203 (yn_test_data): New variable.
18204 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18206 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18208 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18210 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18211 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18213 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18215 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18216 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18217 (bench-deps): Add bench-timing.h.
18218 * benchtests-bench-skeleton.c: Include bench-timing.h.
18219 (main): Use TIMING_* macros instead of clock_gettime.
18220 * benchtests/bench-timing.h: New file.
18223 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18224 Renamed from _LIB_VERSION.
18225 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18227 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18229 * math/libm-test.inc (struct test_fff_f_data): New type.
18230 (RUN_TEST_LOOP_fff_f): New macro.
18231 (fma_test_data): New variable.
18232 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18233 (fma_towardzero_test_data): New variable.
18234 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18235 (fma_downward_test_data): New variable.
18236 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18237 (fma_upward_test_data): New variable.
18238 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18240 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18241 (struct test_c_c_data): New type.
18242 (RUN_TEST_LOOP_c_c): New macro.
18243 (cacos_test_data): New variable.
18244 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18245 (cacosh_test_data): New variable.
18246 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18247 (casin_test_data): New variable.
18248 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18249 (casinh_test_data): New variable.
18250 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18251 (catan_test_data): New variable.
18252 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18253 (catanh_test_data): New variable.
18254 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18255 (ccos_test_data): New variable.
18256 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18257 (ccosh_test_data): New variable.
18258 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18259 (cexp_test_data): New variable.
18260 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18261 (clog_test_data): New variable.
18262 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18263 (clog10_test_data): New variable.
18264 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18265 (conj_test_data): New variable.
18266 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18267 (cproj_test_data): New variable.
18268 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18269 (csin_test_data): New variable.
18270 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18271 (csinh_test_data): New variable.
18272 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18273 (csqrt_test_data): New variable.
18274 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18275 (ctan_test_data): New variable.
18276 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18277 (ctan_tonearest_test_data): New variable.
18278 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18279 (ctan_towardzero_test_data): New variable.
18280 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18281 (ctan_downward_test_data): New variable.
18282 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18283 (ctan_upward_test_data): New variable.
18284 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18285 (ctanh_test_data): New variable.
18286 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18287 (ctanh_tonearest_test_data): New variable.
18288 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18289 (ctanh_towardzero_test_data): New variable.
18290 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18291 (ctanh_downward_test_data): New variable.
18292 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18293 (ctanh_upward_test_data): New variable.
18294 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18295 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18298 * math/libm-test.inc (struct test_ff_f_data): New type.
18299 (struct test_ff_f_data_nexttoward): Likewise.
18300 (RUN_TEST_LOOP_2_f): New macro.
18301 (RUN_TEST_LOOP_ff_f): Likewise.
18302 (atan2_test_data): New variable.
18303 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18304 (copysign_test_data): New variable.
18305 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18306 (fdim_test_data): New variable.
18307 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18308 (fmax_test_data): New variable.
18309 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18310 (fmin_test_data): New variable.
18311 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18312 (fmod_test_data): New variable.
18313 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18314 (hypot_test_data): New variable.
18315 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18316 (nextafter_test_data): New variable.
18317 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18318 (nexttoward_test_data): New variable.
18319 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18320 (pow_test_data): New variable.
18321 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18322 (pow_tonearest_test_data): New variable.
18323 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18324 (pow_towardzero_test_data): New variable.
18325 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18326 (pow_downward_test_data): New variable.
18327 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18328 (pow_upward_test_data): New variable.
18329 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18330 (remainder_test_data): New variable.
18331 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18332 (scalb_test_data): New variable.
18333 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18334 * sysdeps/i386/fpu/libm-test-ulps: Update.
18336 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18338 * math/libm-test.inc (fma_test): Use max_value instead of local
18340 (nextafter_test): Likewise.
18342 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18343 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18344 (acos_downward_test_data): New variable.
18345 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18346 (acos_upward_test_data): New variable.
18347 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18348 (acosh_test_data): New variable.
18349 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18350 (asin_test_data): New variable.
18351 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18352 (asin_tonearest_test_data): New variable.
18353 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18354 (asin_towardzero_test_data): New variable.
18355 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18356 (asin_downward_test_data): New variable.
18357 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18358 (asin_upward_test_data): New variable.
18359 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18360 (asinh_test_data): New variable.
18361 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18362 (atan_test_data): New variable.
18363 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18364 (atanh_test_data): New variable.
18365 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18366 (cbrt_test_data): New variable.
18367 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18368 (ceil_test_data): New variable.
18369 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18370 (cos_test_data): New variable.
18371 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18372 (cos_tonearest_test_data): New variable.
18373 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18374 (cos_towardzero_test_data): New variable.
18375 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18376 (cos_downward_test_data): New variable.
18377 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18378 (cos_upward_test_data): New variable.
18379 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18380 (cosh_test_data): New variable.
18381 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18382 (cosh_tonearest_test_data): New variable.
18383 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18384 (cosh_towardzero_test_data): New variable.
18385 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18386 (cosh_downward_test_data): New variable.
18387 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18388 (cosh_upward_test_data): New variable.
18389 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18390 (erf_test_data): New variable.
18391 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18392 (erfc_test_data): New variable.
18393 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18394 (exp_test_data): New variable.
18395 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18396 (exp_tonearest_test_data): New variable.
18397 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18398 (exp_towardzero_test_data): New variable.
18399 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18400 (exp_downward_test_data): New variable.
18401 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18402 (exp_upward_test_data): New variable.
18403 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18404 (exp10_test_data): New variable.
18405 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18406 (exp2_test_data): New variable.
18407 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18408 (expm1_test_data): New variable.
18409 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18410 (fabs_test_data): New variable.
18411 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18412 (floor_test_data): New variable.
18413 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18414 (j0_test_data): New variable.
18415 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18416 (j1_test_data): New variable.
18417 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18418 (log_test_data): New variable.
18419 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18420 (log10_test_data): New variable.
18421 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18422 (log1p_test_data): New variable.
18423 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18424 (log2_test_data): New variable.
18425 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18426 (logb_test_data): New variable.
18427 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18428 (logb_downward_test_data): New variable.
18429 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18430 (nearbyint_test_data): New variable.
18431 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18432 (rint_test_data): New variable.
18433 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18434 (rint_tonearest_test_data): New variable.
18435 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18436 (rint_towardzero_test_data): New variable.
18437 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18438 (rint_downward_test_data): New variable.
18439 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18440 (rint_upward_test_data): New variable.
18441 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18442 (round_test_data): New variable.
18443 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18444 (sin_test_data): New variable.
18445 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18446 (sin_tonearest_test_data): New variable.
18447 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18448 (sin_towardzero_test_data): New variable.
18449 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18450 (sin_downward_test_data): New variable.
18451 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18452 (sin_upward_test_data): New variable.
18453 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18454 (sinh_test_data): New variable.
18455 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18456 (sinh_tonearest_test_data): New variable.
18457 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18458 (sinh_towardzero_test_data): New variable.
18459 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18460 (sinh_downward_test_data): New variable.
18461 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18462 (sinh_upward_test_data): New variable.
18463 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18464 (sqrt_test_data): New variable.
18465 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18466 (tan_test_data): New variable.
18467 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18468 (tan_tonearest_test_data): New variable.
18469 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18470 (tan_towardzero_test_data): New variable.
18471 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18472 (tan_downward_test_data): New variable.
18473 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18474 (tan_upward_test_data): New variable.
18475 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18476 (tanh_test_data): New variable.
18477 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18478 (tgamma_test_data): New variable.
18479 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18480 (trunc_test_data): New variable.
18481 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18482 (y0_test_data): New variable.
18483 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18484 (y1_test_data): New variable.
18485 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18486 (significand_test_data): New variable.
18487 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18489 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18492 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18494 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18496 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18498 2013-05-10 Andreas Jaeger <aj@suse.de>
18501 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18502 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18504 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18506 * math/gen-libm-test.pl (adjust_arg): New function.
18507 (special_functions): Handle generating output in both functions
18509 (parse_args): Likewise.
18510 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18511 $in_func argument to parse_args.
18512 * math/libm-test.inc (struct test_f_f_data): New type.
18513 (IF_ROUND_INIT_): New macro.
18514 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18515 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18516 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18517 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18518 (ROUND_RESTORE_): Likewise.
18519 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18520 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18521 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18522 (ROUND_RESTORE_FE_UPWARD): Likewise.
18523 (RUN_TEST_LOOP_f_f): New macro.
18524 (acos_test_data): New variable.
18525 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18526 (acos_tonearest_test_data): New variable.
18527 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18529 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18531 * benchtests/bench-skeleton.c (startup): Fix coding style.
18533 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18536 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18537 negative infinity argument.
18538 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18539 negative infinity argument.
18540 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18541 negative infinity argument.
18542 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18545 2013-05-10 Florian Weimer <fweimer@redhat.com>
18547 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18548 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18549 * iconv/iconv_prog.c (main): Likewise.
18550 * locale/programs/charmap-dir.c (charmap_readdir)
18551 (fopen_uncompressed): Likewise.
18552 * locale/programs/locfile.c (siblings_uncached)
18553 (write_locale_data): Use lstat64 instead of lstat.
18554 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18557 2013-05-10 Andreas Jaeger <aj@suse.de>
18560 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18562 Include <locale.h>.
18564 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18566 * elf/dl-close.c (_dl_close_worker): Add comments.
18568 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18571 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18573 (__ieee754_rem_pio2l): Update comments.
18576 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18578 (__ieee754_rem_pio2l): Update comments.
18580 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18581 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18583 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18586 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18587 (M_PI_34_LOG10El): Likewise.
18588 (M_PI2_LOG10El): Likewise.
18589 (M_PI4_LOG10El): Likewise.
18590 (M_PI_LOG10El): Likewise.
18592 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18596 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18598 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18599 (MINUS_ZERO_INIT): Likewise.
18600 (PLUS_INFTY_INIT): Likewise.
18601 (MINUS_INFTY_INIT): Likewise.
18602 (QNAN_VALUE_INIT): Likewise.
18603 (MAX_VALUE_INIT): Likewise.
18604 (MIN_VALUE_INIT): Likewise.
18605 (MIN_SUBNORM_VALUE_INIT): Likewise.
18606 (plus_zero): Initialize with PLUS_ZERO_INIT.
18607 (minus_zero): Initialize with MINUS_ZERO_INIT.
18608 (plus_infty): Initialize with PLUS_INFTY_INIT.
18609 (minus_infty): Initialize with MINUS_INFTY_INIT.
18610 (qnan_value): Initialize with QNAN_VALUE_INIT.
18611 (max_value): Initialize with MAX_VALUE_INIT.
18612 (min_value): Initialize with MIN_VALUE_INIT.
18613 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18615 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18616 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18617 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18618 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18620 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18621 (RUN_TEST_2_f): Likewise.
18622 (RUN_TEST_ff_f): Likewise.
18623 (RUN_TEST_fi_f): Likewise.
18624 (RUN_TEST_fl_f): Likewise.
18625 (RUN_TEST_fff_f): Likewise.
18626 (RUN_TEST_c_f): Likewise.
18627 (RUN_TEST_f_f1): Likewise.
18628 (RUN_TEST_fF_f1): Likewise.
18629 (RUN_TEST_fI_f1): Likewise.
18630 (RUN_TEST_ffI_f1): Likewise.
18631 (RUN_TEST_c_c): Likewise.
18632 (RUN_TEST_cc_c): Likewise.
18633 (RUN_TEST_f_i): Likewise.
18634 (RUN_TEST_f_i_tg): Likewise.
18635 (RUN_TEST_ff_i_tg): Likewise.
18636 (RUN_TEST_f_b): Likewise.
18637 (RUN_TEST_f_b_tg): Likewise.
18638 (RUN_TEST_f_l): Likewise.
18639 (RUN_TEST_f_L): Likewise.
18640 (RUN_TEST_sincos): Likewise.
18641 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18642 whether to show exceptions. Do not include ");\n" in return
18644 (special_functions): Output call to RUN_TEST_sincos instead of
18645 check_float calls. Update calls to new_test.
18646 (parse_args): Output call to single RUN_TEST_* macro instead of
18647 check_* calls and other assignments. Update calls to new_test.
18653 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18654 input to result for tgamma overflow.
18655 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18656 (gamma_coeff): New variable.
18657 (NCOEFF): New macro.
18658 (gamma_positive): New function.
18659 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18660 underflow here. Use gamma_positive instead of exp (lgamma) for
18662 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18663 (gamma_coeff): New variable.
18664 (NCOEFF): New macro.
18665 (gammaf_positive): New function.
18666 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18667 underflow here. Use gamma_positive instead of exp (lgamma) for
18669 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18670 (gamma_coeff): New variable.
18671 (NCOEFF): New macro.
18672 (gammal_positive): New function.
18673 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18674 underflow here. Use gamma_positive instead of exp (lgamma) for
18676 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18677 (gamma_coeff): New variable.
18678 (NCOEFF): New macro.
18679 (gammal_positive): New function.
18680 (__ieee754_gammal_r): Handle positive infinity, overflow and
18681 underflow here. Handle NaN the same as positive infinity. Remove
18682 check x < 0xffffffff for negative integers. Use gamma_positive
18683 instead of exp (lgamma) for other arguments.
18684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18685 (gamma_coeff): New variable.
18686 (NCOEFF): New macro.
18687 (gammal_positive): New function.
18688 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18689 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18690 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18691 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18692 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18693 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18694 * sysdeps/generic/math_private.h (__gamma_productf): New
18696 (__gamma_product): Likewise.
18697 (__gamma_productl): Likewise.
18698 * math/Makefile (libm-calls): Add gamma_product.
18699 * math/libm-test.inc (tgamma_test): Add more tests.
18700 * sysdeps/i386/fpu/libm-test-ulps: Update.
18701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18703 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18705 * benchtests/bench-skeleton.c (main): Preheat CPU.
18707 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18709 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18711 2013-05-07 Roland McGrath <roland@hack.frob.com>
18713 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18714 and _dl_skip_args_internal.
18716 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18718 * manual/message.texi (Message Translation): Talk about users.
18719 Message to key mapping impacts design.
18721 2013-05-06 Roland McGrath <roland@hack.frob.com>
18723 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18725 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18727 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18728 * sysdeps/wordsize-64/glob64.c: ... here.
18730 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18731 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18734 * debug/getlogin_r_chk.c: Moved to ...
18735 * login/getlogin_r_chk.c: ... here.
18736 * debug/Makefile (routines): Move getlogin_r_chk to ...
18737 * login/Makefile (routines): ... here.
18738 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18739 * login/Versions (libc: GLIBC_2.4): ... here.
18741 * io/poll.c (__poll): Renamed from poll.
18742 Add libc_hidden_def.
18743 (poll): Define as weak alias.
18745 * debug/ptsname_r_chk.c: Moved to ...
18746 * login/ptsname_r_chk.c: ... here.
18747 * debug/Makefile (routines): Move ptsname_r_chk to ...
18748 * login/Makefile (routines): ... here.
18749 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18750 * login/Versions (libc: GLIBC_2.4): ... here.
18752 * posix/getlogin.c: Moved to ...
18753 * login/getlogin.c: ... here.
18754 * posix/getlogin_r.c: Moved to ...
18755 * login/getlogin_r.c: ... here.
18756 * posix/getlogin_r.c: Moved to ...
18757 * login/getlogin_r.c: ... here.
18758 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18759 * login/Makefile (routines): ... here.
18760 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18761 * login/Versions (libc: GLIBC_2.0): ... here.
18763 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18764 (setrlimit): Define as weak alias.
18766 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18767 Call __ names for open, ftruncate, and close.
18768 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18769 (truncate): Define as weak alias.
18771 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18773 * math/gen-libm-test.pl (parse_args): Initialize x before each
18774 test of frexp, modf and remquo.
18776 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18777 test signgam value.
18779 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18783 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18785 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18787 2013-05-06 Roland McGrath <roland@hack.frob.com>
18789 * elf/dl-writev.h: New file.
18790 * elf/dl-misc.c: Include it.
18791 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18792 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18794 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18796 * math/libm-test.inc (noXFails): Remove variable.
18797 (noXPasses): Likewise.
18798 (BUILD_COMPLEX_INT): Remove macro.
18799 (print_screen): Remove xfail argument.
18800 (print_screen_max_error): Likewise.
18801 (update_stats): Likewise.
18802 (print_max_error): Likewise. Update calls to other affected
18804 (print_complex_max_error): Likewise.
18805 (test_single_exception): Update calls to print_screen.
18806 (test_single_errno): Likewise.
18807 (check_float_internal): Remove xfail argument. Update calls to
18808 other affected functions.
18809 (check_float): Likewise.
18810 (check_complex): Likewise.
18811 (check_int): Likewise.
18812 (check_long): Likewise.
18813 (check_bool): Likewise.
18814 (check_longlong): Likewise.
18815 (main): Don't print noXFails and noXPasses.
18816 * math/gen-libm-test.pl (top level): Don't mention expected
18817 failure handling in comment.
18818 (new_test): Don't handle expected failures.
18819 (parse_args): Don't mention expected failure handling in comment.
18820 (generate_testfile): Don't handle expected failures.
18821 (parse_ulps): Likewise.
18822 (print_ulps_file): Likewise.
18823 (get_failure): Remove function.
18824 (output_test): Don't handle expected failures.
18825 * make/README.libm-test: Don't mention expected failure handling.
18827 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18828 (minus_zero): Likewise.
18829 (plus_infty): Likewise.
18830 (minus_infty): Likewise.
18831 (qnan_value): Likewise.
18832 (max_value): Likewise.
18833 (min_value): Likewise.
18834 (min_subnorm_value): Likewise.
18835 (initialize): Do not initialize those variables dynamically.
18837 2013-05-03 Roland McGrath <roland@hack.frob.com>
18839 * io/open.c (__open_2): Moved to ...
18840 * io/open_2.c: ... this new file.
18841 * io/open64.c (__open64_2): Moved to ...
18842 * io/open64_2.c: ... this new file.
18843 * io/openat.c (__openat_2): Moved to ...
18844 * io/openat_2.c: ... this new file.
18845 * io/openat64.c (__openat64_2): Moved to ...
18846 * io/openat64_2.c: ... this new file.
18847 * io/Makefile (routines): Add them.
18848 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18849 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18850 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18851 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18852 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18853 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18854 (__openat64): Add hidden_ver.
18855 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18856 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18858 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18859 Separately conditionalize setting of GLRO(dl_sysinfo) so
18860 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18861 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18863 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18865 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18866 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18868 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18869 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18870 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18871 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18872 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18874 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18876 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18877 test signgam value.
18879 * math/libm-test.inc (hypot_test): Do not use
18880 IGNORE_ZERO_INF_SIGN.
18882 2013-05-03 Andreas Jaeger <aj@suse.de>
18884 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18886 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18887 (PF_MAX): Adjust for VSOCK change.
18889 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18893 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18896 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18897 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18898 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18900 2013-05-02 David S. Miller <davem@davemloft.net>
18902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18904 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18906 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18908 2013-05-01 Roland McGrath <roland@hack.frob.com>
18910 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18912 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18915 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18916 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18917 Use __attribute__ ((__gnu_inline__)).
18918 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18919 Don't use __attribute__ ((__gnu_inline__)).
18921 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18924 * math/s_catan.c (__catan): Handle small real or imaginary part of
18925 input specially to avoid spurious underflow.
18926 * math/s_catanf.c (__catanf): Likewise.
18927 * math/s_catanh.c (__catanh): Likewise.
18928 * math/s_catanhf.c (__catanhf): Likewise.
18929 * math/s_catanhl.c (__catanhl): Likewise.
18930 * math/s_catanl.c (__catanl): Likewise.
18931 * math/libm-test.inc (catan_test): Add more tests.
18932 (catanh_test): Likewise.
18933 * sysdeps/i386/fpu/libm-test-ulps: Update.
18934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18936 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18940 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18943 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18944 accurately for denominator in atan2.
18945 * math/s_catanf.c (__catanf): Likewise.
18946 * math/s_catanh.c (__catanh): Likewise.
18947 * math/s_catanhf.c (__catanhf): Likewise.
18948 * math/s_catanhl.c (__catanhl): Likewise.
18949 * math/s_catanl.c (__catanl): Likewise.
18950 * math/libm-test.inc (catan_test): Add more tests.
18951 (catanh_test): Likewise.
18952 * sysdeps/i386/fpu/libm-test-ulps: Update.
18953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18955 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18957 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18959 * benchtests/Makefile (bench): Remove slow benchmarks.
18960 * benchtests/atan-inputs: Add slow benchmark inputs.
18961 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18962 (BENCH_FUNC): Accept variant offset.
18964 * benchtests/bench-skeleton.c (main): Run benchmark for each
18966 * benchtests/cos-inputs: Add slow benchmark inputs.
18967 * benchtests/exp-inputs: Likewise.
18968 * benchtests/pow-inputs: Likewise.
18969 * benchtests/sin-inputs: Likewise.
18970 * benchtests/slowatan-inputs: Remove.
18971 * benchtests/slowatan.c: Remove.
18972 * benchtests/slowcos-inputs: Remove.
18973 * benchtests/slowcos.c: Remove.
18974 * benchtests/slowexp-inputs: Remove.
18975 * benchtests/slowexp.c: Remove.
18976 * benchtests/slowpow-inputs: Remove.
18977 * benchtests/slowpow.c: Remove.
18978 * benchtests/slowsin-inputs: Remove.
18979 * benchtests/slowsin.c: Remove.
18980 * benchtests/slowtan-inputs: Remove.
18981 * benchtests/slowtan.c: Remove.
18982 * benchtests/tan-inputs: Add slow benchmark inputs.
18983 * scripts/bench.pl: Parse comments and directives.
18985 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18987 ($(objpfx)bench-%.c): Remove *-ITER.
18988 * benchtests/bench-modf.c: Remove definition of ITER.
18989 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18990 (main): Loop for DURATION seconds instead of fixed number of
18992 * scripts/bench.pl: Don't expect iterations in parameters.
18994 2013-04-29 Roland McGrath <roland@hack.frob.com>
18996 * io/fchdir.c (__fchdir): Renamed from fchdir.
18997 (fchdir): Define as weak alias.
18999 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19001 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19002 (ERRNO_EDOM): Likewise.
19003 (ERRNO_ERANGE): Likewise.
19004 (noErrnoTests): New variable.
19005 (init_max_error): Set errno to 0.
19006 (test_single_errno): New function.
19007 (test_errno): Likewise.
19008 (check_float_internal): Call test_errno. Set errno to 0.
19009 (check_complex): Refer to errno tests in comment.
19010 (check_int): Call test_errno. Set errno to 0.
19011 (check_long): Likewise.
19012 (check_bool): Likewise.
19013 (check_longlong): Likewise.
19014 (cos_test): Use ERRNO_* flags for errno tests instead of
19016 (expm1_test): Likewise.
19017 (fmod_test): Likewise.
19018 (ilogb_test): Likewise.
19019 (lgamma_test): Likewise.
19020 (pow_test): Likewise.
19021 (remainder_test): Likewise.
19022 (sin_test): Likewise.
19023 (tan_test): Likewise.
19024 (yn_test): Likewise.
19025 (initialize): Set errno to 0.
19026 (main): Print number of errno tests.
19027 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19029 2013-04-29 Andreas Jaeger <aj@suse.de>
19032 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19036 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19037 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19041 * stdlib/random.c (__initstate): Return NULL if
19045 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19046 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19049 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19053 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19055 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19056 of individual tests.
19057 (casin_test): Likewise.
19058 (casinh_test): Likewise.
19060 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19063 * math/s_catan.c (__catan): Handle arguments with large real or
19064 imaginary part separately without squaring.
19065 * math/s_catanf.c (__catanf): Likewise.
19066 * math/s_catanh.c (__catanh): Likewise.
19067 * math/s_catanhf.c (__catanhf): Likewise.
19068 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19070 (__catanhl): Handle arguments with large real or imaginary part
19071 separately without squaring.
19072 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19074 (__catanl): Handle arguments with large real or imaginary part
19075 separately without squaring.
19076 * math/libm-test.inc (catan_test): Add more tests.
19077 (catanh_test): Likewise.
19078 * sysdeps/i386/fpu/libm-test-ulps: Update.
19079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19081 2013-04-27 Andreas Jaeger <aj@suse.de>
19084 * stdlib/stdlib.h: Update guards for qecvt.
19085 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19088 2013-04-27 Allan McRae <allan@archlinux.org>
19090 * sysdeps/i386/fpu/libm-test-ulps: Update.
19092 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19095 * math/s_catan.c: Include <float.h>.
19096 (__catan): Ensure underflow exception occurs for underflowed
19098 * math/s_catanf.c: Include <float.h>.
19099 (__catanf): Ensure underflow exception occurs for underflowed
19101 * math/s_catanh.c: Include <float.h>.
19102 (__catanh): Ensure underflow exception occurs for underflowed
19104 * math/s_catanhf.c: Include <float.h>.
19105 (__catanhf): Ensure underflow exception occurs for underflowed
19107 * math/s_catanhl.c: Include <float.h>.
19108 (__catanhl): Ensure underflow exception occurs for underflowed
19110 * math/s_catanl.c: Include <float.h>.
19111 (__catanl): Ensure underflow exception occurs for underflowed
19113 * math/libm-test.inc (catan_test): Add more tests.
19114 (catanh_test): Likewise.
19117 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19118 underflowed result.
19119 * math/s_ccoshf.c (__ccoshf): Likewise.
19120 * math/s_ccoshl.c (__ccoshl): Likewise.
19121 * math/s_csin.c (__csin): Likewise.
19122 * math/s_csinf.c (__csinf): Likewise.
19123 * math/s_csinh.c (__csinh): Likewise.
19124 * math/s_csinhf.c (__csinhf): Likewise.
19125 * math/s_csinhl.c (__csinhl): Likewise.
19126 * math/s_csinl.c (__csinl): Likewise.
19127 * math/libm-test.inc (ccos_test): Add more tests.
19128 (ccosh_test): Likewise.
19129 (csin_test): Likewise.
19130 (csinh_test): Likewise.
19132 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19134 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19135 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19136 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19137 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19138 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19139 powerpc/power5+/fpu folders.
19140 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19143 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19147 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19149 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19150 additions to variable.
19151 [$(config-machine) = x86_64] (modules-names): Likewise.
19152 ($(objpfx)tst-audit3): Remove dependency.
19153 ($(objpfx)tst-audit3.out): Likewise.
19154 ($(objpfx)tst-audit4): Likewise.
19155 ($(objpfx)tst-audit4.out): Likewise.
19156 ($(objpfx)tst-audit5): Likewise.
19157 ($(objpfx)tst-audit5.out): Likewise.
19158 ($(objpfx)tst-audit6): Likewise.
19159 ($(objpfx)tst-audit6.out): Likewise.
19160 ($(objpfx)tst-audit7): Likewise.
19161 ($(objpfx)tst-audit7.out): Likewise.
19162 (tst-audit3-ENV): Remove variable.
19163 (tst-audit4-ENV): Likewise.
19164 (tst-audit5-ENV): Likewise.
19165 (tst-audit6-ENV): Likewise.
19166 (tst-audit7-ENV): Likewise.
19167 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19168 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19169 addition to variable.
19170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19172 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19174 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19175 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19176 tst-audit3, tst-audit4 and tst-audit5.
19177 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19178 tst-audit6 and tst-audit7.
19179 [$(subdir) = elf] (modules-names): Add audit modules for those
19181 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19182 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19183 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19184 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19185 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19186 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19187 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19188 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19189 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19190 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19191 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19192 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19193 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19194 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19195 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19196 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19198 [$(subdir) = elf && $(config-cflags-avx) = yes]
19199 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19200 [$(subdir) = elf && $(config-cflags-avx) = yes]
19201 (CFLAGS-tst-auditmod4a.c): Likewise.
19202 [$(subdir) = elf && $(config-cflags-avx) = yes]
19203 (CFLAGS-tst-auditmod4b.c): Likewise.
19204 [$(subdir) = elf && $(config-cflags-avx) = yes]
19205 (CFLAGS-tst-auditmod6b.c): Likewise.
19206 [$(subdir) = elf && $(config-cflags-avx) = yes]
19207 (CFLAGS-tst-auditmod6c.c): Likewise.
19208 [$(subdir) = elf && $(config-cflags-avx) = yes]
19209 (CFLAGS-tst-auditmod7b.c): Likewise.
19210 * elf/tst-audit3.c: Move to ...
19211 * sysdeps/x86_64/tst-audit3.c: ... here.
19212 * elf/tst-audit4.c: Move to ...
19213 * sysdeps/x86_64/tst-audit4.c: ... here.
19214 * elf/tst-audit5.c: Move to ...
19215 * sysdeps/x86_64/tst-audit5.c: ... here.
19216 * elf/tst-audit6.c: Move to ...
19217 * sysdeps/x86_64/tst-audit6.c: ... here.
19218 * elf/tst-audit7.c: Move to ...
19219 * sysdeps/x86_64/tst-audit7.c: ... here.
19220 * elf/tst-auditmod3a.c: Move to ...
19221 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19222 * elf/tst-auditmod3b.c: Move to ...
19223 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19224 * elf/tst-auditmod4a.c: Move to ...
19225 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19226 * elf/tst-auditmod4b.c: Move to ...
19227 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19228 * elf/tst-auditmod5a.c: Move to ...
19229 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19230 * elf/tst-auditmod5b.c: Move to ...
19231 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19232 * elf/tst-auditmod6a.c: Move to ...
19233 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19234 * elf/tst-auditmod6b.c: Move to ...
19235 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19236 * elf/tst-auditmod6c.c: Move to ...
19237 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19238 * elf/tst-auditmod7a.c: Move to ...
19239 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19240 * elf/tst-auditmod7b.c: Move to ...
19241 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19243 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19246 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19247 define unconditionally.
19248 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19249 define unconditionally.
19250 (INT8_C, INT16_C, etc.): Likewise.
19252 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19254 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19255 __ehdr_start with hidden visibility.
19257 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19259 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19261 * math/libm-test.inc (cos_test): Use accurate hex constants.
19262 (sincost_test): Likewise.
19264 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19266 * math/libm-test.inc (catan_test): Add more tests.
19267 (catanh_test): Likewise.
19269 * math/s_catanf.c (__catanf): Use suffixed floating-point
19271 * math/s_catanhf.c (__catanhf): Likewise.
19272 * math/s_catanhl.c (__catanhl): Likewise.
19273 * math/s_catanl.c (__catanl): Likewise.
19276 * math/s_catan.c (__catan): Calculate imaginary part of result
19277 with log1p not log unless computing log of number close to 0.
19278 * math/s_catanf.c (__catanf): Likewise.
19279 * math/s_catanl.c (__catanl): Likewise.
19280 * math/s_catanh.c (__catanh): Calculate real part of result with
19281 log1p not log unless computing log of number close to 0.
19282 * math/s_catanhf.c (__catanhf): Likewise.
19283 * math/s_catanhl.c (__catanhl): Likewise.
19284 * math/libm-test.inc (catan_test): Add more tests.
19285 (catanh_test): Likewise.
19286 * sysdeps/i386/fpu/libm-test-ulps: Update.
19287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19289 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19291 * benchtests/Makefile: Mention files in which fast and slow
19292 paths of math functions are implemented.
19294 2013-04-23 Roland McGrath <roland@hack.frob.com>
19296 * sysdeps/posix/timespec_get.c: New file.
19298 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19300 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19302 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19304 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19305 powerpc/power5/fpu folders.
19306 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19307 * benchtests/Makefile: Add modf testcase.
19308 * benchtests/bench-modf.c: New file: Benchmark test for mo
19310 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19313 * time/Makefile (tests): Add tst-strptime-whitespace.
19314 * time/strptime_l.c (get_number): Use ISSPACE.
19315 (__strptime_internal): Likewise.
19316 * time/tst-strptime-whitespace.c: New test case.
19318 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19320 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19322 (_nss_files_init): Set it here.
19324 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19326 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19327 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19330 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19332 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19334 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19339 2013-04-21 David S. Miller <davem@davemloft.net>
19341 * po/ru.po: Update Russion translation from translation project.
19343 2013-04-17 Adam Conrad <adconrad@0c3.net>
19345 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19348 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19350 * configure.in: Remove i386 configure warning. Remove i386 case.
19351 * configure: Regenerate.
19352 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19353 Add example to error message.
19354 * sysdeps/i386/configure: Regenerate.
19356 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19358 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19360 * benchtests/cos-inputs: New file.
19361 * benchtests/slowcos-inputs: New file.
19362 * benchtests/slowcos.c: New file.
19363 * benchtests/slowtan-inputs: New file.
19364 * benchtests/slowtan.c: New file.
19365 * benchtests/tan-inputs: New file.
19367 2013-04-16 Roland McGrath <roland@hack.frob.com>
19369 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19372 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19374 * benchtests/Makefile: Include cppflags-iterator.mk to add
19375 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19377 * Makefile.in (bench-clean): New target.
19378 * benchtests/Makefile (bench-clean): Likewise.
19380 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19382 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19384 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19386 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19388 2013-04-15 Andreas Schwab <schwab@suse.de>
19390 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19392 * nscd/pwdcache.c (cache_addpw): Likewise.
19393 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19396 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19398 * benchtests/Makefile (bench): Write all output to
19399 bench-out.tmp together.
19401 2013-04-15 Andreas Schwab <schwab@suse.de>
19403 * nscd/nscd.c (main): Don't fork again after closing files.
19405 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19407 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19409 * benchtests/Rules (bench-deps): Collect dependencies into a
19410 single variable. Add Makefile to dependencies.
19411 ($(objpfx)bench-%.c): Depend on bench-deps.
19413 2013-04-12 Roland McGrath <roland@hack.frob.com>
19414 Xavier Roche <roche+kml2@exalead.com>
19417 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19418 just that it's a file descriptor.
19419 * manual/llio.texi (Synchronizing AIO Operations): Update description
19420 for EBADF error from aio_fsync.
19422 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19424 * Rules (bench): Move target definition...
19425 * benchtests/Makefile: ... here.
19427 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19429 * math/libm-test.inc (cos_test): Fix PI/2 test.
19430 (sincos_test): Likewise.
19431 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19432 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19434 2013-04-11 Andreas Schwab <schwab@suse.de>
19437 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19438 accept exponent character only when digits were seen.
19439 * stdio-common/Makefile (tests): Add bug26.
19440 * stdio-common/bug26.c: New file.
19443 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19446 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19448 * Makeconfig (rtld-prefix): Define built linker prefix.
19449 * Rules (run-bench): Use it.
19450 * math/Makefile (run-regen-ulps): Likewise.
19452 * Rules (bench): Remove eval.
19454 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19455 Roland McGrath <roland@hack.frob.com>
19456 Ondrej Bilka <neleai@seznam.cz>
19459 * time/getdate.c: Include ctype.h and alloca.h.
19460 (__getdate_r): Trim leading and trailing spaces of input.
19461 * time/tst-getdate.c (tests): Add tests with leading and
19464 2013-04-08 Roland McGrath <roland@hack.frob.com>
19467 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19468 when computing value.
19470 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19472 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19473 Use testrun.sh to run libm tests.
19476 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19478 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19481 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19483 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19485 * Makefile.in (regen-ulps): New target.
19486 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19487 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19488 [ifneq (no,$(PERL)] (regen-ulps): New target.
19489 [ifeq (no,$(PERL)] (regen-ulps): New target.
19490 * math/libm-test.inc (ulps_file_name): Define.
19491 (output_dir): New variable.
19492 (options): Add "output-dir" option.
19493 (parse_opt): Handle 'o' case.
19494 (main): If output_dir is non-NULL use it as a prefix
19496 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19498 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19500 [BZ #10060, #10062]
19501 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19502 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19503 fail configure if __sync_val_compare_and_swap is not inlined.
19504 * sysdeps/i386/configure: Regenerate.
19505 * configure.in: Build for i686 when configured for i386.
19506 * configure: Regenerate.
19507 * README: Remove i386 reference.
19509 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19511 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19512 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19514 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19516 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19517 (lmsnanval): New variables.
19518 (F): Add conversion tests.
19519 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19520 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19522 * stdio-common/tstdiomisc.c (F): Properly collect individual
19525 [BZ #14686, #15336]
19526 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19527 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19528 Instead, use input NaN values or generate a qNaN by arithmetic
19529 operation. Also fix bugs to comply with the standard.
19530 * math/libm-test.inc (remainder_test): Add more tests.
19532 [BZ #15335, #15342]
19533 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19535 input NaN values or generate a qNaN by arithmetic operation.
19537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19540 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19543 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19546 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19547 underflowed result.
19548 * math/s_cexpf.c (__cexpf): Likewise.
19549 * math/s_cexpl.c (__cexpl): Likewise.
19550 * math/libm-test.inc (cexp_test): Add more tests.
19552 2013-04-03 Andreas Schwab <schwab@suse.de>
19555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19556 order arrays from heap if bigger than alloca cutoff.
19558 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19560 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19561 (SNAN_TESTS_double): Refer to GCC PR56831.
19562 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19565 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19567 * Rules (bench): Move bench.out after the run is complete.
19569 * Rules (bench): Echo currently running benchmark.
19571 * benchtests/Makefile (bench): Add atan and slowatan.
19572 * benchtests/atan-inputs: New file.
19573 * benchtests/slowatan-inputs: New file.
19574 * benchtests/slowatan.c: New file.
19576 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19577 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19581 * sysdeps/unix/sysv/linux/kernel-features.h
19582 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19583 __ASSUME_XFS_RESTRICTED_CHOWN.
19584 * sysdeps/unix/sysv/linux/pathconf.c
19585 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19586 Save and restore errno.
19588 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19591 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19592 arguments using __kernel_casinh.
19593 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19594 arguments using __kernel_casinhf.
19595 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19596 arguments using __kernel_casinhl.
19597 * math/libm-test.inc (cacosh_test): Add more tests.
19598 * sysdeps/i386/fpu/libm-test-ulps: Update.
19599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19601 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19603 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19606 * bench/Makefile (bench): Add sin and slowsin.
19607 * benchtests/sin-inputs: New file.
19608 * benchtests/slowsin-inputs: New file.
19609 * benchtests/slowsin.c: New file.
19611 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19612 (bench): Add slowexp and slowpow.
19613 (exp-ITER): Increase iterations.
19614 (pow-ITER): Likewise.
19615 * benchtests/exp-inputs: Change input.
19616 * benchtests/pow-inputs: Likewise.
19617 * benchtests/slowexp-inputs: New file.
19618 * benchtests/slowexp.c: New file.
19619 * benchtests/slowpow-inputs: New file.
19620 * benchtests/slowpow.c: New file.
19622 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19624 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19626 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19627 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19628 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19629 * benchtests/Makefile: Add rint benchtest.
19630 * benchtests/rint-inputs: Input for rint benchtest.
19632 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19634 * Versions.def (libm): Add GLIBC_2.18.
19635 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19636 hidden libm prototypes.
19637 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19638 * math/Makefile (libm-calls): Add s_issignaling.
19639 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19640 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19641 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19643 * math/math.h [__USE_GNU] (issignaling): New macro.
19644 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19645 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19646 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19647 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19650 * manual/arith.texi (issignaling): New section.
19651 * manual/libm-err-tab.pl (@all_functions): Update comment.
19652 * math/gen-libm-test.pl (parse_args): Apply special handling for
19654 * math/libm-test.inc (print_float, issignaling_test): New
19656 (check_float_internal): Add issignaling checks.
19657 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19658 default definition.
19659 * sysdeps/powerpc/math-tests.h: New file.
19660 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19662 * math/test-snan.c (TEST_FUNC): Likewise.
19664 2013-03-30 David S. Miller <davem@davemloft.net>
19666 * po/de.po: Update from translation team.
19668 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19671 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19672 imaginary part less than 1.0 and real part less than 0.5
19674 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19675 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19676 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19677 (cacos_test): Add more tests.
19678 (casin_test): Likewise.
19679 (casinh_test): Likewise.
19680 * sysdeps/i386/fpu/libm-test-ulps: Update.
19681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19683 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19685 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19686 ONE with its value.
19688 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19689 (__pow_mp): Replace ONE and MONE with their values.
19690 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19691 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19692 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19693 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19694 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19697 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19699 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19700 (__pow_mp): Replace ZERO and MZERO with their values.
19701 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19702 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19703 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19705 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19706 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19709 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19711 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19713 2013-03-28 Roland McGrath <roland@hack.frob.com>
19715 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19716 Declare with __attribute__ ((weak)).
19717 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19718 Call __call_tls_dtors only if it's not NULL.
19720 2013-03-28 Roland McGrath <roland@hack.frob.com>
19722 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19723 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19724 magic __ehdr_start linker symbol if it's defined.
19725 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19726 them up here if it was already done.
19728 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19729 (_dl_aux_init): Use const in cast when setting it.
19730 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19731 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19732 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19734 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19736 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19737 * csu/libc-tls.c: Nor here.
19738 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19740 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19741 (__libc_message): Never call vsyslog.
19743 2013-03-28 Alan Modra <amodra@gmail.com>
19745 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19747 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19750 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19753 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19757 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19760 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19761 Don't add gid passed as argument.
19763 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19765 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19768 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19769 imaginary part between 1.0 and 1.5 and real part less than 0.5
19771 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19772 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19773 * math/libm-test.inc (cacos_test): Add more tests.
19774 (casin_test): Likewise.
19775 (casinh_test): Likewise.
19776 * sysdeps/i386/fpu/libm-test-ulps: Update.
19777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19779 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19781 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19784 (denorm): Likewise.
19785 (__dbl_mp): Likewise.
19786 (add_magnitudes): Likewise.
19787 (sub_magnitudes): Likewise.
19795 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19797 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19798 (__dubcos): Likewise.
19799 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19800 (__ieee754_acos): Likewise.
19801 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19802 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19803 (__exp1): Likewise.
19804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19807 (my_log2): Likewise.
19808 (checkint): Likewise.
19809 * sysdeps/ieee754/dbl-64/e_remainder.c
19810 (__ieee754_remainder): Likewise.
19811 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19813 (bsloww): Likewise.
19814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19816 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19817 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19818 MANTISSA_STORE_T to store computations on mantissa. Use
19819 macros for rounding and division.
19820 (denorm): Likewise.
19821 (__dbl_mp): Likewise.
19822 (add_magnitudes): Likewise.
19823 (sub_magnitudes): Likewise.
19826 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19827 powers of two in terms of TWOPOW macro.
19828 (mp_no): Make type of mantissa as MANTISSA_T.
19829 [!RADIXI]: Define RADIXI.
19830 [!TWO52]: Define TWO52.
19831 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19833 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19835 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19836 llroundl symbol when building for PPC32.
19838 2013-03-24 Mark H Weaver <mhw@netris.org>
19840 * manual/arith.texi (Normalization Functions): Fix prototypes for
19841 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19843 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19847 high value to check if expl overflow.
19848 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19849 to check for underflow and overflow.
19850 * math/libm-test.inc: Add exp test.
19852 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19855 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19858 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19860 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19863 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19865 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19866 wrap blocks consisting of several statements.
19868 * sysdeps/generic/math-tests.h: New file.
19869 * sysdeps/i386/fpu/math-tests.h: Likewise.
19870 * math/test-snan.c: Include it.
19871 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19873 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19876 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19877 (__ieee754_j0l): Do not improve calculations using cos of twice
19878 input for inputs above LDBL_MAX / 2.0L.
19879 (__ieee754_y0l): Likewise.
19880 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19881 (__ieee754_j1l): Do not improve calculations using cos of twice
19882 input for inputs above LDBL_MAX / 2.0L.
19883 (__ieee754_y1l): Likewise.
19884 * math/libm-test.inc (j0_test): Add another test.
19885 (j1_test): Likewise.
19886 (y0_test): Likewise.
19887 (y1_test): Likewise.
19888 * sysdeps/i386/fpu/libm-test-ulps: Update.
19890 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19892 * Rules ($(objpfx)bench-%.c): Include code from a C source
19895 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19898 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19899 imaginary part 1.0 and real part less than 0.5 specially.
19900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19902 * math/libm-test.inc (cacos_test): Add more tests.
19903 (casin_test): Likewise.
19904 (casinh_test): Likewise.
19905 * sysdeps/i386/fpu/libm-test-ulps: Update.
19906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19908 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19911 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19913 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19915 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19916 * config.make.in (config-cflags-sse4): Remove variable.
19917 (config-cflags-avx): Likewise.
19918 (config-cflags-sse2avx): Likewise.
19919 (config-cflags-novzeroupper): Likewise.
19920 (config-asflags-i686): Likewise.
19921 (have-mfma4): Likewise.
19922 (have-as-vis3): Likewise.
19924 * configure.in (MIG): Do not AC_SUBST.
19925 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19926 (libc_cv_cc_sse4): Do not AC_SUBST.
19927 (libc_cv_cc_avx): Likewise.
19928 (libc_cv_cc_sse2avx): Likewise.
19929 (libc_cv_cc_novzeroupper): Likewise.
19930 (libc_cv_cc_fma4): Likewise.
19931 (libc_cv_as_i686): Likewise.
19932 (libc_cv_sparc_as_vis3): Likewise.
19933 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19935 (config-asflags-i686): Likewise.
19936 (config-cflags-avx): Likewise.
19937 (config-cflags-sse2avx): Likewise.
19938 (have-mfma4): Likewise.
19939 (config-cflags-novzeroupper): Likewise.
19940 * sysdeps/mach/configure.in (MIG): Likewise.
19941 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19942 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19944 (config-cflags-avx): Likewise.
19945 (config-cflags-sse2avx): Likewise.
19946 (have-mfma4): Likewise.
19947 (config-cflags-novzeroupper): Likewise.
19948 * configure: Regenerated.
19949 * sysdeps/i386/configure: Likewise.
19950 * sysdeps/mach/configure: Likewise.
19951 * sysdeps/sparc/configure: Likewise.
19952 * sysdeps/x86_64/configure: Likewise.
19954 2013-03-20 Roland McGrath <roland@hack.frob.com>
19957 * locale/programs/localedef.c (options): Put N_ translation marker
19958 on argument names, not just descriptions.
19960 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19962 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19964 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19967 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19969 2013-03-19 Roland McGrath <roland@hack.frob.com>
19971 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19972 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19973 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19974 [!BEFORE_ABORT] (before_abort): New function.
19975 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19976 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19977 (writev_for_fatal): New function.
19978 (WRITEV_FOR_FATAL): New macro; call that.
19979 (backtrace_and_maps): New function.
19980 (BEFORE_ABORT): New macro; call that.
19981 (struct str_list): Type removed.
19982 (__libc_message, __libc_fatal): Functions removed.
19983 Include <sysdeps/posix/libc_fatal.c> instead.
19985 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19987 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19989 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19992 2013-03-19 Andreas Schwab <schwab@suse.de>
19994 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19995 * sysdeps/gnu/configure: Regenerate.
19997 * configure.in: Substitute libc_cv_rtlddir.
19998 * configure: Regenerate.
19999 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20000 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20001 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20002 * elf/Makefile (install-others, CFLAGS-interp.c)
20003 (ldso_install, common-ldd-rewrite): Likewise.
20004 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20005 $(inst_slibdir)/$(rtld-installed-name).
20006 * scripts/rellns-sh: Add -p option.
20007 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20010 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20012 * manual/nptl.texi: Renamed to ...
20013 * manual/threads.texi: ... this.
20014 * manual/Makefile (chapters): Update.
20016 2013-03-18 Roland McGrath <roland@hack.frob.com>
20019 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20020 on argument names, not just descriptions.
20021 * malloc/memusagestat.c (options): Likewise.
20022 * nss/getent.c (options): Likewise.
20024 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20027 * iconv/iconv_prog.c (options): Put N_ translation marker
20028 on argument names, not just descriptions.
20029 * iconv/iconvconfig.c (options): Likewise.
20031 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20033 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20034 implementation which is faster on all x86_64 architectures.
20035 Tested on AMD, Intel Nehalem, SNB, IVB.
20036 * sysdeps/x86_64/strnlen.S: Likewise.
20038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20039 Remove all multiarch strlen and strnlen versions.
20040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20041 Remove strlen and strnlen related parts.
20043 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20044 Inline strlen part.
20045 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20047 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20048 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20049 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20050 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20051 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20052 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20054 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20056 * manual/memory.texi (Malloc Tunable Parameters):
20057 Sort parameters alphabetically. Add comments for missing entries.
20059 2013-03-17 David S. Miller <davem@davemloft.net>
20061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20063 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20066 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20067 for arguments at most half maximum finite value.
20068 * math/libm-test.inc (j0_test): Add more tests.
20069 (j1_test): Likewise.
20070 (y0_test): Likewise.
20071 (y1_test): Likewise.
20072 * sysdeps/i386/fpu/libm-test-ulps: Update.
20073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20076 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20077 1 / x and functions P and Q for arguments above 0x1p256L.
20078 (__ieee754_y0l): Likewise.
20079 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20080 (__ieee754_y1l): Likewise.
20081 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20082 (j1_test): Likewise.
20083 (y0_test): Likewise.
20084 (y1_test): Likewise.
20086 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20088 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20091 2013-03-15 Roland McGrath <roland@hack.frob.com>
20093 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20094 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20095 zero since it's initialized to EXEC_PAGESIZE.
20097 * sysdeps/unix/sysv/linux/ldsodefs.h
20098 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20099 * sysdeps/generic/ldsodefs.h: ... here.
20101 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20103 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20105 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20107 * math/test-snan.c: Renamed from
20108 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20109 * math/Makefile (tests): Add test-snan.
20110 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20113 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20114 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20116 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20117 __builtin_nan family of functions.
20118 * math/libm-test.inc (initialize): Initialize qnan_value with
20119 __builtin_nan family of functions.
20120 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20122 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20124 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20125 storage class. Initialize qNaN_var and sNaN_var with
20126 __builtin_nan and __builtin_nans families of functions,
20129 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20130 (sqrt_test): Remove duplicate test with qNaN input.
20131 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20132 (round_test, signbit_test, significand_test): Note missing +/-Inf
20133 as well as qNaN tests.
20135 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20136 qNaN_var. Fix a few strings, too.
20137 * math/libm-test.inc (nan_value): Rename to qnan_value.
20138 * math/gen-libm-test.pl (%beautify): Adjust to that.
20139 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20140 * math/test-misc.c (main): Likewise.
20141 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20142 to __qnan_bytes, and __qnan_union, respectively.
20143 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20145 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20146 and lqnanval, respectively.
20147 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20148 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20149 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20150 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20152 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20153 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20156 * math/test-misc.c (main): Fix copy'n'pastos.
20157 * misc/tst-efgcvt.c (special): Likewise.
20159 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20160 Remove declarations.
20162 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20164 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20165 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20166 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20167 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20169 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20171 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20172 macro to return vdso values correctly in IFUNC implementations.
20173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20174 Optimization by using IFUNC.
20176 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20177 Richard Henderson <rth@redhat.com>
20178 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20180 * Makefile.in (bench): New target.
20181 * NEWS: Mention the benchmark framework.
20182 * Rules (bench): Likewise.
20183 (binaries-bench): Generate binaries for functions to
20185 * benchtests/Makefile: New makefile for benchmark tests.
20186 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20188 * benchtests/exp-inputs: New input file for EXP function.
20189 * benchtests/pow-inputs: New input file for POW function.
20190 * scripts/bench.pl: New script to generate source files for
20191 benchmark programs.
20193 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20195 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20196 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20197 computations on mantissa. Use macros for rounding and
20199 (denorm): Likewise.
20200 (__dbl_mp): Likewise.
20201 (add_magnitudes): Likewise.
20202 (sub_magnitudes): Likewise.
20205 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20206 powers of two in terms of TWOPOW macro.
20207 (mp_no): Make type of mantissa as MANTISSA_T.
20208 [!RADIXI]: Define RADIXI.
20209 [!TWO52]: Define TWO52.
20210 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20212 * manual/nptl.texi (cindex): Modify threads to pthreads.
20214 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20216 * sysdeps/x86_64/preconfigure: Regenerated.
20218 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20221 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20223 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20224 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20226 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20227 * math/libm-test.inc (j0_test): Do not allow one spurious
20228 underflow exception.
20229 (y1_test): Likewise.
20231 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20233 * manual/Makefile (chapters): Add nptl.
20234 * manual/debug.texi (Debugging Support): Add link to Threads
20236 * manual/nptl.texi: New file.
20238 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20240 2013-03-14 Petr Baudis <pasky@ucw.cz>
20242 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20243 for non-NULL pointer before the memory validity test. Pointed
20244 out by Holger Brunck <holger.brunck@keymile.com>.
20246 2013-03-13 Andreas Schwab <schwab@suse.de>
20248 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20251 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20253 * timezone/zic.c: Update from tzcode 2013b.
20255 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20257 * manual/install.texi (Configuring and compiling):
20258 Mention i686 and i586.
20259 * INSTALL: Regenerate.
20261 2013-03-12 Roland McGrath <roland@hack.frob.com>
20263 * sysdeps/init_array/elf-init.c: New file.
20265 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20266 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20268 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20269 __gmon_start__ as global, but as static with a .preinit_array pointer.
20270 * sysdeps/init_array/gmon-start.c: New file. Use that.
20271 * sysdeps/init_array/crti.S: New file, empty except for comments.
20272 * sysdeps/init_array/crtn.S: Likewise.
20274 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20276 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20279 Remove Prefer_SSE_for_memop.
20280 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20281 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20282 HAS_PREFER_SSE_FOR_MEMOP.
20283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20286 Remove bzero, memset ifunc support.
20287 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20288 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20289 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20290 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20292 2013-03-11 Andreas Schwab <schwab@suse.de>
20295 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20298 (GLIBC_2.16): Remove pthread_atfork.
20300 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20302 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20303 (ptestcases.h): Likewise.
20305 2013-03-08 Roland McGrath <roland@hack.frob.com>
20307 * Makeconfig ($(common-objpfx)config.status): Depend on
20308 sysdeps/*/preconfigure{,.in} too.
20310 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20312 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20313 (__free_hook): Use void * instead of __malloc_ptr_t.
20314 (__malloc_hook): Likewise.
20315 (__realloc_hook): Likewise.
20316 (__memalign_hook): Likewise.
20317 (__after_morecore_hook): Likewise.
20318 * malloc/arena.c (save_malloc_hook): Likewise.
20319 (save_free_hook): Likewise.
20320 * malloc/hooks.c (malloc_hook_ini): Likewise.
20321 (realloc_hook_ini): Likewise.
20322 (memalign_hook_ini): Likewise.
20323 * malloc/malloc.c (malloc_hook_ini): Likewise.
20324 (realloc_hook_ini): Likewise.
20325 (memalign_hook_ini): Likewise.
20326 (__free_hook): Likewise.
20327 (__malloc_hook): Likewise.
20328 (__realloc_hook): Likewise.
20329 (__memalign_hook): Likewise.
20330 (__libc_malloc): Likewise.
20331 (__libc_free): Likewise.
20332 (__libc_realloc): Likewise.
20333 (__libc_memalign): Likewise.
20334 (__libc_valloc): Likewise.
20335 (__libc_pvalloc): Likewise.
20336 (__libc_calloc): Likewise.
20337 (__posix_memalign): Likewise.
20338 * malloc/morecore.c (__sbrk): Likewise.
20339 (__default_morecore): Likewise.
20341 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20343 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20344 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20345 __malloc_ptrdiff_t.
20347 * malloc/malloc.h (__malloc_size_t): Remove macro.
20348 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20350 (old_memalign_hook): Likewise.
20351 (old_realloc_hook): Likewise.
20352 (struct hdr): Likewise.
20354 (mallochook): Likewise.
20355 (memalignhook): Likewise.
20356 (reallochook): Likewise.
20357 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20358 (tr_old_realloc_hook): Likewise.
20359 (tr_old_memalign_hook): Likewise.
20360 (tr_mallochook): Likewise.
20361 (tr_reallochook): Likewise.
20362 (tr_memalignhook): Likewise.
20364 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20367 default_ldbl_pack and using as default implementation.
20368 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20370 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20371 redundant definition.
20372 (ldbl_insert_mantissa): Likewise.
20373 (ldbl_canonicalize): Likewise.
20374 (ldbl_nearbyint): Likewise.
20375 (ldbl_pack): Rename to ldbl_pack_ppc.
20376 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20377 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20378 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20380 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20383 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20384 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20385 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20388 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20389 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20391 2013-03-07 Andreas Jaeger <aj@suse.de>
20393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20396 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20398 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20399 Include mpa.h and declare __MPEXP.
20400 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20402 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20403 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20405 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20406 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20408 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20409 (__slowpow): Use long double EXPL and LOGL functions to
20411 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20412 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20413 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20414 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20415 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20416 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20419 intermediate variable to calculate exponent.
20421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20425 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20426 [!NO__SQR]: Define __sqr.
20427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20428 and NO__SQR. Remove all code except __mul and __sqr. Include
20429 sysdeps/ieee754/dbl-64/mpa.c.
20430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20433 * posix/Makefile (tests): Add tst-pathconf.
20434 * posix/tst-pathconf.c: New test case.
20435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20437 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20439 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20441 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20443 2013-03-06 Andreas Jaeger <aj@suse.de>
20445 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20446 definition via __MAP_ANONYMOUS.
20448 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20449 it's not part of Linux headers.
20451 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20452 (MAP_HUGE_MASK): Define.
20454 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20456 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20457 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20459 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20460 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20462 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20465 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20467 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20468 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20469 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20470 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20471 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20472 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20474 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20478 Handle f2fs and efivarfs.
20480 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20483 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20484 (EFIVARFS_MAGIC): Add.
20485 (F2FS_LINK_MAX): Add.
20487 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20489 * stdio-common/vfprintf.c: Replace __builtin_expect with
20492 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20495 * sysdeps/generic/bp-sym.h: Remove file.
20496 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20497 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20498 <bp-sym.h> and <bp-asm.h>.
20499 (__longjmp): Don't use BP_SYM.
20500 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20502 (memcpy): Don't use BP_SYM.
20503 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20504 <bp-sym.h> and <bp-asm.h>.
20505 (memcpy): Don't use BP_SYM.
20506 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20508 (memcpy): Don't use BP_SYM.
20509 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20511 (memset): Don't use BP_SYM.
20512 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20513 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20514 (__bzero): Don't use BP_SYM.
20515 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20516 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20517 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20518 <bp-sym.h> and <bp-asm.h>.
20519 (memcmp): Don't use BP_SYM. Remove comment about bounded
20521 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20522 <bp-sym.h> and <bp-asm.h>.
20523 (memcpy): Don't use BP_SYM.
20524 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20525 <bp-sym.h> and <bp-asm.h>.
20526 (memset): Don't use BP_SYM.
20527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20529 (__bzero): Don't use BP_SYM.
20530 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20531 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20532 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20533 <bp-sym.h> and <bp-asm.h>.
20534 (strncmp): Don't use BP_SYM. Remove comment about bounded
20536 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20537 <bp-sym.h> and <bp-asm.h>.
20538 (memcpy): Don't use BP_SYM.
20539 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20540 <bp-sym.h> and <bp-asm.h>.
20541 (memset): Don't use BP_SYM.
20542 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20543 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20544 (__bzero): Don't use BP_SYM.
20545 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20546 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20547 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20548 <bp-sym.h> and <bp-asm.h>.
20549 (__memchr): Don't use BP_SYM.
20550 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20551 <bp-sym.h> and <bp-asm.h>.
20552 (memcmp): Don't use BP_SYM. Remove comment about bounded
20554 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20555 <bp-sym.h> and <bp-asm.h>.
20556 (memcpy): Don't use BP_SYM.
20557 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20558 <bp-sym.h> and <bp-asm.h>.
20559 (__mempcpy): Don't use BP_SYM.
20560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20561 <bp-sym.h> and <bp-asm.h>.
20562 (__memrchr): Don't use BP_SYM.
20563 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20564 <bp-sym.h> and <bp-asm.h>.
20565 (memset): Don't use BP_SYM.
20566 (__bzero): Likewise.
20567 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20568 <bp-sym.h> and <bp-asm.h>.
20569 (__rawmemchr): Don't use BP_SYM.
20570 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20571 <bp-sym.h> and <bp-asm.h>.
20572 (__STRCMP): Don't use BP_SYM.
20573 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20574 <bp-sym.h> and <bp-asm.h>.
20575 (strchr): Don't use BP_SYM.
20576 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20577 <bp-sym.h> and <bp-asm.h>.
20578 (__strchrnul): Don't use BP_SYM.
20579 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20580 <bp-sym.h> and <bp-asm.h>.
20581 (strlen): Don't use BP_SYM.
20582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20583 <bp-sym.h> and <bp-asm.h>.
20584 (strncmp): Don't use BP_SYM. Remove comment about bounded
20586 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20587 <bp-sym.h> and <bp-asm.h>.
20588 (__strnlen): Don't use BP_SYM.
20589 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20590 <bp-sym.h> and <bp-asm.h>.
20591 (__GI__setjmp): Don't use BP_SYM.
20592 (_setjmp): Likewise.
20593 (__sigsetjmp): Likewise.
20594 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20595 (L(start_addresses)): Don't use BP_SYM.
20596 (_start): Likewise.
20597 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20599 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20600 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20601 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20602 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20603 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20605 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20606 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20607 about bounded pointers.
20608 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20609 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20610 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20612 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20613 about bounded pointers. Remove GKM FIXME comments.
20614 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20615 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20617 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20618 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20619 Remove GKM FIXME comments.
20620 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20621 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20622 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20624 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20625 about bounded pointers. Remove GKM FIXME comment.
20626 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20628 (strncmp): Don't use BP_SYM. Remove comment about bounded
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20631 <bp-sym.h> and <bp-asm.h>.
20632 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20634 <bp-sym.h> and <bp-asm.h>.
20635 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20638 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20640 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20643 2013-03-05 David S. Miller <davem@davemloft.net>
20645 * po/es.po: Update from translation team.
20647 2013-03-05 Andreas Jaeger <aj@suse.de>
20649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20650 <bits/mman-linux.h>.
20651 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20654 <bits/mman-linux.h> to end of file.
20655 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20657 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20658 <bits/mman-linux.h> to end of file.
20659 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20661 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20662 <bits/mman-linux.h> to end of file.
20664 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20665 (MCL_CURRENT, MCL_FUTURE): Define here.
20667 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20672 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20674 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20676 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20677 fourth parameter needed for rt_sigprocmask syscall.
20678 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20679 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20680 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20681 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20683 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20685 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20688 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20689 comment about bounded pointers.
20690 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20691 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20693 2013-03-04 Andreas Jaeger <aj@suse.de>
20695 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20696 common definitions.
20698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20699 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20700 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20701 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20705 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20708 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20709 __ieee754_sqrl instead of __sqrl.
20711 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20713 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20714 * sysdeps/powerpc/fpu_control.h: ... here.
20715 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20716 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20717 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20718 * sysdeps/powerpc/bits/mathinline.h: ... here.
20720 2013-03-01 Roland McGrath <roland@hack.frob.com>
20722 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20723 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20724 to just [NEED_DL_SYSINFO_DSO].
20725 * elf/dl-support.c: Likewise.
20726 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20727 * elf/rtld.c (dl_main): Likewise.
20728 * elf/setup-vdso.h (setup_vdso): Likewise.
20729 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20730 * sysdeps/unix/sysv/linux/dl-sysdep.c
20731 (_dl_discover_osversion): Likewise.
20733 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20735 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20736 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20738 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20740 * NEWS: Mention libm performance improvements and non-x86 PI
20743 * csu/libc-start.c (__pthread_initialize_minimal): Change
20744 function arguments.
20745 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20747 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20750 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20751 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20752 <bp-sym.h> and <bp-asm.h>.
20753 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20754 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20756 (memcpy): Don't use BP_SYM.
20757 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20759 (__mpn_add_n): Don't use BP_SYM.
20760 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20761 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20763 (__mpn_addmul_1): Don't use BP_SYM.
20764 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20765 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20767 (_setjmp): Don't use BP_SYM.
20768 (__novmx_setjmp): Likewise.
20769 (__GI__setjmp): Likewise.
20770 (__vmx_setjmp): Likewise.
20771 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20773 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20774 (__bzero): Don't use BP_SYM.
20775 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20776 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20777 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20778 <bp-sym.h> and <bp-asm.h>.
20779 (memcpy): Don't use BP_SYM.
20780 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20781 <bp-sym.h> and <bp-asm.h>.
20782 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20783 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20784 <bp-sym.h> and <bp-asm.h>.
20785 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20786 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20788 (__mpn_lshift): Don't use BP_SYM.
20789 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20790 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20792 (memset): Don't use BP_SYM.
20793 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20794 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20795 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20797 (__mpn_mul_1): Don't use BP_SYM.
20798 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20799 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20800 <bp-sym.h> and <bp-asm.h>.
20801 (memcmp): Don't use BP_SYM.
20802 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20803 <bp-sym.h> and <bp-asm.h>.
20804 (memcpy): Don't use BP_SYM.
20805 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20806 <bp-sym.h> and <bp-asm.h>.
20807 (memset): Don't use BP_SYM.
20808 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20809 <bp-sym.h> and <bp-asm.h>.
20810 (strncmp): Don't use BP_SYM.
20811 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20812 <bp-sym.h> and <bp-asm.h>.
20813 (memcpy): Don't use BP_SYM.
20814 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20815 <bp-sym.h> and <bp-asm.h>.
20816 (memset): Don't use BP_SYM.
20817 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20818 <bp-sym.h> and <bp-asm.h>.
20819 (__memchr): Don't use BP_SYM.
20820 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20821 <bp-sym.h> and <bp-asm.h>.
20822 (memcmp): Don't use BP_SYM.
20823 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20824 <bp-sym.h> and <bp-asm.h>.
20825 (memcpy): Don't use BP_SYM.
20826 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20827 <bp-sym.h> and <bp-asm.h>.
20828 (__mempcpy): Don't use BP_SYM.
20829 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20830 <bp-sym.h> and <bp-asm.h>.
20831 (__memrchr): Don't use BP_SYM.
20832 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20833 <bp-sym.h> and <bp-asm.h>.
20834 (memset): Don't use BP_SYM.
20835 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20836 <bp-sym.h> and <bp-asm.h>.
20837 (__rawmemchr): Don't use BP_SYM.
20838 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20839 <bp-sym.h> and <bp-asm.h>.
20840 (__STRCMP): Don't use BP_SYM.
20841 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20842 <bp-sym.h> and <bp-asm.h>.
20843 (strchr): Don't use BP_SYM.
20844 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20845 <bp-sym.h> and <bp-asm.h>.
20846 (__strchrnul): Don't use BP_SYM.
20847 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20848 <bp-sym.h> and <bp-asm.h>.
20849 (strlen): Don't use BP_SYM.
20850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20851 <bp-sym.h> and <bp-asm.h>.
20852 (strncmp): Don't use BP_SYM.
20853 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20854 <bp-sym.h> and <bp-asm.h>.
20855 (__strnlen): Don't use BP_SYM.
20856 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20858 (__mpn_rshift): Don't use BP_SYM.
20859 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20860 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20861 <bp-sym.h> and <bp-asm.h>.
20862 (__sigsetjmp): Don't use BP_SYM.
20863 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20864 (L(start_addresses)): Don't use BP_SYM.
20865 (_start): Likewise.
20866 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20868 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20869 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20870 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20871 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20873 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20874 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20875 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20876 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20878 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20880 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20881 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20883 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20885 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20886 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20887 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20889 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20891 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20893 (strncmp): Don't use BP_SYM,
20894 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20896 (__mpn_sub_n): Don't use BP_SYM.
20897 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20898 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20900 (__mpn_submul_1): Don't use BP_SYM.
20901 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20903 <bp-sym.h> and <bp-asm.h>.
20904 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20906 <bp-sym.h> and <bp-asm.h>.
20907 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20910 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20913 Use ZK to minimize writes to Z.
20914 (sub_magnitudes): Simplify code a bit.
20915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20916 Use ZK to minimize writes to Z.
20917 (sub_magnitudes): Simplify code a bit.
20919 2013-02-27 Roland McGrath <roland@hack.frob.com>
20921 * csu/gmon-start.c: Add special exception to license text.
20923 2013-02-27 Richard Henderson <rth@redhat.com>
20925 * scripts/config.guess: Update from config.git.
20926 * scripts/config.sub: Likewise.
20928 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20930 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20932 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20934 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20936 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20938 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20940 2013-02-26 Roland McGrath <roland@hack.frob.com>
20942 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20943 [$(build-shared = yes].
20945 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20947 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20948 (__mul): Reduce iterations for calculating mantissa.
20950 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20952 (__mpranred): Likewise.
20955 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20956 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20958 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20960 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20961 Define __attribute__.
20963 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20965 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20967 * posix/regex_internal.h (__attribute): Remove.
20968 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20969 (re_string_context_at): Likewise.
20970 (bitset_not): Use __attribute__ and mark function as possibly
20972 (bitset_merge): Likewise.
20973 (bitset_mask): Likewise.
20974 (re_string_char_size_at): Likewise.
20975 (re_string_wchar_at): Likewise.
20976 (re_string_elem_size_at): Likewise.
20978 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20980 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20984 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20988 (denorm): Likewise.
20989 (__dbl_mp): Likewise.
20990 (add_magnitudes): Likewise.
20991 (sub_magnitudes): Likewise.
20995 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20998 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21001 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21005 up changes with default code.
21006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21009 2013-02-24 Allan McRae <allan@archlinux.org>
21011 * manual/socket.texi (The Internet Namespace): Order menu items
21012 to match that in the file.
21014 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21015 node listing of the info page menu.
21017 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21020 * sysdeps/i386/bp-asm.h: Remove file.
21021 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21022 (PARMS): Do not use macros from bp-asm.h.
21026 (__mpn_add_n): Do not use BP_SYM
21027 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21029 (PARMS): Do not use macros from bp-asm.h.
21032 (__mpn_addmul_1): Do not use BP_SYM
21033 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21035 (PARMS): Do not use macros from bp-asm.h.
21036 (SIGMSK): Likewise.
21037 (_setjmp): Likewise. Do not use BP_SYM.
21038 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21040 (PARMS): Do not use macros from bp-asm.h.
21041 (SIGMSK): Likewise.
21042 (setjmp): Likewise. Do not use BP_SYM.
21043 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21045 (PARMS): Do not use macros from bp-asm.h.
21046 (__frexp): Do not use BP_SYM.
21048 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21050 (PARMS): Do not use macros from bp-asm.h.
21051 (__frexpf): Do not use BP_SYM.
21052 (frexpf): Likewise.
21053 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21055 (PARMS): Do not use macros from bp-asm.h.
21056 (__frexpl): Do not use BP_SYM.
21057 (frexpl): Likewise.
21058 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21060 (PARMS): Do not use macros from bp-asm.h.
21061 (__remquo): Do not use BP_SYM.
21062 (remquo): Likewise.
21063 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21065 (PARMS): Do not use macros from bp-asm.h.
21066 (__remquof): Do not use BP_SYM.
21067 (remquof): Likewise.
21068 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21070 (PARMS): Do not use macros from bp-asm.h.
21071 (__remquol): Do not use BP_SYM.
21072 (remquol): Likewise.
21073 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21075 (PARMS): Do not use macros from bp-asm.h.
21078 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21079 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21081 (PARMS): Do not use macros from bp-asm.h.
21082 (strlen): Do not use BP_SYM.
21083 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21085 (PARMS): Do not use macros from bp-asm.h.
21089 (__mpn_add_n): Do not use BP_SYM.
21090 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21092 (PARMS): Do not use macros from bp-asm.h.
21095 (__mpn_addmul_1): Do not use BP_SYM.
21096 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21099 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21101 (PARMS): Do not use macros from bp-asm.h.
21104 (__mpn_lshift): Do not use BP_SYM.
21105 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21107 (PARMS): Do not use macros from bp-asm.h.
21111 (memcpy): Likewise. Do not use BP_SYM.
21112 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21113 libc_hidden_def and weak_alias.
21114 (mempcpy): Do not use BP_SYM in weak_alias.
21115 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21117 (PARMS): Do not use macros from bp-asm.h.
21120 [!BZERO_P] (CHR): Likewise.
21121 (memset): Likewise. Do not use BP_SYM.
21122 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21124 (PARMS): Do not use macros from bp-asm.h.
21127 (__mpn_mul_1): Do not use BP_SYM.
21128 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21130 (PARMS): Do not use macros from bp-asm.h.
21133 (__mpn_rshift): Do not use BP_SYM.
21134 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21136 (PARMS): Do not use macros from bp-asm.h.
21139 (strchr): Likewise. Do not use BP_SYM.
21140 (index): Do not use BP_SYM in weak_alias.
21141 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21143 (PARMS): Do not use macros from bp-asm.h.
21146 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21147 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21149 (PARMS): Do not use macros from bp-asm.h.
21150 (strlen): Do not use BP_SYM.
21151 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21153 (PARMS): Do not use macros from bp-asm.h.
21157 (__mpn_sub_n): Do not use BP_SYM.
21158 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21160 (PARMS): Do not use macros from bp-asm.h.
21163 (__mpn_submul_1): Do not use BP_SYM.
21164 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21166 (PARMS): Do not use macros from bp-asm.h.
21170 (__mpn_add_n): Do not use BP_SYM.
21171 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21174 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21176 (PARMS): Do not use macros from bp-asm.h.
21179 (memcmp): Do not use BP_SYM.
21180 (bcmp): Do not use BP_SYM in weak_alias.
21181 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21183 (PARMS): Do not use macros from bp-asm.h.
21187 (memcpy): Likewise. Do not use BP_SYM.
21188 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21190 (PARMS): Do not use macros from bp-asm.h.
21194 (memmove): Likewise. Do not use BP_SYM.
21195 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21197 (PARMS): Do not use macros from bp-asm.h.
21201 (__mempcpy): Likewise. Do not use BP_SYM.
21202 (mempcpy): Do not use BP_SYM in weak_alias.
21203 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21205 (PARMS): Do not use macros from bp-asm.h.
21208 [!BZERO_P] (CHR): Likewise.
21209 (memset): Likewise. Do not use BP_SYM.
21210 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21212 (PARMS): Do not use macros from bp-asm.h.
21214 (strcmp): Do not use BP_SYM.
21215 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21217 (PARMS): Do not use macros from bp-asm.h.
21220 [USE_AS_STRTOK_R] (SAVE): Likewise.
21221 (FUNCTION): Likewise. Do not use BP_SYM.
21222 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21224 (strtok_r): Likewise.
21225 (__GI___strtok_r): Likewise.
21226 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21227 (PARMS): Do not use macros from bp-asm.h.
21230 (__mpn_lshift): Do not use BP_SYM.
21231 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21232 (PARMS): Do not use macros from bp-asm.h.
21235 (__memchr): Do not use BP_SYM.
21236 (memchr): Do not use BP_SYM in weak_alias.
21237 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21238 (PARMS): Do not use macros from bp-asm.h.
21241 (memcmp): Do not use BP_SYM.
21242 (bcmp): Do not use BP_SYM in weak_alias.
21243 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21244 (PARMS): Do not use macros from bp-asm.h.
21247 (__mpn_mul_1): Do not use BP_SYM.
21248 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21250 (PARMS): Do not use macros from bp-asm.h.
21253 (__rawmemchr): Do not use BP_SYM.
21254 (rawmemchr): Do not use BP_SYM in weak_alias.
21255 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21256 (PARMS): Do not use macros from bp-asm.h.
21259 (__mpn_rshift): Do not use BP_SYM.
21260 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21261 (PARMS): Do not use macros from bp-asm.h.
21262 (SIGMSK): Likewise.
21263 (__sigsetjmp): Likewise. Do not use BP_SYM.
21264 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21265 (_start): Do not use BP_SYM.
21266 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21267 (PARMS): Do not use macros from bp-asm.h.
21270 (__stpcpy): Likewise. Do not use BP_SYM.
21271 (stpcpy): Do not use BP_SYM in weak_alias.
21272 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21274 (PARMS): Do not use macros from bp-asm.h.
21278 (__stpncpy): Likewise. Do not use BP_SYM.
21279 (stpncpy): Do not use BP_SYM in weak_alias.
21280 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21281 (PARMS): Do not use macros from bp-asm.h.
21284 (strchr): Likewise. Do not use BP_SYM.
21285 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21287 (PARMS): Do not use macros from bp-asm.h.
21290 (__strchrnul): Likewise. Do not use BP_SYM.
21291 (strchrnul): Do not use BP_SYM in weak_alias.
21292 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21294 (PARMS): Do not use macros from bp-asm.h.
21296 (strcspn): Do not use BP_SYM.
21297 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21299 (PARMS): Do not use macros from bp-asm.h.
21302 (strpbrk): Likewise. Do not use BP_SYM.
21303 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21305 (PARMS): Do not use macros from bp-asm.h.
21308 (strrchr): Likewise. Do not use BP_SYM.
21309 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21310 (PARMS): Do not use macros from bp-asm.h.
21312 (strspn): Do not use BP_SYM.
21313 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21314 (PARMS): Do not use macros from bp-asm.h.
21318 (FUNCTION): Likewise. Do not use BP_SYM.
21319 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21321 (strtok_r): Likewise.
21322 (__GI___strtok_r): Likewise.
21323 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21324 (PARMS): Do not use macros from bp-asm.h.
21328 (__mpn_sub_n): Do not use BP_SYM.
21329 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21331 (PARMS): Do not use macros from bp-asm.h.
21334 (__mpn_submul_1): Do not use BP_SYM.
21335 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21337 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21339 (PARMS): Do not use macros from bp-asm.h.
21344 (__clone): Do not use BP_SYM.
21345 (clone): Do not use BP_SYM in weak_alias.
21346 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21348 (PARMS): Do not use macros from bp-asm.h.
21350 (__mmap64): Do not use BP_SYM.
21351 (mmap64): Do not use BP_SYM in weak_alias.
21352 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21353 <bp-sym.h> and <bp-asm.h>.
21354 (PARMS): Do not use macros from bp-asm.h.
21355 (__posix_fadvise64_l64): Do not use BP_SYM.
21356 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21357 (PARMS): Do not use macros from bp-asm.h.
21359 (semtimedop): Do not use BP_SYM.
21360 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21363 2013-02-21 Allan McRae <allan@archlinux.org>
21365 * manual/message.texi (Charset conversion in gettext):
21366 Move @end statement to beginning of line.
21368 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21375 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21376 (denorm): Likewise.
21377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21380 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21382 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21383 tail-call to the resolved function if pltexit isn't needed.
21385 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21388 or Y being zero as being unlikely.
21389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21392 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21394 * manual/nss.texi (System Databases and Name Service Switch):
21395 Remove frobnicate @pxref.
21397 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21399 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21400 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21402 2013-02-20 Petr Machata <pmachata@redhat.com>
21404 * elf/elf.h (R_ARM_TARGET1): New macro.
21405 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21406 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21407 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21408 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21409 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21410 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21411 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21412 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21413 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21414 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21415 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21416 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21417 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21418 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21419 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21420 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21421 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21422 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21423 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21424 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21425 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21426 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21427 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21428 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21429 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21430 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21431 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21432 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21433 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21434 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21435 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21436 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21437 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21438 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21439 (R_ARM_THM_GOT_BREL12): Likewise.
21440 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21441 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21442 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21443 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21444 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21445 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21446 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21447 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21448 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21450 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21452 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21453 __attribute_used__ to __attribute__ ((unused)).
21455 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21457 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21460 comment formatting.
21461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21463 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21466 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21468 (ENTER): Remove both macro definitions.
21470 (CHECK_BOUNDS_LOW): Likewise.
21471 (CHECK_BOUNDS_HIGH): Likewise.
21472 (CHECK_BOUNDS_BOTH): Likewise.
21473 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21474 (RETURN_BOUNDED_POINTER): Likewise.
21475 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21476 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21477 (POP_ERRNO_LOCATION_RETURN): Likewise.
21478 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21479 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21480 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21482 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21483 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21484 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21485 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21486 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21487 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21488 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21489 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21490 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21491 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21492 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21493 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21494 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21495 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21497 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21498 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21500 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21501 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21502 * sysdeps/i386/i586/memset.S (memset): Likewise.
21503 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21504 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21505 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21507 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21508 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21509 Change uses of L(2) to L(out).
21510 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21511 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21512 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21513 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21514 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21516 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21517 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21519 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21520 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21521 (RETURN): Do not use macro LEAVE.
21522 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21523 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21524 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21525 * sysdeps/i386/i686/memset.S (memset): Likewise.
21526 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21527 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21528 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21529 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21531 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21532 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21533 L(1_2) and L(1_3) into L(1).
21534 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21535 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21536 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21537 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21538 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21539 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21540 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21541 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21542 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21544 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21545 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21546 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21547 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21548 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21549 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21550 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21551 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21552 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21553 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21554 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21555 * sysdeps/i386/strspn.S (strspn): Likewise.
21556 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21558 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21559 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21560 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21561 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21562 L(1_3) into L(1_1).
21563 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21564 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21565 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21567 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21569 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21571 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21574 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21576 * math/atest-exp.c (exp_mpn): Remove ROUND.
21577 * math/atest-exp2.c (exp_mpn): Likewise.
21578 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21580 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21581 * stdlib/tst-tls-atexit-lib.c: Likewise.
21582 * stdlib/tst-tls-atexit.c: Likewise.
21584 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21586 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21587 and __attribute_alloc_size__.
21589 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21591 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21592 __attribute_alloc_size__.
21593 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21594 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21596 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21598 * include/programs/xmalloc.h: New file.
21599 * catgets/gencat.c: Include it.
21600 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21601 * elf/pldd.c: Likewise.
21602 * iconv/iconv_charmap.c: Likewise.
21603 * iconv/iconvconfig.c: Likewise.
21604 * iconv/strtab.c: Likewise.
21605 * locale/programs/locale.c: Likewise.
21606 * locale/programs/localedef.h: Likewise.
21607 * locale/programs/simple-hash.c: Likewise.
21608 * nscd/nscd.h: Likewise.
21609 * nss/makedb.c: Likewise.
21610 * sysdeps/generic/ldconfig.h: Likewise.
21612 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21614 * Versions.def: Add GLIBC_2.18.
21615 * include/link.h (struct link_map): New member l_tls_dtor_count.
21616 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21617 (__call_tls_dtors): Likewise.
21618 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21619 __cxa_thread_atexit_impl.
21620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21636 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21637 (tests): Add test case tst-tls-atexit.
21638 (modules-names): Add shared library for tst-tls-atexit.
21639 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21640 (GLIBC_PRIVATE): Add __call_tls_dtors.
21641 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21643 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21644 * stdlib/tst-tls-atexit.c: New test case.
21645 * stdlib/tst-tls-atexit-lib.c: New test case.
21647 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21649 * elf/Versions (ld): Add _dl_find_dso_for_object.
21650 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21651 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21652 (dl_open_worker): Use _dl_find_dso_for_object.
21653 * elf/dl-sym.c (do_sym): Likewise.
21654 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21656 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21658 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21659 Syntactic changes only.
21660 (_dl_runtime_profile): Do a tail-call to the resolved function.
21662 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21665 * sysdeps/x86_64/bp-asm.h: Remove file.
21666 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21667 <bp-sym.h> and <bp-asm.h>.
21668 (__clone): Do not use BP_SYM.
21669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21670 <bp-sym.h> and <bp-asm.h>.
21671 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21672 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21674 (_setjmp): Do not use BP_SYM.
21675 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21677 (setjmp): Do not use BP_SYM.
21678 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21680 (mempcpy): Do not use BP_SYM in weak_alias.
21681 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21683 (strchr): Do not use BP_SYM.
21684 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21686 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21687 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21688 (_start): Do not use BP_SYM.
21689 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21691 (strcat): Do not use BP_SYM.
21692 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21694 (STRCMP): Do not use BP_SYM.
21695 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21697 (STRCPY): Do not use BP_SYM.
21698 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21700 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21702 (FUNCTION): Do not use BP_SYM.
21703 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21705 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21707 2013-02-17 Andreas Jaeger <aj@suse.de>
21709 * time/Versions: Sort entries.
21710 * string/Versions: Likewise.
21711 * resolv/Versions: Likewise.
21712 * posix/Versions: Likewise.
21713 * iconv/Versions: Likewise.
21714 * elf/Versions: Likewise.
21715 * wcsmbs/Versions: Likewise.
21717 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21719 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21720 loop termination condition.
21722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21723 variable to calculate EZ.
21726 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21727 the lower precision input.
21729 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21732 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21733 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21734 (run-via-rtld-prefix): Do not handle %-bp tests.
21735 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21736 (all-object-suffixes): Remove .ob.
21737 (bppfx): Remove variable.
21738 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21739 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21740 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21741 [$(build-bounded) = yes] (libtype.ob): Likewise.
21742 * Makerules (elide-routines.ob): Remove variable.
21743 (do-tests-clean): Do not handle *-bp.out.
21744 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21745 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21746 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21747 (tests): Do not include $(tests-bp.out).
21748 (xtests): Do not include $(xtests-bp.out).
21749 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21750 [$(build-bounded) = yes] ($(addprefix
21751 $(objpfx),$(binaries-bounded))): Remove rule.
21752 ($(objpfx)%-bp.out): Remove rule.
21753 * config.make.in (build-bounded): Remove variable.
21754 * crypt/Makefile [$(build-bounded) = yes]
21755 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21756 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21757 append to variable.
21758 [$(build-bounded) = yes] (install-lib): Likewise.
21759 [$(build-bounded) = yes] (generated): Likewise.
21760 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21762 * intl/Makefile [$(build-bounded) = yes]
21763 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21764 * math/Makefile [$(build-bounded) = yes]
21765 ($(tests:%=$(objpfx)%-bp): Likewise.
21766 * misc/Makefile [$(build-bounded) = yes]
21767 ($(objpfx)tst-tsearch-bp): Likewise.
21768 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21769 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21771 * string/Makefile (o-objects.ob): Remove variable.
21772 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21773 (CFLAGS-.ob): Remove variable.
21774 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21775 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21776 both definitions of variable.
21777 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21778 (ASFLAGS-.ob): Remove variable.
21780 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21783 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21784 Remove __BOUNDED_POINTERS__ from condition.
21785 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21786 * string/bits/string2.h [!__NO_STRING_INLINES &&
21787 !__BOUNDED_POINTERS__]: Likewise.
21788 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21790 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21791 Remove conditional code.
21792 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21793 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21794 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21798 * csu/libc-start.c: Do not include <bp-sym.h>.
21799 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21800 * elf/dl-open.c: Do not include <bp-sym.h>.
21801 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21802 * math/fegetenv.c: Do not include <bp-sym.h>.
21803 (fegetenv): Do not use BP_SYM in versioned symbols.
21804 * nptl/sysdeps/pthread/bits/libc-lockP.h
21805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21808 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21810 (__pthread_mutex_destroy): Likewise.
21811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21812 (__pthread_mutex_lock): Likewise.
21813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21814 (__pthread_mutex_trylock): Likewise.
21815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21816 (__pthread_mutex_unlock): Likewise.
21817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21818 (__pthread_mutexattr_init): Likewise.
21819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21820 (__pthread_mutexattr_destroy): Likewise.
21821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21822 (__pthread_mutexattr_settype): Likewise.
21823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21824 (__pthread_rwlock_init): Likewise.
21825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21826 (__pthread_rwlock_destroy): Likewise.
21827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21828 (__pthread_rwlock_rdlock): Likewise.
21829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21830 (__pthread_rwlock_tryrdlock): Likewise.
21831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21832 (__pthread_rwlock_wrlock): Likewise.
21833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21834 (__pthread_rwlock_trywrlock): Likewise.
21835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21836 (__pthread_rwlock_unlock): Likewise.
21837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21838 (__pthread_key_create): Likewise.
21839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21840 (__pthread_setspecific): Likewise.
21841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21842 (__pthread_getspecific): Likewise.
21843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21846 (_pthread_cleanup_push_defer): Likewise.
21847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21848 (_pthread_cleanup_pop_restore): Likewise.
21849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21850 (pthread_setcancelstate): Likewise.
21851 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21853 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21854 (memchr): Do not use BP_SYM in weak_alias.
21855 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21856 (fegetenv): Do not use BP_SYM in versioned symbols.
21857 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21858 (fesetenv): Do not use BP_SYM in versioned symbols.
21859 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21860 (feupdateenv): Do not use BP_SYM in versioned symbols.
21861 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21862 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21863 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21864 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21865 (open64): Do not use BP_SYM in weak_alias.
21866 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21867 (fegetenv): Do not use BP_SYM in versioned symbols.
21868 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21869 (fesetenv): Do not use BP_SYM in versioned symbols.
21870 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21871 (feupdateenv): Do not use BP_SYM in versioned symbols.
21872 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21873 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21874 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21875 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21876 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21877 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21878 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21880 (__libc_start_main): Do not use BP_SYM.
21882 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21885 redundant return line.
21887 (denorm): Likewise.
21888 (dbl_mp): Likewise.
21889 (sub_magnitudes): Likewise.
21895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21897 (denorm): Likewise.
21898 (dbl_mp): Likewise.
21899 (sub_magnitudes): Likewise.
21906 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21908 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21909 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21912 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21913 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21915 of __mul for squares.
21916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21920 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21921 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21923 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21926 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21928 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21929 prototype or function definition. Rename ubp_* variables and
21930 parameters. Remove argv definitions conditional on
21931 [__BOUNDED_POINTERS__].
21932 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21933 * elf/dl-runtime.c (_dl_fixup): Likewise.
21934 * include/set-hooks.h (RUN_HOOK): Likewise.
21935 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21937 * string/strcpy.c (strcpy): Do not use __unbounded.
21938 * sysdeps/generic/frame.h (struct layout): Likewise.
21939 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21940 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21941 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21942 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21943 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21944 (__backtrace): Likewise.
21945 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21947 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21948 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21949 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21951 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21952 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21953 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21955 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21956 Do not use __unbounded.
21957 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21958 Rename __unboundedrlimits parameter to rlimits in prototype.
21959 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21960 Do not use __unbounded.
21961 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21962 not use __ptrvalue.
21963 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21964 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21965 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21966 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21967 __ptrvalue or __unbounded.
21968 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21969 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21971 (__new_msgctl): Do not use __ptrvalue.
21972 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21974 (__libc_msgrcv): Do not use __ptrvalue.
21975 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21976 startup_info): Do not use __unbounded.
21977 (__libc_start_main): Likewise. Rename ubp_* variables and
21978 parameters. Remove argv definitions conditional on
21979 [__BOUNDED_POINTERS__].
21980 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21982 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21986 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21988 (__new_shmctl): Do not use __ptrvalue.
21989 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21990 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21992 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21993 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21994 (__libc_sigaction): Likewise.
21995 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21996 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21998 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22000 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22002 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22004 * string/mempcpy.c: Implement by calling memcpy.
22006 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22013 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22014 values in the mantissa.
22016 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22017 minimize writes to Z.
22018 (sub_magnitudes): Simplify code a bit.
22020 2013-02-12 Roland McGrath <roland@hack.frob.com>
22022 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22023 from the message. The linker prefixes all warnings with that already.
22025 2013-02-12 Andreas Schwab <schwab@suse.de>
22028 * posix/regexec.c (extend_buffers): Add parameter min_len.
22029 (check_matching): Pass minimum needed length.
22030 (clean_state_log_if_needed): Likewise.
22031 (get_subexp): Likewise.
22032 * posix/Makefile (tests): Add bug-regex34.
22033 (bug-regex34-ENV): Define.
22034 * posix/bug-regex34.c: New file.
22037 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22038 elements compare against the byte sequence of it, not its name.
22039 * posix/Makefile (tests): Add bug-regex35.
22040 (bug-regex35-ENV): Define.
22041 * posix/bug-regex35.c: New file.
22043 2013-02-11 Tom de Vries <tom@codesourcery.com>
22045 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22047 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22048 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22049 (CHECK_EOL): Add undef.
22051 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22053 * bits/stdlib-bsearch.h: New file.
22054 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22055 * stdlib/stdlib.h: Likewise.
22057 2013-02-11 Roland McGrath <roland@hack.frob.com>
22059 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22060 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22062 * manual/search.texi (Array Search Function): Add missing const in
22064 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22065 declaration to use rlim_t.
22066 (Basic Scheduling Functions): Remove erroneous const from
22067 sched_getparam prototype. Remove erroneous * from
22068 sched_get_priority_max and sched_get_priority_min prototypes.
22069 (Resource Usage): Fix summary @comment on vtimes to refer to
22070 sys/vtimes.h rather than vtimes.h.
22071 Add missing *s in vtimes prototype.
22072 (Limits on Resources): Fix ulimit prototype to return long int.
22073 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22074 prototypes to use long int rather than double.
22075 (BSD Random): Fix initstate and setstate to use char *, not void *.
22076 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22077 prototype to make second argument 'struct aiocb64 *const[]'.
22078 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22079 (Status of AIO Operations): Remove erroneous const in aio_return and
22080 aio_return64 prototypes.
22081 (Synchronizing I/O): Fix sync prototype to return void.
22082 * manual/startup.texi (Suboptions): Remove an erroneous const in
22083 getsubopt prototype.
22084 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22085 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22086 use size_t rather than int.
22087 (Scanning All Users): Likewise for getpwent_r.
22088 (Setting Groups): Add missing const to setgroups prototype.
22089 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22090 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22091 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22092 'const void *' rather than 'const char *'.
22093 (Host Address Functions): Likewise for inet_ntop.
22094 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22095 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22096 ssize_t for return value.
22097 (Sending Data): Likewise for send, sendto, sendmsg.
22098 (Socket Option Functions): Add a missing const in setsockopt prototype.
22099 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22100 use wchar_t for the argument.
22101 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22102 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22104 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22105 double/float/long double for second argument.
22106 Fix return types of significand, significandf, significandl.
22107 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22108 argument in fchmod prototype.
22109 (File Owner): Use uid_t and gid_t in fchown prototype.
22110 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22111 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22112 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22113 use 'const struct dirent **' as argument types to CMP function pointer
22115 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22116 (File Times): Fix summary magic @comment for struct utimbuf and utime
22117 to refer to utime.h, not time.h.
22118 * manual/string.texi (Argz Functions): Add missing const in
22119 argz_extract and argz_next prototypes.
22120 (Finding Tokens in a String): Likewise for basename.
22121 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22122 (Copying and Concatenation): Fix typo in wmemmove prototype.
22123 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22124 (Signal Stack): Remove erroneous const in sigstack prototype.
22125 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22127 (Simple Calendar Time): Likewise for stime.
22128 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22130 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22131 say sys/sysctl.h instead.
22132 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22133 and vsyslog prototypes.
22135 2013-02-11 Tom de Vries <tom@codesourcery.com>
22137 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22140 2013-02-11 Roland McGrath <roland@hack.frob.com>
22142 * misc/sys/mman.h: Fix typo in mremap comment.
22144 2013-02-08 Roland McGrath <roland@hack.frob.com>
22146 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22147 the '\0' terminator.
22149 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22152 * debug/segfault.c: Don't include <bp-checks.h>.
22153 * sysdeps/generic/bp-checks.h: Remove file.
22154 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22155 (__GETDENTS): Don't use CHECK_N.
22156 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22157 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22158 (__getgroups): Don't use CHECK_N.
22159 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22160 (setgroups): Don't use CHECK_N.
22161 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22162 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22163 (__libc_msgrcv): Don't use CHECK_N.
22164 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22165 (__libc_msgsnd): Don't use CHECK_N.
22166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22168 (__libc_pread): Don't use CHECK_N.
22169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22170 include <bp-checks.h>.
22171 (__libc_pread64): Don't use CHECK_N.
22172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22173 include <bp-checks.h>.
22174 (__libc_pwrite): Don't use CHECK_N.
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22176 include <bp-checks.h>.
22177 (__libc_pwrite64): Don't use CHECK_N.
22178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22180 (__libc_pread): Don't use CHECK_N.
22181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22182 include <bp-checks.h>.
22183 (__libc_pread64): Don't use CHECK_N.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22185 include <bp-checks.h>.
22186 (__libc_pwrite): Don't use CHECK_N.
22187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22188 include <bp-checks.h>.
22189 (__libc_pwrite64): Don't use CHECK_N.
22190 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22191 (do_pread): Don't use CHECK_N.
22192 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22193 (do_pread64): Don't use CHECK_N.
22194 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22195 (do_pwrite): Don't use CHECK_N.
22196 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22197 (do_pwrite64): Don't use CHECK_N.
22198 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22199 (__libc_readv): Don't use CHECK_N.
22200 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22201 (semop): Don't use CHECK_N.
22202 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22204 (semtimedop): Don't use CHECK_N.
22205 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22206 (__libc_pread): Don't use CHECK_N.
22207 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22209 (__libc_pread64): Don't use CHECK_N.
22210 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22212 (__libc_pwrite): Don't use CHECK_N.
22213 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22215 (__libc_pwrite64): Don't use CHECK_N.
22216 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22218 (__libc_msgrcv): Don't use CHECK_N.
22219 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22220 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22221 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22222 (__libc_writev): Don't use CHECK_N.
22224 2013-02-08 Roland McGrath <roland@hack.frob.com>
22226 * string/strcpy.c: Removed unused variable.
22228 * Makeconfig (+sysdep-includes): Define with := rather than =.
22229 Use an existing include/ subdir of each sysdeps dir before it.
22231 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22233 * nscd/connection.c (register_traced_file): Comment function.
22234 [HAVE_INOTIFY] (union __inev): Define.
22235 [HAVE_INOTIFY] (inotify_check_files): New function.
22236 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22237 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22239 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22241 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22243 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22244 loaded if not already and that a failure is permanent.
22246 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22249 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22250 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22252 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22255 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22256 (CHECK_1_NULL_OK): Likewise.
22257 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22258 (__fxstat): Do not use CHECK_1.
22259 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22261 (___fxstat64): Do not use CHECK_1.
22262 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22264 (__fxstatat): Do not use CHECK_1.
22265 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22267 (__fxstatat64): Do not use CHECK_1.
22268 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22270 (__fxstat): Do not use CHECK_1.
22271 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22273 (__fxstatat): Do not use CHECK_1.
22274 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22276 (__getresgid): Do not use CHECK_1.
22277 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22279 (__getresuid): Do not use CHECK_1.
22280 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22282 (__lxstat): Do not use CHECK_1.
22283 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22285 (__old_msgctl): Do not use CHECK_1.
22286 (__new_msgctl): Likewise.
22287 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22289 (__new_setrlimit): Do not use CHECK_1.
22290 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22292 (__old_shmctl): Do not use CHECK_1.
22293 (__new_shmctl): Likewise.
22294 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22296 (__xstat): Do not use CHECK_1.
22297 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22298 (__lxstat): Do not use CHECK_1.
22299 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22301 (___lxstat64): Do not use CHECK_1.
22302 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22303 (__old_msgctl): Do not use CHECK_1.
22304 (__new_msgctl): Likewise.
22305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22307 (__gettimeofday): Do not use CHECK_1.
22308 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22309 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22310 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22312 (__gettimeofday): Do not use CHECK_1.
22313 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22314 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22315 (__new_shmctl): Do not use CHECK_1.
22316 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22318 (do_sigtimedwait): Do not use CHECK_1.
22319 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22321 (do_sigwaitinfo): Do not use CHECK_1.
22322 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22324 (msgctl): Do not use CHECK_1.
22325 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22327 (shmctl): Do not use CHECK_1.
22328 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22329 (ustat): Do not use CHECK_1.
22330 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22332 (__fxstat): Do not use CHECK_1.
22333 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22335 (__fxstatat): Do not use CHECK_1.
22336 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22338 (__lxstat): Do not use CHECK_1.
22339 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22341 (__xstat): Do not use CHECK_1.
22342 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22343 (__xstat): Do not use CHECK_1.
22344 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22345 (___xstat64): Do not use CHECK_1.
22348 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22350 (CHECK_BOUNDS_HIGH): Likewise.
22351 * string/strcpy.c: Do not include <bp-checks.h>.
22352 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22354 2013-02-07 Roland McGrath <roland@hack.frob.com>
22356 * nscd/nscd-client.h (__nscd_drop_map_ref):
22357 Add __attribute__ ((unused)).
22358 * nis/nss-nisplus.h (niserr2nss): Likewise.
22360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22361 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22363 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22364 Remove inline keyword.
22365 * include/rounding-mode.h (round_away): Likewise.
22366 * libio/wfileops.c (adjust_wide_data): Likewise.
22367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22368 (__m128i_strloadu_tolower): Likewise.
22369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22370 (__m128i_strloadu_tolower): Likewise.
22371 * time/mktime.c (ydhms_diff): Likewise.
22372 * locale/elem-hash.h (elem_hash): Likewise.
22373 * locale/setlocale.c (setdata): Likewise.
22374 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22375 (re_string_wchar_at): Likewise.
22376 (bitset_not, bitset_merge, bitset_mask): Likewise.
22377 [!(__GNUC__ > 3)] (inline): Remove macro.
22378 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22379 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22380 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22381 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22382 * string/memcmp.c (memcmp_bytes): Likewise.
22383 * locale/programs/locarchive.c (compute_hashval): Likewise.
22384 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22385 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22386 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22387 * nss/getent.c (print_rpc, print_protocols): Likewise.
22388 (print_passwd, print_group, print_aliases): Likewise.
22389 * nis/nss-nisplus.h (niserr2nss): Likewise.
22390 * nscd/connections.c (restart_p): Likewise.
22391 Change return type to bool.
22393 2013-02-05 Roland McGrath <roland@hack.frob.com>
22395 * Makeconfig (all-Depend-files): Add existing
22396 $(sorted-subdirs:=/Depend) files.
22397 (all-subdirs): Remove nss.
22398 * sysdeps/unix/inet/Subdirs: Add it here instead.
22399 * hesiod/Depend: New file.
22401 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22402 instead of calling alloca.
22404 * io/lseek.c (__lseek): Rename to __libc_lseek.
22405 Define __lseek as an alias.
22407 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22409 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22411 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22412 else clause and remove check for non-standard endianness.
22414 2013-02-04 David S. Miller <davem@davemloft.net>
22416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22418 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22421 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22422 (__ubp_memchr): Remove prototype.
22423 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22424 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22425 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22426 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22427 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22429 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22430 (__ubp_memchr): Likewise.
22431 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22432 (__ubp_memchr): Likewise.
22433 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22434 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22435 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22436 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22438 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22439 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22440 (__getcwd): Do not use CHECK_STRING.
22441 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22443 (__real_chown): Do not use CHECK_STRING.
22444 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22446 (fchownat): Do not use CHECK_STRING.
22447 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22449 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22451 (__lchown): Do not use CHECK_STRING.
22452 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22453 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22454 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22455 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22457 include <bp-checks.h>.
22458 (truncate64): Do not use CHECK_STRING.
22459 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22461 (__real_chown): Do not use CHECK_STRING.
22462 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22464 (__lchown): Do not use CHECK_STRING.
22465 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22467 (__chown): Do not use CHECK_STRING.
22468 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22470 (truncate64): Do not use CHECK_STRING.
22471 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22473 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22474 (__xmknod): Do not use CHECK_STRING.
22475 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22477 (__xmknodat): Do not use CHECK_STRING.
22478 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22479 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22481 2013-02-04 Andreas Schwab <schwab@suse.de>
22484 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22485 * include/netdb.h: Likewise for h_errno.
22486 * elf/tst-stackguard1.c: Include <tls.h>.
22488 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22490 * elf/link.h (struct link_map): Extend the l_addr comment.
22491 * include/link.h (struct link_map): Likewise.
22493 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22496 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22497 (BOUNDED_1): Remove macro.
22498 * debug/backtrace.c: Don't include <bp-checks.h>.
22499 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22500 (__backtrace): Likewise.
22501 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22503 (__backtrace): Don't use BOUNDED_1.
22504 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22506 (__backtrace): Don't use BOUNDED_1.
22507 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22508 (__backtrace): Don't use BOUNDED_1.
22509 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22510 (shmat): Don't use BOUNDED_N.
22512 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22515 * sysdeps/generic/bp-start.h: Remove file.
22516 * csu/libc-start.c: Don't include <bp-start.h>.
22517 (LIBC_START_MAIN): Set up __environ directly instead of using
22518 INIT_ARGV_and_ENVIRON.
22519 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22523 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22525 (CHECK_FCNTL): Likewise.
22526 (CHECK_N_PAGES): Likewise.
22529 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22531 (CHECK_SIGSET_NULL_OK): Likewise.
22532 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22534 (sigpending): Don't use CHECK_SIGSET.
22535 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22537 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22538 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22540 (do_sigsuspend): Don't use CHECK_SIGSET.
22541 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22543 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22544 (do_sigwait): Don't use CHECK_SIGSET.
22545 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22548 include <bp-checks.h>.
22549 (sigpending): Don't use CHECK_SIGSET.
22550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22551 include <bp-checks.h>.
22552 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22553 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22555 (sigpending): Don't use CHECK_SIGSET.
22556 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22558 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22561 * sysdeps/generic/bp-semctl.h: Remove file.
22562 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22563 <bp-checks.h> and <bp-semctl.h>.
22564 (__old_semctl): Don't use CHECK_SEMCTL.
22565 (__new_semctl): Likewise.
22566 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22568 (__old_semctl): Don't use CHECK_SEMCTL.
22569 (__new_semctl): Likewise.
22570 * sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc/sparc64/semctl.c: Don't include
22575 <bp-checks.h> and <bp-semctl.h>.
22576 (semctl): Don't use CHECK_SEMCTL.
22579 * Makerules (elide-bp-thunks): Remove variable.
22580 (elide-routines.oS): Don't use $(elide-bp-thunks).
22581 (elide-routines.os): Likewise.
22582 (elide-routines.o): Likewise.
22583 (elide-routines.op): Likewise.
22584 (elide-routines.og): Likewise.
22585 (objects): Don't use $(bp-thunks).
22586 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22588 (common-generated): Do not add s-proto-bp.d.
22589 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22592 Do not generate makefile rules for bounded-pointer thunks.
22593 * sysdeps/generic/bp-thunks.h: Remove file.
22594 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22595 * sysdeps/unix/s-proto-bp.S: Likewise.
22598 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22599 parts of result separately when argument is not close to line from
22600 -i to i and one part of argument is small.
22601 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22602 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22603 * math/libm-test.inc (cacos_test): Add more tests.
22604 (casin_test): Likewise.
22605 (casinh_test): Likewise.
22606 * sysdeps/i386/fpu/libm-test-ulps: Update.
22607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22609 2013-01-31 David S. Miller <davem@davemloft.net>
22611 * po/de.po: Update from translation team.
22613 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22615 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22617 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22619 * configure.in (_AC_PROG_CC_C89): New definition.
22620 * configure: Regenerate.
22622 * configure.in (AC_PROG_CPP): New definition.
22623 * configure: Regenerate.
22625 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22627 * debug/tst-backtrace.h: New file.
22628 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22629 (ret): Remove variable.
22631 (FAIL): Remove macro.
22632 (NO_INLINE): Likewise.
22633 (fn1): Use match function instead of strstr.
22634 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22635 (ret): Remove variable.
22637 (FAIL): Remove macro.
22638 (NO_INLINE): Likewise.
22639 (fn): Use match function instead of strstr.
22640 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22641 (ret): Remove variable.
22643 (FAIL): Remove macro.
22644 (NO_INLINE): Likewise.
22645 (handle_signal): Use match function instead of strstr.
22646 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22647 (ret): Remove variable.
22649 (FAIL): Remove macro.
22650 (NO_INLINE): Likewise.
22651 (handle_signal): Use match function instead of strstr.
22653 2013-01-23 Roland McGrath <roland@hack.frob.com>
22655 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22657 2013-01-23 David S. Miller <davem@davemloft.net>
22659 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22660 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22661 argument of CAS if possible.
22662 * sysdeps/sparc/sparc64/bits/atomic.h
22663 (__arch_compare_and_exchange_val_32_acq): Likewise.
22664 (__arch_compare_and_exchange_val_64_acq): Likewise.
22666 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22668 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22669 * sysdeps/posix/ulimit.c: ... this.
22670 Include <limits.h>.
22671 * sysdeps/unix/bsd/ulimit.c: Remove file.
22673 2013-01-23 Adam Conrad <adconrad@0c3.net>
22675 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22676 (LDFLAGS-tst-array5): Likewise.
22678 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22681 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22682 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22683 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22684 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22686 2013-01-21 David S. Miller <davem@davemloft.net>
22688 * sysdeps/sparc/backtrace.c: New file.
22689 * sysdeps/sparc/sparc32/backtrace.h: New file.
22690 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22691 * sysdeps/sparc/sparc64/backtrace.h: New file.
22692 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22693 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22696 2013-01-21 Andreas Schwab <schwab@suse.de>
22699 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22702 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22708 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22709 Mark Mitchell <mark@codesourcery.com>
22710 Tom de Vries <tom@codesourcery.com>
22711 Paul Pluzhnikov <ppluzhnikov@google.com>
22713 * debug/tst-backtrace2.c: New file.
22714 * debug/tst-backtrace3.c: Likewise.
22715 * debug/tst-backtrace4.c: Likewise.
22716 * debug/tst-backtrace5.c: Likewise.
22717 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22718 (CFLAGS-tst-backtrace3.c): Likewise.
22719 (CFLAGS-tst-backtrace4.c): Likewise.
22720 (CFLAGS-tst-backtrace5.c): Likewise.
22721 (LDFLAGS-tst-backtrace2): Likewise.
22722 (LDFLAGS-tst-backtrace3): Likewise.
22723 (LDFLAGS-tst-backtrace4): Likewise.
22724 (LDFLAGS-tst-backtrace5): Likewise.
22725 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22726 tst-backtrace4 and tst-backtrace5.
22728 2013-01-18 Anton Blanchard <anton@samba.org>
22729 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22732 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22733 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22734 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22736 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22737 "+r" and remove output regs list as redundant. Add explicit inline
22738 asm to specify register of return val to work around compiler codegen
22739 bug. Remove (int) cast on return value. Add return type parameter to
22740 use in macro so that this macro does not truncate return value for
22742 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22743 pass to INTERNAL_VSYSCALL_NCS.
22744 (INLINE_VSYSCALL): Add 'long int' as return type to
22745 INTERNAL_VSYSCALL_NCS macro invocation.
22746 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22747 INTERNAL_VSYSCALL_NCS macro invocation.
22748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22750 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22753 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22754 Fix application of SIMD FP exception mask.
22756 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22757 mp_no from a power of two.
22758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22759 __mpexp_twomm1. Use __pow_mp.
22761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22764 2013-01-17 David S. Miller <davem@davemloft.net>
22766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22768 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22771 * include/complex.h: Condition contents on [!_COMPLEX_H].
22772 (__kernel_casinhf): New prototype.
22773 (__kernel_casinh): Likewise.
22774 (__kernel_casinhl): Likewise.
22775 * math/Makefile (libm_calls): Add k_casinh.
22776 * math/k_casinh.c: New file.
22777 * math/k_casinhf.c: Likewise.
22778 * math/k_casinhl.c: Likewise.
22779 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22780 finite nonzero arguments.
22781 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22782 finite nonzero arguments.
22783 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22784 finite nonzero arguments.
22785 * math/s_casinh.c: Do not include <float.h>.
22786 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22787 * math/s_casinhf.c: Do not include <float.h>.
22788 (__casinhf): Move code for finite nonzero arguments to
22790 * math/s_casinhl.c: Do not include <float.h>.
22791 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22793 (__casinhl): Move code for finite nonzero arguments to
22795 * math/libm-test.inc (cacos_test): Add more tests.
22796 * sysdeps/i386/fpu/libm-test-ulps: Update.
22797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22799 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22801 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22802 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22803 [!HAVE_MREMAP]: Remove [defined linux] case.
22804 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22806 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22808 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22810 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22812 * elf/elf.h (R_386_SIZE32): New relocation.
22813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22815 (elf_machine_rela): Likewise.
22816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22817 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22819 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22821 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22822 (FP_FAST_FMA): Do not define.
22823 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22824 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22825 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22826 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22827 !_SOFT_FLOAT]: Likewise.
22828 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22829 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22831 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22832 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22835 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22836 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22839 2013-01-16 Andreas Schwab <schwab@suse.de>
22842 * include/stdlib.h (__mktemp): Add declaration.
22843 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22844 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22846 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22848 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22850 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22851 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22852 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22854 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22855 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22857 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22859 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22860 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22861 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22863 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22864 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22866 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22868 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22870 2013-01-15 David S. Miller <davem@davemloft.net>
22872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22873 trunc{,f} to libm-sysdep_routes.
22874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22885 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22887 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22888 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22889 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22892 nearbyint{,f} to libm-sysdep_routes.
22893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22907 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22910 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22911 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22913 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22914 libc_feholdexcept and libc_fesetenv.
22916 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22918 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22920 2013-01-14 David S. Miller <davem@davemloft.net>
22922 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22923 (SPARC_ASM_VIS2_IFUNC): Likewise.
22924 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22926 use of 'siam' instruction.
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22960 routines to libm-sysdep_routines.
22961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22964 fdim/fdimf to libm-sysdep_routines.
22965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22973 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22974 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22975 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22976 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22978 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22980 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22981 to optimize copies.
22983 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22988 local variable MPTWO.
22989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22992 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22994 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22997 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22999 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23001 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23003 * manual/pattern.texi (glob_t): Document gl_flags.
23004 (glob64_t): Likewise.
23006 2013-01-11 David S. Miller <davem@davemloft.net>
23008 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23009 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23010 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23011 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23012 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23013 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23014 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23015 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23016 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23017 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23018 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23019 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23020 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23022 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23023 sparc V9 rather than using V8 code.
23024 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23025 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23029 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23032 2013-01-11 Roland McGrath <roland@hack.frob.com>
23034 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23035 not in the main loop.
23036 * configure: Regenerated.
23038 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23040 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23041 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23043 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23044 [!__GLIBC_HAVE_LONG_LONG] case.
23045 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23046 condition to just #else.
23047 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23048 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23049 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23050 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23052 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23053 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23054 #elif condition to just #else.
23055 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23056 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23057 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23058 #elif condition to just #else.
23060 2013-01-11 Steve Ellcey <sellcey@mips.com>
23062 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23063 (EF_MIPS_ARCH_64): Fix value.
23064 (EF_MIPS_ARCH_32R2): New.
23065 (EF_MIPS_ARCH_64R2): New.
23067 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23069 * Makeconfig (+link-pie-before-libc): New.
23070 (+link-pie-after-libc): Likewise.
23071 (+link-pie-tests): Likewise.
23072 (+link-pie): Rewritten.
23073 (link-before-libc): Remove $(config-LDFLAGS).
23074 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23075 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23076 (config-LDFLAGS): Renamed to ...
23077 (rtld-LDFLAGS): This.
23078 (rtld-tests-LDFLAGS): New macro.
23079 (link-libc-rpath-link): Likewise.
23080 (link-libc-tests-rpath-link): Likewise.
23081 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23082 (link-libc): Prepand $(link-libc-rpath-link).
23083 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23084 (test-program-prefix): New macro.
23085 (test-via-rtld-prefix): Likewise.
23086 (test-program-cmd): Likewise.
23087 (host-test-program-cmd): Likewise.
23088 * Makefile ($(common-objpfx)testrun.sh): Replace
23089 $(run-program-prefix) with $(test-program-prefix).
23090 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23092 ($(common-objpfx)shlib.lds): Likewise.
23093 (build-module-helper): Likewise.
23094 ($(common-objpfx)format.lds): Likewise.
23095 * Rules (binaries-pie-tests): New.
23096 (binaries-pie-notests): Likewise.
23097 (binaries-pie): Rewritten.
23098 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23099 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23100 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23101 (make-test-out): Replace $(host-built-program-cmd) with
23102 $(host-test-program-cmd).
23103 * config.make.in (build-hardcoded-path-in-tests): New variable.
23104 * configure.in (--enable-hardcoded-path-in-tests): New configure
23106 (hardcoded_path_in_tests): New AC_SUBST.
23107 * configure: Regenerated.
23108 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23109 $(built-program-cmd) with $(test-program-cmd).
23110 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23111 (test_program_cmd): This.
23112 * elf/Makefile ($(objpfx)order.out): Run test with
23113 $(test-program-prefix).
23114 ($(objpfx)order2.out): Likewise.
23115 ($(objpfx)tst-initorder.out): Likewise.
23116 ($(objpfx)tst-initorder2.out): Likewise.
23117 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23118 $(test-program-cmd).
23119 ($(objpfx)tst-array1-static.out): Likewise.
23120 ($(objpfx)tst-array2.out): Likewise.
23121 ($(objpfx)tst-array3.out): Likewise.
23122 ($(objpfx)tst-array4.out): Likewise.
23123 ($(objpfx)tst-array5.out): Likewise.
23124 ($(objpfx)tst-array5-static.out): Likewise.
23125 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23126 $(test-program-cmd).
23127 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23128 $(run-program-prefix) with $(test-program-prefix).
23129 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23130 (test_program_prefix): This.
23131 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23132 $(run-program-prefix) with $(test-program-prefix).
23133 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23134 (test_program_prefix): This.
23135 * iconvdata/tst-tables.sh: Likewise.
23136 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23137 $(run-program-prefix) with $(test-program-prefix).
23138 ($(objpfx)tst-translit.out): Likewise.
23139 ($(objpfx)tst-gettext2.out): Likewise.
23140 ($(objpfx)tst-gettext4.out): Likewise.
23141 ($(objpfx)tst-gettext6.out): Likewise.
23142 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23143 (test_program_prefix): This.
23144 * intl/tst-gettext2.sh: Likewise.
23145 * intl/tst-gettext4.sh Likewise.
23146 * intl/tst-gettext6.sh: Likewise.
23147 * intl/tst-translit.sh: Likewise.
23148 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23149 with $(test-program-cmd).
23150 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23151 $(run-program-prefix) with $(test-program-prefix).
23152 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23153 (test_program_prefix): This.
23154 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23155 $(run-program-prefix) with $(test-program-prefix).
23156 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23157 (test_program_prefix): This.
23158 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23159 * posix/Makefile ($(objpfx)globtest.out): Replace
23160 $(run-via-rtld-prefix) and $(test-wrapper) with
23161 $(test-program-prefix) and $(test-via-rtld-prefix).
23162 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23163 $(test-program-prefix).
23164 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23165 $(host-test-program-cmd).
23166 (tst-spawn-ARGS): Likewise.
23167 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23168 $(test-program-prefix).
23169 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23170 (test_via_rtld_prefix): This.
23171 (test_wrapper): Renamed to ...
23172 (test_program_prefix): This.
23173 (run_program_prefix): Replaced by test_program_prefix.
23174 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23175 (test_program_prefix): This.
23176 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23177 with $(host-test-program-cmd).
23178 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23179 $(run-program-prefix) with $(test-program-prefix).
23180 ($(objpfx)tst-printf.out): Likewise.
23181 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23182 $(test-program-cmd).
23183 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23184 (test_program_prefix): This.
23185 * stdio-common/tst-unbputc.sh: Likewise.
23186 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23187 $(run-program-prefix) with $(test-program-prefix).
23188 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23189 (test_program_prefix): This.
23190 * string/Makefile ($(objpfx)tst-svc.out): Replace
23191 $(built-program-cmd) with $(test-program-cmd).
23193 2013-01-11 Andreas Jaeger <aj@suse.de>
23196 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23197 value. Sync with Linux 3.7.
23199 2013-01-10 David S. Miller <davem@davemloft.net>
23201 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23202 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23203 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23205 2013-01-10 Roland McGrath <roland@hack.frob.com>
23207 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23209 * configure: Regenerated.
23211 2013-01-10 David S. Miller <davem@davemloft.net>
23213 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23214 sparc V9 rather than using V8 code.
23215 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23216 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23218 2013-01-10 Roland McGrath <roland@hack.frob.com>
23220 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23221 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23222 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23223 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23224 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23225 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23226 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23227 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23228 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23229 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23230 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23231 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23232 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23233 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23234 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23235 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23236 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23237 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23238 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23239 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23240 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23241 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23242 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23243 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23244 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23245 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23246 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23248 2013-01-10 David S. Miller <davem@davemloft.net>
23250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23252 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23254 * posix/Makefile (tests-static): New variable.
23255 (tests): Add $(tests-static).
23256 (tst-exec-static-ARGS): New variable.
23257 (tst-spawn-static-ARGS): Likewise.
23258 * posix/tst-exec-static.c: New file.
23259 * posix/tst-spawn-static.c: Likewise.
23260 * posix/tst-exec.c: Support run directly.
23261 * posix/tst-spawn.c: Likewise.
23263 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23265 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23267 * math/bits/mathcalls.h (llrint): Likewise.
23268 (llround): Likewise.
23269 * stdlib/stdlib.h (struct drand48_data): Likewise.
23270 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23271 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23272 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23274 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23276 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23277 (elf_greg_t): Likewise.
23278 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23279 (__jmp_buf): Likewise.
23280 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23282 (llrint): Likewise, for all definitions.
23283 (llrintl): Likewise.
23285 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23286 Remove [__GNUC__] condition.
23287 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23288 condition to just [__USE_ISOC99].
23289 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23291 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23294 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23295 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23297 (_POSIX_V6_ILP32_OFF32): Likewise.
23298 (_XBS5_ILP32_OFF32): Likewise.
23299 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23300 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23302 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23304 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23307 doubles __mpexp_twomm1. Adjust usage.
23308 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23311 2013-01-10 Andreas Schwab <schwab@suse.de>
23314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23315 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23317 2013-01-09 David S. Miller <davem@davemloft.net>
23320 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23321 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23322 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23323 (TCP_FASTOPEN): Define.
23324 (tcp_repair_opt): New structure.
23325 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23327 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23328 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23329 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23330 (tcp_cookie_transactions): New structure.
23332 2013-01-09 Anton Blanchard <anton@samba.org>
23334 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23335 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23337 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23339 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23341 * include/features.h (__USE_ANSI): Remove.
23343 2013-01-09 Roland McGrath <roland@hack.frob.com>
23345 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23347 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23349 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23351 * sysdeps/s390/fpu/libm-test-ulps: Update.
23353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23355 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23359 (denorm): Likewise.
23360 (__mp_dbl): Likewise.
23361 (__dbl_mp): Likewise.
23362 (add_magnitudes): Likewise.
23363 (sub_magnitudes): Likewise.
23369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23373 (denorm): Likewise.
23374 (__mp_dbl): Likewise.
23375 (__dbl_mp): Likewise.
23376 (add_magnitudes): Likewise.
23377 (sub_magnitudes): Likewise.
23383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23387 (denorm): Likewise.
23388 (__mp_dbl): Likewise.
23389 (__dbl_mp): Likewise.
23390 (add_magnitudes): Likewise.
23391 (sub_magnitudes): Likewise.
23398 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23400 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23401 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23402 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23403 2 && __USE_EXTERN_INLINES]: Likewise.
23405 2013-01-08 Andreas Jaeger <aj@suse.de>
23408 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23410 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23411 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23413 2013-01-07 Anton Blanchard <anton@samba.org>
23415 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23416 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23417 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23418 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23419 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23420 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23421 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23422 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23424 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23426 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23427 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23428 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23433 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23434 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23435 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23436 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23438 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23439 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23440 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23441 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23442 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23443 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23444 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23445 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23448 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23449 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23450 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23451 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23452 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23453 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23455 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23457 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23459 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23461 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23462 (__MALLOC_PMT): Likewise.
23463 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23464 [__GNUC__], only on [_LIBC].
23465 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23466 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23467 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23468 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23469 forward declaration.
23470 (realloc_hook_ini): Likewise.
23471 (memalign_hook_ini): Likewise.
23472 (__libc_memalign): Do not use __MALLOC_PMT in variable
23474 (__libc_valloc): Likewise.
23475 (__libc_pvalloc): Likewise.
23476 (__libc_calloc): Likewise.
23477 (__posix_memalign): Likewise.
23480 * math/s_casinh.c: Include <float.h>.
23481 (__casinh): Do not do computation with squaring and square root
23482 for large arguments.
23483 * math/s_casinhf.c: Include <float.h>.
23484 (__casinhf): Do not do computation with squaring and square root
23485 for large arguments.
23486 * math/s_casinhl.c: Include <float.h>.
23487 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23488 (__casinhl): Do not do computation with squaring and square root
23489 for large arguments.
23490 * math/libm-test.inc (casin_test): Add more tests.
23491 (casinh_test): Likewise.
23492 * sysdeps/i386/fpu/libm-test-ulps: Update.
23493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23495 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23497 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23498 (__x86_64_raw_data_cache_size): Likewise.
23499 (__x86_64_data_cache_size_half): Likewise.
23500 (__x86_64_raw_data_cache_size_half): Likewise.
23501 (__x86_64_shared_cache_size): Likewise.
23502 (__x86_64_raw_shared_cache_size): Likewise.
23503 (__x86_64_shared_cache_size_half): Likewise.
23504 (__x86_64_raw_shared_cache_size_half): Likewise.
23505 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23507 (__x86_data_cache_size): This.
23508 (__x86_64_raw_data_cache_size): Renamed to ...
23509 (__x86_raw_data_cache_size): This.
23510 (__x86_64_data_cache_size_half): Renamed to ...
23511 (__x86_data_cache_size_half): This.
23512 (__x86_64_raw_data_cache_size_half): Renamed to ...
23513 (__x86_raw_data_cache_size_half): This.
23514 (__x86_64_shared_cache_size): Renamed to ...
23515 (__x86_shared_cache_size): This.
23516 (__x86_64_raw_shared_cache_size): Renamed to ...
23517 (__x86_raw_shared_cache_size): This.
23518 (__x86_64_shared_cache_size_half): Renamed to ...
23519 (__x86_shared_cache_size_half): This.
23520 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23521 (__x86_raw_shared_cache_size_half): This.
23522 * sysdeps/x86_64/memcpy.S: Updated.
23523 * sysdeps/x86_64/memset.S: Likewise.
23524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23528 2013-01-04 David S. Miller <davem@davemloft.net>
23530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23532 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23534 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23535 1 to avoid redefinition warning.
23536 (__USE_GNU): Don't define.
23537 (init_signaling_nan): Protoize.
23539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23541 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23543 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23545 (__cpymn): Likewise.
23546 (norm): Remove commented code.
23547 (denorm): Likewise.
23548 (__mp_dbl): Likewise.
23550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23551 (__cpymn): Likewise.
23552 (norm): Remove commented code.
23553 (denorm): Likewise.
23554 (__mp_dbl): Likewise.
23557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23558 mp_no value for 1.0 and 2.0.
23559 (norm): Use RADIXI instead of radixi.d.
23560 (denorm): Likewise.
23561 (__mul): Use 0.0 instead of zero.d.
23562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23563 mp_no value for 1.0 and 2.0.
23564 (norm): Use RADIXI instead of radixi.d.
23565 (denorm): Likewise.
23566 (__mul): Use 0.0 instead of zero.d.
23568 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23571 * math/s_casinh.c (__casinh): Reduce finite argument to first
23572 quadrant then set signs of results at the end.
23573 * math/s_casinhf.c (__casinhf): Likewise.
23574 * math/s_casinhl.c (__casinhl): Likewise.
23575 * math/libm-test.inc (casin_test): Add more tests.
23576 (casinh_test): Likewise.
23577 * sysdeps/i386/fpu/libm-test-ulps: Update.
23578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23580 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23582 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23584 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23586 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23588 (denorm): Likewise.
23589 (__mp_dbl): Likewise.
23592 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23593 and adjust the header comment.
23595 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23596 variable name from declaration.
23598 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23601 Initialize COMMON_CPUID_INDEX_7 element.
23602 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23603 (CPUID_RTM): Likewise.
23604 (HAS_RTM): Likewise.
23605 (COMMON_CPUID_INDEX_7): New enum.
23607 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23610 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23611 size is zero, record memory as freed.
23613 2013-01-03 Andreas Jaeger <aj@suse.de>
23615 * po/ia.po: Add new Interlingua translation.
23617 2012-01-03 Allan McRae <allan@archlinux.org>
23619 * locale/programs/localedef.c: Fix description of '--posix' flag.
23621 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23623 * NEWS: Update dates in second copyright notice.
23624 * README: Update copyright dates in example.
23625 * manual/libc.texinfo: Update copyright dates.
23626 * scripts/test-installation.pl: Update copyright date in --version
23629 * hurd/ctty-input.c: Fix copyright notice formatting.
23630 * hurd/ctty-output.c: Likewise.
23631 * hurd/dtable.c: Likewise.
23632 * hurd/hurd-raise.c: Likewise.
23633 * hurd/hurdprio.c: Likewise.
23634 * hurd/msgportdemux.c: Likewise.
23635 * misc/sys/file.h: Likewise.
23636 * misc/sys/ioctl.h: Likewise.
23637 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23638 * sysdeps/mach/hurd/chdir.c: Likewise.
23639 * sysdeps/mach/hurd/fchdir.c: Likewise.
23640 * sysdeps/mach/hurd/rename.c: Likewise.
23641 * sysdeps/mach/hurd/rmdir.c: Likewise.
23642 * sysdeps/mach/hurd/seekdir.c: Likewise.
23643 * sysdeps/mach/hurd/setsid.c: Likewise.
23644 * sysdeps/posix/wait3.c: Likewise.
23646 * All files with FSF copyright notices: Update copyright dates
23647 using scripts/update-copyrights.
23648 * intl/plural.c: Regenerated.
23649 * locale/programs/charmap-kw.h: Likewise.
23650 * locale/programs/locfile-kw.h: Likewise.
23652 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23654 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23657 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23658 calculation loop and add branch prediction.
23660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23661 check access beyond bounds of m1np.
23663 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23665 (__inv): Remove local variable MPTWO to use the global
23667 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23668 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23671 MP3HALFS static const.
23673 2013-01-01 David S. Miller <davem@davemloft.net>
23675 * po/ca.po: Update from translation team.
23677 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23679 * scripts/update-copyrights: New file.
23680 * Makeconfig: Reformat copyright notice.
23681 * ctype/ctype.h: Likewise.
23682 * debug/swprintf_chk.c: Likewise.
23683 * elf/dl-cache.c: Likewise.
23684 * elf/dl-debug.c: Likewise.
23685 * elf/dl-object.c: Likewise.
23686 * grp/initgroups.c: Likewise.
23687 * hurd/Makefile: Likewise.
23688 * hurd/hurd/signal.h: Likewise.
23689 * hurd/hurdfault.c: Likewise.
23690 * hurd/hurdioctl.c: Likewise.
23691 * hurd/hurdlookup.c: Likewise.
23692 * hurd/intr-msg.c: Likewise.
23693 * iconv/gconv_open.c: Likewise.
23694 * libio/swprintf.c: Likewise.
23695 * locale/lc-ctype.c: Likewise.
23696 * locale/nl_langinfo.c: Likewise.
23697 * mach/Machrules: Likewise.
23698 * mach/Makefile: Likewise.
23699 * malloc/obstack.h: Likewise.
23700 * manual/Makefile: Likewise.
23701 * manual/tsort.awk: Likewise.
23702 * misc/bits/stab.def: Likewise.
23703 * nis/nis_print_group_entry.c: Likewise.
23704 * nis/nis_table.c: Likewise.
23705 * nis/nss_compat/compat-pwd.c: Likewise.
23706 * nis/nss_compat/compat-spwd.c: Likewise.
23707 * po/Makefile: Likewise.
23708 * posix/fnmatch.c: Likewise.
23709 * posix/regex.h: Likewise.
23710 * resolv/Makefile: Likewise.
23711 * resolv/nss_dns/dns-network.c: Likewise.
23712 * resolv/res_hconf.c: Likewise.
23713 * scripts/gen-sorted.awk: Likewise.
23714 * soft-fp/soft-fp.h: Likewise.
23715 * stdio-common/printf.h: Likewise.
23716 * stdlib/monetary.h: Likewise.
23717 * stdlib/random.c: Likewise.
23718 * stdlib/random_r.c: Likewise.
23719 * sysdeps/generic/Makefile: Likewise.
23720 * sysdeps/gnu/Makefile: Likewise.
23721 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23744 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23745 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23746 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23747 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23748 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23749 * sysdeps/mach/hurd/errnos.awk: Likewise.
23750 * sysdeps/mach/hurd/fork.c: Likewise.
23751 * sysdeps/mach/hurd/getcwd.c: Likewise.
23752 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23753 * sysdeps/mach/hurd/mmap.c: Likewise.
23754 * sysdeps/mach/hurd/utimes.c: Likewise.
23755 * sysdeps/mach/hurd/xmknod.c: Likewise.
23756 * sysdeps/posix/profil.c: Likewise.
23757 * sysdeps/posix/readdir_r.c: Likewise.
23758 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23759 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23760 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23761 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23763 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23764 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23768 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23769 * sysdeps/pthread/lio_listio.c: Likewise.
23770 * sysdeps/sparc/dl-procinfo.h: Likewise.
23771 * sysdeps/unix/i386/sysdep.S: Likewise.
23772 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23773 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23774 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23775 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23777 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23778 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23779 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23780 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23781 * sysdeps/wordsize-32/divdi3.c: Likewise.
23782 * time/sys/time.h: Likewise.
23783 * wcsmbs/Makefile: Likewise.
23785 2013-01-01 David S. Miller <davem@davemloft.net>
23787 * po/fr.po: Update from translation team.
23789 * catgets/gencat.c: Update copyright year.
23790 * csu/version.c: Likewise.
23791 * debug/catchsegv.sh: Likewise.
23792 * debug/pcprofiledump.c: Likewise.
23793 * debug/xtrace.sh: Likewise.
23794 * elf/ldconfig.c: Likewise.
23795 * elf/ldd.bash.in: Likewise.
23796 * elf/pldd.c: Likewise.
23797 * elf/sotruss.ksh: Likewise.
23798 * elf/sprof.c: Likewise.
23799 * iconv/iconv_prog.c: Likewise.
23800 * iconv/iconvconfig.c: Likewise.
23801 * locale/programs/locale.c: Likewise.
23802 * locale/programs/localedef.c: Likewise.
23803 * login/programs/pt_chown.c: Likewise.
23804 * malloc/memusage.sh: Likewise.
23805 * malloc/memusagestat.c: Likewise.
23806 * malloc/mtrace.pl: Likewise.
23807 * nscd/nscd.c: Likewise.
23808 * nss/getent.c: Likewise.
23809 * nss/makedb.c: Likewise.
23810 * posix/getconf.c: Likewise.
23812 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23814 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23817 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23819 * math/bits/mathcalls.h (modf): Use __nonnull.
23821 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23823 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23824 (split): Use macro CN instead of the bare value.
23825 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23828 instead of the bare value.
23829 (power1): Likewise.
23831 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23833 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23835 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23837 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23839 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23840 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23841 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23842 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23844 2012-12-28 Andreas Jaeger <aj@suse.de>
23846 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23847 values are from Linux 3.7.
23849 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23850 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23852 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23854 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23857 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23859 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23860 variables with preprocessor constants.
23861 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23862 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23863 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23865 2012-12-27 Bruno Haible <bruno@clisp.org>
23868 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23871 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23874 and use variable directly.
23875 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23877 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23879 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23880 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23882 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23884 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23885 include directive. Remove local variable MPONE.
23886 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23888 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23890 2012-12-25 David S. Miller <davem@davemloft.net>
23892 * version.h (RELEASE): Set to "development".
23893 (VERSION): Set to "2.17.90".
23894 * NEWS: Add 2.18 section.
23896 2012-12-21 David S. Miller <davem@davemloft.net>
23898 * po/hr.po: Update from translation team.
23900 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23902 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23904 2012-12-19 Steve Ellcey <sellcey@mips.com>
23906 * NEWS: Mention new memcpy for MIPS.
23908 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23910 * manual/contrib.texi (Contributors): Spelling correction.
23912 2012-12-15 David S. Miller <davem@davemloft.net>
23914 * po/ru.po: Update from translation team.
23916 2012-12-13 David S. Miller <davem@davemloft.net>
23918 * NEWS: Mention IFUNC testsuite enhancements.
23920 * po/pl.po: Update from translation team.
23921 * po/bg.po: Likewise.
23923 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23924 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23926 2012-12-11 David S. Miller <davem@davemloft.net>
23928 * po/sv.po: Update from translation team.
23930 * po/vi.po: Update from translation team.
23932 * po/cs.po: Update from translation team.
23934 * po/de.po: Update from translation team.
23935 * po/eo.po: Likewise.
23936 * po/nl.po: Likewise.
23938 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23941 * manual/argp.texi (Argp Helper Functions): Move node to follow
23942 Argp Parsing State.
23945 * manual/conf.texi (Limits on File System Capacity): Mention if
23946 terminating null is included in the max size.
23948 2012-12-10 Andreas Jaeger <aj@suse.de>
23950 * po/cs.po: Update from translation team.
23952 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23954 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23955 void pointer and cast to uintptr_t.
23956 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23958 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23959 * sysdeps/s390/s390-64/memset.S: Likewise.
23961 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23964 * menual/message.texi (Message Translation): Fix typos.
23965 (Helper programs for gettext): Likewise.
23967 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23970 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23973 2012-12-07 David S. Miller <davem@davemloft.net>
23975 * po/libc.pot: Update.
23977 2012-12-07 Richard Henderson <rth@redhat.com>
23980 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23981 normal/normal case to before the switch.
23982 (_FP_DIV): Likewise.
23984 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23985 Mike Frysinger <vapier@gentoo.org>
23987 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23988 check for __NR_fadvise64_64.
23990 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23992 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23993 0, not just to plain "0" as a statement.
23994 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23997 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23999 * NEWS: Use sourceware.org in Bugzilla URL.
24001 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24004 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24006 * stdio-common/tst-put-error.c (do_test): Add newline to the
24007 padded test to ensure flush.
24009 2012-12-05 Jeff Law <law@redhat.com>
24011 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24013 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24015 * README: Don't refer to ports add-on as distributed separately.
24016 Mention AArch64 in list of systems supported in the ports add-on.
24018 * LICENSES: Add more non-FSF copyright and license notices.
24020 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24023 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24025 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24026 10000 as width of padded output.
24028 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24030 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24032 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24033 variable LX with __attribute__ ((unused)).
24034 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24036 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24039 with __attribute__ ((unused)).
24041 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24043 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24045 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24047 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24048 (CFLAGS-nldbl-acos.c): New variable.
24049 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24050 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24051 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24052 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24053 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24054 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24055 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24056 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24057 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24058 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24059 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24060 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24061 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24062 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24063 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24064 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24065 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24066 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24067 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24068 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24069 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24070 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24071 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24072 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24073 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24074 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24075 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24076 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24077 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24078 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24079 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24080 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24081 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24082 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24083 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24084 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24085 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24086 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24087 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24088 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24089 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24090 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24091 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24092 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24093 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24094 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24095 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24096 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24097 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24098 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24099 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24100 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24101 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24102 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24103 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24104 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24105 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24106 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24107 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24108 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24109 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24110 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24111 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24112 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24113 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24114 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24115 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24116 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24117 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24118 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24119 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24120 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24121 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24122 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24123 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24124 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24125 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24126 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24127 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24128 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24129 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24130 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24131 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24132 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24133 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24134 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24135 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24136 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24137 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24138 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24139 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24140 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24141 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24142 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24143 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24144 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24145 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24148 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24152 whole low double instead of just low 47 bits when splitting values
24155 2012-12-03 Allan McRae <allan@archlinux.org>
24157 * manual/stdio.texi (Predefined Printf Handlers): Remove
24158 @hsep and @vsep usage.
24160 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24162 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24163 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24165 2012-12-03 Jeff Law <law@redhat.com>
24167 * time/sys/time.h (settimeofday): Do not mark TV argument
24170 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24172 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24173 when currently writing and seek to current position when not.
24174 * libio/Makefile (tests): Remove bug-fclose1.
24175 * libio/bug-fclose1.c: Delete.
24177 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24179 * manual/arith.texi (feenableexcept): Fix typo.
24180 (fedisableexcept): Likewise.
24182 2012-11-30 Roland McGrath <roland@hack.frob.com>
24184 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24185 second, differently-typed declaration, rather than a cast.
24187 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24189 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24190 * include/rpc/svc.h: ... here.
24192 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24195 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24196 depending n and resplen2 to catch cases where answer
24199 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24201 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24202 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24204 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24206 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24208 2012-11-29 Roland McGrath <roland@hack.frob.com>
24210 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24212 2012-11-28 Jeff Law <law@redhat.com>
24215 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24216 dataset_temporary. Track alloca usage into alloca_used.
24217 If dataset is large allocate and release it via malloc/free.
24219 2012-06-04 Florian Weimer <fweimer@redhat.com>
24222 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24224 2012-11-28 David S. Miller <davem@davemloft.net>
24226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24228 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24231 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24232 of pi/2 rounded to nearest to 64 bits.
24233 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24234 nearest to 64 bits.
24235 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24238 2012-11-28 Jeff Law <law@redhat.com>
24239 Martin Osvald <mosvald@redhat.com>
24242 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24243 * sunrpc/svc.c: Include time.h.
24244 (__svc_accept_failed): New function.
24245 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24246 any reason other than EINTR, call __svc_accept_failed.
24247 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24248 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24250 2012-11-28 Andreas Schwab <schwab@suse.de>
24252 * scripts/abilist.awk: Also handle indirect functions in .opd
24255 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24258 * sysdeps/x86/fpu/powl_helper.c: New file.
24259 * sysdeps/x86/fpu/Makefile: Likewise.
24260 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24262 (__ieee754_powl): Use __powl_helper for finite arguments except
24263 integer exponents below 8.
24264 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24266 (__ieee754_powl): Use __powl_helper for finite arguments except
24267 integer exponents below 8.
24268 * math/libm-test.inc (pow_test): Add more tests and enable some
24269 previously disabled tests.
24270 * sysdeps/i386/fpu/libm-test-ulps: Update.
24271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24273 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24274 Carlos O'Donell <carlos_odonell@mentor.com>
24276 * nss/makedb.c (is_prime): Assert that input is odd and greater
24277 than 4. Note that fact in a comment too.
24278 (next_prime): Add 4 to input.
24280 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24283 * libio/Makefile (tests): Add test case tst-fwrite-error.
24284 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24285 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24286 * libio/tst-fwrite-error.c: New test case.
24288 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24290 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24291 before casting to void *.
24292 * include/libc-internal.h (__pointer_type): New macro.
24293 (__integer_if_pointer_type_sub): Likewise.
24294 (__integer_if_pointer_type): Likewise.
24295 (cast_to_integer): Likewise.
24296 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24297 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24298 before casting to atomic64_t.
24299 (atomic_exchange_acq): Likewise.
24300 (__arch_exchange_and_add_body): Likewise.
24301 (__arch_add_body): Likewise.
24302 (atomic_add_negative): Likewise.
24303 (atomic_add_zero): Likewise.
24305 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24307 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24308 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24309 (add_fdes): Likewise.
24310 (linear_search_fdes): Likewise.
24311 (binary_search_unencoded_fdes): Likewise.
24313 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24315 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24317 2012-11-24 Adam Conrad <adconrad@0c3.net>
24319 * configure.in: Autodetect C++ header directories.
24320 * configure: Regenerated.
24322 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24324 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24326 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24330 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24332 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24333 LDBL_MANT_DIG == 106]: Disable some tests.
24334 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24336 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24341 input for small inputs. Return +/- pi/2 for large inputs.
24342 * math/libm-test.inc (atan_test): Add more tests.
24344 * sysdeps/generic/unwind-dw2-fde-glibc.c
24345 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24346 __attribute__ ((unused)).
24349 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24350 x * y if x and y are nonzero and z is zero.
24353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24354 nonzero exponents with absolute value below 0x1p-117 to +/-
24358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24359 up arguments below 2**-450, not just those below 2**-500.
24360 * math/libm-test.inc (hypot_test): Add another test.
24363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24364 Return a+b for ratio over 2**120, not 2**60.
24365 * math/libm-test.inc (hypot_test): Add another test.
24367 * math/libm-test.inc (clog_test): Use
24368 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24369 (clog10_test): Likewise.
24372 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24374 2012-11-22 Andreas Schwab <schwab@suse.de>
24376 * sysdeps/i386/fpu/libm-test-ulps: Update.
24378 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24380 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24381 printf output with newline.
24383 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24386 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24387 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24388 -z nodlopen, -z initfirst and -z execstack support.
24389 * configure: Regenerated.
24391 * elf/elf.h (DF_1_NODIRECT): New macro.
24392 (DF_1_IGNMULDEF): Likewise.
24393 (DF_1_NOKSYMS): Likewise.
24394 (DF_1_NOHDR): Likewise.
24395 (DF_1_EDITED): Likewise.
24396 (DF_1_NORELOC): Likewise.
24397 (DF_1_SYMINTPOSE): Likewise.
24398 (DF_1_GLOBAUDIT): Likewise.
24399 (DF_1_SINGLETON): Likewise.
24400 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24401 DT_1_SUPPORTED_MASK bits.
24402 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24404 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24406 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24408 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24410 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24413 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24414 (sendmmsg): Move declarations...
24415 * socket/sys/socket.h: ... here.
24416 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24417 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24419 * socket/recvmmsg.c: ... this new file.
24420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24421 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24422 definition of __sendmmsg hidden.
24423 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24424 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24425 Move ENOSYS stub into and include it from...
24426 * socket/sendmmsg.c: ... this new file.
24427 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24428 (sysdep_routines): Move recvmmsg and sendmmsg...
24429 * socket/Makefile (routines): ... here.
24430 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24431 (GLIBC_PRIVATE): Add __sendmmsg.
24432 * include/sys/socket.h (__sendmmsg): Add declarations.
24433 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24436 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24439 variable I1 with __attribute__ ((unused)).
24440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24442 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24444 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24445 DUMMY variables with __attribute__ ((unused)).
24447 * bits/byteswap.h: Include <bits/types.h>.
24448 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24450 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24452 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24453 string_t. Do not manually set errno.
24454 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24455 length with __strnlen. Make sure to both set errno and return it on
24458 2012-11-19 David S. Miller <davem@davemloft.net>
24460 With help from Joseph Myers.
24461 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24462 very large arguments properly.
24463 * math/libm-test.inc (atan_test): New tests.
24464 (atan2_test): New tests.
24465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24468 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24471 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24474 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24475 [POSIX] (EADDRNOTAVAIL): Likewise.
24476 [POSIX] (EAFNOSUPPORT): Likewise.
24477 [POSIX] (EALREADY): Likewise.
24478 [POSIX] (ECONNABORTED): Likewise.
24479 [POSIX] (ECONNREFUSED): Likewise.
24480 [POSIX] (ECONNRESET): Likewise.
24481 [POSIX] (EDESTADDRREQ): Likewise.
24482 [POSIX] (EDQUOT): Likewise.
24483 [POSIX] (EHOSTUNREACH): Likewise.
24484 [POSIX] (EIDRM): Likewise.
24485 [POSIX] (EISCONN): Likewise.
24486 [POSIX] (ELOOP): Likewise.
24487 [POSIX] (EMULTIHOP): Likewise.
24488 [POSIX] (ENETDOWN): Likewise.
24489 [POSIX] (ENETUNREACH): Likewise.
24490 [POSIX] (ENOBUFS): Likewise.
24491 [POSIX] (ENODATA): Likewise.
24492 [POSIX] (ENOLINK): Likewise.
24493 [POSIX] (ENOMSG): Likewise.
24494 [POSIX] (ENOPROTOOPT): Likewise.
24495 [POSIX] (ENOSR): Likewise.
24496 [POSIX] (ENOSTR): Likewise.
24497 [POSIX] (ENOTCONN): Likewise.
24498 [POSIX] (ENOTSOCK): Likewise.
24499 [POSIX] (EOPNOTSUPP): Likewise.
24500 [POSIX] (EOVERFLOW): Likewise.
24501 [POSIX] (EPROTO): Likewise.
24502 [POSIX] (EPROTONOSUPPORT): Likewise.
24503 [POSIX] (EPROTOTYPE): Likewise.
24504 [POSIX] (ESTALE): Likewise.
24505 [POSIX] (ETIME): Likewise.
24506 [POSIX] (ETXTBSY): Likewise.
24507 [POSIX] (EWOULDBLOCK): Likewise.
24508 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24509 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24510 [POSIX] (SEEK_CUR): Likewise.
24511 [POSIX] (SEEK_END): Likewise.
24512 [POSIX || UNIX98] (mode_t): Do not require.
24513 [POSIX] (off_t): Likewise.
24514 [POSIX] (pid_t): Likewise.
24515 [POSIX] (sys/stat.h): Do not allow header.
24516 [POSIX] (unistd.h): Likewise.
24517 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24518 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24519 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24520 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24522 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24523 sigevent): Specify elements.
24524 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24526 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24527 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24529 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24530 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24531 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24532 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24533 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24534 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24535 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24536 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24537 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24538 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24539 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24540 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24541 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24542 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24544 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24546 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24548 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24550 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24553 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24554 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24555 Specify lower bound on value.
24556 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24557 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24558 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24559 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24560 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24561 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24562 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24563 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24565 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24567 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24568 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24569 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24570 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24571 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24572 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24574 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24576 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24577 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24578 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24579 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24580 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24581 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24582 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24584 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24587 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24588 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24589 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24590 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24591 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24594 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24595 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24596 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24597 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24598 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24599 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24603 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24604 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24605 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24606 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24607 specify as optional.
24608 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24609 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24610 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24611 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24612 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24613 [XPG3] (NL_LANGMAX): Likewise.
24614 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24615 [POSIX || XPG3] (NL_NMAX): Likewise.
24616 [POSIX || XPG3] (NL_SETMAX): Likewise.
24617 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24618 [XPG3] (NZERO): Likewise.
24619 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24620 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24621 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24622 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24623 (REG_ERANGE): Expect.
24624 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24626 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24627 Use (void) in prototype.
24628 [POSIX] (*_t): Allow.
24629 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24630 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24631 (WRDE_BADVAL): Expect.
24633 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24635 [XPG3 || XPG4] (O_RSYNC): Likewise.
24636 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24638 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24639 [XPG3 || XPG4] (sigqueue): Likewise.
24640 [XPG3 || XPG4] (sigtimedwait): Likewise.
24641 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24642 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24643 [XPG3 || XPG4] (vsnprintf): Likewise.
24644 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24646 [XPG3 || XPG4] (blksize_t): Likewise.
24647 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24649 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24650 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24651 [XPG3 || XPG4] (struct itimerspec): Likewise.
24652 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24653 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24654 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24655 [XPG3 || XPG4] (clockid_t): Likewise.
24656 [XPG3 || XPG4] (timer_t): Likewise.
24657 [XPG3 || XPG4] (clock_getres): Likewise.
24658 [XPG3 || XPG4] (clock_gettime): Likewise.
24659 [XPG3 || XPG4] (clock_settime): Likewise.
24660 [XPG3 || XPG4] (nanosleep): Likewise.
24661 [XPG3 || XPG4] (timer_create): Likewise.
24662 [XPG3 || XPG4] (timer_delete): Likewise.
24663 [XPG3 || XPG4] (timer_gettime): Likewise.
24664 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24665 [XPG3 || XPG4] (timer_settime): Likewise.
24666 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24667 [XPG3 || XPG4] (getlogin_r): Likewise.
24668 [XPG3 || XPG4] (pread): Likewise.
24669 [XPG3 || XPG4] (pthread_atfork): Likewise.
24670 [XPG3 || XPG4] (pwrite): Likewise.
24673 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24676 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24678 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24679 finalizing MALLSTREAM.
24681 * sysdeps/mach/hurd/syncfs.c: New file.
24683 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24686 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24687 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24688 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24689 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24690 (_nss_dns_gethostbyname4_r): Likewise.
24691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24692 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24694 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24697 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24699 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24701 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24702 * elf/cache.c (print_entry): Print ",AArch64" for
24705 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24706 * elf/cache.c (print_entry): Print ",hard-float" for
24709 2012-11-18 David S. Miller <davem@davemloft.net>
24711 With help from Joseph Myers.
24712 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24714 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24716 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24717 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24719 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24720 * math/libm-test.inc (y0_test): New tests.
24721 (y1_test): New tests.
24722 * sysdeps/i386/fpu/libm-test-ulps: Update.
24723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24726 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24728 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24730 * configure: Regenerated.
24732 2012-11-17 David S. Miller <davem@davemloft.net>
24735 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24736 nonzero exponents with absolute value below 0x1p-128 to +/-
24739 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24741 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24743 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24745 * posix/getconf-speclist.c: New file.
24746 * posix/posix-envs.def: Likewise.
24747 * posix/confstr.c (START_ENV_GROUP): New macro.
24748 (END_ENV_GROUP): Likewise.
24749 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24750 (KNOWN_PRESENT_ENV_STRING): Likewise.
24751 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24752 (UNKNOWN_ENVIRONMENT): Likewise.
24753 (confstr): Include posix-envs.def instead of handling
24754 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24755 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24756 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24757 (END_ENV_GROUP): Likewise.
24758 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24759 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24760 (UNKNOWN_ENVIRONMENT): Likewise.
24761 (__sysconf): Include posix-envs.def instead of handling associated
24762 cases directly here.
24763 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24764 preprocessing getconf-speclist.c rather than running getconf or
24765 generating empty file.
24767 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24769 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24771 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24774 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24776 2012-11-16 David S. Miller <davem@davemloft.net>
24778 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24779 smaller than LDBL_EPSILON/2.0L, just return xm1.
24781 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24783 * elf/tst-array1.c (init): Set constructor priority to 1000.
24784 (fini): Set destructor priority to 1000.
24785 * elf/tst-array2dep.c: Likewise.
24787 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24790 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24791 (_IO_new_file_xsputn): Also return EOF if none of the input
24792 data was written when overflow failed.
24793 * libio/iopadn.c (_IO_padn): Likewise.
24794 * libio/iowpadn.c (_IO_wpadn): Likewise.
24795 * stdio-common/tst-put-error.c: Add copyright notice.
24796 (do_test): Add case for printing padded string.
24797 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24798 _IO_padn returned error.
24799 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24800 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24803 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24805 * libio/libioP.h: Add comment note that the references to C++
24806 bits are now obsolete.
24808 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24810 * math/libm-test.inc (check_complex): Use asprintf.
24812 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24814 * debug/pcprofiledump.c (print_version): Update copyright year.
24815 * malloc/memusagestat.c (print_version): Likewise.
24817 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24820 * elf/Makefile (tests): Add tst-audit8.
24821 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24822 ($(objpfx)tst-audit8.out): New target.
24823 (tst-audit8-ENV): New variable.
24824 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24825 audit if l_reloc_result is NULL.
24826 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24827 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24828 * elf/tst-audit8.c: New file.
24830 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24832 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24833 * misc/Makefile (CFLAGS-select.c): Define.
24834 * posix/Makefile (CFLAGS-pause.c): Define.
24836 2012-11-13 David S. Miller <davem@davemloft.net>
24838 * crypt/Makefile: Move test targets after toplevel Rules
24839 inclusion. Grab any necessary sysdep routines when linking.
24840 * crypt/md5.c (md5_process_block): Remove define, we will always
24841 name it __md5_process_block.
24842 (md5_finish_ctx): Update md5_process_block call.
24843 (md5_stream): Likewise.
24844 (md5_process_bytes): Likewise.
24845 (md5_process_block): Rename to __md5_process_block and move to ...
24846 * crypt/md5-block.c: ... here.
24847 * crypt/sha256.c (sha256_process_block): Move to ...
24848 * crypt/sha256-block.c: ... here.
24849 * crypt/sha512.c (sha512_process_block): Move to ...
24850 * crypt/sha512-block.c: ... here.
24851 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24853 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24854 * sysdeps/sparc/sparc64/multiarch/Makefile
24855 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24857 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24860 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24861 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24862 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24863 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24864 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24865 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24867 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24868 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24871 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24875 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24877 * timezone/tzselect.ksh: Update from tzcode git revision
24878 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24879 * timezone/zdump.c: Likewise.
24880 * timezone/zic.c: Likewise.
24881 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24882 in TZVERSION setting, not $(PKGVERSION).
24883 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24884 REPORT_BUGS_TO settings.
24887 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24890 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24892 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24893 detection to immediately after _FP_ROUND().
24894 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24897 2012-11-11 David S. Miller <davem@davemloft.net>
24899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24901 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24902 __close rather than their public counterparts.
24904 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24906 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24908 [UNIX98] (sem_timedwait): Do not expect.
24909 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24910 [XPG4 || UNIX98] (sockatmark): Do not expect.
24911 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24912 (clock_getcpuclockid): Do not expect.
24913 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24914 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24916 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24917 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24918 [UNIX98] (vwscanf): Likewise.
24919 [UNIX98] (vswscanf): Likewise.
24921 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24923 * timezone/version.h: Remove file.
24924 * timezone/README: Do not refer to version.h.
24925 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24926 $(objpfx)version.h.
24927 ($(objpfx)zdump.o): Likewise.
24928 ($(objpfx)version.h): New target.
24930 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24932 * timezone/README: Don't mention modification to tzselect.ksh.
24933 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24934 work on unmodified tzselect.ksh. Substitute version numbers in
24937 * Makefile (format-me): Remove.
24938 (INSTALL): Adjust indentation. Use commands directly instead of
24939 using $(format-me).
24941 * aclocal.m4 (ACX_PKGVERSION): New macro.
24942 (ACX_BUGURL): Likewise.
24943 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24944 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24945 (REPORT_BUGS_TO): Likewise.
24946 * configure: Regenerated.
24947 * config.h.in (PKGVERSION): New macro.
24948 (REPORT_BUGS_TO): Likewise.
24949 * config.make.in (PKGVERSION): New variable.
24950 (PKGVERSION_TEXI): Likewise.
24951 (REPORT_BUGS_TO): Likewise.
24952 (REPORT_BUGS_TEXI): Likewise.
24953 * Makefile (format-me): Use -I$(common-objpfx)manual.
24954 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24955 ($(common-objpfx)manual/%): New target.
24956 (manual/%): Remove target.
24957 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24958 (print_version): Use PKGVERSION.
24959 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24960 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24961 and REPORT_BUGS_TO.
24962 ($(objpfx)xtrace): Likewise.
24963 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24964 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24965 (print_version): Use PKGVERSION.
24966 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24967 (do_version): Use PKGVERSION.
24968 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24970 (common-ldd-rewrite): Likewise.
24971 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24972 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24973 (print_version): Use PKGVERSION.
24974 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24975 * elf/pldd.c (argp_program_bug_address): Remove variable.
24976 (more_help): New function.
24977 (argp): Use more_help.
24978 (print_version): Use PKGVERSION.
24979 * elf/sln.c (main): Use PKGVERSION.
24980 (usage): Use REPORT_BUGS_TO.
24981 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24982 (top level): Use PKGVERSION.
24983 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24984 (print_version): Use PKGVERSION.
24985 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24986 (print_version): Use PKGVERSION.
24987 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24988 (print_version): Use PKGVERSION.
24989 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24990 (print_version): Use PKGVERSION.
24991 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24992 (print_version): Use PKGVERSION.
24993 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24994 (print_version): Use PKGVERSION.
24995 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24997 ($(objpfx)memusage): Likewise.
24998 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24999 (do_version): Use PKGVERSION.
25000 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25001 (print_version): Use PKGVERSION.
25002 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25003 ($PKGVERSION): New variable.
25004 ($REPORT_BUGS_TO): Likewise.
25005 (usage): Use $REPORT_BUGS_TO.
25006 (top level): Use $PKGVERSION.
25007 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25008 ($(objpfx)pkgvers.texi): New rule.
25009 ($(objpfx)stamp-pkgvers): Likewise.
25010 * manual/install.texi: Include pkgvers.texi.
25011 (--with-pkgversion): Document new configure option.
25012 (--with-bugurl): Likewise.
25013 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25014 than necessarily for this particular distribution. Use
25015 REPORT_BUGS_TO for where to report bugs.
25016 * INSTALL: Regenerated.
25017 * manual/libc.texinfo: Include pkgvers.texi.
25018 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25019 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25020 (print_version): Use PKGVERSION.
25021 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25022 (print_version): Use PKGVERSION.
25023 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25024 (print_version): Use PKGVERSION.
25025 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25026 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25028 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25029 (print_version): Use PKGVERSION.
25030 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25031 (print_version): Use PKGVERSION.
25032 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25035 * timezone/checktab.awk: Update from tzcode 2012i.
25036 * timezone/ialloc.c: Likewise.
25037 * timezone/private.h: Likewise.
25038 * timezone/scheck.c: Likewise.
25039 * timezone/tzfile.h: Likewise.
25040 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25041 (TZVERSION): Hardcode tzcode version number.
25042 * timezone/zdump.c: Update from tzcode 2012i.
25043 * timezone/zic.c: Likewise.
25044 * timezone/version.h: New file.
25045 * timezone/README: Describe version.h. Update upstream location.
25048 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25049 (mktemp): Enable declaration.
25050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25067 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25068 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25069 for copies of such integer values.
25070 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25071 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25073 2012-11-09 Andreas Jaeger <aj@suse.de>
25075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25076 definitions and declarations that are provided by
25077 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25079 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25081 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25082 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25083 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25086 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25088 * elf/elf.h: Update comment before AArch64 relocations.
25090 2012-11-07 David S. Miller <davem@davemloft.net>
25092 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25093 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25094 (__start_context): Declare.
25095 (__makecontext_ret): Delete.
25096 (__makecontext): Hook up __start_context instead of
25098 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25099 (sysdep_routines): Add __start_context when in stdlib.
25101 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25103 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25104 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25105 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25107 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25108 (READELF): New variable. Use it instead of hardcoded "readelf".
25110 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25112 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25113 * sysdeps/x86/Makefile: Here.
25114 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25115 * sysdeps/x86/tst-xmmymm.sh: This.
25117 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25119 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25121 [UNIX98] (pthread_barrier_t): Do not expect.
25122 [UNIX98] (pthread_barrierattr_t): Likewise.
25123 [UNIX98] (pthread_spinlock_t): Likewise.
25124 [UNIX98] (pthread_barrier_destroy): Likewise.
25125 [UNIX98] (pthread_barrier_init): Likewise.
25126 [UNIX98] (pthread_barrier_wait): Likewise.
25127 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25128 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25129 [UNIX98] (pthread_barrierattr_init): Likewise.
25130 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25131 [UNIX98] (pthread_getcpuclockid): Likewise.
25132 [UNIX98] (pthread_mutex_timedlock): Likewise.
25133 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25134 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25135 [UNIX98] (pthread_sigmask): Likewise.
25136 [UNIX98] (pthread_spin_destroy): Likewise.
25137 [UNIX98] (pthread_spin_init): Likewise.
25138 [UNIX98] (pthread_spin_lock): Likewise.
25139 [UNIX98] (pthread_spin_trylock): Likewise.
25140 [UNIX98] (pthread_spin_unlock): Likewise.
25141 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25143 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25144 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25145 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25146 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25147 [XPG3 || XPG4] (pthread_key_t): Likewise.
25148 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25149 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25150 [XPG3 || XPG4] (pthread_once_t): Likewise.
25151 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25152 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25153 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25154 [XPG3 || XPG4] (pthread_t): Likewise.
25156 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25158 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25160 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25161 Change function return type to int.
25163 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25164 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25165 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25166 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25167 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25168 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25169 [!POSIX] (posix_madvise): Likewise.
25170 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25172 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25173 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25174 (mode_t): Likewise.
25175 (posix_mem_offset): Likewise.
25176 (posix_typed_mem_get_info): Likewise.
25177 (posix_typed_mem_open): Likewise.
25179 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25180 Change condition to [XOPEN2K8].
25182 * conform/conformtest.pl: Preprocess allow-header data with -x c
25183 instead of from stdin.
25184 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25185 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25186 [C99-based standards] (cerfc): Likewise.
25187 [C99-based standards] (cexp2): Likewise.
25188 [C99-based standards] (cexpm1): Likewise.
25189 [C99-based standards] (clog10): Likewise.
25190 [C99-based standards] (clog1p): Likewise.
25191 [C99-based standards] (clog2): Likewise.
25192 [C99-based standards] (clgamma): Likewise.
25193 [C99-based standards] (ctgamma): Likewise.
25194 [C99-based standards] (cerff): Likewise.
25195 [C99-based standards] (cerfcf): Likewise.
25196 [C99-based standards] (cexp2f): Likewise.
25197 [C99-based standards] (cexpm1f): Likewise.
25198 [C99-based standards] (clog10f): Likewise.
25199 [C99-based standards] (clog1pf): Likewise.
25200 [C99-based standards] (clog2f): Likewise.
25201 [C99-based standards] (clgammaf): Likewise.
25202 [C99-based standards] (ctgammaf): Likewise.
25203 [C99-based standards] (cerfl): Likewise.
25204 [C99-based standards] (cerfcl): Likewise.
25205 [C99-based standards] (cexp2l): Likewise.
25206 [C99-based standards] (cexpm1l): Likewise.
25207 [C99-based standards] (clog10l): Likewise.
25208 [C99-based standards] (clog1pl): Likewise.
25209 [C99-based standards] (clog2l): Likewise.
25210 [C99-based standards] (clgammal): Likewise.
25211 [C99-based standards] (ctgammal): Likewise.
25212 * conform/data/inttypes.h-data [C99-based standards]: Include
25213 stdint.h-data. Remove all expectations for stdint.h contents.
25214 [C99-based standards] (PRI*): Do not allow.
25215 [C99-based standards] (SCN*): Likewise.
25216 [C99-based standards] (*_t): Likewise.
25217 [C99-based-standards] (PRId8): Expect macro.
25218 [C99-based-standards] (PRIi8): Likewise.
25219 [C99-based-standards] (PRIo8): Likewise.
25220 [C99-based-standards] (PRIu8): Likewise.
25221 [C99-based-standards] (PRIx8): Likewise.
25222 [C99-based-standards] (PRIX8): Likewise.
25223 [C99-based-standards] (SCNd8): Likewise.
25224 [C99-based-standards] (SCNi8): Likewise.
25225 [C99-based-standards] (SCNo8): Likewise.
25226 [C99-based-standards] (SCNu8): Likewise.
25227 [C99-based-standards] (SCNx8): Likewise.
25228 [C99-based-standards] (PRIdLEAST8): Likewise.
25229 [C99-based-standards] (PRIiLEAST8): Likewise.
25230 [C99-based-standards] (PRIoLEAST8): Likewise.
25231 [C99-based-standards] (PRIuLEAST8): Likewise.
25232 [C99-based-standards] (PRIxLEAST8): Likewise.
25233 [C99-based-standards] (PRIXLEAST8): Likewise.
25234 [C99-based-standards] (SCNdLEAST8): Likewise.
25235 [C99-based-standards] (SCNiLEAST8): Likewise.
25236 [C99-based-standards] (SCNoLEAST8): Likewise.
25237 [C99-based-standards] (SCNuLEAST8): Likewise.
25238 [C99-based-standards] (SCNxLEAST8): Likewise.
25239 [C99-based-standards] (PRIdFAST8): Likewise.
25240 [C99-based-standards] (PRIiFAST8): Likewise.
25241 [C99-based-standards] (PRIoFAST8): Likewise.
25242 [C99-based-standards] (PRIuFAST8): Likewise.
25243 [C99-based-standards] (PRIxFAST8): Likewise.
25244 [C99-based-standards] (PRIXFAST8): Likewise.
25245 [C99-based-standards] (SCNdFAST8): Likewise.
25246 [C99-based-standards] (SCNiFAST8): Likewise.
25247 [C99-based-standards] (SCNoFAST8): Likewise.
25248 [C99-based-standards] (SCNuFAST8): Likewise.
25249 [C99-based-standards] (SCNxFAST8): Likewise.
25250 [C99-based-standards] (PRId16): Likewise.
25251 [C99-based-standards] (PRIi16): Likewise.
25252 [C99-based-standards] (PRIo16): Likewise.
25253 [C99-based-standards] (PRIu16): Likewise.
25254 [C99-based-standards] (PRIx16): Likewise.
25255 [C99-based-standards] (PRIX16): Likewise.
25256 [C99-based-standards] (SCNd16): Likewise.
25257 [C99-based-standards] (SCNi16): Likewise.
25258 [C99-based-standards] (SCNo16): Likewise.
25259 [C99-based-standards] (SCNu16): Likewise.
25260 [C99-based-standards] (SCNx16): Likewise.
25261 [C99-based-standards] (PRIdLEAST16): Likewise.
25262 [C99-based-standards] (PRIiLEAST16): Likewise.
25263 [C99-based-standards] (PRIoLEAST16): Likewise.
25264 [C99-based-standards] (PRIuLEAST16): Likewise.
25265 [C99-based-standards] (PRIxLEAST16): Likewise.
25266 [C99-based-standards] (PRIXLEAST16): Likewise.
25267 [C99-based-standards] (SCNdLEAST16): Likewise.
25268 [C99-based-standards] (SCNiLEAST16): Likewise.
25269 [C99-based-standards] (SCNoLEAST16): Likewise.
25270 [C99-based-standards] (SCNuLEAST16): Likewise.
25271 [C99-based-standards] (SCNxLEAST16): Likewise.
25272 [C99-based-standards] (PRIdFAST16): Likewise.
25273 [C99-based-standards] (PRIiFAST16): Likewise.
25274 [C99-based-standards] (PRIoFAST16): Likewise.
25275 [C99-based-standards] (PRIuFAST16): Likewise.
25276 [C99-based-standards] (PRIxFAST16): Likewise.
25277 [C99-based-standards] (PRIXFAST16): Likewise.
25278 [C99-based-standards] (SCNdFAST16): Likewise.
25279 [C99-based-standards] (SCNiFAST16): Likewise.
25280 [C99-based-standards] (SCNoFAST16): Likewise.
25281 [C99-based-standards] (SCNuFAST16): Likewise.
25282 [C99-based-standards] (SCNxFAST16): Likewise.
25283 [C99-based-standards] (PRId32): Likewise.
25284 [C99-based-standards] (PRIi32): Likewise.
25285 [C99-based-standards] (PRIo32): Likewise.
25286 [C99-based-standards] (PRIu32): Likewise.
25287 [C99-based-standards] (PRIx32): Likewise.
25288 [C99-based-standards] (PRIX32): Likewise.
25289 [C99-based-standards] (SCNd32): Likewise.
25290 [C99-based-standards] (SCNi32): Likewise.
25291 [C99-based-standards] (SCNo32): Likewise.
25292 [C99-based-standards] (SCNu32): Likewise.
25293 [C99-based-standards] (SCNx32): Likewise.
25294 [C99-based-standards] (PRIdLEAST32): Likewise.
25295 [C99-based-standards] (PRIiLEAST32): Likewise.
25296 [C99-based-standards] (PRIoLEAST32): Likewise.
25297 [C99-based-standards] (PRIuLEAST32): Likewise.
25298 [C99-based-standards] (PRIxLEAST32): Likewise.
25299 [C99-based-standards] (PRIXLEAST32): Likewise.
25300 [C99-based-standards] (SCNdLEAST32): Likewise.
25301 [C99-based-standards] (SCNiLEAST32): Likewise.
25302 [C99-based-standards] (SCNoLEAST32): Likewise.
25303 [C99-based-standards] (SCNuLEAST32): Likewise.
25304 [C99-based-standards] (SCNxLEAST32): Likewise.
25305 [C99-based-standards] (PRIdFAST32): Likewise.
25306 [C99-based-standards] (PRIiFAST32): Likewise.
25307 [C99-based-standards] (PRIoFAST32): Likewise.
25308 [C99-based-standards] (PRIuFAST32): Likewise.
25309 [C99-based-standards] (PRIxFAST32): Likewise.
25310 [C99-based-standards] (PRIXFAST32): Likewise.
25311 [C99-based-standards] (SCNdFAST32): Likewise.
25312 [C99-based-standards] (SCNiFAST32): Likewise.
25313 [C99-based-standards] (SCNoFAST32): Likewise.
25314 [C99-based-standards] (SCNuFAST32): Likewise.
25315 [C99-based-standards] (SCNxFAST32): Likewise.
25316 [C99-based-standards] (PRId64): Likewise.
25317 [C99-based-standards] (PRIi64): Likewise.
25318 [C99-based-standards] (PRIo64): Likewise.
25319 [C99-based-standards] (PRIu64): Likewise.
25320 [C99-based-standards] (PRIx64): Likewise.
25321 [C99-based-standards] (PRIX64): Likewise.
25322 [C99-based-standards] (SCNd64): Likewise.
25323 [C99-based-standards] (SCNi64): Likewise.
25324 [C99-based-standards] (SCNo64): Likewise.
25325 [C99-based-standards] (SCNu64): Likewise.
25326 [C99-based-standards] (SCNx64): Likewise.
25327 [C99-based-standards] (PRIdLEAST64): Likewise.
25328 [C99-based-standards] (PRIiLEAST64): Likewise.
25329 [C99-based-standards] (PRIoLEAST64): Likewise.
25330 [C99-based-standards] (PRIuLEAST64): Likewise.
25331 [C99-based-standards] (PRIxLEAST64): Likewise.
25332 [C99-based-standards] (PRIXLEAST64): Likewise.
25333 [C99-based-standards] (SCNdLEAST64): Likewise.
25334 [C99-based-standards] (SCNiLEAST64): Likewise.
25335 [C99-based-standards] (SCNoLEAST64): Likewise.
25336 [C99-based-standards] (SCNuLEAST64): Likewise.
25337 [C99-based-standards] (SCNxLEAST64): Likewise.
25338 [C99-based-standards] (PRIdFAST64): Likewise.
25339 [C99-based-standards] (PRIiFAST64): Likewise.
25340 [C99-based-standards] (PRIoFAST64): Likewise.
25341 [C99-based-standards] (PRIuFAST64): Likewise.
25342 [C99-based-standards] (PRIxFAST64): Likewise.
25343 [C99-based-standards] (PRIXFAST64): Likewise.
25344 [C99-based-standards] (SCNdFAST64): Likewise.
25345 [C99-based-standards] (SCNiFAST64): Likewise.
25346 [C99-based-standards] (SCNoFAST64): Likewise.
25347 [C99-based-standards] (SCNuFAST64): Likewise.
25348 [C99-based-standards] (SCNxFAST64): Likewise.
25349 [C99-based-standards] (PRIdMAX): Likewise.
25350 [C99-based-standards] (PRIiMAX): Likewise.
25351 [C99-based-standards] (PRIoMAX): Likewise.
25352 [C99-based-standards] (PRIuMAX): Likewise.
25353 [C99-based-standards] (PRIxMAX): Likewise.
25354 [C99-based-standards] (PRIXMAX): Likewise.
25355 [C99-based-standards] (SCNdMAX): Likewise.
25356 [C99-based-standards] (SCNiMAX): Likewise.
25357 [C99-based-standards] (SCNoMAX): Likewise.
25358 [C99-based-standards] (SCNuMAX): Likewise.
25359 [C99-based-standards] (SCNxMAX): Likewise.
25360 [C99-based-standards] (PRIdPTR): Likewise.
25361 [C99-based-standards] (PRIiPTR): Likewise.
25362 [C99-based-standards] (PRIoPTR): Likewise.
25363 [C99-based-standards] (PRIuPTR): Likewise.
25364 [C99-based-standards] (PRIxPTR): Likewise.
25365 [C99-based-standards] (PRIXPTR): Likewise.
25366 [C99-based-standards] (SCNdPTR): Likewise.
25367 [C99-based-standards] (SCNiPTR): Likewise.
25368 [C99-based-standards] (SCNoPTR): Likewise.
25369 [C99-based-standards] (SCNuPTR): Likewise.
25370 [C99-based-standards] (SCNxPTR): Likewise.
25371 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25373 * conform/data/stdint.h-data: Update comments to clarify
25375 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25377 [C99-based standards] (INT8_MAX): Likewise.
25378 [C99-based standards] (INT16_MIN): Likewise.
25379 [C99-based standards] (INT16_MAX): Likewise.
25380 [C99-based standards] (INT32_MIN): Likewise.
25381 [C99-based standards] (INT32_MAX): Likewise.
25382 [C99-based standards] (INT64_MIN): Likewise.
25383 [C99-based standards] (INT64_MAX): Likewise.
25384 [C99-based standards] (UINT8_MAX): Likewise.
25385 [C99-based standards] (UINT16_MAX): Likewise.
25386 [C99-based standards] (UINT32_MAX): Likewise.
25387 [C99-based standards] (UINT64_MAX): Likewise.
25388 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25389 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25390 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25391 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25392 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25393 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25394 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25395 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25396 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25397 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25398 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25399 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25400 [C99-based standards] (INT_FAST8_MIN): Likewise.
25401 [C99-based standards] (INT_FAST8_MAX): Likewise.
25402 [C99-based standards] (INT_FAST16_MIN): Likewise.
25403 [C99-based standards] (INT_FAST16_MAX): Likewise.
25404 [C99-based standards] (INT_FAST32_MIN): Likewise.
25405 [C99-based standards] (INT_FAST32_MAX): Likewise.
25406 [C99-based standards] (INT_FAST64_MIN): Likewise.
25407 [C99-based standards] (INT_FAST64_MAX): Likewise.
25408 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25409 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25410 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25411 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25412 [C99-based standards] (INTPTR_MIN): Likewise.
25413 [C99-based standards] (INTPTR_MAX): Likewise.
25414 [C99-based standards] (UINTPTR_MAX): Likewise.
25415 [C99-based standards] (INTMAX_MIN): Likewise.
25416 [C99-based standards] (INTMAX_MAX): Likewise.
25417 [C99-based standards] (UINTMAX_MAX): Likewise.
25418 [C99-based standards] (PTRDIFF_MIN): Likewise.
25419 [C99-based standards] (PTRDIFF_MAX): Likewise.
25420 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25421 [C99-based standards] (SIZE_MAX): Likewise.
25422 [C99-based standards] (WCHAR_MAX): Likewise.
25423 [C99-based standards] (WINT_MAX): Likewise.
25424 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25425 constraint on value.
25426 [C99-based standards] (WCHAR_MIN): Likewise.
25427 [C99-based standards] (WINT_MIN): Likewise.
25428 [C99-based standards] (*_t): Allow.
25429 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25430 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25431 Include math.h-data and complex.h-data. Remove all expectations
25432 of math.h and complex.h contents.
25433 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25435 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25436 (struct tm): Expect tag.
25437 [C99-based-standards] (wcstof): Expect function.
25438 [C99-based-standards] (wcstold): Likewise.
25439 [C99-based-standards] (wcstoll): Likewise.
25440 [C99-based-standards] (wcstoull): Likewise.
25441 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25442 macro-int-constant. Specify type.
25443 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25444 constraint on value.
25445 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25447 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25449 [ISO C standards]: Do not allow headers.
25450 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25451 wcs[abcdefghijklmnopqrstuvwxyz]*.
25452 [ISO C standards] (*_t): Do not allow.
25453 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25455 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25456 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25458 [ISO C standards]: Do not allow headers.
25459 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25460 is[abcdefghijklmnopqrstuvwxyz]*.
25461 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25462 to[abcdefghijklmnopqrstuvwxyz]*.
25463 [ISO C standards] (*_t): Do not allow.
25464 * conform/data/stdalign.h-data: New file.
25465 * conform/data/stdbool.h-data: Likewise.
25466 * conform/data/stdnoreturn.h-data: Likewise.
25468 2012-11-07 Roland McGrath <roland@hack.frob.com>
25471 * manual/filesys.texi (Directory Entries): Typo fix.
25472 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25474 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25476 * elf/elf.h (EM_AARCH64): New macro.
25477 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25478 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25479 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25480 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25481 (R_AARCH64_TLSDESC): Likewise.
25482 (NT_ARM_TLS): Likewise.
25483 (NT_ARM_HW_BREAK): Likewise.
25484 (NT_ARM_HW_WATCH): Likewise.
25486 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25489 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25490 (__ieee754_powl): Saturate nonzero exponents with absolute value
25491 below 0x1p-79 to +/- 0x1p-79.
25492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25493 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25494 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25495 nonzero exponents with absolute value below 0x1p-32 to +/-
25497 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25498 (__ieee754_powl): Saturate nonzero exponents with absolute value
25499 below 0x1p-79 to +/- 0x1p-79.
25500 * math/libm-test.inc (pow_test): Add more tests.
25502 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25504 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25505 _dl_s390_cap_flags with kernel. Increase string length.
25506 (_dl_s390_platforms): Add z196 and zEC12.
25508 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25510 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25511 Change XOPEN21K to XOPEN2K.
25513 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25515 * string/memmove.c: Use memcpy when possible.
25517 2012-11-06 Andreas Jaeger <aj@suse.de>
25519 * po/eo.po: Update from translation team.
25521 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25525 exponent and small x and y exponents, scale x or y up. Increase
25526 by 2 the exponent used in scaling up.
25527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25529 * math/libm-test.inc (fma_test): Add more tests.
25530 (fma_test_towardzero): Likewise.
25531 (fma_test_downward): Likewise.
25532 (fma_test_upward): Likewise.
25534 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25541 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25542 namespace for names of struct fields.
25543 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25545 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25546 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25548 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25551 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25553 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25555 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25559 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25562 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25566 definitely overflow as x * y not x * y + z.
25567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25569 * math/libm-test.inc (fma_test): Add more tests.
25570 (fma_test_towardzero): Likewise.
25571 (fma_test_downward): Likewise.
25572 (fma_test_upward): Likewise.
25574 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25578 * include/stub-tag.h: Remove file.
25579 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25581 * manual/maint.texi (Porting): Don't reference it.
25582 * Makerules ($(objpfx)stubs): Likewise.
25583 * dirent/closedir.c: Don't include <stub-tag.h>.
25584 * dirent/dirfd.c: Likewise.
25585 * dirent/fdopendir.c: Likewise.
25586 * dirent/getdents.c: Likewise.
25587 * dirent/getdents64.c: Likewise.
25588 * dirent/opendir.c: Likewise.
25589 * dirent/readdir.c: Likewise.
25590 * dirent/readdir64.c: Likewise.
25591 * dirent/readdir64_r.c: Likewise.
25592 * dirent/readdir_r.c: Likewise.
25593 * dirent/rewinddir.c: Likewise.
25594 * dirent/seekdir.c: Likewise.
25595 * dirent/telldir.c: Likewise.
25596 * gmon/profil.c: Likewise.
25597 * grp/setgroups.c: Likewise.
25598 * inet/if_index.c: Likewise.
25599 * io/access.c: Likewise.
25600 * io/chdir.c: Likewise.
25601 * io/chmod.c: Likewise.
25602 * io/chown.c: Likewise.
25603 * io/close.c: Likewise.
25604 * io/dup.c: Likewise.
25605 * io/dup2.c: Likewise.
25606 * io/dup3.c: Likewise.
25607 * io/euidaccess.c: Likewise.
25608 * io/faccessat.c: Likewise.
25609 * io/fchdir.c: Likewise.
25610 * io/fchmod.c: Likewise.
25611 * io/fchmodat.c: Likewise.
25612 * io/fchown.c: Likewise.
25613 * io/fchownat.c: Likewise.
25614 * io/fcntl.c: Likewise.
25615 * io/flock.c: Likewise.
25616 * io/fstatfs.c: Likewise.
25617 * io/fstatfs64.c: Likewise.
25618 * io/fstatvfs.c: Likewise.
25619 * io/fstatvfs64.c: Likewise.
25620 * io/futimens.c: Likewise.
25621 * io/fxstat.c: Likewise.
25622 * io/fxstat64.c: Likewise.
25623 * io/fxstatat.c: Likewise.
25624 * io/fxstatat64.c: Likewise.
25625 * io/getcwd.c: Likewise.
25626 * io/isatty.c: Likewise.
25627 * io/lchmod.c: Likewise.
25628 * io/lchown.c: Likewise.
25629 * io/link.c: Likewise.
25630 * io/linkat.c: Likewise.
25631 * io/lseek.c: Likewise.
25632 * io/lseek64.c: Likewise.
25633 * io/lxstat64.c: Likewise.
25634 * io/mkdir.c: Likewise.
25635 * io/mkdirat.c: Likewise.
25636 * io/mkfifo.c: Likewise.
25637 * io/mkfifoat.c: Likewise.
25638 * io/open.c: Likewise.
25639 * io/open64.c: Likewise.
25640 * io/openat.c: Likewise.
25641 * io/openat64.c: Likewise.
25642 * io/pipe.c: Likewise.
25643 * io/pipe2.c: Likewise.
25644 * io/poll.c: Likewise.
25645 * io/posix_fadvise.c: Likewise.
25646 * io/posix_fadvise64.c: Likewise.
25647 * io/posix_fallocate.c: Likewise.
25648 * io/posix_fallocate64.c: Likewise.
25649 * io/read.c: Likewise.
25650 * io/readlink.c: Likewise.
25651 * io/readlinkat.c: Likewise.
25652 * io/rmdir.c: Likewise.
25653 * io/sendfile.c: Likewise.
25654 * io/sendfile64.c: Likewise.
25655 * io/statfs.c: Likewise.
25656 * io/statfs64.c: Likewise.
25657 * io/statvfs.c: Likewise.
25658 * io/statvfs64.c: Likewise.
25659 * io/symlink.c: Likewise.
25660 * io/symlinkat.c: Likewise.
25661 * io/ttyname.c: Likewise.
25662 * io/ttyname_r.c: Likewise.
25663 * io/umask.c: Likewise.
25664 * io/unlink.c: Likewise.
25665 * io/unlinkat.c: Likewise.
25666 * io/utime.c: Likewise.
25667 * io/utimensat.c: Likewise.
25668 * io/write.c: Likewise.
25669 * io/xmknod.c: Likewise.
25670 * io/xmknodat.c: Likewise.
25671 * io/xstat.c: Likewise.
25672 * io/xstat64.c: Likewise.
25673 * login/getpt.c: Likewise.
25674 * login/grantpt.c: Likewise.
25675 * login/unlockpt.c: Likewise.
25676 * math/e_acoshl.c: Likewise.
25677 * math/e_acosl.c: Likewise.
25678 * math/e_asinl.c: Likewise.
25679 * math/e_atan2l.c: Likewise.
25680 * math/e_atanhl.c: Likewise.
25681 * math/e_coshl.c: Likewise.
25682 * math/e_expl.c: Likewise.
25683 * math/e_fmodl.c: Likewise.
25684 * math/e_gammal_r.c: Likewise.
25685 * math/e_hypotl.c: Likewise.
25686 * math/e_j0l.c: Likewise.
25687 * math/e_j1l.c: Likewise.
25688 * math/e_jnl.c: Likewise.
25689 * math/e_lgammal_r.c: Likewise.
25690 * math/e_log10l.c: Likewise.
25691 * math/e_log2l.c: Likewise.
25692 * math/e_logl.c: Likewise.
25693 * math/e_powl.c: Likewise.
25694 * math/e_rem_pio2l.c: Likewise.
25695 * math/e_sinhl.c: Likewise.
25696 * math/e_sqrtl.c: Likewise.
25697 * math/fclrexcpt.c: Likewise.
25698 * math/fedisblxcpt.c: Likewise.
25699 * math/feenablxcpt.c: Likewise.
25700 * math/fegetenv.c: Likewise.
25701 * math/fegetexcept.c: Likewise.
25702 * math/fegetround.c: Likewise.
25703 * math/feholdexcpt.c: Likewise.
25704 * math/fesetenv.c: Likewise.
25705 * math/fesetround.c: Likewise.
25706 * math/feupdateenv.c: Likewise.
25707 * math/fgetexcptflg.c: Likewise.
25708 * math/fraiseexcpt.c: Likewise.
25709 * math/fsetexcptflg.c: Likewise.
25710 * math/ftestexcept.c: Likewise.
25711 * math/k_cosl.c: Likewise.
25712 * math/k_rem_pio2l.c: Likewise.
25713 * math/k_sinl.c: Likewise.
25714 * math/k_tanl.c: Likewise.
25715 * math/s_asinhl.c: Likewise.
25716 * math/s_atanl.c: Likewise.
25717 * math/s_cbrtl.c: Likewise.
25718 * math/s_erfl.c: Likewise.
25719 * math/s_expm1l.c: Likewise.
25720 * math/s_log1pl.c: Likewise.
25721 * math/s_tanhl.c: Likewise.
25722 * misc/acct.c: Likewise.
25723 * misc/brk.c: Likewise.
25724 * misc/chflags.c: Likewise.
25725 * misc/chroot.c: Likewise.
25726 * misc/fchflags.c: Likewise.
25727 * misc/fgetxattr.c: Likewise.
25728 * misc/flistxattr.c: Likewise.
25729 * misc/fremovexattr.c: Likewise.
25730 * misc/fsetxattr.c: Likewise.
25731 * misc/fsync.c: Likewise.
25732 * misc/ftruncate.c: Likewise.
25733 * misc/futimes.c: Likewise.
25734 * misc/futimesat.c: Likewise.
25735 * misc/getdomain.c: Likewise.
25736 * misc/getdtsz.c: Likewise.
25737 * misc/gethostid.c: Likewise.
25738 * misc/gethostname.c: Likewise.
25739 * misc/getloadavg.c: Likewise.
25740 * misc/getpagesize.c: Likewise.
25741 * misc/getsysstats.c: Likewise.
25742 * misc/getxattr.c: Likewise.
25743 * misc/gtty.c: Likewise.
25744 * misc/ioctl.c: Likewise.
25745 * misc/lgetxattr.c: Likewise.
25746 * misc/listxattr.c: Likewise.
25747 * misc/llistxattr.c: Likewise.
25748 * misc/lremovexattr.c: Likewise.
25749 * misc/lsetxattr.c: Likewise.
25750 * misc/lutimes.c: Likewise.
25751 * misc/madvise.c: Likewise.
25752 * misc/mincore.c: Likewise.
25753 * misc/mlock.c: Likewise.
25754 * misc/mlockall.c: Likewise.
25755 * misc/mmap.c: Likewise.
25756 * misc/mprotect.c: Likewise.
25757 * misc/msync.c: Likewise.
25758 * misc/munlock.c: Likewise.
25759 * misc/munlockall.c: Likewise.
25760 * misc/munmap.c: Likewise.
25761 * misc/preadv.c: Likewise.
25762 * misc/preadv64.c: Likewise.
25763 * misc/ptrace.c: Likewise.
25764 * misc/pwritev.c: Likewise.
25765 * misc/pwritev64.c: Likewise.
25766 * misc/readv.c: Likewise.
25767 * misc/reboot.c: Likewise.
25768 * misc/remap_file_pages.c: Likewise.
25769 * misc/removexattr.c: Likewise.
25770 * misc/revoke.c: Likewise.
25771 * misc/select.c: Likewise.
25772 * misc/setdomain.c: Likewise.
25773 * misc/setegid.c: Likewise.
25774 * misc/seteuid.c: Likewise.
25775 * misc/sethostid.c: Likewise.
25776 * misc/sethostname.c: Likewise.
25777 * misc/setregid.c: Likewise.
25778 * misc/setreuid.c: Likewise.
25779 * misc/setxattr.c: Likewise.
25780 * misc/sstk.c: Likewise.
25781 * misc/stty.c: Likewise.
25782 * misc/swapoff.c: Likewise.
25783 * misc/swapon.c: Likewise.
25784 * misc/sync.c: Likewise.
25785 * misc/syncfs.c: Likewise.
25786 * misc/syscall.c: Likewise.
25787 * misc/truncate.c: Likewise.
25788 * misc/ualarm.c: Likewise.
25789 * misc/usleep.c: Likewise.
25790 * misc/ustat.c: Likewise.
25791 * misc/utimes.c: Likewise.
25792 * misc/vhangup.c: Likewise.
25793 * misc/writev.c: Likewise.
25794 * posix/_exit.c: Likewise.
25795 * posix/alarm.c: Likewise.
25796 * posix/execve.c: Likewise.
25797 * posix/fexecve.c: Likewise.
25798 * posix/fork.c: Likewise.
25799 * posix/fpathconf.c: Likewise.
25800 * posix/getaddrinfo.c: Likewise.
25801 * posix/getegid.c: Likewise.
25802 * posix/geteuid.c: Likewise.
25803 * posix/getgid.c: Likewise.
25804 * posix/getgroups.c: Likewise.
25805 * posix/getlogin.c: Likewise.
25806 * posix/getlogin_r.c: Likewise.
25807 * posix/getpgid.c: Likewise.
25808 * posix/getpid.c: Likewise.
25809 * posix/getppid.c: Likewise.
25810 * posix/getresgid.c: Likewise.
25811 * posix/getresuid.c: Likewise.
25812 * posix/getsid.c: Likewise.
25813 * posix/getuid.c: Likewise.
25814 * posix/glob64.c: Likewise.
25815 * posix/nanosleep.c: Likewise.
25816 * posix/pathconf.c: Likewise.
25817 * posix/pause.c: Likewise.
25818 * posix/posix_madvise.c: Likewise.
25819 * posix/pread.c: Likewise.
25820 * posix/pread64.c: Likewise.
25821 * posix/pwrite.c: Likewise.
25822 * posix/pwrite64.c: Likewise.
25823 * posix/sched_getaffinity.c: Likewise.
25824 * posix/sched_getp.c: Likewise.
25825 * posix/sched_gets.c: Likewise.
25826 * posix/sched_primax.c: Likewise.
25827 * posix/sched_primin.c: Likewise.
25828 * posix/sched_rr_gi.c: Likewise.
25829 * posix/sched_setaffinity.c: Likewise.
25830 * posix/sched_setp.c: Likewise.
25831 * posix/sched_sets.c: Likewise.
25832 * posix/sched_yield.c: Likewise.
25833 * posix/setgid.c: Likewise.
25834 * posix/setlogin.c: Likewise.
25835 * posix/setpgid.c: Likewise.
25836 * posix/setresgid.c: Likewise.
25837 * posix/setresuid.c: Likewise.
25838 * posix/setsid.c: Likewise.
25839 * posix/setuid.c: Likewise.
25840 * posix/sleep.c: Likewise.
25841 * posix/spawni.c: Likewise.
25842 * posix/sysconf.c: Likewise.
25843 * posix/times.c: Likewise.
25844 * posix/wait.c: Likewise.
25845 * posix/wait3.c: Likewise.
25846 * posix/wait4.c: Likewise.
25847 * posix/waitpid.c: Likewise.
25848 * resolv/gai_sigqueue.c: Likewise.
25849 * resource/getpriority.c: Likewise.
25850 * resource/getrlimit.c: Likewise.
25851 * resource/getrusage.c: Likewise.
25852 * resource/nice.c: Likewise.
25853 * resource/setpriority.c: Likewise.
25854 * resource/setrlimit.c: Likewise.
25855 * resource/ulimit.c: Likewise.
25856 * rt/aio_cancel.c: Likewise.
25857 * rt/aio_fsync.c: Likewise.
25858 * rt/aio_read.c: Likewise.
25859 * rt/aio_sigqueue.c: Likewise.
25860 * rt/aio_suspend.c: Likewise.
25861 * rt/aio_write.c: Likewise.
25862 * rt/clock_getres.c: Likewise.
25863 * rt/clock_gettime.c: Likewise.
25864 * rt/clock_nanosleep.c: Likewise.
25865 * rt/clock_settime.c: Likewise.
25866 * rt/lio_listio.c: Likewise.
25867 * rt/mq_close.c: Likewise.
25868 * rt/mq_getattr.c: Likewise.
25869 * rt/mq_notify.c: Likewise.
25870 * rt/mq_open.c: Likewise.
25871 * rt/mq_receive.c: Likewise.
25872 * rt/mq_send.c: Likewise.
25873 * rt/mq_setattr.c: Likewise.
25874 * rt/mq_timedreceive.c: Likewise.
25875 * rt/mq_timedsend.c: Likewise.
25876 * rt/mq_unlink.c: Likewise.
25877 * rt/shm_open.c: Likewise.
25878 * rt/shm_unlink.c: Likewise.
25879 * rt/timer_create.c: Likewise.
25880 * rt/timer_delete.c: Likewise.
25881 * rt/timer_getoverr.c: Likewise.
25882 * rt/timer_gettime.c: Likewise.
25883 * rt/timer_settime.c: Likewise.
25884 * setjmp/__longjmp.c: Likewise.
25885 * setjmp/setjmp.c: Likewise.
25886 * signal/kill.c: Likewise.
25887 * signal/killpg.c: Likewise.
25888 * signal/raise.c: Likewise.
25889 * signal/sigaction.c: Likewise.
25890 * signal/sigaltstack.c: Likewise.
25891 * signal/sigblock.c: Likewise.
25892 * signal/sigignore.c: Likewise.
25893 * signal/sigintr.c: Likewise.
25894 * signal/signal.c: Likewise.
25895 * signal/sigpause.c: Likewise.
25896 * signal/sigpending.c: Likewise.
25897 * signal/sigqueue.c: Likewise.
25898 * signal/sigreturn.c: Likewise.
25899 * signal/sigset.c: Likewise.
25900 * signal/sigsetmask.c: Likewise.
25901 * signal/sigstack.c: Likewise.
25902 * signal/sigsuspend.c: Likewise.
25903 * signal/sigtimedwait.c: Likewise.
25904 * signal/sigvec.c: Likewise.
25905 * signal/sigwait.c: Likewise.
25906 * signal/sigwaitinfo.c: Likewise.
25907 * signal/sysv_signal.c: Likewise.
25908 * socket/accept.c: Likewise.
25909 * socket/accept4.c: Likewise.
25910 * socket/bind.c: Likewise.
25911 * socket/connect.c: Likewise.
25912 * socket/getpeername.c: Likewise.
25913 * socket/getsockname.c: Likewise.
25914 * socket/getsockopt.c: Likewise.
25915 * socket/isfdtype.c: Likewise.
25916 * socket/listen.c: Likewise.
25917 * socket/recv.c: Likewise.
25918 * socket/recvfrom.c: Likewise.
25919 * socket/recvmsg.c: Likewise.
25920 * socket/send.c: Likewise.
25921 * socket/sendmsg.c: Likewise.
25922 * socket/sendto.c: Likewise.
25923 * socket/setsockopt.c: Likewise.
25924 * socket/shutdown.c: Likewise.
25925 * socket/sockatmark.c: Likewise.
25926 * socket/socket.c: Likewise.
25927 * socket/socketpair.c: Likewise.
25928 * stdio-common/ctermid.c: Likewise.
25929 * stdio-common/cuserid.c: Likewise.
25930 * stdio-common/remove.c: Likewise.
25931 * stdio-common/rename.c: Likewise.
25932 * stdio-common/renameat.c: Likewise.
25933 * stdio-common/tempname.c: Likewise.
25934 * stdlib/getcontext.c: Likewise.
25935 * stdlib/makecontext.c: Likewise.
25936 * stdlib/setcontext.c: Likewise.
25937 * stdlib/swapcontext.c: Likewise.
25938 * stdlib/system.c: Likewise.
25939 * streams/fattach.c: Likewise.
25940 * streams/fdetach.c: Likewise.
25941 * streams/getmsg.c: Likewise.
25942 * streams/getpmsg.c: Likewise.
25943 * streams/putmsg.c: Likewise.
25944 * streams/putpmsg.c: Likewise.
25945 * sysdeps/unix/bsd/getpt.c: Likewise.
25946 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25947 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25948 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25951 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25952 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25953 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25954 * sysvipc/msgctl.c: Likewise.
25955 * sysvipc/msgget.c: Likewise.
25956 * sysvipc/msgrcv.c: Likewise.
25957 * sysvipc/msgsnd.c: Likewise.
25958 * sysvipc/semctl.c: Likewise.
25959 * sysvipc/semget.c: Likewise.
25960 * sysvipc/semop.c: Likewise.
25961 * sysvipc/semtimedop.c: Likewise.
25962 * sysvipc/shmat.c: Likewise.
25963 * sysvipc/shmctl.c: Likewise.
25964 * sysvipc/shmdt.c: Likewise.
25965 * sysvipc/shmget.c: Likewise.
25966 * termios/tcdrain.c: Likewise.
25967 * termios/tcflow.c: Likewise.
25968 * termios/tcflush.c: Likewise.
25969 * termios/tcgetattr.c: Likewise.
25970 * termios/tcgetpgrp.c: Likewise.
25971 * termios/tcsendbrk.c: Likewise.
25972 * termios/tcsetattr.c: Likewise.
25973 * termios/tcsetpgrp.c: Likewise.
25974 * time/adjtime.c: Likewise.
25975 * time/clock.c: Likewise.
25976 * time/getitimer.c: Likewise.
25977 * time/gettimeofday.c: Likewise.
25978 * time/setitimer.c: Likewise.
25979 * time/settimeofday.c: Likewise.
25980 * time/stime.c: Likewise.
25981 * time/time.c: Likewise.
25983 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25985 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25988 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25990 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25992 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25996 FE_TONEAREST before applying Dekker multiplication and Knuth
25997 addition. Clear inexact exceptions and check for exact zero
25998 results afterwards.
25999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26000 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26002 * math/libm-test.inc (fma_test): Add more tests.
26003 (fma_test_towardzero): Likewise.
26004 (fma_test_downward): Likewise.
26005 (fma_test_upward): Likewise.
26006 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26008 (libc_fesetround): New macro.
26009 (libc_fesetroundf): Likewise.
26010 (libc_fesetroundl): Likewise.
26011 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26013 (libc_fesetround_387): Likewise.
26014 (libc_fesetroundf): New macro.
26015 (libc_fesetround): Likewise.
26016 (libc_fesetroundl): Likewise.
26017 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26019 (libc_fesetroundf): New macro.
26020 (libc_fesetround): Likewise.
26021 (libc_fesetroundl): Likewise.
26022 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26023 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26024 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26026 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26027 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26029 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26030 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26032 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26036 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26037 integer constant usable in #if and use that to give value to enum
26039 (FE_DIVBYZERO): Likewise.
26040 (FE_UNDERFLOW): Likewise.
26041 (FE_OVERFLOW): Likewise.
26042 (FE_INVALID): Likewise.
26043 (FE_INVALID_SNAN): Likewise.
26044 (FE_INVALID_ISI): Likewise.
26045 (FE_INVALID_IDI): Likewise.
26046 (FE_INVALID_ZDZ): Likewise.
26047 (FE_INVALID_IMZ): Likewise.
26048 (FE_INVALID_COMPARE): Likewise.
26049 (FE_INVALID_SOFTWARE): Likewise.
26050 (FE_INVALID_SQRT): Likewise.
26051 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26052 (FE_TONEAREST): Likewise.
26053 (FE_TOWARDZERO): Likewise.
26054 (FE_UPWARD): Likewise.
26055 (FE_DOWNWARD): Likewise.
26056 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26057 (FE_DIVBYZERO): Likewise.
26058 (FE_OVERFLOW): Likewise.
26059 (FE_UNDERFLOW): Likewise.
26060 (FE_INEXACT): Likewise.
26061 (FE_TONEAREST): Likewise.
26062 (FE_DOWNWARD): Likewise.
26063 (FE_UPWARD): Likewise.
26064 (FE_TOWARDZERO): Likewise.
26065 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26066 (FE_UNDERFLOW): Likewise.
26067 (FE_OVERFLOW): Likewise.
26068 (FE_DIVBYZERO): Likewise.
26069 (FE_INVALID): Likewise.
26070 (FE_TONEAREST): Likewise.
26071 (FE_TOWARDZERO): Likewise.
26072 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26073 (FE_OVERFLOW): Likewise.
26074 (FE_UNDERFLOW): Likewise.
26075 (FE_DIVBYZERO): Likewise.
26076 (FE_INEXACT): Likewise.
26077 (FE_TONEAREST): Likewise.
26078 (FE_TOWARDZERO): Likewise.
26079 (FE_UPWARD): Likewise.
26080 (FE_DOWNWARD): Likewise.
26081 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26082 (FE_DIVBYZERO): Likewise.
26083 (FE_OVERFLOW): Likewise.
26084 (FE_UNDERFLOW): Likewise.
26085 (FE_INEXACT): Likewise.
26086 (FE_TONEAREST): Likewise.
26087 (FE_DOWNWARD): Likewise.
26088 (FE_UPWARD): Likewise.
26089 (FE_TOWARDZERO): Likewise.
26091 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26093 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26095 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26097 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26098 commands. Quote $PWD.
26099 (blacklist_exports): Don't use remove_newlines. Replace "declare
26101 (remove_newlines): Remove.
26103 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26105 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26106 * stdlib/stdlib.h (atof): Moved to ...
26107 * include/bits/stdlib-float.h: Here. New file.
26108 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26109 * stdlib/bits/stdlib-float.h: New file.
26110 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26112 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26115 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26117 * conform/conformtest.pl (@headers): Add fenv.h.
26118 * conform/data/fenv.h-data: New file.
26119 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26120 include of <math/fenv.h>.
26122 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26123 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26124 && !UNIX98]. Enables tests for XOPEN2K8.
26125 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26126 POSIX2008]: Likewise.
26128 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26129 (struct rusage): Do not expect type or its members.
26132 * math/math.h (FP_NAN): Define macro to integer constant usable in
26133 #if and use that to give value to enum constant.
26134 (FP_INFINITE): Likewise.
26135 (FP_ZERO): Likewise.
26136 (FP_SUBNORMAL): Likewise.
26137 (FP_NORMAL): Likewise.
26139 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26141 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26142 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26145 2012-11-02 Roland McGrath <roland@hack.frob.com>
26147 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26148 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26149 autoconf-time if not.
26150 * configure.in: Remove AC_PREREQ.
26152 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26154 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26155 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26156 of the internal implementation.
26158 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26160 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26161 except include of <misc/sys/syslog.h>.
26163 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26166 function returns with a NULL context exit with zero.
26168 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26170 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26172 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26174 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26175 (run_program_cmd): This.
26176 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26177 (tst_langinfo): New variable. Use it.
26179 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26181 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26182 floating point opcodes.
26184 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26186 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26189 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26191 * sysdeps/mach/hurd/powerpc: Remove directory.
26192 * sysdeps/mach/powerpc: Likewise.
26194 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26196 * scripts/check-local-headers.sh: Ignore c++ headers.
26198 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26200 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26201 __libc_cleanup_region_start argument.
26203 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26208 x * y using scaling, not as x * y + z.
26209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26211 * math/libm-test.inc (fma_test): Add more tests.
26212 (fma_test_towardzero): Likewise.
26213 (fma_test_downward): Likewise.
26214 (fma_test_upward): Likewise.
26216 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26218 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26220 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26222 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26225 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26227 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26229 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26236 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26239 Fix the order of the list for glibc 2.17.
26240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26243 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26247 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26250 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26251 for low part of x being zero before using __atanl (y).
26252 * math/libm-test.inc (atan2_test): Add another test.
26254 * manual/install.texi (Configuring and compiling): Document
26255 general use of test-wrapper and test-wrapper-env.
26256 * INSTALL: Regenerated.
26258 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26259 (__fma): Do not extract and scale down low bits on after-rounding
26260 systems when result rounded to normal precision would have normal
26262 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26263 (__fmal): Do not extract and scale down low bits on after-rounding
26264 systems when result rounded to normal precision would have normal
26266 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26267 (__fmal): Do not extract and scale down low bits on after-rounding
26268 systems when result rounded to normal precision would have normal
26270 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26272 (fma_test): Add more tests.
26273 (fma_test_towardzero): Likewise.
26274 (fma_test_downward): Likewise.
26275 (fma_test_upward): Likewise.
26277 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26279 * sysdeps/i386/tininess.h: Renamed to ...
26280 * sysdeps/x86/tininess.h: This.
26281 * sysdeps/x86_64/tininess.h: Removed.
26283 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26285 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26286 input. Use $(build-program-cmd).
26287 ($(objpfx)tst-array1-static.out): Likewise.
26288 ($(objpfx)tst-array2.out): Likewise.
26289 ($(objpfx)tst-array3.out): Likewise.
26290 ($(objpfx)tst-array4.out): Likewise.
26291 ($(objpfx)tst-array5.out): Likewise.
26292 ($(objpfx)tst-array5-static.out): Likewise.
26294 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26296 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26299 * nss/nsswitch.h (nss_interface_function): Provide new
26300 macro for use with NSS functions.
26301 * grp/initgroups.c: Use new macro.
26302 * nss/getXXbyYY.c: Likewise.
26303 * nss/getXXbyYY_r.c: Likewise.
26304 * nss/getXXent.c: Likewise.
26305 * nss/getXXent_r.c: Likewise.
26306 * sysdeps/posix/getaddrinfo.c: Likewise.
26308 2012-10-30 Andreas Jaeger <aj@suse.de>
26310 * po/ru.po: Update Russion translation from translation project.
26312 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26317 result and shift together with sticky bit instead of replicating
26318 round-to-nearest rounding.
26319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26321 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26322 missing underflow exceptions.
26323 (fma_test_towardzero): Add more tests.
26324 (fma_test_downward): Likewise.
26325 (fma_test_upward): Likewise.
26328 * sysdeps/generic/tininess.h: New file.
26329 * sysdeps/i386/tininess.h: Likewise.
26330 * sysdeps/sh/tininess.h: Likewise.
26331 * sysdeps/x86_64/tininess.h: Likewise.
26332 * stdlib/tst-strtod-underflow.c: Likewise.
26333 * stdlib/tst-tininess.c: Likewise.
26334 * stdlib/strtod_l.c: Include <tininess.h>.
26335 (round_and_return): Do not set errno for exact underflow cases.
26336 Force an underflow exception when setting errno for underflow.
26337 Determine underflow based on rounding to normal precision if
26338 TININESS_AFTER_ROUNDING.
26339 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26340 ERANGE for exact underflow cases.
26341 * stdlib/Makefile (tests): Add tst-tininess and
26342 tst-strtod-underflow.
26343 ($(objpfx)tst-tininess): Use $(link-libm).
26344 ($(objpfx)tst-strtod-underflow): Likewise.
26346 2012-10-30 Andreas Jaeger <aj@suse.de>
26349 * elf/Makefile (tests): Remove conditional for have-initfini-array
26350 since this is now always required and the variable does not exist
26352 (tests-static): Likewise.
26353 (modules-names): Likewise.
26355 * po/eo.po: Add Esperanto translation from translation project.
26357 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26358 merged with constructor/destructor.
26359 (init_array): Likewise.
26360 * elf/tst-array2dep.c (fini_array): Likewise.
26361 (init_array): Likewise.
26363 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26365 * manual/message.texi: Delete @cartouche tags.
26367 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26369 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26371 * sysdeps/mach/hurd/fsync.c: Likewise.
26373 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26374 [_POSIX_REALTIME_SIGNALS]: Change condition to
26375 [_POSIX_REALTIME_SIGNALS > 0].
26377 2012-10-27 Andreas Jaeger <aj@suse.de>
26379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26380 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26382 [__WORDSIZE != 64]: Likewise.
26384 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26386 * iconvdata/tst-table.sh: Remove ${SHELL}.
26387 * iconvdata/tst-tables.sh: Likewise.
26389 2012-10-25 David S. Miller <davem@davemloft.net>
26391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26392 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26398 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26399 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26402 2012-10-25 Roland McGrath <roland@hack.frob.com>
26404 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26405 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26408 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26409 Jim Blandy <jimb@codesourcery.com>
26411 * scripts/cross-test-ssh.sh: New file.
26412 * manual/install.texi (Configuring and compiling): Document use of
26414 * INSTALL: Regenerated.
26416 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26418 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26421 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26423 * Makeconfig (run-program-prefix): Fix comment.
26425 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26426 Jim Blandy <jimb@codesourcery.com>
26428 * Makeconfig (test-wrapper): New variable,
26429 (test-wrapper-env): Likewise.
26430 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26431 (run-built-tests): Define to yes.
26432 (run-program-prefix): Use $(test-wrapper).
26433 (built-program-cmd): Likewise.
26434 * Rules (make-test-out): Use $(test-wrapper-env) and
26435 $(host-built-program-cmd).
26436 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26437 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26439 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26440 $(test-wrapper-env) to tst-rtld-load-self.sh.
26441 ($(objpfx)order2.out): Use $(test-wrapper).
26442 ($(objpfx)tst-initorder.out): Likewise.
26443 ($(objpfx)tst-initorder2.out): Likewise.
26444 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26445 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26446 (test_wrapper_env): New variable. Use it to run ld.so.
26447 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26448 Use it to run ld.so.
26449 (test_wrapper_env): Likewise.
26450 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26451 $(test-wrapper) to run-iconv-test.sh.
26452 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26453 (ICONV): Use $test_wrapper.
26454 * posix/Makefile ($(objpfx)globtest.out): Pass
26455 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26456 globtest.sh, not $(run-program-prefix).
26457 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26458 (test_wrapper): Likewise.
26459 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26460 set together with run_via_rtld_prefix.
26461 (run_program_prefix): Define in terms of test_wrapper and
26462 run_via_rtld_prefix.
26464 2012-10-24 Roland McGrath <roland@hack.frob.com>
26466 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26467 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26471 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26472 Declare __clock_getres, __clock_gettime, __clock_settime,
26473 __clock_nanosleep, and __clock_getcpuclockid.
26474 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26475 Remove librt_hidden_def (clock_gettime).
26476 * sysdeps/unix/clock_gettime.c: Likewise.
26477 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26479 * rt/clock_getres.c: Define __clock_getres as an alias.
26480 * sysdeps/posix/clock_getres.c: Likewise.
26481 * rt/clock_settime.c: Define __clock_settime as an alias.
26482 * sysdeps/unix/clock_settime.c: Likewise.
26483 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26484 * sysdeps/unix/clock_nanosleep.c: Likewise.
26485 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26486 * rt/clock-compat.c: New file.
26487 * rt/Makefile (librt-routines): Add clock-compat and move
26488 $(clock-routines) to ...
26489 (routines): ... here, new variable.
26490 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26491 Don't add get_clockfreq here.
26492 * rt/Versions (libc: GLIBC_2.17): New version set.
26493 Add clock_* symbols here.
26494 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26496 (GLIBC_2.17): Add clock_* symbols.
26497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26508 * NEWS: Mention the move.
26510 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26511 Use __open, __read, __close rather than their public counterparts.
26512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26513 (__get_clockfreq_via_cpuinfo): Likewise.
26514 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26515 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26517 * config.h.in (HAVE_IFUNC): New #undef.
26518 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26520 * configure: Regenerated.
26522 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26524 * configure.in: Move READELF check to start of file.
26525 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26526 libc_cv_asm_gnu_indirect_function in the process.
26527 * configure: Regenerated.
26529 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26531 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26532 send the output to /dev/null.
26533 (libc_cv_cc_with_libunwind): Likewise.
26534 (libc_cv_as_noexecstack): Likewise.
26535 * configure: Regenerate.
26537 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26539 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26541 * posix/globtest.sh (TMPDIR): Do not set.
26542 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26543 (testout): Likewise.
26545 2012-10-24 Andreas Jaeger <aj@suse.de>
26547 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26548 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26549 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26550 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26551 posix_fadvise64, posix_fallocate64.
26553 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26554 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26555 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26557 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26559 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26562 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26563 <bits/fcntl-linux.h>.
26564 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26567 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26568 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26569 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26570 [__WORDSIZE != 64]: Likewise.
26572 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26574 * Makeconfig (run-built-tests): New variable.
26575 * Rules [$(cross-compiling) = yes]: Change condition to
26576 [$(run-built-tests) = no].
26577 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26578 to [$(run-built-tests) = yes].
26579 * elf/Makefile [$(cross-compiling) = no]: Likewise
26580 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26581 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26582 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26583 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26584 * io/Makefile [$(cross-compiling) = no]: Likewise.
26585 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26586 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26587 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26588 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26589 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26590 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26591 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26592 * string/Makefile [$(cross-compiling) = no]: Likewise.
26594 * posix/Makefile ($(objpfx)globtest.out): Pass
26595 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26596 $(rtld-installed-name).
26597 * posix/globtest.sh (elf_objpfx): Remove variable.
26598 (rtld_installed_name): Likewise.
26599 (library_path): Likewise.
26600 (run_program_prefix): New variable. Use for running globtest
26603 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26604 Joseph Myers <joseph@codesourcery.com>
26606 * Makeconfig (host-built-program-cmd): New variable.
26607 * elf/Makefile (tst-stackguard1-ARGS): Use
26608 $(host-built-program-cmd).
26609 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26610 (tst-spawn-ARGS): Likewise.
26611 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26613 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26614 Jim Blandy <jimb@codesourcery.com>
26616 * Makeconfig (run-via-rtld-prefix): New variable.
26617 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26618 (built-program-cmd): Likewise.
26620 2012-10-22 Andreas Jaeger <aj@suse.de>
26622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26623 __O_RSYNC if it exists, otherwise to O_SYNC.
26625 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26626 Joseph Myers <joseph@codesourcery.com>
26628 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26630 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26632 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26635 2012-10-22 Andreas Jaeger <aj@suse.de>
26637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26642 bits/fcntl-linux.h.
26644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26645 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26652 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26653 Joseph Myers <joseph@codesourcery.com>
26655 * config.make.in (NM): New variable.
26657 2012-10-21 Andreas Jaeger <aj@suse.de>
26659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26660 definitions and declarations that are provided by
26661 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26663 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26666 * elf/Makefile (tests-static): Add tst-leaks1-static.
26667 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26668 ($(objpfx)tst-leaks1-static): New rule.
26669 ($(objpfx)tst-leaks1-static-mem): Likewise.
26670 (tst-leaks1-static-ENV): New macro.
26671 * elf/dl-open.c (dl_open_worker): Check the main application
26672 only if SHARED is defined.
26673 * elf/tst-leaks1-static.c: New file.
26675 2012-10-20 Andreas Jaeger <aj@suse.de>
26677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26678 generic values for Linux.
26679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26680 and declarations that are provided by <bits/fcntl-linux.h> and
26681 include <bits/fcntl-linux.h>.
26682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26685 2012-10-20 Roland McGrath <roland@hack.frob.com>
26687 * io/fcntl.h: Move include of <bits/types.h> to the top and
26688 include it unconditionally.
26690 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26692 * wcsmbs/Makefile (tests-ifunc): New variable.
26693 (tests): Add $(tests-ifunc).
26694 * wcsmbs/test-wcschr-ifunc.c: New file.
26695 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26696 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26697 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26698 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26699 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26701 * string/Makefile (tests-ifunc): New variable.
26702 (tests): Add $(tests-ifunc).
26703 * string/test-memccpy.c (TEST_NAME): New macro.
26704 * string/test-memchr.c (TEST_NAME): Likewise.
26705 * string/test-memcmp.c (TEST_NAME): Likewise.
26706 * string/test-memcpy.c (TEST_NAME): Likewise.
26707 * string/test-memmem.c (TEST_NAME): Likewise.
26708 * string/test-memmove.c (TEST_NAME): Likewise.
26709 * string/test-memset.c (TEST_NAME): Likewise.
26710 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26711 * string/test-stpcpy.c (TEST_NAME): Likewise.
26712 * string/test-stpncpy.c (TEST_NAME): Likewise.
26713 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26714 * string/test-strcasestr.c (TEST_NAME): Likewise.
26715 * string/test-strcat.c (TEST_NAME): Likewise.
26716 * string/test-strchr.c (TEST_NAME): Likewise.
26717 * string/test-strcmp.c(TEST_NAME): Likewise.
26718 * string/test-strcpy.c (TEST_NAME): Likewise.
26719 * string/test-strcspn.c (TEST_NAME): Likewise.
26720 * string/test-strlen.c (TEST_NAME): Likewise.
26721 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26722 * string/test-strncmp.c (TEST_NAME): Likewise.
26723 * string/test-strncpy.c (TEST_NAME): Likewise.
26724 * string/test-strnlen.c (TEST_NAME): Likewise.
26725 * string/test-strpbrk.c (TEST_NAME): Likewise.
26726 * string/test-strrchr.c (TEST_NAME): Likewise.
26727 * string/test-strspn.c (TEST_NAME): Likewise.
26728 * string/test-strstr.c (TEST_NAME): Likewise.
26729 * string/test-bcopy-ifunc.c: New file.
26730 * string/test-bzero-ifunc.c: Likewise.
26731 * string/test-memccpy-ifunc.c: Likewise.
26732 * string/test-memchr-ifunc.c: Likewise.
26733 * string/test-memcmp-ifunc.c: Likewise.
26734 * string/test-memcpy-ifunc.c: Likewise.
26735 * string/test-memmem-ifunc.c: Likewise.
26736 * string/test-memmove-ifunc.c: Likewise.
26737 * string/test-mempcpy-ifunc.c: Likewise.
26738 * string/test-memset-ifunc.c: Likewise.
26739 * string/test-rawmemchr-ifunc.c: Likewise.
26740 * string/test-stpcpy-ifunc.c: Likewise.
26741 * string/test-stpncpy-ifunc.c: Likewise.
26742 * string/test-strcasecmp-ifunc.c: Likewise.
26743 * string/test-strcasestr-ifunc.c: Likewise.
26744 * string/test-strcat-ifunc.c: Likewise.
26745 * string/test-strchr-ifunc.c: Likewise.
26746 * string/test-strchrnul-ifunc.c: Likewise.
26747 * string/test-strcmp-ifunc.c: Likewise.
26748 * string/test-strcpy-ifunc.c: Likewise.
26749 * string/test-strcspn-ifunc.c: Likewise.
26750 * string/test-strlen-ifunc.c: Likewise.
26751 * string/test-strncasecmp-ifunc.c: Likewise.
26752 * string/test-strncat-ifunc.c: Likewise.
26753 * string/test-strncmp-ifunc.c: Likewise.
26754 * string/test-strncpy-ifunc.c: Likewise.
26755 * string/test-strnlen-ifunc.c: Likewise.
26756 * string/test-strpbrk-ifunc.c: Likewise.
26757 * string/test-strrchr-ifunc.c: Likewise.
26758 * string/test-strspn-ifunc.c: Likewise.
26759 * string/test-strstr-ifunc.c: Likewise.
26761 * debug/Makefile (tests-ifunc): New variable.
26762 (tests): Add $(tests-ifunc).
26763 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26764 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26765 * debug/test-stpcpy_chk-ifunc.c: New file.
26766 * debug/test-strcpy_chk-ifunc.c: Likewise.
26768 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26771 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26772 header is not read in.
26774 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26776 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26777 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26778 directly. Pass built executable to script as
26779 $(built-program-cmd).
26780 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26781 $testprogram without using LD_LIBRARY_PATH and $ldso.
26783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26784 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26785 $(rtld-installed-name).
26786 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26787 (rtld_installed_name): Likewise.
26788 (library_path): Likewise.
26789 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26790 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26791 $(run-program-prefix) to tst-tables.sh.
26792 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26793 it to run tst-table-from and tst-table-to.
26794 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26795 Pass it to tst-table.sh.
26796 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26797 $(run-program-prefix) to tst-gettext.sh.
26798 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26800 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26802 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26803 to run tst-gettext.
26804 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26805 to run tst-gettext2.
26806 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26807 to run tst-translit.
26808 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26809 $(run-program-prefix) to tst-mtrace.sh.
26810 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26812 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26813 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26814 $(rtld-installed-name).
26815 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26816 (rtld_installed_name): Likewise.
26817 (run_program_prefix): New variable. Use it to run wordexp-test.
26819 * Makeconfig (ARCH): Remove all definitions.
26820 (machine): Likewise.
26821 [ARCH]: Remove conditional code.
26822 [!objdir]: Give error.
26823 [!objdir] (objpfx): Remove.
26824 [!objdir] (common-objpfx): Likewise.
26825 [!objdir] (common-objdir): Likewise.
26826 * configure.in (config_makefile): Remove. Hardcode Makefile in
26827 AC_CONFIG_FILES call.
26828 * configure: Regenerated.
26831 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26833 (testout): Likewise.
26835 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26836 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26837 $(rtld-installed-name).
26838 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26839 (rtld_installed_name): Likwise.
26840 (runit): Remove function.
26841 (run_getconf): New variable, Use it for running getconf binary.
26843 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26846 * string/test-memmem.c (check_result): New function.
26847 (do_one_test): Use it.
26848 (check1): New function.
26849 (test_main): Use it.
26851 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26853 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26855 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26857 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26858 (_G_LSEEK64): Likewise.
26859 (_G_MMAP64): Likewise.
26860 (_G_FSTAT64): Likewise.
26861 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26862 (_G_LSEEK64): Likewise.
26863 (_G_MMAP64): Likewise.
26864 (_G_FSTAT64): Likewise.
26865 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26866 unconditional. Call __mmap64 directly.
26867 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26868 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26869 __lseek64 directly.
26870 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26871 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26873 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26874 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26875 __lseek64 directly.
26876 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26877 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26878 __lseek64 directly.
26879 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26880 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26881 __lseek64 directly.
26882 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26883 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26884 __fxstat64 directly.
26885 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26886 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26888 (freopen64) [!_G_OPEN64]: Remove conditional code.
26889 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26891 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26892 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26894 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26895 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26897 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26898 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26900 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26901 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26903 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26904 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26906 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26907 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26909 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26911 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26914 * manual/memory.texi (Malloc Tunable Parameters): Add note
26915 about free list pointers overwriting some perturb bytes.
26916 Wording suggested by Roland McGrath.
26918 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26920 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26921 (lgamma_test): Likewise.
26922 (tgamma_test): Likewise.
26924 2012-10-16 Florian Weimer <fweimer@redhat.com>
26927 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26928 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26930 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26932 * NEWS: Mention BZ #14716.
26933 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26934 when removing AVAILABLE1_USES_J macro.
26936 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26938 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26939 (__bswap_64): __uint64_t for unsigned 64-bit int.
26941 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26943 * include/string.h (memmem): Declare libc hidden alias.
26944 * string/memmem.c (memmem): Define libc hidden alias.
26945 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26946 __read, __close instead of open, read, close.
26948 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26951 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26953 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26954 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26955 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26957 (__rawmemchr_sse2): Likewise.
26958 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26959 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26960 (__strchr_sse2): Likewise.
26961 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26962 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26963 (__strcasecmp_sse2): Likewise.
26964 (__strncasecmp_sse2): Likewise.
26965 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26966 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26967 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26968 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26969 (__strrchr_sse2): Likewise.
26970 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26972 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26973 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26974 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26975 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26976 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26977 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26978 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26979 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26980 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26981 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26982 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26983 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26984 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26985 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26986 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26987 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26988 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26989 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26990 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26991 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26992 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26993 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26994 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26995 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26996 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26997 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26998 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26999 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27000 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27001 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27003 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27005 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27006 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27007 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27008 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27010 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27012 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27013 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27014 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27015 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27017 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27018 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27019 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27020 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27021 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27022 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27023 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27024 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27025 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27026 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27027 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27028 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27029 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27030 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27031 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27032 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27033 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27034 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27035 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27036 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27037 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27038 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27039 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27040 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27041 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27042 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27043 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27044 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27045 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27046 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27047 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27048 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27049 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27050 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27051 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27052 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27053 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27054 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27055 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27056 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27057 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27059 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27060 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27061 * include/ifunc-impl-list.h: New file.
27062 * misc/ifunc-impl-list.c: Likewise.
27063 * misc/Makefile (routines): Add ifunc-impl-list.
27064 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27065 * string/test-string.h: Include <ifunc-impl-list.h>.
27066 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27067 TEST_NAME]: New variables.
27068 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27070 (test_init): Call __libc_ifunc_impl_list to initialize
27071 func_list if TEST_IFUNC and TEST_NAME are defined.
27073 * string/Makefile (strop-tests): Add bcopy and bzero.
27074 * string/test-bcopy.c: New file.
27075 * string/test-bzero.c: Likewise.
27076 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27078 * string/test-memset.c: Support bzero test if TEST_BZERO is
27080 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27082 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27084 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27087 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27089 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27090 * configure: Regenerated.
27092 * Makeconfig (+link-static-before-libc): Don't include
27093 $(link-static-libc).
27095 * libio/libio.h (_IO_pos_t): Remove.
27097 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27099 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27102 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27104 * crypt/crypt-entry.c: Include fips-private.h.
27105 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27106 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27107 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27108 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27110 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27112 * crypt/crypt-private.h: Include stdbool.h.
27113 (_ufc_setup_salt_r): Return bool.
27114 * crypt/crypt-entry.c: Include errno.h.
27115 (__crypt_r): Return NULL with EINVAL for bad salt.
27116 * crypt/crypt_util.c (bad_for_salt): New.
27117 (_ufc_setup_salt_r): Check that salt is long enough and within
27118 the specified alphabet.
27119 * crypt/badsalttest.c: New file.
27120 * crypt/Makefile (tests): Add it.
27121 ($(objpfx)badsalttest): New.
27123 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27125 * NEWS: Add entry for BZ #14602.
27127 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27129 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27131 * math/libm-test.inc: Update comment listing what functions and
27133 (isgreater_test): New function.
27134 (isgreaterequal_test): Likewise.
27135 (isless_test): Likewise.
27136 (islessequal_test): Likewise.
27137 (islessgreater_test): Likewise.
27138 (isunordered_test): Likewise.
27139 (main): Call the new functions.
27141 2012-10-09 Roland McGrath <roland@hack.frob.com>
27143 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27144 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27145 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27146 * sysdeps/i386/configure: Regenerated.
27147 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27148 * sysdeps/mach/configure: Regenerated.
27149 * sysdeps/mach/hurd/configure: Regenerated.
27150 * sysdeps/powerpc/configure: Regenerated.
27151 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27152 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27153 * sysdeps/s390/s390-32/configure: Regenerated.
27154 * sysdeps/s390/s390-64/configure: Regenerated.
27155 * sysdeps/sh/configure: Regenerated.
27156 * sysdeps/sparc/configure: Regenerated.
27157 * sysdeps/unix/sysv/linux/configure: Regenerated.
27158 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27159 * sysdeps/x86_64/configure: Regenerated.
27161 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27162 defined. Don't check if MAP is NULL.
27164 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27166 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27167 (_G_stat64): Likewise.
27168 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27169 (_G_stat64): Likewise.
27170 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27171 instead of struct _G_stat64.
27172 * libio/fileops.c (mmap_remap_check): Likewise.
27173 (decide_maybe_mmap): Likewise.
27174 (_IO_new_file_seekoff): Likewise.
27175 (_IO_file_stat): Likewise.
27176 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27178 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27179 instead of struct _G_stat64.
27180 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27182 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27185 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27187 (CHECK_EOL): New macro.
27188 (two_way_short_needle): Check beginning of haystack for EOL. Use
27190 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27191 Replace with CHECK_EOL.
27192 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27193 Replace with CHECK_EOL.
27195 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27197 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27199 * math/libm-test.inc: Update comment listing what functions and
27201 (finite_test): New function.
27202 (isinf_test): Likewise.
27203 (isnan_test): Likewise.
27204 (fpclassify_test): Test subnormal input.
27205 (isfinite_test): Likewise.
27206 (isnormal_test): Likewise.
27207 (main): Call the new functions.
27209 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27212 * Makerules (%.dynsym): Force C locale when running
27213 $(OBJDUMP) --dynamic-syms.
27215 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27217 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27220 2012-10-06 David S. Miller <davem@davemloft.net>
27222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27223 upper 32-bits of the length value in %o2 since we use branch-on-register
27224 tests which consider the entire 64-bit register.
27226 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27228 * string/test-strstr.c (check2): Add a test for page boundary.
27230 2012-10-05 David S. Miller <davem@davemloft.net>
27232 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27233 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27235 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27237 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27238 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27239 and bzero when HWCAP_SPARC_CRYPTO is present.
27241 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27244 * string/test-strstr.c (check2): New function.
27245 (test_main): Call check2.
27247 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27249 * string/bug-strcasestr1.c (do_test): Moved to ...
27250 * string/test-strcasestr.c (check1): Here. New function.
27251 (do_one_test): Break out result checking code into ...
27252 (check_result): This. New function.
27253 (do_one_test): Call check_result.
27254 (test_main): Call check1.
27255 * string/bug-strchr1.c (do_test): Moved to ...
27256 * string/test-strchr.c (check1): Here. New function.
27257 (do_one_test): Break out result checking code into ...
27258 (check_result): This. New function.
27259 (do_one_test): Call check_result.
27260 (test_main): Call check1.
27261 * string/bug-strstr1.c (main): Moved to ...
27262 * string/test-strstr.c (check1): Here. New function.
27263 (do_one_test): Break out result checking code into ...
27264 (check_result): This. New function.
27265 (do_one_test): Call check_result.
27266 (test_main): Call check1.
27267 * string/bug-strcasestr1.c: Removed.
27268 * string/bug-strchr1.c: Likewise.
27269 * string/bug-strstr1.c: Likewise.
27271 * elf/Makefile (dl-routines): Add hwcaps.
27272 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27273 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27274 (_dl_important_hwcaps): Moved to ...
27275 * elf/dl-hwcaps.c: Here. New file.
27276 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27279 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27280 if IS_IN_rtld isn't defined.
27282 * elf/dl-support.c (_dl_sysinfo_map): New.
27283 Include "get-dynamic-info.h" and "setup-vdso.h".
27284 (_dl_non_dynamic_init): Call setup_vdso.
27285 * elf/dynamic-link.h: Don't include <assert.h>.
27286 (elf_get_dynamic_info): Moved to ...
27287 * elf/get-dynamic-info.h: Here. New file.
27288 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27289 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27290 * elf/setup-vdso.h: Here. New file.
27291 * elf/rtld.c: Include "setup-vdso.h".
27292 (dl_main): Call setup_vdso.
27294 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27296 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27297 creal in comment listing functions tested. List finite, isinf,
27298 isnan, isless, islessequal, isgreater, isgreaterequal,
27299 islessgreater, isunordered, lgamma_r and pow10 as functions and
27300 macros not tested. Mention which functions not tested are aliases
27301 for other functions. Fix typo. Note that signs of NaNs are not
27304 * scripts/config.guess: Update from config.git.
27305 * scripts/config.sub: Likewise.
27307 2012-10-04 Roland McGrath <roland@hack.frob.com>
27309 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27310 * misc/madvise.c (madvise): Renamed to __madvise.
27311 Make madvise a weak alias.
27312 * include/sys/mman.h: Declare __madvise.
27313 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27314 * sysdeps/unix/syscalls.list
27315 (madvise): Make __madvise the strong name, and madvise a weak alias.
27316 * sysdeps/unix/sysv/linux/syscalls.list
27317 (madvise, mmap): Remove redundant entries.
27318 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27319 * malloc/malloc.c (mtrim): Likewise.
27320 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27322 2012-10-03 Roland McGrath <roland@hack.frob.com>
27324 * sysdeps/mach/hurd/dl-cache.c: File removed.
27325 * config.h.in (USE_LDCONFIG): New #undef.
27326 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27327 * configure: Regenerated.
27328 * elf/Makefile (dl-routines): Add dl-cache only under
27329 [$(use-ldconfig) = yes].
27330 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27331 cache on [USE_LDCONFIG].
27332 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27334 * elf/rtld.c (dl_main): Likewise.
27336 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27338 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27339 _SC_LEVEL4_CACHE_LINESIZE.
27341 2012-10-03 Roland McGrath <roland@hack.frob.com>
27343 * sysdeps/unix/bsd/confstr.h: File removed.
27345 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27347 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27350 2012-10-02 Roland McGrath <roland@hack.frob.com>
27352 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27353 Make 'mapoff' field ElfW(Off) rather than off_t.
27355 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27357 * nscd/Makefile: Remove nscd-cflags and all its users.
27358 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27359 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27362 * malloc.c (malloc_printerr): Clarify error message.
27364 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27368 Set bit_FMA_Usable if FMA is supported.
27369 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27371 (bit_FMA4_Usable): Updated.
27372 (index_FMA_Usable): New macro.
27373 (CPUID_FMA): Likewise
27374 (HAS_FMA): Defined with bit_FMA_Usable.
27376 2012-10-01 Roland McGrath <roland@hack.frob.com>
27378 * bits/types.h (__swblk_t): Type removed.
27379 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27380 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27382 (__SWBLK_T_TYPE): Likewise.
27383 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27384 (__SWBLK_T_TYPE): Likewise.
27385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27386 (__SWBLK_T_TYPE): Likewise.
27387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27388 (__SWBLK_T_TYPE): Likewise.
27390 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27391 Honza Horak <hhorak@redhat.com>
27393 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27394 (xdr_mapname): Use YPMAXMAP as maxsize.
27395 (xdr_peername): Use YPMAXPEER as maxsize.
27396 (xdr_keydat): Use YPAXRECORD as maxsize.
27397 (xdr_valdat): Use YPMAXRECORD as maxsize.
27399 2012-10-01 Roland McGrath <roland@hack.frob.com>
27401 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27403 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27404 * csu/init-first.c: ... here.
27405 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27406 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27407 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27408 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27409 * sysdeps/i386/init-first.c: File removed.
27410 * sysdeps/sh/init-first.c: File removed.
27412 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27416 if x * y might underflow to zero and z is zero.
27417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27419 * math/libm-test.inc (min_subnorm_value): New variable.
27420 (fma_test): Add more tests.
27421 (fma_test_towardzero): Likewise.
27422 (fma_test_downward): Likewise
27423 (fma_test_upward): Likewise.
27424 (initialize): Set min_subnorm_value.
27426 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27432 mode for addition resulting in exact zero.
27433 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27438 * math/libm-test.inc (fma_test): Add more tests.
27439 (fma_test_towardzero): New function.
27440 (fma_test_downward): Likewise.
27441 (fma_test_upward): Likewise.
27442 (main): Call the new functions.
27444 2012-09-28 David S. Miller <davem@davemloft.net>
27446 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27448 2012-09-28 Roland McGrath <roland@hack.frob.com>
27450 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27451 instead of SIGALRM.
27453 * sysdeps/gnu/_G_config.h: Moved to ...
27454 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27455 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27456 * sysdeps/generic/_G_config.h: ... here.
27458 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27460 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27462 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27463 Conditionalize target on [libnss_test1.so-version].
27465 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27467 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27468 (elfobjdir): Move out of conditionals.
27470 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27471 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27472 (__nss_lookup_function): Conditionalize label remove_from_tree on
27473 [!DO_STATIC_NSS || SHARED], matching its only use.
27475 2012-09-28 David S. Miller <davem@davemloft.net>
27477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27478 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27480 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27482 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27484 when HWCAP_SPARC_CRYPTO is present.
27486 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27488 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27490 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27493 * stdio-common/vfprintf.c (process_string_arg): Revert
27496 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27498 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27500 * stdio-common/tst-sprintf.c: Include <locale.h>
27501 (main): Test sprintf's handling of incomplete multibyte
27504 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27506 * elf/dl-runtime.c (VERSYMIDX): Removed.
27507 * elf/dl-version.c (VERSYMIDX): Likewise.
27508 * elf/do-rel.h (VERSYMIDX): Likewise.
27509 (VALIDX): Likewise.
27510 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27511 * elf/rtld.c (VALIDX): Likewise.
27512 (ADDRIDX): Likewise.
27513 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27514 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27515 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27516 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27517 (VALIDX): Likewise.
27518 (ADDRIDX): Likewise.
27520 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27522 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27524 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27527 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27529 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27530 addresses are in the same scope as 192.0.2/24.
27531 * posix/gai.conf: Document new scope table defaults.
27533 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27536 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27537 for ftell. Compute offsets from write pointers instead.
27538 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27540 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27543 * libio/Makefile (tests): New test case tst-fseek.
27544 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27545 combination works in wide mode.
27546 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27547 state when the external buffer state changes.
27549 2012-09-27 David S. Miller <davem@davemloft.net>
27552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27553 pass reloc->r_addend in as the 'high' argument to
27554 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27558 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27560 * rt/tst-aio2.c: Include <pthread.h>.
27561 * rt/tst-aio3.c: Likewise.
27563 2012-09-27 Steve Ellcey <sellcey@mips.com>
27565 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27567 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27569 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27570 contents on [SHARED].
27572 2012-09-26 Marek Polacek <polacek@redhat.com>
27576 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27577 for C++ and GCC <4.3 as well as for non GCC compilers.
27579 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27583 2012-09-25 Roland McGrath <roland@hack.frob.com>
27585 * Makefile.in (all, install): Declare with .PHONY.
27586 Reported by Michael Hope <michael.hope@linaro.org>.
27588 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27590 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27591 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27593 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27595 (sydep_routines): Add the new and the internal functions.
27596 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27597 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27599 (GLIBC_2.17): Add the new function.
27600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27601 (GLIBC_2.17): Likewise.
27602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27603 (GLIBC_2.17): Likewise.
27604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27605 (GLIBC_2.17): Likewise.
27606 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27608 2012-09-25 Alan Modra <amodra@gmail.com>
27610 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27611 Add release barrier before setting once_control to say
27612 initialisation is done. Add hints on lwarx. Use macro in
27614 (clear_once_control): Add release barrier.
27616 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27619 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27621 * math/s_clog10.c (__clog10): Likewise.
27622 * math/s_clog10f.c (__clog10f): Likewise.
27623 * math/s_clog10l.c (__clog10l): Likewise.
27624 * math/s_clogf.c (__clogf): Likewise.
27625 * math/s_clogl.c (__clogl): Likewise.
27626 * math/Makefile (libm-calls): Add x2y2m1.
27627 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27628 (__x2y2m1): Likewise.
27629 (__x2y2m1l): Likewise.
27630 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27631 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27632 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27633 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27634 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27635 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27636 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27637 * sysdeps/i386/fpu/libm-test-ulps: Update.
27638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27641 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27642 int as type of variable DEPTH.
27643 (glob): Use size_t instead of int as type of variables NEWCOUNT
27646 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27648 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27649 Add s_sincosf-sse2.
27650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27651 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27652 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27653 macros for using routine as __sincosf_ia32.
27654 Use macro for function declaration and weak_alias.
27655 * sysdeps/i386/fpu/libm-test-ulps: Update.
27657 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27660 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27661 subnormal argument.
27662 * math/s_cexpf.c (__cexpf): Likewise.
27663 * math/s_csinf.c (__csinf): Likewise.
27664 * math/s_csinhf.c (__csinhf): Likewise.
27665 * math/s_ctanf.c (__ctanf): Likewise.
27666 * math/s_ctanhf.c (__ctanhf): Likewise.
27667 * math/s_ccosh.c (__ccoshf): Likewise.
27668 * math/s_cexp.c (__cexpl): Likewise.
27669 * math/s_csin.c (__csin): Likewise.
27670 * math/s_csinh.c (__csinh): Likewise.
27671 * math/s_ctan.c (__ctan): Likewise.
27672 * math/s_ctanh.c (ctanh): Likewise.
27673 * math/s_ccoshl.c (__ccoshl): Likewise.
27674 * math/s_cexpl.c (__cexpl): Likewise.
27675 * math/s_csinl.c (__csinl): Likewise.
27676 * math/s_csinhl.c (__csinhl): Likewise.
27677 * math/s_ctanl.c (__ctanl): Likewise.
27678 * math/s_ctanhl.c (__ctanhl): Likewise.
27680 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27682 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27683 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27684 (_IO_off_t): Define to __off_t, not _G_off_t.
27685 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27686 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27687 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27688 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27689 type of __dummy and __dummy2 fields.
27690 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27691 (_G_ssize_t): Likewise.
27692 (_G_off_t): Likewise.
27693 (_G_pid_t): Likewise.
27694 (_G_uid_t): Likewise.
27695 (_G_wchar_t): Likewise.
27696 (_G_wint_t): Likewise.
27697 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27698 (_G_ssize_t): Likewise.
27699 (_G_off_t): Likewise.
27700 (_G_pid_t): Likewise.
27701 (_G_uid_t): Likewise.
27702 (_G_wchar_t): Likewise.
27703 (_G_wint_t): Likewise.
27704 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27705 (_G_ssize_t): Likewise.
27706 (_G_off_t): Likewise.
27707 (_G_pid_t): Likewise.
27708 (_G_uid_t): Likewise.
27709 (_G_wchar_t): Likewise.
27710 (_G_wint_t): Likewise.
27712 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27714 * malloc/arena.c: Include malloc-sysdep.h.
27715 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27716 is sufficient to shrink the heap or an unmap is needed.
27717 * sysdeps/generic/malloc-sysdep.h: New file. Define
27718 new function check_may_shrink_heap.
27719 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27720 new function check_may_shrink_heap.
27722 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27724 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27727 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27729 * catgets/test-gencat.sh: Add "set -e".
27730 * elf/tst-pathopt.sh: Likewise.
27731 * grp/tst_fgetgrent.sh: Likewise.
27732 * iconvdata/run-iconv-test.sh: Likewise.
27733 * intl/tst-gettext.sh: Likewise.
27734 * intl/tst-gettext2.sh: Likewise.
27735 * intl/tst-gettext4.sh: Likewise.
27736 * intl/tst-gettext6.sh: Likewise.
27737 * intl/tst-translit.sh: Likewise.
27738 * io/ftwtest-sh: Likewise.
27739 * libio/test-freopen.sh: Likewise.
27740 * malloc/tst-mtrace.sh: Likewise.
27741 * posix/globtest.sh: Likewise.
27742 * posix/tst-getconf.sh: Likewise.
27743 * posix/wordexp-tst.sh: Likewise.
27744 * stdio-common/tst-printf.sh: Likewise.
27745 * stdio-common/tst-unbputc.sh: Likewise.
27746 * stdlib/tst-fmtmsg.sh: Likewise.
27747 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27748 * catgets/Makefile: Do not specify -e option when running
27749 testsuite shell scripts.
27750 * elf/Makefile: Likewise.
27751 * grp/Makefile: Likewise.
27752 * iconvdata/Makefile: Likewise.
27753 * intl/Makefile: Likewise.
27754 * io/Makefile: Likewise.
27755 * libio/Makefile: Likewise.
27756 * malloc/Makefile: Likewise.
27757 * posix/Makefile: Likewise.
27758 * stdio-common/Makefile: Likewise.
27759 * stdlib/Makefile: Likewise.
27760 * sysdeps/x86_64/Makefile: Likewise.
27762 * io/ftwtest-sh: Add copyright header.
27763 * posix/globtest.sh: Likewise.
27764 * posix/tst-getconf.sh: Likewise.
27765 * posix/wordexp-tst.sh: Likewise.
27766 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27768 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27771 * Makeconfig (+link): Defined as $(+link-static) if
27772 $(build-shared) isn't yes.
27773 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27775 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27777 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27780 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27781 new chunk size with MALLOC_ALIGN_MASK.
27783 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27786 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27788 (__printf_fphex): Determine rounding using get_rounding_mode and
27790 * stdio-common/tst-printf-round.c (struct hex_test): New
27792 (hex_tests): New variable.
27793 (test_hex_in_one_mode): New function.
27794 (do_test): Also run tests for hex float output.
27796 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27798 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27799 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27800 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27801 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27802 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27803 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27804 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27805 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27807 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27809 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27810 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27811 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27812 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27814 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27817 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27819 * elf/tst-rtld-load-self.sh: New test.
27820 * elf/Makefile: Run it.
27822 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27824 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27825 (tst-writev-ENV): Remove.
27826 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27828 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27830 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27832 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27834 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27836 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27838 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27839 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27840 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27843 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27846 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27847 * config.make.in (have-cpp-asm-debuginfo): Removed.
27848 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27849 * configure: Regenerated.
27851 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27854 * stdio-common/printf_fp.c: Include <stdbool.h> and
27856 (___printf_fp): Determine rounding using get_rounding_mode and
27858 * stdio-common/tst-printf-round.c: New file.
27859 * stdio-common/Makefile (tests): Add tst-printf-round.
27860 (link-libm): New variable.
27861 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27863 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27866 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27867 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27869 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27872 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27874 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27875 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27876 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27877 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27879 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27882 * include/rounding-mode.h: New file.
27883 * sysdeps/generic/get-rounding-mode.h: Likewise.
27884 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27885 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27886 (MAX_VALUE): New macro.
27887 (MIN_VALUE): Likewise.
27888 (overflow_value): New function.
27889 (underflow_value): Likewise.
27890 (round_and_return): Use overflow_value and underflow_value to
27891 determine return values in overflow and underflow cases. Use
27892 round_away to determine rounding depending on rounding mode.
27893 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27894 determine return values in overflow and underflow cases.
27895 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27896 (struct test_results): New structure.
27897 (struct test): Use struct test_results to store expected results
27898 for all rounding modes.
27899 (TEST): Include expected results for all rounding modes.
27900 (test_in_one_mode): New function.
27901 (do_test): Use test_in_one_mode to compute and check results.
27902 Check results for all rounding modes.
27903 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27906 2012-12-09 Allan McRae <allan@archlinux.org>
27908 * sysdeps/i386/fpu/libm-test-ulps: Update
27910 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27912 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27913 (_G_int32_t): Likewise.
27914 (_G_uint16_t): Likewise.
27915 (_G_uint32_t): Likewise.
27916 (_G_HAVE_BOOL): Likewise.
27917 (_G_HAVE_ATEXIT): Likewise.
27918 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27919 (_G_HAVE_IO_FILE_OPEN): Likewise.
27920 * sysdeps/gnu/_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/mach/hurd/_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.
27937 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27939 * csu/libc-tls.c: Update copyright years.
27941 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27943 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27944 [!_G_USING_THUNKS]: Remove conditional code.
27945 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27946 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27948 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27949 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27950 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27951 (_G_VTABLE_LABEL_PREFIX): Likewise.
27952 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27953 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27954 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27955 (_G_VTABLE_LABEL_PREFIX): Likewise.
27956 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27957 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27958 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27959 (_G_VTABLE_LABEL_PREFIX): Likewise.
27960 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27962 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27964 * libio/Makefile: Include ../Makeconfig before tests.
27965 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27966 only if $(build-shared) is yes.
27968 * iconv/gconv_db.c: Update copyright years.
27970 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27972 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27973 unwind info if defined PIC. Fix special cases description.
27974 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27976 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27978 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27980 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27982 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27984 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27987 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27988 (LDLIBS-tst-chk4): This.
27989 (LDFLAGS-tst-chk5): Renamed to ...
27990 (LDLIBS-tst-chk5): This.
27991 (LDFLAGS-tst-chk6): Renamed to ...
27992 (LDLIBS-tst-chk6): This.
27993 (LDFLAGS-tst-lfschk4): Renamed to ...
27994 (LDLIBS-tst-lfschk4): This.
27995 (LDFLAGS-tst-lfschk5): Renamed to ...
27996 (LDLIBS-tst-lfschk5): This.
27997 (LDFLAGS-tst-lfschk6): Renamed to ...
27998 (LDLIBS-tst-lfschk6): This.
28000 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28001 on $(common-objpfx)soversions.mk.
28003 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28006 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28009 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28011 * malloc/arena.c (arena_get_retry): New function that gets
28012 another arena for the caller to try its request on.
28013 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28014 current arena cannot fulfill the request.
28015 (__libc_memalign): Likewise.
28016 (__libc_memalign): Likewise.
28017 (__libc_pvalloc): Likewise.
28018 (__libc_calloc): Likewise.
28020 2012-09-05 John Tobey <john.tobey@gmail.com>
28023 * manual/arith.texi (Operations on Complex): Fix description
28024 of carg branch cut.
28026 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28029 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28033 * manual/memory.texi (Memory): Make order of menu items match
28036 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28038 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28039 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28040 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28042 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28044 * csu/libc-tls.c (static_dtv): Renamed to ...
28045 (_dl_static_dtv): This. Make it global.
28046 (_dl_initial_dtv): Removed.
28047 (__libc_setup_tls): Updated.
28048 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28049 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28052 2012-09-06 Petr Machata <pmachata@redhat.com>
28054 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28055 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28056 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28057 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28059 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28062 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28063 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28066 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28069 * Makeconfig (link-static-before-libc): Replace $(+prector)
28071 (link-static-after-libc): Replace $(+postctor) with
28073 (link-bounded): Replace $(+prector)/$(+postctor) with
28074 $(+prectorT)/$(+postctorT).
28075 (+prectorT): New macro.
28076 (+postctorT): Likewise.
28078 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28080 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28081 (round_str): Handle values above the maximum for IBM long double
28083 * stdlib/tst-strtod-round.c (tests): Regenerated.
28085 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28087 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28089 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28090 zarch_nohighgprs around the zarch optimized routines.
28091 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28092 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28093 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28096 2012-09-05 David S. Miller <davem@davemloft.net>
28098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28100 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28101 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28102 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28103 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28106 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28108 * malloc/arena.c: Fold copyright years.
28109 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28111 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28113 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28115 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28117 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28119 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28121 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28122 change internal state upon failure.
28124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28126 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28127 * malloc/memusage.c (mmap): Likewise.
28128 (mmap64, mremap): Likewise. Adjust name in comment.
28130 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28132 * libio/fileops.c: Fix typos in comments.
28133 * libio/oldfileops.c: Likewise.
28134 * libio/wfileops.c: Likewise.
28136 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28139 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28140 (tst-malloc-usable-ENV): Set environment for test case.
28141 * malloc/hooks.c (malloc_check_get_size): New function to get
28143 * malloc/malloc.c (musable): Use malloc_check_get_size.
28144 * malloc/tst-malloc-usable.c: New test case.
28146 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28148 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28150 2012-09-05 Allan McRae <allan@archlinux.org>
28153 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28154 determine header location.
28155 * configure: Regenerated.
28157 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28159 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28161 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28162 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28164 (test): Regenerate.
28166 2012-09-04 David S. Miller <davem@davemloft.net>
28168 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28169 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28170 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28172 2012-09-04 Florian Weimer <fweimer@redhat.com>
28174 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28177 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28179 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28182 * libio/iogetdelim.c: Include <limits.h>.
28183 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28184 + len + 1 would overflow.
28186 2012-09-03 Andreas Jaeger <aj@suse.de>
28188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28189 * sysdeps/i386/fpu/libm-test-ulps: Update.
28191 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28193 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28194 Add s_sinf-sse2, s_conf-sse2.
28196 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28197 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28198 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28199 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28201 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28202 for using routine as __sinf_ia32.
28203 Use macro for function declaration and weak_alias.
28204 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28205 for using routine as __cosf_ia32.
28206 Use macro for function declaration and weak_alias.
28208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28209 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28211 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28212 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28215 * math/libm-test.inc (cos_test): Add more test cases.
28216 (sin_test): Likewise.
28217 (sincos_test): Likewise.
28219 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28222 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28224 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28226 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28229 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28230 first element of the GOT.
28231 (elf_machine_load_address): Return the difference between
28232 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28234 2012-09-01 Allan McRae <allan@archlinux.org>
28237 * configure.in (AWK): Require gawk version 3.0 or later.
28238 * configure: Regenerated.
28240 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28242 * sysdeps/unix/sysv/linux/kernel-features.h
28243 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28245 [__NR_clock_getres]: Make code unconditional.
28246 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28247 (clock_getcpuclockid): Remove code left unreachable by removal of
28249 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28250 code unconditional.
28251 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28252 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28253 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28254 Make code unconditional.
28255 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28256 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28257 * sysdeps/unix/sysv/linux/clock_settime.c
28258 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28260 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28263 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28266 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28267 scripts/test-installation.pl.
28269 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28270 and $ld_so_version if it is set.
28272 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28275 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28276 failure if reading from procfs failed.
28277 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28279 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28281 * sysdeps/unix/sysv/linux/kernel-features.h
28282 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28283 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28284 Remove conditional code.
28285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28286 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28287 Remove conditional code.
28288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28289 * sysdeps/unix/sysv/linux/i386/fxstat.c
28290 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28292 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28295 * sysdeps/unix/sysv/linux/i386/lxstat.c
28296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28298 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28299 Remove conditional code.
28300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28301 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28302 Remove conditional code.
28303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28304 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28305 <kernel-features.h>.
28306 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28308 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28309 Remove conditional code.
28310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28311 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28312 Remove conditional.
28314 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28317 * NEWS: Add fixed bug number.
28319 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28322 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28323 underflowing exponent in case of negative sign.
28324 * stdlib/tst-strtod-round-data: Add more tests.
28325 * stdlib/tst-strtod-round.c (tests): Regenerated.
28328 * stdlib/strtod_l.c (NDIG): Remove.
28329 (HEXNDIG): Likewise.
28330 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28331 smallest representable value.
28332 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28333 lie within an exact representation of 1/2 ulp of the result.
28334 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28336 (TENS_P9_IDX): Define unconditionally.
28337 (TENS_P9_SIZE): Likewise.
28338 (TENS_P10_IDX): Likewise.
28339 (TENS_P10_SIZE): Likewise.
28340 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28341 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28342 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28343 entries for 10^2^13 and 10^2^14.
28344 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28345 (TENS_P13_IDX): Define.
28346 (TENS_P13_SIZE): Likewise.
28347 (TENS_P14_IDX): Likewise.
28348 (TENS_P14_SIZE): Likewise.
28349 (_fpioconst_pow10): Change array size to
28350 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28352 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28353 1024]: Add entries for 10^2^13 and 10^2^14.
28354 [LAST_POW10 > _LAST_POW10]: Remove #error.
28355 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28356 (_fpioconst_pow10): Change array size to
28357 FPIOCONST_POW10_ARRAY_SIZE.
28358 * stdlib/gen-fpioconst.c: New file.
28359 * stdlib/gen-tst-strtod-round.c: Likewise.
28360 * stdlib/tst-strtod-round-data: Likewise.
28361 * stdlib/tst-strtod-round.c: Likewise.
28362 * stdlib/Makefile (tests): Add tst-strtod-round.
28365 * stdlib/strtod_l.c: Include <stdint.h>.
28366 (NDEBUG): Do not define.
28367 (round_and_return): Change EXPONENT parameter to type intmax_t.
28368 Rearrange calculations to avoid internal overflow possibilities.
28369 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28370 Rearrange calculations to avoid internal overflow possibilities.
28371 Assert that number fits inside MPNSIZE limbs.
28372 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28373 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28374 calculations and add assertions to avoid internal overflow
28375 possibilities. Add casts to avoid signed/unsigned operations.
28376 * stdlib/tst-strtod-overflow.c: New file.
28377 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28379 2012-08-25 Marek Polacek <polacek@redhat.com>
28381 * time/time.h: Fix some typos in comments.
28383 2012-08-23 Roland McGrath <roland@hack.frob.com>
28385 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28386 * posix/tst-rfc3484-2.c: Likewise.
28387 * posix/tst-rfc3484-3.c: Likewise.
28389 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28391 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28392 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28394 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28396 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28397 #include of fxstatat64.c.
28399 2012-08-22 Roland McGrath <roland@hack.frob.com>
28401 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28402 * shadow/getspent_r.c: Likewise.
28403 * shadow/getspnam.c: Likewise.
28404 * shadow/getspnam_r.c: Likewise.
28405 * gshadow/getsgent.c: Likewise.
28406 * gshadow/getsgent_r.c: Likewise.
28407 * gshadow/getsgnam.c: Likewise.
28408 * gshadow/getsgnam_r.c: Likewise.
28409 * inet/getnetbyad.c: Likewise.
28410 * inet/getnetbyad_r.c: Likewise.
28411 * inet/getnetbynm.c: Likewise.
28412 * inet/getnetbynm_r.c: Likewise.
28413 * inet/getnetent.c: Likewise.
28414 * inet/getnetent_r.c: Likewise.
28415 * inet/getproto.c: Likewise.
28416 * inet/getproto_r.c: Likewise.
28417 * inet/getprtent.c: Likewise.
28418 * inet/getprtent_r.c: Likewise.
28419 * inet/getprtname.c: Likewise.
28420 * inet/getprtname_r.c: Likewise.
28421 * inet/getrpcbyname.c: Likewise.
28422 * inet/getrpcbyname_r.c: Likewise.
28423 * inet/getrpcbynumber.c: Likewise.
28424 * inet/getrpcbynumber_r.c: Likewise.
28425 * inet/getrpcent.c: Likewise.
28426 * inet/getrpcent_r.c: Likewise.
28427 * inet/getaliasent.c: Likewise.
28428 * inet/getaliasent_r.c: Likewise.
28429 * inet/getaliasname.c: Likewise.
28430 * inet/getaliasname_r.c: Likewise.
28431 * nscd/getgrgid_r.c: Likewise.
28432 * nscd/getgrnam_r.c: Likewise.
28433 * nscd/gethstbyad_r.c: Likewise.
28434 * nscd/gethstbynm3_r.c: Likewise.
28435 * nscd/getpwnam_r.c: Likewise.
28436 * nscd/getpwuid_r.c: Likewise.
28437 * nscd/getsrvbynm_r.c: Likewise.
28438 * nscd/getsrvbypt_r.c: Likewise.
28439 * nscd/gai.c: Likewise.
28441 * configure.in (build_nscd): New substituted variable, set
28442 by --disable-build-nscd and defaults to $use_nscd.
28443 * configure: Regenerated.
28444 * config.make.in (build-nscd): New substituted variable.
28445 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28446 Change conditional to require [$(build-nscd) = yes] as well.
28447 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28450 * configure.in (use_nscd): New substituted variable, set by
28451 --disable-nscd. If enabled, define USE_NSCD.
28452 * configure: Regenerated.
28453 * config.h.in: Add USE_NSCD.
28454 * config.make.in (use-nscd): New substituted variable.
28455 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28456 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28457 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28458 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28459 (CFLAGS-getgrnam_r.c): Likewise.
28460 (CFLAGS-initgroups.c): Likewise.
28461 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28462 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28464 * inet/getnetgrent_r.c
28465 (nscd_setnetgrent): New function, broken out of ...
28466 (setnetgrent): ... here. Call it.
28467 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28468 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28469 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28470 * nscd/Makefile (routines, aux): Move definitions after include of
28471 Makeconfig. Conditionalize on [$(use-nscd) != no].
28472 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28473 Conditionalize on [USE_NSCD].
28474 (is_nscd, nscd_init_cb): Likewise.
28475 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28476 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28477 * nss/nss_db/db-init.c: Likewise.
28478 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28480 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28481 (make_request): Use it.
28482 (cache_valid_p): New function.
28483 (__check_pf): Use it.
28484 * NEWS: Add item for --disable-nscd.
28486 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28488 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28489 to support sed >= 4.2.1-20-ga9bf076.
28490 * configure: Regenerated.
28492 2012-08-22 Roland McGrath <roland@hack.frob.com>
28494 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28495 Conditionalize whole body on [IREL].
28497 2012-08-22 Jeff Law <law@redhat.com>
28500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28501 if the family is PF_UNSPEC.
28503 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28505 * Makerules (lib-version): Rename from V.
28506 (install-lib-nosubdir): Change V to lib-version.
28508 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28511 * powerpc32/power6/wcschr.c: New file.
28512 * powerpc32/power6/wcscpy.c: New file.
28513 * powerpc32/power6/wcsrchr.c: New file.
28514 * powerpc64/power6/wcschr.c: New file.
28515 * powerpc64/power6/wcscpy.c: New file.
28516 * powerpc64/power6/wcsrchr.c: New file.
28518 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28520 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28521 (two_way_short_needle): Use it.
28522 * string/strstr.c (AVAILABLE1_USES_J): Define.
28523 * string/strcasestr.c: Likewise.
28525 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28527 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28530 * NEWS: Add an entry.
28531 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28532 define their defaults.
28533 (two_way_short_needle): Detect end-of-string on-the-fly.
28534 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28535 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28536 * string/bug-strcasestr1.c: New test.
28537 * string/Makefile: Run it.
28539 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28542 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28543 the first character.
28545 2012-08-21 Roland McGrath <roland@hack.frob.com>
28547 * csu/elf-init.c (__libc_csu_irel): Function removed.
28548 * csu/libc-start.c (apply_irel): New function.
28549 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28551 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28553 * sysdeps/unix/sysv/linux/kernel-features.h
28554 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28555 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28556 <kernel-features.h>.
28557 [__NR_fadvise64_64]: Make code unconditional.
28558 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28559 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28560 !__NR_fadvise64_64)]: Likewise.
28561 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28562 !__NR_fadvise64_64))]: Likewise.
28563 [__NR_fadvise64]: Make code unconditional.
28564 [!__NR_fadvise64]: Remove conditional code.
28565 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28566 <kernel-features.h>.
28567 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28569 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28572 not include <kernel-features.h>.
28573 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28575 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28577 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28578 include <kernel-features.h>.
28579 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28581 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28584 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28586 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28587 slight instruction rearrangements per scrollpipe analysis.
28588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28590 2012-08-20 Roland McGrath <roland@hack.frob.com>
28592 * manual/syslog.texi (syslog; vsyslog, closelog):
28593 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28594 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28596 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28597 DSOCAPS to match condition on defining it.
28599 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28601 * sysdeps/unix/sysv/linux/kernel-features.h
28602 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28604 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28605 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28613 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28614 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28616 * sysdeps/unix/sysv/linux/kernel-features.h
28617 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28618 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28620 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28621 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28622 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28623 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28624 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28625 Make code unconditional.
28626 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28627 (__mmap64) [!__NR_mmap2]: Likewise.
28628 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28629 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28630 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28632 [__NR_mmap2]: Make code unconditional.
28633 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28634 (__mmap64) [!__NR_mmap2]: Likewise.
28636 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28638 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28640 2012-08-18 Andreas Jaeger <aj@suse.de>
28642 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28644 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28646 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28647 * include/unistd.h (__have_sock_cloexec): Likewise.
28648 (__have_pipe2): Likewise.
28649 (__have_dup3): Likewise.
28651 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28654 * include/unistd.h (__have_pipe2): Change define into an extern int.
28655 (__have_dup3): Likewise.
28656 * socket/have_sock_cloexec.c: Include fcntl.h.
28657 (__have_pipe2): New variable.
28658 (__have_dup3): Likewise.
28660 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28662 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28664 2012-08-17 Marek Polacek <polacek@redhat.com>
28666 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28667 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28669 2012-08-17 Roland McGrath <roland@hack.frob.com>
28671 * configure.in: Add AC_SUBST for sysheaders.
28672 * configure: Regenerated.
28673 * config.make.in (sysheaders): New substituted variable.
28675 * sysdeps/unix/mkfifo.c: Moved ...
28676 * sysdeps/posix/mkfifo.c: ... here.
28677 * sysdeps/unix/mkfifoat.c: Moved ...
28678 * sysdeps/posix/mkfifoat.c: ... here.
28680 * sysdeps/unix/utime.c: Moved ...
28681 * sysdeps/posix/utime.c: ... here.
28683 * sysdeps/unix/time.c: Moved ...
28684 * sysdeps/posix/time.c: ... here.
28685 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28686 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28688 * sysdeps/unix/nice.c: Moved ...
28689 * sysdeps/posix/nice.c: ... here.
28691 * sysdeps/unix/alarm.c: Moved ...
28692 * sysdeps/posix/alarm.c: ... here.
28694 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28696 2012-08-17 Jeff Law <law@redhat.com>
28698 * intl/Makefile (codeset_mo): New variable.
28699 ($(codeset_mo)): New target.
28700 (tst-codeset.out): Depend on that. Remove explicit rule.
28701 (tst-gettext3.out, tst-gettext5.out): Likewise.
28702 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28703 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28704 * intl/tst-codeset.sh: Remove.
28705 * intl/tst-gettext3.sh: Likewise.
28706 * intl/tst-gettext5.sh: Likewise.
28708 2012-08-17 Roland McGrath <roland@hack.frob.com>
28710 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28711 * sysdeps/unix/syscalls.list: ... here.
28713 * sysdeps/posix/getaddrinfo.c
28714 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28715 (gaiconf_init, gaiconf_reload): Use them.
28716 [!_STATBUF_ST_NSEC]
28717 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28718 Define using time_t rather than struct timespec.
28720 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28721 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28723 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28725 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28726 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28729 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28730 __libc_cleanup_push argument.
28732 * bits/param.h: New file.
28733 * misc/sys/param.h: New file.
28734 * include/sys/param.h: New file.
28735 * misc/Makefile (headers): Add bits/param.h.
28736 * sysdeps/generic/sys/param.h: File removed.
28737 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28738 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28739 * sysdeps/mach/hurd/bits/param.h: New file.
28740 * sysdeps/mach/hurd/sys/param.h: File removed.
28742 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28745 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28747 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28748 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28751 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28752 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28753 rather than -D_IO_MTSAFE_IO conditionally.
28754 * stdio-common/Makefile (CPPFLAGS): Likewise.
28755 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28756 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28757 Use $(libio-mtsafe).
28758 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28759 of -D_IO_MTSAFE_IO.
28760 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28761 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28762 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28763 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28764 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28765 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28766 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28767 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28768 (CFLAGS-fread_u_chk.c): Likewise.
28769 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28770 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28771 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28772 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28773 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28774 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28775 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28776 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28777 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28779 * libio/Makefile: Test [$(libc-reentrant) = yes]
28780 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28783 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28784 * sysdeps/pthread/configure: File removed.
28785 * sysdeps/pthread/Makeconfig: New file.
28786 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28787 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28789 2012-08-16 Gary Benson <gbenson@redhat.com>
28791 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28792 unmapping the first object in a namespace.
28794 2012-08-16 Roland McGrath <roland@hack.frob.com>
28796 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28797 (__internal_setnetgrent): ... this. Add internal_function to
28798 definition. Add libc_hidden_def.
28799 (setnetgrent): Update caller.
28800 (internal_endnetgrent): Renamed to ...
28801 (__internal_endnetgrent): ... this. Add internal_function to
28802 definition. Add libc_hidden_def.
28803 (endnetgrent): Update caller.
28804 (internal_getnetgrent_r): Renamed to ...
28805 (__internal_getnetgrent_r): ... this. Add internal_function to
28806 definition. Add libc_hidden_def.
28807 (__getnetgrent_r): Update caller.
28808 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28810 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28812 * stdlib/longlong.h: Update from GCC.
28814 2012-08-16 Roland McGrath <roland@hack.frob.com>
28816 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28817 on _QL, which is set by umul_ppmm but never used.
28818 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28819 variables, which are set by GMP macros but never used.
28820 * stdio-common/_itowa.c (_itowa): Likewise.
28821 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28822 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28824 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28826 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28827 struct La_sh_regs is not constant.
28828 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28829 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28830 and struct La_sparc64_regs are not constant.
28832 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28834 * sysdeps/unix/sysv/linux/kernel-features.h
28835 (__ASSUME_POSIX_TIMERS): Remove.
28836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28838 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28839 Make code unconditional.
28840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28841 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28842 Make code unconditional.
28843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28844 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28845 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28847 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28848 Make code unconditional.
28849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28850 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28851 (__libc_missing_posix_timers): Remove.
28853 2012-08-15 Roland McGrath <roland@hack.frob.com>
28855 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28856 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28858 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28860 * elf/dl-sym.c: Include <stdlib.h>.
28862 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28863 constants, which avoids warnings in 32-bit builds.
28865 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28866 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28868 * misc/lseek.c: File moved to ...
28869 * io/lseek.c: ... here.
28871 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28873 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28874 shifting LEN more than 31 bits at once.
28876 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28879 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28880 segmentation fault for a case of two empty input strings.
28881 * string/test-strncasecmp.c (check1): Renamed to...
28882 (bz12205): ...this.
28883 (bz14195): Add new testcase for two empty input strings and N > 0.
28884 (test_main): Call new testcase, adapt for renamed function.
28886 2012-08-15 Andreas Jaeger <aj@suse.de>
28889 * crypt/md5test2.c: New test, based on test supplied by Serge
28890 Belyshev <belyshev@depni.sinp.msu.ru>.
28891 * crypt/Makefile (xtests): Add md5test-giant..
28892 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28894 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28897 * crypt/md5.c (md5_process_block): Don't assume the buffer
28898 length is less than 2**32.
28899 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28900 length is less than 2**64.
28902 2012-08-15 Roland McGrath <roland@hack.frob.com>
28904 * string/str-two-way.h: Include <sys/param.h>.
28905 (MAX): Macro removed.
28907 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28908 Move #define and #undef of memmove to just before and after
28909 including <string.h>.
28911 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28912 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28913 and after including <string.h>. Move declarations of
28914 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28915 to before #include "string/memmove.c".
28917 * include/dirent.h: Declare __getdirentries.
28919 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28920 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28922 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28924 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28925 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28926 * sysdeps/i386/configure: Regenerated.
28927 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28928 STABS_CURRENT_FILE, and STABS_FUN.
28929 (END): Remove call to STABS_FUN_END.
28930 (STABS_CURRENT_FILE1): Delete.
28931 (STABS_CURRENT_FILE): Likewise.
28932 (STABS_FUN): Likewise.
28933 (STABS_FUN_END): Likewise.
28934 (STABS_FUN2): Likewise.
28935 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28936 * sysdeps/x86_64/configure: Regenerated.
28938 2012-08-14 Roland McGrath <roland@hack.frob.com>
28940 * elf/dl-open.c: Include <atomic.h>.
28941 * elf/dl-lookup.c: Likewise.
28943 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28945 * sysdeps/unix/sysv/linux/kernel-features.h
28946 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28947 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28949 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28951 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28952 condition on __ASSUME_CLONE_THREAD_FLAGS.
28954 2012-08-14 Andreas Jaeger <aj@suse.de>
28956 * sysdeps/i386/fpu/libm-test-ulps: Update.
28958 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28960 * include/atomic.h (atomic_exchange_and_add): Split into ...
28961 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28964 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28968 2012-08-13 Jeff Law <law@redhat.com>
28970 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28971 null byte in the output string.
28973 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28975 * sysdeps/unix/sysv/linux/kernel-features.h
28976 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28977 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28978 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28979 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28980 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28981 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28982 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28984 2012-08-09 Jeff Law <law@redhat.com>
28987 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28988 When avoid_arena is set, don't retry in the that arena. Pick the
28989 next one, whatever it might be.
28990 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28991 (arena_lock): Pass in new parameter to arena_get2.
28992 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28994 (__libc_malloc): Unify retrying after main arena failure with
28995 __libc_memalign version.
28996 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28998 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29001 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29002 to __redirect_strstr.
29003 (__strstr_sse42): Use typeof __redirect_strstr.
29004 (__strstr_ia32): Likewise.
29005 (__libc_strstr): New prototype.
29006 (strstr): Renamed to ...
29007 (__libc_strstr): This.
29008 (strstr): New strong alias of __libc_strstr.
29009 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29010 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29013 (__libc_time): New prototype.
29014 (time_ifunc): Replace time with __libc_time.
29015 (time): New strong alias and hidden definition of __libc_time.
29016 (__GI_time): Remove strong alias.
29017 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29018 Include <stddef.h>.
29019 (memmove): Redefined to __redirect_memmove.
29020 (__memmove_sse2): Use typeof __redirect_memmove.
29021 (__memmove_ssse3): Likewise.
29022 (__memmove_ssse3_back): Likewise.
29023 (__libc_memmove): New prototype.
29024 (memmove): Renamed to ...
29025 (__libc_memmove): This.
29026 (memmove): New strong alias of __libc_memmove.
29028 2012-08-08 Mark Salter <msalter@redhat.com>
29031 (R_MN10300_TLS_GD): Define.
29032 (R_MN10300_TLS_LD): Likewise.
29033 (R_MN10300_TLS_LDO): Likewise.
29034 (R_MN10300_TLS_GOTIE): Likewise.
29035 (R_MN10300_TLS_IE): Likewise.
29036 (R_MN10300_TLS_LE): Likewise.
29037 (R_MN10300_TLS_DTPMOD): Likewise.
29038 (R_MN10300_TLS_DTPOFF): Likewise.
29039 (R_MN10300_TLS_TPOFF): Likewise.
29040 (R_MN10300_SYM_DIFF): Likewise.
29041 (R_MN10300_ALIGN): Likewise.
29042 (R_MN10300_NUM): Update.
29044 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29049 2012-08-08 Roland McGrath <roland@hack.frob.com>
29051 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29053 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29054 sysdeps/unix -> sysdeps/posix move.
29055 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29057 2012-08-07 Allan McRae <allan@archlinux.org>
29060 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29061 (SUNOS_CPP): Likewise.
29062 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29064 (open_input): Call CPP using execvp.
29066 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29068 * sysdeps/unix/sysv/linux/kernel-features.h
29069 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29070 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29071 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29072 (__ASSUME_WAITID_SYSCALL): Likewise.
29073 * sysdeps/unix/sysv/linux/dl-execstack.c
29074 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29075 code unconditional.
29076 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29079 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29080 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29082 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29084 [__ASSUME_WAITID_SYSCALL]: Likewise.
29085 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29087 2012-08-07 Roland McGrath <roland@hack.frob.com>
29089 * sysdeps/unix/closedir.c: Renamed to ...
29090 * sysdeps/posix/closedir.c: ... here.
29091 * sysdeps/unix/dirfd.c: Renamed to ...
29092 * sysdeps/posix/dirfd.c: ... here.
29093 * sysdeps/unix/dirstream.h: Renamed to ...
29094 * sysdeps/posix/dirstream.h: ... here.
29095 * sysdeps/unix/fdopendir.c: Renamed to ...
29096 * sysdeps/posix/fdopendir.c: ... here.
29097 * sysdeps/unix/opendir.c: Renamed to ...
29098 * sysdeps/posix/opendir.c: ... here.
29099 * sysdeps/unix/readdir.c: Renamed to ...
29100 * sysdeps/posix/readdir.c: ... here.
29101 * sysdeps/unix/readdir_r.c: Renamed to ...
29102 * sysdeps/posix/readdir_r.c: ... here.
29103 * sysdeps/unix/rewinddir.c: Renamed to ...
29104 * sysdeps/posix/rewinddir.c: ... here.
29105 * sysdeps/unix/seekdir.c: Renamed to ...
29106 * sysdeps/posix/seekdir.c: ... here.
29107 * sysdeps/unix/telldir.c: Renamed to ...
29108 * sysdeps/posix/telldir.c: ... here.
29109 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29110 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29111 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29112 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29114 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29115 * bits/fcntl.h: ... here.
29117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29119 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29120 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29121 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29122 (struct flock): Move l_start, l_len to the beginning.
29123 Use __pid_t for l_pid.
29124 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29125 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29126 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29127 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29128 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29129 [__USE_LARGEFILE64] (struct flock64): New type.
29130 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29132 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29133 * bits/dirent.h: ... here.
29135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29136 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29138 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29141 Change from 2.6.0 to 2.6.16.
29142 * sysdeps/unix/sysv/linux/configure: Regenerated.
29143 * sysdeps/unix/sysv/linux/kernel-features.h
29144 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29145 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29147 (__ASSUME_UTIMES): Likewise.
29148 (__ASSUME_CLONE_STOPPED): Remove.
29149 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29150 architectures, not kernel version.
29151 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29152 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29153 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29154 (__ASSUME_WAITID_SYSCALL): Likewise.
29155 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29156 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29157 * README: State 2.6.16 as minimum Linux kernel version. Do not
29158 refer to older versions.
29160 2012-08-06 Roland McGrath <roland@hack.frob.com>
29162 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29163 Define alphasort64 as an alias.
29164 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29165 Define versionsort64 as an alias.
29166 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29167 Define scandir64 as an alias.
29168 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29169 Define scandirat64 as an alias.
29170 * dirent/alphasort64.c (alphasort64):
29171 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29172 * dirent/versionsort64.c: Likewise.
29173 * dirent/scandir64.c: Likewise.
29174 * dirent/scandirat64.c: Likewise.
29175 * sysdeps/wordsize-64/alphasort.c: File removed.
29176 * sysdeps/wordsize-64/alphasort64.c: File removed.
29177 * sysdeps/wordsize-64/scandir.c: File removed.
29178 * sysdeps/wordsize-64/scandir64.c: File removed.
29179 * sysdeps/wordsize-64/scandirat.c: File removed.
29180 * sysdeps/wordsize-64/scandirat64.c: File removed.
29181 * sysdeps/wordsize-64/versionsort.c: File removed.
29182 * sysdeps/wordsize-64/versionsort64.c: File removed.
29183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29184 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29186 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29188 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29190 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29192 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29194 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29196 [defined __arch64__ || defined __sparcv9]
29197 (__INO_T_MATCHES_INO64_T): New macro.
29198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29199 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29200 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29201 * sysdeps/unix/sysv/linux/bits/dirent.h
29202 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29203 (_DIRENT_MATCHES_DIRENT64): New macro.
29205 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29206 Define lockf64 as an alias.
29207 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29208 Define fseeko64 as an alias.
29209 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29210 Define ftello64 as an alias.
29211 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29212 Define _IO_fgetpos64 and fgetpos64 as aliases.
29213 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29214 Define _IO_fsetpos64 and fsetpos64 as aliases.
29215 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29216 Conditionalize body on this.
29217 * libio/fseeko64.c: Likewise.
29218 * libio/ftello64.c: Likewise.
29219 * libio/iofgetpos64.c: Likewise.
29220 * libio/iofsetpos64.c: Likewise.
29221 * sysdeps/wordsize-64/lockf.c: File removed.
29222 * sysdeps/wordsize-64/lockf64.c: File removed.
29223 * sysdeps/wordsize-64/fseeko.c: File removed.
29224 * sysdeps/wordsize-64/fseeko64.c: File removed.
29225 * sysdeps/wordsize-64/ftello.c: File removed.
29226 * sysdeps/wordsize-64/ftello64.c: File removed.
29227 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29228 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29229 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29230 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29242 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29244 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29246 [defined __arch64__ || defined __sparcv9]
29247 (__OFF_T_MATCHES_OFF64_T): New macro.
29248 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29249 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29251 (__OFF_T_MATCHES_OFF64_T): New macro.
29253 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29255 * stdlib/secure-getenv.c (__secure_getenv): Replace
29256 GLIBC_2_16 with GLIBC_2_17.
29258 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29263 2012-08-03 David S. Miller <davem@davemloft.net>
29265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29267 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29271 (__ASSUME_CORRECT_SI_PID): Likewise.
29272 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29273 (__ASSUME_TMPFS_NAME): Likewise.
29274 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29275 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29276 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29277 (HAVE_AUX_SECURE): Make definition unconditional.
29278 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29279 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29281 2012-08-03 Roland McGrath <roland@hack.frob.com>
29283 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29284 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29285 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29286 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29287 __eloop_threshold instead of SYMLOOP_MAX.
29289 * sysdeps/generic/eloop-threshold.h: New file.
29290 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29292 * elf/chroot_canon.c (chroot_canon): Likewise.
29294 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29298 Change to 2.6.0 everywhere.
29299 * sysdeps/unix/sysv/linux/configure: Regenerated.
29300 * sysdeps/unix/sysv/linux/kernel-features.h
29301 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29302 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29304 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29305 (__ASSUME_FUTEX_REQUEUE): Remove.
29306 (__ASSUME_STATFS64): Define unconditionally.
29307 (__ASSUME_AT_SECURE): Likewise.
29308 (__ASSUME_CORRECT_SI_PID): Likewise.
29309 (__ASSUME_TGKILL): Define without depending on kernel version for
29311 (__ASSUME_UTIMES): Likewise.
29312 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29314 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29315 (__ASSUME_TMPFS_NAME): Likewise.
29316 * README: Update reference to Linux kernel versions.
29318 2012-08-02 Marek Polacek <polacek@redhat.com>
29321 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29322 libc_cv_asm_type_prefix with %.
29323 * configure: Regenerated.
29324 * include/libc-symbols.h: Remove comment about
29325 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29326 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29327 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29328 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29329 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29330 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29332 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29333 * elf/tst-unique2mod1.c: Likewise.
29334 * elf/tst-unique1mod2.c: Likewise.
29335 * elf/tst-unique1mod1.c: Likewise.
29336 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29337 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29338 Replace ASM_TYPE_DIRECTIVE with .type.
29339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29340 * sysdeps/i386/sysdep.h: Likewise.
29341 * sysdeps/x86_64/sysdep.h: Likewise.
29342 * sysdeps/sh/sysdep.h: Likewise.
29343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29344 Do not define ASM_TYPE_DIRECTIVE.
29345 * sysdeps/powerpc/sysdep.h: Likewise.
29346 * sysdeps/powerpc/powerpc32/sysdep.h:
29347 Replace ASM_TYPE_DIRECTIVE with .type.
29348 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29350 * sysdeps/i386/fpu/e_powf.S: Likewise.
29351 * sysdeps/i386/fpu/e_expl.S: Likewise.
29352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29353 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29354 * sysdeps/i386/fpu/e_pow.S: Likewise.
29355 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29357 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29358 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29359 * sysdeps/i386/fpu/e_log2.S: Likewise.
29360 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29361 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29362 * sysdeps/i386/fpu/e_powl.S: Likewise.
29363 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29364 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29365 * sysdeps/i386/fpu/e_logl.S: Likewise.
29366 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29367 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29368 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29370 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29371 * sysdeps/i386/fpu/e_log.S: Likewise.
29372 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29373 * sysdeps/i386/fpu/e_logf.S: Likewise.
29374 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29375 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29376 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29377 * sysdeps/i386/fpu/e_log10.S: Likewise.
29378 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29380 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29381 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29383 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29384 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29385 * sysdeps/i386/i686/strtok.S: Likewise.
29386 * sysdeps/i386/i386-mcount.S: Likewise.
29387 * sysdeps/i386/strtok.S: Likewise.
29388 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29389 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29391 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29392 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29393 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29394 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29395 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29396 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29397 * sysdeps/x86_64/_mcount.S: Likewise.
29398 * sysdeps/x86_64/strtok.S: Likewise.
29399 * sysdeps/sh/_mcount.S: Likewise.
29401 2012-08-01 Roland McGrath <roland@hack.frob.com>
29403 * libio/iofopen.c: Include <fcntl.h>.
29404 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29405 (_IO_fopen64, fopen64): Define as aliases.
29406 * libio/iofopen64.c: Include <fcntl.h>.
29407 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29408 Conditionalize body on this.
29409 * sysdeps/wordsize-64/iofopen.c: File removed.
29410 * sysdeps/wordsize-64/iofopen64.c: File removed.
29412 2012-08-01 Marek Polacek <polacek@redhat.com>
29414 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29415 Use dlfcn directly instead of a variable.
29416 (binfmt-subdir): Do not define.
29419 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29422 Remove all definitions.
29423 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29424 <kernel-features.h>.
29425 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29426 (miss_F_GETOWN_EX): Remove all definitions.
29427 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29429 [!__ASSUME_FCNTL64]: Remove conditional code.
29430 [__ASSUME_FCNTL64]: Make code unconditional.
29431 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29432 <kernel-features.h>.
29433 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29434 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29435 (lockf64) [__NR_fcntl64]: Make code unconditional.
29436 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29438 * sysdeps/unix/sysv/linux/kernel-features.h
29439 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29440 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29441 Make code unconditional.
29442 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29443 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29445 [__NR_vfork]: Make code unconditional.
29446 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29447 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29449 [__NR_vfork]: Make code unconditional.
29450 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29451 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29453 2012-08-01 Roland McGrath <roland@hack.frob.com>
29455 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29456 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29458 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29459 Define mkstemp64 as an alias.
29460 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29461 Define mkstemps64 as an alias.
29462 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29463 Define mkostemp64 as an alias.
29464 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29465 Define mkostemps64 as an alias.
29466 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29467 Conditionalize body on this.
29468 * misc/mkostemp64.c: Likewise.
29469 * misc/mkostemps64.c: Likewise.
29470 * misc/mkstemps64.c: Likewise.
29471 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29472 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29473 * sysdeps/wordsize-64/mkostemp.c: File removed.
29474 * sysdeps/wordsize-64/mkstemp.c: File removed.
29475 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29477 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29481 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29482 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29483 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29484 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29486 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29487 compat_symbol macros from <shlib-compat.h> rather than the underlying
29488 default_symbol_version and symbol_version macros, so that DEFAULT
29489 lines in shlib-versions are respected.
29490 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29492 2012-08-01 Florian Weimer <fweimer@redhat.com>
29494 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29495 Declare with warn_unused_result.
29496 (setgid, setregid, setegid, setresgid): Likewise.
29497 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29499 * WUR-REPORT: Remove set*id functions.
29501 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29503 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29505 2012-07-31 Roland McGrath <roland@hack.frob.com>
29508 * include/sys/socket.h (__libc_accept, __libc_accept4):
29509 Add attribute_hidden.
29510 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29512 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29514 * inet/getnetgrent_r.c (setup): Likewise.
29516 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29518 2012-07-31 David S. Miller <davem@davemloft.net>
29520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29522 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29525 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29526 value between 1.0 and 2.0 and smaller part has absolute value less
29528 * math/s_clog10.c (__clog10): Likewise.
29529 * math/s_clog10f.c (__clog10f): Likewise.
29530 * math/s_clog10l.c (__clog10l): Likewise.
29531 * math/s_clogf.c (__clogf): Likewise.
29532 * math/s_clogl.c (__clogl): Likewise.
29533 * math/libm-test.inc (clog_test): Add more tests.
29534 (clog10_test): Likewise.
29535 * sysdeps/i386/fpu/libm-test-ulps: Update.
29536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29538 2012-07-31 Florian Weimer <fweimer@redhat.com>
29540 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29541 Exit with zero in case no suitable GID is found, and write a
29542 message to standard error.
29544 2012-07-30 Roland McGrath <roland@hack.frob.com>
29546 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29548 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29549 (MAXPATHLEN): Removed.
29550 (NOGROUP, NODEV): New macros.
29551 (setbit, clrbit, isset, isclr): New macros.
29552 (howmany, roundup, powerof2): New macros.
29553 (DEV_BSIZE): New macro.
29555 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29556 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29558 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29559 definition on [!__NO_LONG_DOUBLE_MATH].
29561 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29562 PTR_MANGLE and PTR_DEMANGLE.
29564 * socket/accept4.c (accept4): Rename to __libc_accept4.
29565 Define accept4 as a weak alias.
29567 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29568 on [_DIRENT_HAVE_D_TYPE].
29569 * io/ftw.c (ftw_dir): Likewise.
29571 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29573 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29575 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29576 Use the BSD numbers rather than the arbitrary ones we had.
29577 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29578 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29579 (SIGXCPU, SIGXFSZ): New macros.
29582 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29583 initializer on [_LIBC_REENTRANT].
29585 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29586 definitions inside [_POSIX_MAPPED_FILES].
29588 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29590 * dirent/opendir.c: Include <fcntl.h>.
29592 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29593 (__libc_getspecific): Likewise.
29594 (__libc_key_create): Likewise.
29596 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29597 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29598 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29599 (tmpfile64): Define as alias.
29600 * sysdeps/wordsize-64/tmpfile.c: File removed.
29601 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29605 * stdio-common/vfscanf.c: Include <stdbool.h>.
29606 * nss/makedb.c: Likewise.
29607 * stdio-common/_i18n_number.h: Likewise.
29608 * argp/argp-help.c: Likewise.
29609 * posix/wordexp.c: Likewise.
29610 * sysdeps/posix/spawni.c: Likewise.
29611 * nss/nss_files/files-initgroups.c: Likewise.
29612 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29613 * nss/nss_files/files-initgroups.c: Likewise.
29614 * nss/nss_db/db-netgrp.c: Likewise.
29615 * nss/nss_db/db-initgroups.c: Likewise.
29616 * io/fchmodat.c: Include <sys/stat.h>.
29618 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29619 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29621 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29624 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29625 Add multiple inclusion protection.
29627 2012-07-27 David S. Miller <davem@davemloft.net>
29629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29631 2012-07-27 Gary Benson <gbenson@redhat.com>
29634 * elf/rtld.c: Include <stap-probe.h>.
29635 (dl_main): Added static probes "init_start" and "init_complete".
29636 * elf/dl-load.c: Include <stap-probe.h>.
29637 (lose): Take new parameter "nsid".
29638 Added static probe "map_failed".
29639 (_dl_map_object_from_fd): Pass namespace id to lose.
29640 Added static probe "map_start".
29641 (open_verify): Pass namespace id to lose.
29642 * elf/dl-open.c: Include <stap-probe.h>.
29643 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29644 and "reloc_complete".
29645 * elf/dl-close.c: Include <stap-probe.h>.
29646 (_dl_close_worker): Added static probes "unmap_start" and
29648 * elf/rtld-debugger-interface.txt: New file documenting the above.
29650 2012-07-26 Roland McGrath <roland@hack.frob.com>
29652 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29653 rather than a string variable.
29654 * sunrpc/rpc_main.c (h_output): Likewise.
29655 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29657 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29659 * inet/check_native.c: New file.
29661 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29664 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29665 if larger part has absolute value 1.0.
29666 * math/s_clog10.c (__clog10): Likewise.
29667 * math/s_clog10f.c (__clog10f): Likewise.
29668 * math/s_clog10l.c (__clog10l): Likewise.
29669 * math/s_clogf.c (__clogf): Likewise.
29670 * math/s_clogl.c (__clogl): Likewise.
29671 * math/libm-test.inc (clog_test): Add more tests.
29672 (clog10_test): Likewise.
29673 * sysdeps/i386/fpu/libm-test-ulps: Update.
29674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29676 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29677 (pltexit): Likewise.
29678 (La_regs): Likewise.
29679 (La_retval): Likewise.
29680 (int_retval): Likewise.
29681 Update #error for removed macros to refer only to definitions in
29683 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29685 (pltexit): Likewise.
29686 (La_regs): Likewise.
29687 (La_retval): Likewise.
29688 (int_retval): Likewise.
29689 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29691 (pltexit): Likewise.
29692 (La_regs): Likewise.
29693 (La_retval): Likewise.
29694 (int_retval): Likewise.
29695 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29697 (pltexit): Likewise.
29698 (La_regs): Likewise.
29699 (La_retval): Likewise.
29700 (int_retval): Likewise.
29701 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29703 (pltexit): Likewise.
29704 (La_regs): Likewise.
29705 (La_retval): Likewise.
29706 (int_retval): Likewise.
29707 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29709 (pltexit): Likewise.
29710 (La_regs): Likewise.
29711 (La_retval): Likewise.
29712 (int_retval): Likewise.
29713 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29715 (pltexit): Likewise.
29716 (La_regs): Likewise.
29717 (La_retval): Likewise.
29718 (int_retval): Likewise.
29719 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29720 macro definitions in tst-audit.h.
29721 * sysdeps/i386/tst-audit.h: New file.
29722 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29723 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29724 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29725 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29726 * sysdeps/sh/tst-audit.h: Likewise.
29727 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29728 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29729 * sysdeps/x86_64/tst-audit.h: Likewise.
29731 2012-07-26 Andreas Jaeger <aj@suse.de>
29733 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29736 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29737 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29738 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29740 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29741 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29742 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29744 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29747 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29749 (si_call_addr, si_syscall, si_arch): Define new macro.
29750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29752 (si_call_addr, si_syscall, si_arch): Define new marcro.
29753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29755 (si_call_addr, si_syscall, si_arch): Define new macro.
29756 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29758 (si_call_addr, si_syscall, si_arch): Define new macro.
29760 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29763 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29764 Change to 2.4.21 where previously 2.4.1.
29765 * sysdeps/unix/sysv/linux/configure: Regenerated.
29766 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29767 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29768 Linux kernel version.
29769 (__ASSUME_STD_AUXV): Remove.
29770 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29772 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29773 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29774 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29775 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29776 (__ASSUME_NETLINK_SUPPORT): Likewise.
29777 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29778 (__no_netlink_support): Remove conditional definition.
29779 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29781 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29782 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29783 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29784 (if_nameindex_ioctl): Remove.
29785 (if_nameindex_netlink): Do not handle __no_netlink_support.
29786 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29788 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29789 Remove conditional code.
29790 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29792 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29794 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29795 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29796 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29798 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29799 [!__ASSUME_STD_AUXV]: Remove conditional code.
29800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29801 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29802 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29804 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29805 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29807 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29809 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29810 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29812 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29814 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29817 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29820 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29821 code unconditional.
29822 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29824 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29826 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29829 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29831 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29834 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29835 code unconditional.
29836 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29838 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29840 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29843 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29844 code unconditional.
29845 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29847 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29849 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29852 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29854 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29855 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29856 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29857 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29858 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29859 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29860 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29861 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29862 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29863 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29864 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29865 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29866 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29867 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29868 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29869 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29870 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29872 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29874 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29875 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29878 2012-07-25 Florian Weimer <fweimer@redhat.com>
29880 * Versions.def: Add GLIBC_2.17.
29881 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29882 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29883 Introduce __libc_secure_getenv.
29884 * stdlib/Versions (2.17): Add secure_getenv
29885 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29886 * stdlib/secure-getenv.c: Rename __secure_getenv to
29887 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29888 symbol __secure_getenv for GLIBC_2.0.
29889 * stdlib/tst-secure-getenv.c: New.
29890 * stdlib/Makefile (tests): Add testcase.
29891 * manual/startup.texi (Environment Access): Document
29893 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29894 __libc_secure_getenv.
29895 * inet/ruserpass.c (ruserpass): Likewise.
29896 * malloc/mtrace.c (mtrace): Likewise.
29897 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29898 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29899 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29900 * sysdeps/posix/tempname.c: Likewise. Evaluate
29901 HAVE_SECURE_GETENV.
29902 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29903 __secure_getenv to __libc_secure_getenv.
29904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29917 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29919 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29920 (struct La_i86_retval): Likewise.
29921 (struct La_x86_64_regs): Likewise.
29922 (struct La_x86_64_retval): Likewise.
29923 (struct La_x32_regs): Likewise.
29924 (struct La_x32_retval): Likewise.
29925 (struct La_ppc32_regs): Likewise.
29926 (struct La_ppc32_retval): Likewise.
29927 (struct La_ppc64_regs): Likewise.
29928 (struct La_ppc64_retval): Likewise.
29929 (struct La_sh_regs): Likewise.
29930 (struct La_sh_retval): Likewise.
29931 (struct La_s390_32_regs): Likewise.
29932 (struct La_s390_32_retval): Likewise.
29933 (struct La_s390_64_regs): Likewise.
29934 (struct La_s390_64_retval): Likewise.
29935 (struct La_sparc32_regs): Likewise.
29936 (struct La_sparc32_retval): Likewise.
29937 (struct La_sparc64_regs): Likewise.
29938 (struct La_sparc64_retval): Likewise.
29939 (struct audit_ifaces): Remove architecture-specific pltenter and
29941 * sysdeps/i386/ldsodefs.h: New file.
29942 * sysdeps/powerpc/ldsodefs.h: Likewise.
29943 * sysdeps/s390/ldsodefs.h: Likewise.
29944 * sysdeps/sh/ldsodefs.h: Likewise.
29945 * sysdeps/sparc/ldsodefs.h: Likewise.
29946 * sysdeps/x86_64/ldsodefs.h: Likewise.
29948 2012-07-25 Marek Polacek <polacek@redhat.com>
29951 * math/libm-test.inc (yn_test): Add another test.
29952 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29953 to ERANGE when the result is +-Inf.
29954 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29955 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29956 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29957 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29959 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29961 * conform/data/time.h-data (NULL): Use macro-constant. Require
29963 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29965 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29967 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29969 * configure.in <sysdeps resolving>: Correct printing
29971 * configure: Regenerate.
29973 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29975 * math/w_ilogb.c: Include <limits.h>.
29976 * math/w_ilogbl.c: Likewise.
29978 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29980 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29981 va_copy. Document allowing for unavailable va_copy only as
29982 pre-C99 compatibility.
29983 * manual/string.texi (Copying and Concatenation): Use va_copy
29984 instead of __va_copy in concat example.
29986 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29988 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29989 (__sendto): Use create_address_port. Initialize APORT and deallocate
29992 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29993 with O_NOLINK passed to __file_name_lookup.
29995 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29996 with O_NOLINK passed to __file_name_lookup.
29998 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29999 negative N or less than NGIDS.
30001 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30002 type to string_t. Set ERANGE as errno and return it if NAME is not big
30003 enough. Use memcpy instead of strncpy.
30005 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30007 * elf/Makefile (check-data): Remove.
30008 (localplt.data): New vpath directive.
30009 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30010 instead of $(check-data).
30011 * scripts/data/localplt-generic.data: Move to ...
30012 * sysdeps/generic/localplt.data: ... here.
30013 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30014 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30015 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30018 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30021 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30024 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30027 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30030 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30034 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30036 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30037 PPC32 and PPC64 files.
30038 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30039 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30041 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30043 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30044 __makecontext_ret to ...
30045 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30046 ... here and call exit if uc_link is NULL. New file.
30047 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30048 __makecontext_ret.S.
30049 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30050 __makecontext_ret to ...
30051 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30052 ... here and call exit if uc_link is NULL. New file.
30053 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30054 __makecontext_ret.S.
30056 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30058 * elf/elf.h (R_390_IRELATIVE): New definition.
30059 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30060 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30061 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30062 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30063 (elf_machine_lazy_rel): Likewise.
30064 * sysdeps/s390/dl-irel.h: New file.
30065 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30066 * sysdeps/s390/s390-64/memset.S: New asm code.
30067 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30068 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30069 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30070 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30071 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30072 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30073 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30074 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30075 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30076 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30077 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30078 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30079 * sysdeps/s390/s390-32/memset.S: New asm code.
30080 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30082 2012-07-17 Marek Polacek <polacek@redhat.com>
30085 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30086 * sysdeps/s390/s390-64/configure.in: Likewise.
30087 * sysdeps/sparc/configure.in: Likewise.
30088 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30089 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30090 * sysdeps/i386/configure.in: Likewise.
30091 * sysdeps/x86_64/configure.in: Likewise.
30092 * sysdeps/sh/configure.in: Likewise.
30093 * sysdeps/s390/s390-32/configure: Regenerated.
30094 * sysdeps/s390/s390-64/configure: Likewise.
30095 * sysdeps/x86_64/configure: Likewise.
30096 * sysdeps/sh/configure: Likewise.
30097 * sysdeps/powerpc/powerpc64/configure: Likewise.
30098 * sysdeps/powerpc/powerpc32/configure: Likewise.
30099 * sysdeps/sparc/configure: Likwise.
30100 * sysdeps/i386/configure: Likewise.
30102 * elf/dl-open.c: Comment fixes.
30104 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30106 * Makefile [CXX] (check-data): Remove.
30107 [CXX] (c++-types.data): New vpath directive.
30108 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30109 vpath. Do not allow for C++ type data being missing.
30110 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30111 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30112 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30113 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30114 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30115 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30116 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30119 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30122 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30125 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30128 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30131 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30134 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30137 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30140 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30141 definitions to architecture-specific files.
30142 (TLS_IE): Likewise.
30143 (TLS_LD): Likewise.
30144 (TLS_GD): Likewise.
30145 * sysdeps/i386/tls-macros.h: New file.
30146 * sysdeps/powerpc/tls-macros.h: Likewise.
30147 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30148 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30149 * sysdeps/sh/tls-macros.h: Likewise.
30150 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30151 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30152 * sysdeps/x86_64/tls-macros.h: Likewise.
30154 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30157 zero value for regular exit case.
30159 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30160 (__start_context): Preserve zero value for regular exit case.
30162 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30163 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30165 * manual/setjmp.texi (setcontext): Clarify normal process
30166 termination when uc_link is the null pointer.
30167 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30170 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30172 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30173 preprocessor. Test for each exception mask separately.
30175 2012-07-16 Andreas Jaeger <aj@suse.de>
30177 * po/ru.po: Update from translation team.
30179 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30181 * conform/data/string.h-data (NULL): Use macro-constant. Require
30183 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30184 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30185 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30186 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30189 2012-07-13 Andreas Jaeger <aj@suse.de>
30191 * po/fr.po: Update from translation team.
30193 2012-07-12 Marek Polacek <polacek@redhat.com>
30196 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30197 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30200 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30203 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30204 Change to 2.4.1 where previously 2.4.0.
30205 * sysdeps/unix/sysv/linux/configure: Regenerated.
30206 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30207 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30209 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30210 (__ASSUME_AT_CLKTCK): Remove.
30211 (__ASSUME_AT_PAGESIZE): Likewise.
30212 (__ASSUME_AT_XID): Likewise.
30213 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30214 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30215 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30217 (HAVE_AUX_PAGESIZE): Likewise.
30218 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30219 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30220 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30222 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30226 the temporary buffer used to invoke __gethostbyname2_r,
30227 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30228 host_data / struct gaih_addrtuple.
30229 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30230 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30231 header file nss/nsswitch.h.
30232 * nss/nsswitch.h (global scope): Add definition of implementation
30233 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30234 resolv/nss_dns/dns-host.c).
30236 2012-07-11 Andreas Jaeger <aj@suse.de>
30238 * po/fr.po: Update from translation team.
30240 * po/sv.po: Update from translation team
30241 * po/fr.po: Another update from translation team.
30243 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30245 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30246 for subnormals or multiply small sinh result by itself.
30247 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30250 2012-07-11 David S. Miller <davem@davemloft.net>
30252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30254 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30257 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30258 (INTERNAL_MARK): Shift it here.
30260 2012-07-10 Marek Polacek <polacek@redhat.com>
30263 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30264 libc_cv_asm_global_directive with .globl.
30265 * configure: Regenerated.
30266 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30268 * sysdeps/i386/configure: Regenerated.
30269 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30271 * sysdeps/x86_64/configure: Regenerated.
30272 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30273 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30274 * elf/tst-unique2mod2.c: Likewise.
30275 * elf/tst-unique2mod1.c: Likewise.
30276 * elf/tst-unique1mod2.c: Likewise.
30277 * elf/tst-unique1mod1.c: Likewise.
30278 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30279 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30281 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30282 * sysdeps/mach/sysdep.h: Likewise.
30283 * sysdeps/i386/sysdep.h: Likewise.
30284 * sysdeps/i386/i386-mcount.S: Likewise.
30285 * sysdeps/x86_64/_mcount.S: Likewise.
30286 * sysdeps/x86_64/sysdep.h: Likewise.
30287 * sysdeps/sh/_mcount.S: Likewise.
30288 * sysdeps/sh/sysdep.h: Likewise.
30289 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30290 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30291 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30292 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30293 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30294 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30295 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30296 * locale/localeinfo.h: Likewise.
30297 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30298 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30300 2012-07-09 Roland McGrath <roland@hack.frob.com>
30303 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30305 * manual/message.texi (The Uniforum approach): Likewise.
30306 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30307 (glibc iconv Implementation): Likewise.
30309 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30312 * math/s_clog.c (__clog): Avoid scaling a value down where that
30313 could result in underflow.
30314 * math/s_clog10.c (__clog10): Likewise.
30315 * math/s_clog10f.c (__clog10f): Likewise.
30316 * math/s_clog10l.c (__clog10l): Likewise.
30317 * math/s_clogf.c (__clogf): Likewise.
30318 * math/s_clogl.c (__clogl): Likewise.
30319 * math/libm-test.inc (clog_test): Add more tests.
30320 (clog10_test): Likewise.
30321 * sysdeps/i386/fpu/libm-test-ulps: Update.
30322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30324 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30327 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30328 by 7 not 8 to examine high bit of fractional part.
30331 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30332 for call to __mcount_internal.
30333 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30334 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30335 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30337 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30340 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30341 approximation for values within 0x1p-13f of an odd multiple of
30343 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30344 exception. Add more tests.
30345 * sysdeps/i386/fpu/libm-test-ulps: Update.
30348 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30349 inputs and return -1 for them. Do not check for +Inf in case not
30350 reachable for +Inf.
30351 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30352 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30353 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30354 and return -1 for them. Do not check for +Inf in case not
30355 reachable for +Inf.
30356 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30358 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30359 and return -1 for them. Do not check for +Inf in case not
30360 reachable for +Inf.
30361 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30362 spurious underflow.
30363 * sysdeps/i386/fpu/libm-test-ulps: Update.
30364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30366 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30368 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30370 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30374 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30375 could result in spurious underflow. Scale down values above
30376 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30377 * math/s_csqrtf.c (__csqrtf): Likewise.
30378 * math/s_csqrtl.c (__csqrtl): Likewise.
30379 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30380 spurious underflow.
30381 * sysdeps/i386/fpu/libm-test-ulps: Update.
30382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30384 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30386 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30388 * catgets/xopen-msg.awk: New file.
30389 * catgets/xopen-msg.sed: Removed.
30391 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30393 * intl/po2test.awk: New file.
30394 * intl/po2test.sed: Removed.
30396 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30399 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30400 or multiply small sinh result by itself.
30401 * math/s_ctanf.c (__ctanf): Likewise.
30402 * math/s_ctanh.c (__ctanh): Likewise.
30403 * math/s_ctanhf.c (__ctanhf): Likewise.
30404 * math/s_ctanhl.c (__ctanhl): Likewise.
30405 * math/s_ctanl.c (__ctanl): Likewise.
30406 * math/libm-test.inc (ctan_test_tonearest): New function.
30407 (ctan_test_towardzero): Likewise.
30408 (ctan_test_downward): Likewise.
30409 (ctan_test_upward): Likewise.
30410 (ctanh_test_tonearest): Likewise.
30411 (ctanh_test_towardzero): Likewise.
30412 (ctanh_test_downward): Likewise.
30413 (ctanh_test_upward): Likewise.
30414 (main): Call these new functions.
30415 * sysdeps/i386/fpu/libm-test-ulps: Update.
30416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30418 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30420 * .gitignore: Delete /ports entry.
30422 2012-07-03 Andreas Jaeger <aj@suse.de>
30424 * po/bg.po: Update from translation team.
30425 * po/cs.po: Likewise.
30426 * po/de.po: Likewise.
30427 * po/hr.po: Likewise.
30428 * po/nl.pl: Likewise.
30429 * po/pl.po: Likewise.
30430 * po/vi.po: Likewise.
30432 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30434 * Makeconfig [!+link] (+link-before-libc): New variable.
30435 [!+link] (+link-after-libc): Likewise.
30436 [!+link] (+link-tests): Likewise.
30437 [!+link] (+link): Define in terms of $(+link-before-libc) and
30438 $(+link-after-libc).
30439 [!+link-static] (+link-static-before-libc): New variable.
30440 [!+link-static] (+link-static-after-libc): Likewise.
30441 [!+link-static] (+link-static-tests): Likewise.
30442 [!+link-static] (+link-static): Define in terms of
30443 $(+link-static-before-libc) and $(+link-static-after-libc).
30444 [build-shared] (link-libc-before-gnulib): New variable.
30445 [build-shared] (link-libc-tests): Likewise.
30446 [build-shared] (link-libc): Define in terms of
30447 $(link-libc-before-gnulib).
30448 [!build-shared] (link-libc-tests): New variable.
30449 (link-libc-static-tests): New variable.
30450 [!gnulib] (gnulib-arch): New variable.
30451 [!gnulib] (gnulib-tests): Likewise.
30452 [!gnulib] (static-gnulib-arch): Likewise.
30453 [!gnulib] (static-gnulib-tests): Likewise.
30454 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30455 Define with "=" instead of ":=".
30456 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30457 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30458 * Rules (binaries-all-notests): New variable.
30459 (binaries-all-tests): Likewise.
30460 (binaries-static-notests): Likewise.
30461 (binaries-static-tests): Likewise.
30462 (binaries-all): Define using $(binaries-all-notests) and
30463 $(binaries-all-tests).
30464 (binaries-static): Define using $(binaries-static-notests) and
30465 $(binaries-static-tests).
30466 (binaries-shared-tests): New variable.
30467 (binaries-shared-notests): Likewise.
30468 (binaries-shared): Remove variable.
30469 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30470 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30471 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30472 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30473 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30474 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30475 * elf/Makefile (sln-modules): New variable.
30476 (extra-objs): Add $(sln-modules:=.o).
30477 (ldconfig-modules): Add static-stubs.
30478 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30479 * elf/static-stubs.c: New file.
30482 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30483 by 7 not 8 to examine high bit of fractional part. Use volatile
30484 variables when splitting into final array of floats if
30485 __FLT_EVAL_METHOD__ != 0.
30486 * math/libm-test.inc (cos_test): Add another test.
30487 (sin_test): Likewise.
30488 * sysdeps/i386/fpu/libm-test-ulps: Update.
30491 * math/libm-test.inc (cosh_test): Add more tests.
30493 * version.h (RELEASE): Set to "development".
30494 (VERSION): Set to "2.16.90".
30496 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30498 * NEWS: Update copyright. Remove last-updated date.
30499 Mention math library bug fixes and timezone data changes.
30500 * README: Mention GNU/Hurd, x32, and HPPA support status.
30502 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30504 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30506 2012-06-27 Andreas Jaeger <aj@suse.de>
30508 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30510 2012-06-25 Andreas Jaeger <aj@suse.de>
30512 * sysdeps/s390/fpu/libm-test-ulps: Update.
30514 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30515 Thomas Schwinge <thomas@codesourcery.com>
30517 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30518 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30522 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30524 * sysdeps/mach/start.c: Remove file.
30525 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30526 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30527 * sysdeps/sh/init-first.c: Likewise.
30529 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30530 registers for frame unwinding purposes, add CFI directives.
30531 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30532 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30533 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30536 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30537 __fortify_fail returning.
30538 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30540 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30541 sysdeps/sh/____longjmp_chk.S.
30542 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30543 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30544 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30545 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30547 * sysdeps/sh/abort-instr.h: New file.
30548 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30549 process in case exit returns.
30551 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30552 initialize the GOT register before use.
30554 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30555 calculation of ARGC > 4.
30557 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30558 meaningful names to some local labels.
30560 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30561 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30563 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30564 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30565 (__arch_compare_and_exchange_val_16_acq): Likewise.
30566 (__arch_compare_and_exchange_val_32_acq): Likewise.
30567 (atomic_exchange_and_add): Fix gUSA sequence.
30568 (atomic_add): Likewise.
30569 (atomic_add_negative): Likewise.
30570 (atomic_add_zero): Likewise.
30571 (atomic_bit_test_set): Likewise.
30573 2012-06-22 Andreas Schwab <schwab@redhat.com>
30576 * include/link.h (struct link_map): Add l_free_initfini.
30577 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30579 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30580 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30581 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30584 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30586 * configure.in: Use AC_LANG_SOURCE.
30587 * configure: Regenerate.
30589 2012-06-22 Roland McGrath <roland@hack.frob.com>
30591 * configure.in (libc_cv_localstatedir): New substituted variable.
30592 * configure: Regenerated.
30593 * config.make.in (localstatedir): New variable, substituted from
30594 libc_cv_localstatedir.
30595 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30596 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30597 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30598 * sysdeps/gnu/configure: Regenerated.
30600 2012-06-21 Jeff Law <law@redhat.com>
30603 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30604 free. Simplify list management for _LIBC case.
30606 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30609 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30610 Clear sign bit of 64-bit integer value before comparing against
30613 * sysdeps/mach/configure: Regenerated.
30615 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30618 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30620 2012-06-21 Jeff Law <law@redhat.com>
30623 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30624 uint16_t for elements in the "seen" array to avoid char overflows.
30625 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30626 * elf/dl-open.c (dl_open_worker): Likewise.
30628 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30630 * scripts/list-sources.sh: Scan PORTS for translations.
30631 * po/libc.pot: Regenerated.
30633 2012-06-21 Andreas Jaeger <aj@suse.de>
30636 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30638 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30639 * bits/byteswap-16.h (__bswap_16): Likewise.
30640 * bits/byteswap.h (__bswap_constant_16): Likewise.
30642 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30645 * sysdeps/i386/fpu_control.h: Removed.
30646 * sysdeps/x86_64/fpu_control.h: Moved to ...
30647 * sysdeps/x86/fpu_control.h: Here.
30649 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30650 (_FPU_SETCW): Likewise.
30652 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30655 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30656 * sysdeps/x86/fpu/bits/mathinline.h: This.
30657 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30661 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30662 functions if __x86_64__ is defined.
30664 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30666 * string/endian.h: Add !__ASSEMBLER__ condition for including
30667 conversion interfaces.
30669 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30673 of ABS(x) in calculating zero to negative powers other than odd
30675 * math/libm-test.inc (pow_test): Add more tests.
30677 2012-06-15 Andreas Jaeger <aj@suse.de>
30679 * manual/contrib.texi (Contributors): Update entry of Liubov
30680 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30683 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30685 * string/string.h: Add __wur to GNU version of strerror_r.
30687 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30690 * string/Makefile (tests): Add tst-strtok_r.
30691 * string/tst-strtok_r.c: New file.
30692 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30693 RAX_LP/RDX_LP on SAVE_PTR.
30695 2012-06-14 Roland McGrath <roland@hack.frob.com>
30697 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30699 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30701 * libm_test.inc (csqrt_test): Allow more spurious underflow
30703 (j0_test): Likewise.
30704 (j1_test): Likewise.
30705 (y0_test): Likewise.
30706 (y1_test): Likewise.
30708 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30710 * po/Makefile (libc.pot): Use UTF-8 charset.
30712 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30715 Suppress sign-conversion warning from FD_SET.
30716 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30717 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30718 not unsigned long int.
30719 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30721 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30725 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30726 __extern_always_inline instead of __extern_inline.
30727 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30728 (__signbit): Likewise.
30729 (__signbitl): Support C++ namespace.
30730 (lrintf): New inline function.
30732 (llrintf): Likewise.
30733 (llrint): Likewise.
30743 (floorf): Likewise.
30744 (nearbyint): Likewise.
30745 (nearbyintf): Likewise.
30747 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30749 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30750 non-default versions.
30752 2012-06-11 Roland McGrath <roland@hack.frob.com>
30755 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30757 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30759 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30760 (FE_UPWARD, FE_DOWNWARD): Don't define.
30761 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30762 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30764 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30766 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30769 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30771 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30773 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30774 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30776 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30779 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30780 * sysdeps/i386/fpu/Implies: New file.
30781 * sysdeps/x86_64/fpu/Implies: Likewise.
30782 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30783 * sysdeps/x86/fpu/bits/fenv.h: This.
30785 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30788 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30791 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30792 character 0xffff that matches the last element of the
30795 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30797 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30800 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30803 values higher than 25.6283.
30805 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30807 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30808 subnormal exponent extraction and add some __builtin_expect.
30809 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30810 Fix for subnormal mantissa calculation.
30812 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30814 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30815 cpu2 is -1 and errno is not ENOSYS.
30817 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30820 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30821 * sysdeps/x86/bits/string.h: This.
30822 * sysdeps/x86_64/bits/string.h: Removed.
30824 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30825 if not compiling for x86-64, but compiling for >= i486.
30827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30828 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30830 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30831 New macro from Linux kernel 3.4.0.
30832 (FP_XSTATE_MAGIC2): Likewise.
30833 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30834 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30835 (struct _fpx_sw_bytes): New struct.
30836 (struct _xsave_hdr): Likewise.
30837 (struct _ymmh_state): Likewise.
30838 (struct _xstate): Likewise.
30840 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30841 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30842 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30843 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30844 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30845 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30847 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30848 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30849 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30850 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30851 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30852 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30854 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30857 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30858 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30859 (sysdep_headers): Include sys/platform/ppc.h.
30860 * sysdeps/powerpc/test-gettimebase.c: Test for
30861 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30862 * manual/Makefile (appendices): Include platform.texi.
30863 * manual/contrib.texi (Contributors): Update @node pointers.
30864 * manual/maint.texi (Maintenance): Likewise.
30865 (Platform): New node.
30866 * manual/platform.texi: New file. Document the new features.
30868 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30869 Jakub Jelinek <jakub@redhat.com>
30872 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30873 where __builtin_expect is unavailable.
30875 2012-06-03 David S. Miller <davem@davemloft.net>
30877 * stdlib/longlong.h: Updated from GCC.
30879 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30882 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30883 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30886 (GLIBC_2.16): Likewise.
30888 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30892 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30895 (default-abi): New variable.
30896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30897 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30899 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30901 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30903 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30906 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30907 definition. Document in comment.
30909 2012-06-01 David S. Miller <davem@davemloft.net>
30911 * stdlib/longlong.h: Updated from GCC.
30913 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30916 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30917 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30918 sys/debugreg.h sys/io.h here.
30919 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30920 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30922 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30923 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30924 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30925 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30926 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30927 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30930 Define only if __x86_64__ is defined.
30932 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30935 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30936 Use int64_t for variable i.
30937 * math/libm-test.inc (fmod_test): Add more tests.
30939 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30940 z computation is not scheduled after fetestexcept.
30941 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30942 Use math_force_eval instead of asm to ensure calculation scheduled
30943 before exception test.
30944 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30945 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30947 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30950 computation is not scheduled after fetestexcept.
30952 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30955 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30956 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30958 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30960 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30961 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30963 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30966 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30968 (__WCHAR_MIN): Support __WORDSIZE == 64.
30969 (__WCHAR_MAX): Likewise.
30971 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30972 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30976 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30979 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30980 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30982 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30983 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30985 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30986 Defined to 1 if __x86_64__ isn't defined.
30987 (_STAT_VER_LINUX_OLD): New.
30988 (st_atime): Remove duplicate.
30989 (st_mtime): Likewise.
30990 (st_ctime): Likewise.
30992 2012-05-31 David S. Miller <davem@davemloft.net>
30994 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30997 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30999 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31003 * elf/dl-reloc.c: Include <_itoa.h>.
31004 (_dl_reloc_bad_type): Remove use of INTUSE.
31005 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31006 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31007 * stdio-common/psiginfo.c (psiginfo): Likewise.
31008 * stdio-common/psignal.c (psignal): Likewise.
31009 * string/strsignal.c (strsignal): Likewise.
31010 * include/signal.h (_sys_siglist): Declare hidden proto.
31011 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31012 INTVARDEF with libc_hidden_data_def.
31013 * stdio-common/itoa-udigits.c: Likewise.
31014 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31015 (_itoa_lower_digits_internal): Remove declaration.
31016 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31017 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31018 (_sys_sigabbrev_internal): Remove aliases.
31019 (_sys_siglist): Define hidden alias.
31021 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31026 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31029 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31030 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31032 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31033 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31034 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31035 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31037 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31039 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31040 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31041 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31043 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31053 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31055 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31056 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31058 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31059 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31060 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31062 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31063 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31065 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31066 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31068 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31070 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31072 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31073 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31075 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31077 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31078 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31079 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31081 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31083 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31085 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31087 * math/math.h (M_El): Use two more decimal places.
31088 (M_LOG2El): Likewise.
31089 (M_LOG10El): Likewise.
31090 (M_LN2l): Likewise.
31091 (M_LN10l): Likewise.
31093 (M_PI_2l): Likewise.
31094 (M_PI_4l): Likewise.
31095 (M_1_PIl): Likewise.
31096 (M_2_PIl): Likewise.
31097 (M_2_SQRTPIl): Likewise.
31098 (M_SQRT2l): Likewise.
31099 (M_SQRT1_2l): Likewise.
31101 2012-05-31 David S. Miller <davem@davemloft.net>
31103 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31104 values between float registers.
31105 * sysdeps/sparc/sparc64/memset.S: Likewise.
31106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31108 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31110 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31111 -D_FORTIFY_SOURCE=1.
31112 (CPPFLAGS-tst-longjmp_chk.c): Define.
31113 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31114 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31115 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31116 CFLAGS-tst-wchar-h.c.
31118 2012-05-31 Marek Polacek <polacek@redhat.com>
31121 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31122 __endmntent_internal): Remove declaration.
31123 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31124 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31125 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31127 2012-05-30 David S. Miller <davem@davemloft.net>
31129 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31130 (___Q_simulate_exceptions): Use real FP ops rather than writing
31132 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31135 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31138 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31139 * sysdeps/x86/bits/xtitypes.h: This.
31141 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31142 * sysdeps/x86/bits/wordsize.h: This.
31144 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31145 * sysdeps/x86/bits/huge_vall.h: This.
31147 * sysdeps/i386/bits/select.h: Removed.
31148 * sysdeps/x86_64/bits/select.h: Renamed to ...
31149 * sysdeps/x86/bits/select.h: This.
31151 * sysdeps/i386/bits/setjmp.h: Removed.
31152 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31153 * sysdeps/x86/bits/setjmp.h: This.
31155 * sysdeps/i386/bits/mathdef.h: Removed.
31156 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31157 * sysdeps/x86/bits/mathdef.h: This.
31159 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31162 * include/sys/socket.h (__connect_internal)
31163 (__libc_sa_len_internal): Remove declaration.
31164 (__connect, __libc_sa_len): Declare hidden_proto.
31165 (SA_LEN): Remove use of INTUSE.
31166 * socket/connect.c: Add libc_hidden_def.
31167 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31168 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31169 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31171 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31172 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31173 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31174 of adding _internal alias.
31176 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31179 * sysdeps/i386/bits/link.h: Removed.
31180 * sysdeps/i386/bits/linkmap.h: Likewise.
31181 * sysdeps/x86_64/bits/link.h: Renamed to ...
31182 * sysdeps/x86/bits/link.h: This.
31183 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31184 * sysdeps/x86/bits/linkmap.h: This.
31186 * sysdeps/i386/bits/endian.h: Removed.
31187 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31188 * sysdeps/x86/bits/endian.h: This.
31190 * sysdeps/i386/bits/byteswap.h: Removed.
31191 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31192 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31193 * sysdeps/x86/bits/byteswap.h: This.
31194 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31195 * sysdeps/x86/bits/byteswap-16.h: This.
31196 * sysdeps/i386/Implies: Add x86.
31197 * sysdeps/x86_64/Implies: Likewise.
31199 2012-05-30 David S. Miller <davem@davemloft.net>
31201 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31202 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31203 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31204 (FP_TRAPPING_EXCEPTIONS): Define.
31205 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31206 (FP_TRAPPING_EXCEPTIONS): Define.
31207 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31208 subnormals only when inexact has been signalled or underflow
31209 exceptions are enabled.
31210 (_FP_PACK_CANONICAL): Likewise.
31212 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31215 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31216 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31218 2012-05-30 Richard Henderson <rth@twiddle.net>
31220 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31221 with #ifndef NOT_IN_libc.
31223 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31224 marked to avoid plt entry.
31226 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31229 * Makeconfig (default-abi): New macro.
31230 (abi-includes): Likewise.
31231 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31232 $(abi-$(default-abi)-lib-soname) for soname if defined.
31233 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31235 * Makefile (installed-stubs): Likewise.
31236 * include/stubs-biarch.h: Removed.
31237 * scripts/lib-names.awk: Only handle one library at a time.
31238 * scripts/soversions.awk: Remove WORDSIZE support.
31239 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31241 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31243 (syscall-list-default-condition): Likewise.
31244 (syscall-list-default-condition): Likewise.
31245 (syscall-list-includes): Likewise.
31246 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31247 syscall-list-* with abi-*. Handle undefined abi-variants.
31248 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31249 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31250 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31251 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31252 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31253 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31255 (syscall-list-32-options): Likewise.
31256 (syscall-list-32-condition): Likewise.
31257 (syscall-list-64-options): Likewise.
31258 (syscall-list-64-condition): Likewise.
31259 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31261 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31264 (abi-64-ld-soname): New macro.
31265 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31266 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31269 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31270 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31272 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31274 * sysdeps/unix/sysv/linux/kernel-features.h
31275 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31276 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31277 include <kernel-features.h>.
31278 [!__NR_ftruncate64]: Remove conditional code.
31279 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31280 [__NR_ftruncate64]: Make code unconditional.
31281 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31282 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31283 include <kernel-features.h>.
31284 [!__NR_ftruncate64]: Remove conditional code.
31285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31286 [__NR_ftruncate64]: Make code unconditional.
31287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31289 include <kernel-features.h>.
31290 [!__NR_ftruncate64]: Remove conditional code.
31291 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31292 [__NR_ftruncate64]: Make code unconditional.
31293 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31295 include <kernel-features.h>.
31296 [!__NR_ftruncate64]: Remove conditional code.
31297 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31298 [__NR_ftruncate64]: Make code unconditional.
31299 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31301 * configure.in (libc_cv_fpie): Weaken to a compile test using
31302 LIBC_TRY_CC_OPTION.
31303 * configure: Regenerated.
31305 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31320 2012-05-27 David S. Miller <davem@davemloft.net>
31322 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31324 (__Q_simulate_exceptions): Return void. Change to simulate
31325 exceptions by writing into the %fsr.
31326 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31327 (__Qp_handle_exceptions): Likewise.
31329 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31330 __Qp_handle_exceptions.
31331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31332 __Qp_handle_exceptions.
31333 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31334 as unused and give dummy FP_RND_NEAREST initializer.
31335 (FP_INHIBIT_RESULTS): Define.
31336 (___Q_simulate_exceptions): Update declaration.
31337 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31339 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31340 as unused and give dummy FP_RND_NEAREST initializer.
31341 (__Qp_handle_exceptions): Update declaration.
31342 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31345 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31347 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31348 the temporary FPU control word.
31349 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31350 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31351 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31352 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31353 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31354 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31355 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31356 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31357 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31358 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31359 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31361 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31363 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31366 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31368 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31369 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31370 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31371 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31373 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31374 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31377 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31379 * po/h.po: Update from translation team.
31381 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31383 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31385 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31386 handling of denormals.
31387 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31388 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31389 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31390 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31396 2012-05-26 Marek Polacek <polacek@redhat.com>
31399 * math/libm-test.inc (fma_test): Don't always expect underflow
31402 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31405 * elf/tst-execstack.c: Include stackinfo.h.
31406 (do_test): Adjust test case to ensure that pthread_getattr_np
31407 behaviour remains the same after marking stack executable.
31409 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31411 * sysdeps/unix/sysv/linux/kernel-features.h
31412 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31413 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31415 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31416 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31417 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31419 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31420 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31422 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31424 * configure.in: Define the default includes to being none.
31425 * configure: Regenerated.
31427 2012-05-25 Roland McGrath <roland@hack.frob.com>
31429 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31430 * sysdeps/x86_64/setjmp.S: Likewise.
31431 * sysdeps/i386/bsd-setjmp.S: Likewise.
31432 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31433 * sysdeps/i386/setjmp.S: Likewise.
31434 * sysdeps/i386/__longjmp.S: Likewise.
31435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31436 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31438 * include/stap-probe.h: New file.
31439 * configure.in: Handle --enable-systemtap.
31440 * configure: Regenerated.
31441 * config.h.in (USE_STAP_PROBE): New #undef.
31442 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31443 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31444 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31446 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31450 to 2.4.0 where earlier.
31451 * sysdeps/unix/sysv/linux/configure: Regenerated.
31452 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31453 <kernel-features.h>.
31454 [__ASSUME_32BITUIDS]: Make code unconditional.
31455 [!__ASSUME_32BITUIDS]: Remove conditional code.
31456 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31457 <kernel-features.h>.
31458 [__ASSUME_32BITUIDS]: Make code unconditional.
31459 [!__ASSUME_32BITUIDS]: Remove conditional code.
31460 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31461 [__ASSUME_32BITUIDS]: Make code unconditional.
31462 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31463 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31464 <kernel-features.h>.
31465 [__ASSUME_32BITUIDS]: Make code unconditional.
31466 [!__ASSUME_32BITUIDS]: Remove conditional code.
31467 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31468 <kernel-features.h>.
31469 [__ASSUME_32BITUIDS]: Make code unconditional.
31470 [!__ASSUME_32BITUIDS]: Remove conditional code.
31471 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
31504 <kernel-features.h>.
31505 [__NR_setresgid] (__setresgid): Do not declare.
31506 [__ASSUME_32BITUIDS]: Make code unconditional.
31507 [!__ASSUME_32BITUIDS]: Remove conditional code.
31508 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31509 <kernel-features.h>.
31510 [__NR_setresuid] (__setresuid): Do not declare.
31511 [__ASSUME_32BITUIDS]: Make code unconditional.
31512 [!__ASSUME_32BITUIDS]: Remove conditional code.
31513 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31514 <kernel-features.h>.
31515 [__ASSUME_32BITUIDS]: Make code unconditional.
31516 [!__ASSUME_32BITUIDS]: Remove conditional code.
31517 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31518 <kernel-features.h>.
31519 [__ASSUME_32BITUIDS]: Make code unconditional.
31520 [!__ASSUME_32BITUIDS]: Remove conditional code.
31521 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
31554 (__ASSUME_SETRESUID_SYSCALL): Remove.
31555 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31556 (__ASSUME_32BITUIDS): Likewise.
31557 (__ASSUME_LDT_WORKS): Likewise.
31558 (__ASSUME_O_DIRECTORY): Likewise.
31559 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31560 architecture but not kernel version.
31561 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31562 (__ASSUME_MMAP2_SYSCALL): Likewise.
31563 (__ASSUME_STAT64_SYSCALL): Likewise.
31564 (__ASSUME_IPC64): Likewise.
31565 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31566 <kernel-features.h>.
31567 [__ASSUME_32BITUIDS]: Make code unconditional.
31568 [!__ASSUME_32BITUIDS]: Remove conditional code.
31569 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31570 <kernel-features.h>.
31571 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31572 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31573 132096]: Remove conditional code.
31574 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31575 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31576 <kernel-features.h>.
31577 [__ASSUME_32BITUIDS]: Make code unconditional.
31578 [!__ASSUME_32BITUIDS]: Remove conditional code.
31579 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31580 <kernel-features.h>.
31581 [__ASSUME_32BITUIDS]: Make code unconditional.
31582 [!__ASSUME_32BITUIDS]: Remove conditional code.
31583 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31584 <kernel-features.h>.
31585 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31587 (__setresgid): Do not declare.
31588 [__ASSUME_32BITUIDS]: Make code unconditional.
31589 [!__ASSUME_32BITUIDS]: Remove conditional code.
31590 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31591 <kernel-features.h>.
31592 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31594 (__setresuid): Do not declare.
31595 [__ASSUME_32BITUIDS]: Make code unconditional.
31596 [!__ASSUME_32BITUIDS]: Remove conditional code.
31597 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31598 <kernel-features.h>.
31599 [__ASSUME_32BITUIDS]: Make code unconditional.
31600 [!__ASSUME_32BITUIDS]: Remove conditional code.
31601 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31602 <kernel-features.h>.
31603 [__ASSUME_32BITUIDS]: Make code unconditional.
31604 [!__ASSUME_32BITUIDS]: Remove conditional code.
31606 2012-05-25 Richard Henderson <rth@twiddle.net>
31608 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31609 dl_hwcap to ifunc resolver.
31610 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31612 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31613 dl_hwcap to ifunc resolver.
31614 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31616 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31619 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31620 for |x| <= 2**-26, not 2**-57.
31621 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31624 2012-05-24 Jeff Law <law@redhat.com>
31626 * stdio-common/Makefile (tests): Add bug25.
31627 * stdio-common/bug25.c: New test.
31629 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31632 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31633 multiple of MALLOC_ALIGNMENT in size.
31634 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31636 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31638 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31640 (FILENAME_MAX): Use macro-int-constant.
31641 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31642 (_IOFBF): Use macro-int-constant.
31643 (_IOLBF): Likewise.
31644 (_IONBF): Likewise.
31645 (SEEK_CUR): Likewise.
31646 (SEEK_END): Likewise.
31647 (SEEK_SET): Likewise.
31648 (TMP_MAX): Likewise.
31649 (EOF): Use macro-int-constant. Require < 0.
31650 (NULL): Use macro-constant. Require == 0.
31651 (stdin): Require type to be FILE *.
31652 (stdout): Likewise.
31653 (stderr): Likewise.
31654 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31655 macro-int-constant.
31656 (EXIT_SUCCESS): Likewise.
31657 (NULL): Use macro-constant. Require == 0.
31658 (RAND_MAX): Use macro-int-constant.
31659 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31660 [C99-based standards] (strtof): Require function.
31661 [C99-based standards] (strtold): Likewise.
31662 [C99-based standards] (strtoll): Likewise.
31663 [C99-based standards] (strtoull): Likewise.
31664 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31665 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31666 [ISO || ISO99 || ISO11] (math.h): Likewise.
31667 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31668 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31671 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31674 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31675 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31676 * intl/dgettext.c (DCGETTEXT): Likewise.
31677 * intl/gettext.c (DCGETTEXT): Likewise.
31678 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31679 * posix/regex_internal.h (gettext): Likewise.
31680 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31681 Remove declaration.
31682 * include/argz.h (__argz_count_internal)
31683 (__argz_stringify_internal): Remove declaration.
31684 (__argz_count, __argz_stringify): Declare hidden proto.
31685 * intl/dcgettext.c: Remove use of INTDEF.
31686 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31687 * string/argz-stringify.c: Likewise.
31688 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31689 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31690 Declare hidden proto.
31691 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31692 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31693 Declare hidden proto.
31694 * include/stdio.h (__asprintf_internal): Don't declare.
31695 (__asprintf): Don't define as macro. Declare hidden proto.
31696 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31697 (__fsetlocking): Declare hidden proto.
31698 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31699 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31701 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31702 (_IO_setlinebuf): Remove use of INTUSE.
31703 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31704 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31705 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31706 Remove declaration.
31707 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31708 (_IO_do_flush): Remove use of INTUSE.
31709 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31710 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31711 (_IO_adjust_column, _IO_least_wmarker)
31712 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31713 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31714 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31715 (_IO_default_doallocate, _IO_wdefault_doallocate)
31716 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31717 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31718 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31719 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31720 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31721 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31722 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31723 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31724 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31725 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31726 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31727 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31728 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31730 (_IO_flush_all_internal, _IO_adjust_column_internal)
31731 (_IO_default_uflow_internal, _IO_default_finish_internal)
31732 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31733 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31734 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31735 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31736 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31737 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31738 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31739 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31740 (_IO_file_close_internal, _IO_file_close_it_internal)
31741 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31742 (_IO_file_init_internal, _IO_file_attach_internal)
31743 (_IO_file_fopen_internal, _IO_file_read_internal)
31744 (_IO_file_sync_internal, _IO_file_seek_internal)
31745 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31746 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31747 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31748 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31749 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31750 (_IO_list_all_internal, _IO_link_in_internal)
31751 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31752 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31753 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31754 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31755 (_IO_do_write_internal, _IO_padn_internal)
31756 (_IO_getline_info_internal, _IO_getline_internal)
31757 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31758 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31759 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31760 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31761 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31762 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31763 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31764 with libc_hidden_ver, remove use of INTUSE.
31765 * libio/genops.c: Likewise.
31766 * libio/freopen.c: Likewise.
31767 * libio/freopen64.c: Likewise.
31768 * libio/iofclose.c: Likewise.
31769 * libio/iofdopen.c: Likewise.
31770 * libio/iofflush.c: Likewise.
31771 * libio/iofflush_u.c: Likewise.
31772 * libio/iofgets.c: Likewise.
31773 * libio/iofgets_u.c: Likewise.
31774 * libio/iofopen.c: Likewise.
31775 * libio/iofopncook.c: Likewise.
31776 * libio/iofread.c: Likewise.
31777 * libio/iofread_u.c: Likewise.
31778 * libio/ioftell.c: Likewise.
31779 * libio/iofwrite.c: Likewise.
31780 * libio/iogetline.c: Likewise.
31781 * libio/iogets.c: Likewise.
31782 * libio/iogetwline.c: Likewise.
31783 * libio/iopadn.c: Likewise.
31784 * libio/iopopen.c: Likewise.
31785 * libio/ioseekoff.c: Likewise.
31786 * libio/ioseekpos.c: Likewise.
31787 * libio/iosetbuffer.c: Likewise.
31788 * libio/iosetvbuf.c: Likewise.
31789 * libio/ioungetc.c: Likewise.
31790 * libio/ioungetwc.c: Likewise.
31791 * libio/iovdprintf.c: Likewise.
31792 * libio/iovsprintf.c: Likewise.
31793 * libio/iovsscanf.c: Likewise.
31794 * libio/memstream.c: Likewise.
31795 * libio/obprintf.c: Likewise.
31796 * libio/oldfileops.c: Likewise.
31797 * libio/oldiofclose.c: Likewise.
31798 * libio/oldiofdopen.c: Likewise.
31799 * libio/oldiofopen.c: Likewise.
31800 * libio/oldiopopen.c: Likewise.
31801 * libio/oldstdfiles.c: Likewise.
31802 * libio/putc.c: Likewise.
31803 * libio/setbuf.c: Likewise.
31804 * libio/setlinebuf.c: Likewise.
31805 * libio/stdfiles.c: Likewise.
31806 * libio/strops.c: Likewise.
31807 * libio/vasprintf.c: Likewise.
31808 * libio/vscanf.c: Likewise.
31809 * libio/vsnprintf.c: Likewise.
31810 * libio/vswprintf.c: Likewise.
31811 * libio/wfiledoalloc.c: Likewise.
31812 * libio/wfileops.c: Likewise.
31813 * libio/wgenops.c: Likewise.
31814 * libio/wmemstream.c: Likewise.
31815 * libio/wstrops.c: Likewise.
31816 * libio/__fpurge.c: Likewise.
31817 * libio/__fsetlocking.c: Likewise.
31818 * assert/assert.c: Likewise.
31819 * debug/fgets_chk.c: Likewise.
31820 * debug/fgets_u_chk.c: Likewise.
31821 * debug/fread_chk.c: Likewise.
31822 * debug/fread_u_chk.c: Likewise.
31823 * debug/gets_chk.c: Likewise.
31824 * debug/obprintf_chk.c: Likewise.
31825 * debug/vasprintf_chk.c: Likewise.
31826 * debug/vdprintf_chk.c: Likewise.
31827 * debug/vsnprintf_chk.c: Likewise.
31828 * debug/vsprintf_chk.c: Likewise.
31829 * malloc/mtrace.c: Likewise.
31830 * misc/error.c: Likewise.
31831 * misc/syslog.c: Likewise.
31832 * stdio-common/asprintf.c: Likewise.
31833 * stdio-common/fxprintf.c: Likewise.
31834 * stdio-common/getw.c: Likewise.
31835 * stdio-common/isoc99_fscanf.c: Likewise.
31836 * stdio-common/isoc99_scanf.c: Likewise.
31837 * stdio-common/isoc99_vfscanf.c: Likewise.
31838 * stdio-common/isoc99_vscanf.c: Likewise.
31839 * stdio-common/isoc99_vsscanf.c: Likewise.
31840 * stdio-common/printf-prs.c: Likewise.
31841 * stdio-common/printf_fp.c: Likewise.
31842 * stdio-common/printf_fphex.c: Likewise.
31843 * stdio-common/printf_size.c: Likewise.
31844 * stdio-common/putw.c: Likewise.
31845 * stdio-common/scanf.c: Likewise.
31846 * stdio-common/sprintf.c: Likewise.
31847 * stdio-common/tmpfile.c: Likewise.
31848 * stdio-common/vfprintf.c: Likewise.
31849 * stdio-common/vfscanf.c: Likewise.
31850 * stdlib/strfmon_l.c: Likewise.
31851 * sunrpc/openchild.c: Likewise.
31852 * sunrpc/xdr_stdio.c: Likewise.
31853 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31854 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31856 2012-05-24 Roland McGrath <roland@hack.frob.com>
31858 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31860 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31861 in the third column, to generate for the shared library an IFUNC
31862 that uses _dl_vdso_vsym.
31863 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31864 * Makeconfig (object-suffixes-noshared): New variable.
31866 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31867 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31868 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31869 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31872 * include/sys/time.h (__gettimeofday): Remove macro.
31873 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31874 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31876 (__gettimeofday): Add libc_hidden_def.
31877 (gettimeofday): Add libc_hidden_weak.
31878 * sysdeps/mach/gettimeofday.c: Likewise.
31879 * sysdeps/posix/gettimeofday.c: Likewise.
31880 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31881 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31883 (__gettimeofday_internal): Remove strong_alias.
31884 (__gettimeofday): Add libc_hidden_def.
31885 (gettimeofday): Add libc_hidden_weak.
31886 * sysdeps/unix/syscalls.list (gettimeofday):
31887 Remove __gettimeofday_internal alias.
31889 2012-05-24 Daniel Jacobowitz <drow@false.org>
31890 H.J. Lu <hongjiu.lu@intel.com>
31893 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31894 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31895 (largebin_index_32_big): New.
31896 (largebin_index): Use it for 16-byte alignment.
31897 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31898 correction with front_misalign.
31900 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31928 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31929 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31931 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31935 * math/libm-test.inc (exp_test): Add test from bug 14036.
31936 (pow_test): Add test from bug 10846.
31938 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31940 (special_function): Do not include flags in test name.
31941 (parse_args): Likewise.
31942 * sysdeps/i386/fpu/libm-test-ulps: Update.
31943 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31944 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31945 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31948 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31950 * math/libm-test.inc ("Philosophy"): Update comment about
31952 (UNDERFLOW_EXCEPTION): New macro.
31953 (UNDERFLOW_EXCEPTION_OK): Likewise.
31954 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31955 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31956 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31957 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31958 (INVALID_EXCEPTION_OK): Update value.
31959 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31960 (OVERFLOW_EXCEPTION_OK): Likewise.
31961 (IGNORE_ZERO_INF_SIGN): Likewise.
31962 (test_exceptions): Handle underflow exceptions.
31963 (acos_test): Update for underflow exception expectations.
31964 (cexp_test): Likewise.
31965 (clog_test): Likewise.
31966 (clog10_test): Likewise.
31967 (csqrt_test): Likewise.
31968 (ctan_test): Likewise.
31969 (ctanh_test): Likewise.
31970 (exp_test): Likewise.
31971 (exp10_test): Likewise.
31972 (exp2_test): Likewise.
31973 (expm1_test): Likewise.
31974 (fma_test): Likewise.
31975 (j0_test): Likewise.
31976 (jn_test): Likewise.
31977 (nexttoward_test): Likewise.
31978 (pow_test): Likewise.
31979 (scalbn_test): Likewise.
31980 (scalbln_test): Likewise.
31981 (tan_test): Likewise.
31982 (y1_test): Likewise.
31983 * sysdeps/i386/fpu/libm-test-ulps: Update.
31984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31986 2012-05-23 David S. Miller <davem@davemloft.net>
31988 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31989 (__libc_sigaction): Remove unused local variables.
31991 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31993 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31995 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31997 mktime: avoid signed integer overflow
31998 * time/mktime.c (__mktime_internal): Do not mishandle the case
31999 where diff == INT_MIN.
32001 mktime: simplify computation of average
32002 * time/mktime.c (ranged_convert): Use new time_t_avg function
32003 instead of rolling our own (probably-slower) code.
32005 mktime: do not assume signed right shift propagates sign bit
32006 * time/mktime.c (isdst_differ): New static function.
32007 (__mktime_internal): No need to normalize tm_isdst now.
32008 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32011 mktime: merge another wrapv change from gnulib
32012 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32013 from some compilers.
32015 mktime: remove incorrect attempt at unusual arithmetics
32016 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32017 The code didn't really work on such machines anyway.
32018 (TYPE_MINIMUM): Assume two's complement.
32019 (twos_complement_arithmetic): Verify that long_int and time_t
32020 are two's complement (or unsigned, in the latter case).
32022 mktime: check signed shifts on long_int and time_t, too
32023 * time/mktime.c (SHR): Check that shifts work as desired
32024 on the types long_int and time_t too, as SHR is used on
32027 mktime: do not assume 'long' is wide enough
32028 * time/mktime.c (verify): Move decl up.
32029 (long_int): New type.
32030 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32031 to remove assumption in the code that 'long' is wide enough to
32032 store year values. This assumption is not true on x32 and on
32033 some non-glibc platforms.
32035 mktime: merge wrapv change from gnulib
32036 * time/mktime.c (WRAPV): New macro.
32037 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32038 (guess_time_tm, __mktime_internal): Do not assume that signed
32039 integer overflow wraps around; modern compilers generate code
32040 where this assumption is no longer valid.
32042 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32044 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32045 Replace "jmp L(pseudo_end)" with "ret".
32046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32049 2012-05-23 Andreas Jaeger <aj@suse.de>
32051 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32052 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32054 2012-05-23 Andreas Jaeger <aj@suse.de>
32055 Maximilian Attems <max@stro.at>
32057 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32060 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32062 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32063 code so that pseudo_end is just ret and the stack pointer is
32064 correct also for static library in error case.
32066 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32068 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32069 move to syscalls.list.
32070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32075 * manual/install.texi (Running make install): Do not mention Linux
32076 kernel version for which pt_chown is not needed.
32077 (Linux): Do not mention problems with nscd with 2.0 kernels.
32078 * INSTALL: Regenerated.
32080 2012-05-23 Andreas Jaeger <aj@suse.de>
32082 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32083 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32085 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32086 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32087 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32089 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32091 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32095 * sysdeps/unix/sysv/linux/bits/in.h
32096 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32098 2012-05-22 Roland McGrath <roland@hack.frob.com>
32100 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32101 (PREPARE_VERSION): Just use assert instead, it will be elided
32102 under [NDEBUG] anyway.
32104 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32106 * sysdeps/unix/sysv/linux/Makefile: Include
32107 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32108 (sysdep_routines): Remove sysctl.
32109 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32110 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32111 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32112 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32113 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32115 2012-05-22 Andreas Jaeger <aj@suse.de>
32117 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32118 that pseudo_end is just ret and the stack pointer is correct also
32119 for static library in error case.
32121 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32124 * nss/nsswitch.c (defconfig_entries): New variable.
32125 (__nss_database_lookup): Don't leak defconfig entries.
32126 (nss_parse_service_list): Don't leak on error paths.
32127 (free_database_entries): New function.
32128 (free_defconfig): New function.
32129 (free_mem): Move common code to free_database_entries.
32131 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32135 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32137 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32138 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32141 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32142 (INTERNAL_SYSCALL_TYPES): Likewise.
32143 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32144 (LOAD_REGS_TYPES_[1-6]): Likewise.
32145 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32146 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32148 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32150 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32151 copysignl for GLIBC_2_0.
32152 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32153 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32155 logbl for GLIBC_2_0.
32156 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32157 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32159 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32162 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32164 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32167 * time/mktime.c: Update copyright years.
32169 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32171 mktime: merge comment-quoting-style change from gnulib
32172 * time/mktime.c: Quote 'like this' in comments.
32173 The GNU coding standards suggest that we no longer quote `like this',
32174 as "`" and "'" are typically rendered asymmetrically nowadays.
32175 The typical gnulib style is to quote 'like this' when quoting
32176 code, and "like this" when quoting English.
32178 * time/mktime.c (compile-command): Add "-I.".
32180 mktime: merge mktime-internal.h change from gnulib
32181 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32183 mktime: merge time_r change from gnulib
32184 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32186 mktime: merge DEBUG change from gnulib
32187 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32188 case system <time.h> has a #define.
32190 mktime: merge <sys/types.h> change from gnulib
32191 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32192 since <time.t> is now guaranteed to define time_t.
32194 mktime: merge HAVE_CONFIG_H change from gnulib
32195 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32197 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32202 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32204 (struct rusage): Use anonymous union to pad each field to
32207 2012-05-21 David S. Miller <davem@davemloft.net>
32209 * Makefules (o-iterator): Remove .s cases.
32210 (compile-command.s): Delete.
32211 (COMPILE.s): Delete.
32212 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32214 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32216 * configure.in (libc_cv_predef_stack_protector): Only consider
32217 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32218 * configure: Regenerated.
32220 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32223 New macro. Use R*LP on int and pointer.
32224 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32225 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32226 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32227 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32229 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32230 [__WORDSIZE_TIME64_COMPAT32] instead of
32231 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32232 (struct utmp): Likewise.
32233 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32234 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32236 (__WORDSIZE_TIME64_COMPAT32): This.
32237 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32238 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32239 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32240 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32241 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32242 (__WORDSIZE_TIME64_COMPAT32): New macro.
32244 2012-05-21 Andreas Jaeger <aj@suse.de>
32246 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32247 only if [SHARED]. Add prototype for __wcschr_ia32.
32249 2012-05-21 Roland McGrath <roland@hack.frob.com>
32251 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32252 of %rbp unmolested in the jmp_buf while mangling the low bits.
32253 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32254 unmolested high bits of %rbp while demangling the low bits.
32255 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32257 2012-05-21 Andreas Jaeger <aj@suse.de>
32259 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32260 * sunrpc/svc_simple.c: Use it for registerrpc.
32261 * sunrpc/xcrypt.c: Use it for passwd2des.
32263 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32265 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32267 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32268 Don't define if [__SYSCALL_WORDSIZE != 32].
32269 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32272 2012-05-21 Bruno Haible <bruno@clisp.org>
32273 Andreas Jaeger <aj@suse.de>
32275 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32276 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32277 inptr and inend for must_buffer_ch.
32278 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32279 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32280 * stdio-common/Makefile (tests): Remove bug15.
32281 (bug15-ENV): Remove macro.
32282 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32285 2012-05-19 Andreas Jaeger <aj@suse.de>
32286 Roland McGrath <roland@hack.frob.com>
32288 * manual/contrib.texi: Completely rewritten. It contains now an
32289 alphabetical list of contributors and their contributions.
32291 2012-05-21 Richard Henderson <rth@twiddle.net>
32293 * misc/getauxval.c (__getauxval): Use unsigned long int.
32294 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32295 (getauxval): Use unsigned long int.
32297 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32299 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32301 2012-05-21 Roland McGrath <roland@hack.frob.com>
32303 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32304 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32305 __alignof__ (long double).
32307 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32311 2012-05-20 Richard Henderson <rth@twiddle.net>
32313 * misc/getauxval.c: New file.
32314 * misc/sys/auxv.h: New file.
32315 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32316 (routines): Add getauxval.
32317 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32319 * elf/dl-sysdep.c (_dl_auxv): Remove.
32320 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32321 * elf/dl-support.c (_dl_auxv): New variable.
32322 (_dl_aux_init): Initialize it.
32323 * manual/startup.texi (Auxiliary Vector): New node.
32324 * sysdeps/generic/bits/hwcap.h: New file.
32325 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32326 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32327 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32328 * sysdeps/sparc/sysdep.h: ... here. Include it.
32329 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32330 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32342 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32346 2012-05-19 David S. Miller <davem@davemloft.net>
32348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32350 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32353 * math/s_ccosh.c: Include <float.h>
32354 (__ccosh): Avoid internal overflow calculating sinh and cosh
32355 values before multiplying by sin and cos values.
32356 * math/s_ccoshf.c: Likewise.
32357 * math/s_ccoshl.c: Likewise.
32358 * math/s_csin.c: Likewise.
32359 * math/s_csinf.c: Likewise.
32360 * math/s_csinl.c: Likewise.
32361 * math/s_csinh.c: Likewise.
32362 * math/s_csinhf.c: Likewise.
32363 * math/s_csinhl.c: Likewise.
32364 * math/libm-test.inc (ccos_test): Add more tests.
32365 (ccosh_test): Likewise.
32366 (csin_test): Likewise.
32367 (csinh_test): Likewise.
32368 * sysdeps/i386/fpu/libm-test-ulps: Update.
32369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32371 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32373 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32374 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32376 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32378 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32380 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32381 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32382 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32383 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32384 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32385 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32386 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32387 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32388 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32389 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32390 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32391 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32392 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32393 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32394 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32395 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32396 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32397 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32398 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32399 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32400 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32401 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32402 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32403 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32404 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32405 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32406 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32407 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32408 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32409 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32410 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32412 2012-05-18 Andreas Jaeger <aj@suse.de>
32414 * csu/.gitignore: Delete.
32416 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32418 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32419 (timex): Use __syscall_slong_t.
32421 2012-05-18 Andreas Jaeger <aj@suse.de>
32422 Carlos O'Donell <carlos_odonell@mentor.com>
32424 * manual/install.texi (Configuring and compiling): Update
32425 description about files modified in the source directory.
32426 * INSTALL: Regenerated.
32428 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32430 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32431 value. Use "or" to set return value to -1.
32432 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32433 negate return value.
32435 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32437 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32438 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32439 failure if the compiler has Graphite support disabled.
32440 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32442 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32443 (CFLAGS-memmove.c): Likewise.
32444 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32447 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32449 * sysdeps/x86_64/x32/_itoa.h: New file.
32451 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32452 getdents system call only if kernel and user dirents have the
32453 same d_ino and d_off.
32455 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32456 LLONG_MAX != LONG_MAX.
32457 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32458 (_fitoa_word): Likewise.
32460 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32463 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32464 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32466 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32467 include <bits/wordsize.h>. Check __x86_64__ instead of
32469 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32470 if __x86_64__ is defined. Use anonymous union on fpstate.
32472 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32475 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32477 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32478 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32479 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32480 Refer to _rtld_local_ro instead of _rtld_global_ro.
32481 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32483 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32485 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32487 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32488 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32489 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32491 * sysdeps/powerpc/powerpc32/dl-machine.c
32492 (__elf_machine_runtime_setup) [PROF]: Don't reference
32495 2012-05-18 Andreas Jaeger <aj@suse.de>
32497 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32498 function only available for GCCs before 3.4 since GCC 3.4
32499 introduced a builtin.
32501 (llrintf): Likewise.
32502 (llrint): Likewise.
32509 (nearbyint): Likewise.
32510 (nearbyintf): Likewise.
32514 (floorf): Likewise.
32516 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32518 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32519 on both fields and cast pointer to __syscall_ulong_t.
32521 * bits/types.h (__fsword_t): New type.
32522 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32523 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32525 (__FSWORD_T_TYPE): Likewise.
32526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32527 (__FSWORD_T_TYPE): Likewise.
32528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32529 (__FSWORD_T_TYPE): Likewise.
32530 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32531 (__FSWORD_T_TYPE): Likewise.
32532 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32533 __SWORD_TYPE with __fsword_t.
32534 (statfs64): Likewise.
32536 2012-05-17 David S. Miller <davem@davemloft.net>
32538 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32540 2012-05-17 Andreas Jaeger <aj@suse.de>
32542 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32545 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32547 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32549 2012-05-17 Andreas Jaeger <aj@suse.de>
32551 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32554 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32556 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32558 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32560 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32561 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32563 2012-05-17 Andreas Jaeger <aj@suse.de>
32564 Carlos O'Donell <carlos_odonell@mentor.com>
32567 * sysdeps/x86_64/multiarch/init-arch.h
32568 (bit_YMM_Usable): Rename to...
32569 (bit_AVX_Usable): ... this.
32570 (bit_FMA4_Usable): New macro.
32571 (bit_XMM_state): New macro.
32572 (bit_YMM_state): New macro.
32573 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32574 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32575 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32576 (CPUID_OSXSAVE): New macro.
32577 (CPUID_AVX): New macro.
32578 (CPUID_FMA4): New macro.
32579 (index_YMM_Usable): Rename to...
32580 (index_AVX_Usable): ... this.
32581 (HAS_AVX): Use HAS_ARCH_FEATURE.
32582 (HAS_FMA4): Likewise.
32583 (HAS_YMM_USABLE): Remove.
32584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32585 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32587 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32588 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32589 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32590 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32591 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32593 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32595 * math/libm-test.c: Support platforms without multiple rounding modes.
32596 * math/bug-nextafter.c: Support platforms without FP exceptions.
32597 * math/bug-nexttoward.c: Likewise.
32598 * math/test-fenv.c: Likewise.
32599 * math/test-misc.c: Likewise.
32600 * stdlib/bug-getcontext.c: Likewise.
32602 2012-05-17 Andreas Jaeger <aj@suse.de>
32604 * manual/examples/search.c (critter_cmp): Change signature to
32606 * manual/string.texi (Collation Functions): Likewise.
32608 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32610 * bits/types.h: Fold copyright years.
32611 * bits/typesizes.h: Likewise.
32612 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32616 * time/time.h: Likewise.
32618 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32621 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32622 in instead of returning them. Return void.
32623 (__libc_mallinfo): Accumulate over all arenas.
32624 (__malloc_stats): Adjust for change in int_mallinfo interface.
32626 2012-05-16 Roland McGrath <roland@hack.frob.com>
32629 * configure.in (NM): Add AC_CHECK_TOOL for it.
32630 (libc_extra_cflags): New substituted variable.
32631 Check for -fstack-protector being used implicitly.
32632 * configure: Regenerated.
32633 * config.make.in (config-extra-cflags): New variable,
32634 gets @libc_extra_cflags@.
32635 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32638 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32639 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32640 * configure: Regenerated.
32641 * config.make.in (CPPUNDEFS): New substituted variable.
32642 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32643 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32644 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32646 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32648 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32649 (mq_attr): Use __syscall_slong_t.
32651 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32653 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32654 Check __x86_64__ instead of __WORDSIZE.
32655 (_STAT_VER_LINUX): Likewise.
32656 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32657 __syscall_ulong_t and __syscall_slong_t.
32658 (stat64): Likewise.
32660 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32664 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32666 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32670 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32673 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32674 include <bits/wordsize.h>. Check __x86_64__ instead of
32676 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32678 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32681 include <bits/wordsize.h>. Check __x86_64__ instead of
32683 (user_regs_struct): Use "__extension__ unsigned long long"
32684 instead of "unsigned long" if __x86_64__ is defined.
32685 (user): Likewise. Pad after pointer field if __ILP32__ is
32688 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32690 * configure.in (makeinfo): Require version 4.5 or later. Allow
32692 * configure: Regenerated.
32693 * manual/install.texi (texinfo): Increase version requirement to
32695 * INSTALL: Regenerated.
32697 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32699 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32701 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32703 * sysdeps/x86_64/x32/ffs.c: New file.
32705 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32707 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32708 defined. Use __syscall_ulong_t.
32709 (shminfo): Use __syscall_ulong_t.
32710 (shm_info): Likewise.
32712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32715 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32717 (msgqnum_t): Use __syscall_ulong_t.
32718 (msglen_t): Likewise.
32719 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32722 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32723 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32725 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32727 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32728 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32730 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32733 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32734 include <bits/wordsize.h>. Check __x86_64__ instead of
32737 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32738 "unsigned long long int" if __x86_64__ is defined.
32739 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32741 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32742 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32743 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32745 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32747 (GET_PC): Cast to uintptr_t first.
32748 (GET_FRAME): Likewise.
32749 (GET_STACK): Likewise.
32751 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32752 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32754 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32756 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32757 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32758 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32759 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32761 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32765 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32766 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32767 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32769 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32770 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32771 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32779 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32781 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32783 * Makerules (+depfiles): Also collect depfiles from .oS in
32785 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32786 .oS, $(libnldbl-routines)).
32788 * Makerules (native-compile-mkdep-flags): Define.
32789 * sunrpc/Makefile (extra-objs): Add $(addprefix
32790 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32791 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32792 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32793 calling $(make-target-directory).
32795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32797 * bits/types.h (__snseconds_t): Removed.
32798 * time/time.h (struct timespec): Replace __snseconds_t with
32800 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32801 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32804 (__SNSECONDS_T_TYPE): Likewise.
32805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32806 (__SNSECONDS_T_TYPE): Likewise.
32807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32808 (__SNSECONDS_T_TYPE): Likewise.
32810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32812 * sysdeps/mach/hurd/bits/typesizes.h
32813 (__SYSCALL_SLONG_TYPE): New macro.
32814 (__SYSCALL_ULONG_TYPE): Likewise.
32816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32818 * bits/types.h (__syscall_slong_t): New type.
32819 (__syscall_ulong_t): Likewise.
32821 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32822 (__SYSCALL_ULONG_TYPE): Likewise.
32823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32824 (__SYSCALL_SLONG_TYPE): Likewise.
32825 (__SYSCALL_ULONG_TYPE): Likewise.
32826 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32827 (__SYSCALL_SLONG_TYPE): Likewise.
32828 (__SYSCALL_ULONG_TYPE): Likewise.
32829 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32830 (__SYSCALL_SLONG_TYPE): Likewise.
32831 (__SYSCALL_ULONG_TYPE): Likewise.
32833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32835 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32836 Add sigaltstack-offsets.sym.
32837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32838 <sigaltstack-offsets.h>.
32839 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32840 longjmp_msg pointer.
32841 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32842 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32844 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32846 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32848 * elf/stackguard-macros.h: Remove file.
32849 * sysdeps/generic/stackguard-macros.h: New file.
32850 * sysdeps/i386/stackguard-macros.h: Likewise.
32851 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32852 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32853 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32854 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32855 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32856 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32857 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32858 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32859 <elf/stackguard-macros.h>.
32862 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32863 __aligned__ in attribute.
32864 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32865 (gregset_t): Likewise.
32867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32869 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32870 * sysdeps/x86_64/64/Implies-after: Here. New file.
32871 * sysdeps/x86_64/x32/Implies-after: New file.
32873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32875 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32876 and access return value for _dl_profile_fixup. Use R10_LP to
32879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32881 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32885 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32886 * sysdeps/x86_64/x32/sysdep.h: New file.
32888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32890 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32891 * sysdeps/x86_64/setjmp.S: Likewise.
32893 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32896 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32897 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32898 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32899 remove unused global constant.
32901 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32903 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32904 include of <not-cancel.h>.
32906 2012-05-15 Roland McGrath <roland@hack.frob.com>
32908 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32910 2012-05-15 Jeff Law <law@redhat.com>
32911 Andreas Jaeger <aj@suse.de>
32914 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32916 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32917 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32918 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32919 code changing __hst_map_handle.map.
32921 2012-05-15 Roland McGrath <roland@hack.frob.com>
32923 * configure.in (sysnames): Look for Implies-before and Implies-after
32925 * configure: Regenerated.
32927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32929 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32930 8-byte data alignment with LP_SIZE alignment.
32932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32934 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32939 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32943 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32944 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32945 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32947 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32951 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32952 (stackinfo_sub_sp): Likewise.
32954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32956 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32961 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32966 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32971 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32975 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32976 into R11_LP and load __x86_64_shared_cache_size_half into
32979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32981 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32984 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32992 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32993 powerpc32/power7/fpu/s_logb.c via #include.
32994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32995 powerpc32/power7/fpu/s_logbf.c via #include.
32996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32997 powerpc32/power7/fpu/s_logbl.c via #include.
32999 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33001 * README.libm: Remove file.
33003 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33005 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33006 count for x32. Use R*_LP and omit operand-size suffix.
33008 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33010 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33011 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33012 * sysdeps/x86_64/x32/shlib-versions: New file.
33014 2012-05-14 Roland McGrath <roland@hack.frob.com>
33016 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33017 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33018 Use _dl_fatal_printf instead.
33020 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33022 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33023 set if not set by the user. Do not allow for being unset.
33024 * sysdeps/unix/sysv/linux/configure: Regenerated.
33026 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33028 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33029 the `q' suffix from lea and replace .quad with ASM_ADDR.
33031 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33034 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33036 (PTR_DEMANGLE): Likewise.
33038 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33040 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33042 (ASM_ADDR): Likewise.
33043 (RAX_LP): Likewise.
33044 (RBP_LP): Likewise.
33045 (RBX_LP): Likewise.
33046 (RCX_LP): Likewise.
33047 (RDI_LP): Likewise.
33048 (RSI_LP): Likewise.
33049 (RSP_LP): Likewise.
33052 (R10_LP): Likewise.
33053 (R10_LP): Likewise.
33054 (R11_LP): Likewise.
33055 (R12_LP): Likewise.
33056 (R13_LP): Likewise.
33057 (R14_LP): Likewise.
33058 (R15_LP): Likewise.
33060 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33062 * sysdeps/x86_64/x32/dl-machine.h: New file.
33064 2012-05-14 Andreas Jaeger <aj@suse.de>
33066 * manual/Makefile (subdir): Remove export of subdir.
33067 (all): Remove target.
33068 (.PHONY): Remove all from list.
33069 (mkinstalldirs): Remove.
33070 (.PHONY): Remove installdirs from list.
33071 ($(inst_infodir)/libc.info): Use make-target-directory.
33072 (installdirs): Remove.
33073 (subdir_%): Remove.
33074 (glibc-targets): Remove.
33077 ($(objpfx)stubs ../po/manual.pot): Remove.
33078 ($(objpfx)stamp%): Remove.
33079 (make-target-directory): Remove.
33080 (subdir_install): Remove.
33081 (routines): Remove.
33088 * manual/.gitignore: Remove, it's not needed anymore.
33089 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33091 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33093 (texis): Renamed to $(objpfx)texis.
33094 (texis-path): New, contains path to generated files.
33095 (chapters.%): Use texis-path for complete path, add extra argument
33097 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33098 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33099 (summary,texi, stamp-summary): Use complete path of
33100 files. Generate files in build dir.
33101 (dir-add.texi): Build in build dir.
33102 (libm-err.texi,stamp-libm-err): Likewise.
33103 (version.texi, stamp-version): Likewise.
33104 (.%c.texi): Likewise.
33105 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33106 (mostlyclean): Remove target.
33107 (realclean): Remove target.
33108 (generated): Add new variable with contents from mostlyclean and
33109 realclean, remove entries duplicated in common-mostlyclean, add
33110 stamp-libm-err and stamp-version.
33111 (generated-dirs): Add libc directory.
33112 ($(inst_infodir)/libc.info): Install files from build dir.
33114 * manual/install.texi (Configuring and compiling): Adjust since
33115 the info files are not part of the tar ball anymore.
33117 2012-05-14 Andreas Jaeger <aj@suse.de>
33119 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33122 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33125 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33126 to 2.2.0 where earlier.
33127 * sysdeps/unix/sysv/linux/configure: Regenerated.
33128 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33129 Remove conditional code.
33130 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33131 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33132 Remove conditional code.
33133 [!__NR_lchown]: Likewise.
33134 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33135 [__NR_lchown]: Likewise.
33136 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33137 comment referencing __ASSUME_LCHOWN_SYSCALL.
33138 * sysdeps/unix/sysv/linux/i386/sigaction.c
33139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33141 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33142 Remove conditional code.
33143 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33144 (__protocol_available): Remove #if 0 code.
33145 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33147 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33148 * sysdeps/unix/sysv/linux/kernel-features.h
33149 (__ASSUME_GETCWD_SYSCALL): Don't define.
33150 (__ASSUME_REALTIME_SIGNALS): Likewise.
33151 (__ASSUME_PREAD_SYSCALL): Likewise.
33152 (__ASSUME_PWRITE_SYSCALL): Likewise.
33153 (__ASSUME_POLL_SYSCALL): Likewise.
33154 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33155 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33157 (__ASSUME_SIOCGIFNAME): Don't define.
33158 (__ASSUME_MSG_NOSIGNAL): Likewise.
33159 (__ASSUME_SENDFILE): Define unconditionally.
33160 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33161 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33163 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33164 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33165 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33166 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33167 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33168 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33169 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33183 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33186 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33189 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33192 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33193 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33194 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33195 Remove conditional code.
33196 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33197 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33198 Remove conditional code.
33199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33200 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33201 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33202 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33203 Remove conditional code.
33204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33205 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33206 Remove conditional code.
33207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33208 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33209 Remove conditional code.
33210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33211 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33212 Remove conditional code.
33213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33214 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33215 Remove conditional code.
33216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33217 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33220 * sysdeps/unix/sysv/linux/sigaction.c
33221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33223 * sysdeps/unix/sysv/linux/sigpending.c
33224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33226 * sysdeps/unix/sysv/linux/sigprocmask.c
33227 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33228 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33229 * sysdeps/unix/sysv/linux/sigsuspend.c
33230 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33231 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33232 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33233 (__libc_missing_rt_sigs): Remove.
33234 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33235 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33236 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33237 Remove conditional code.
33238 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33239 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33242 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33243 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33244 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33246 2012-05-14 Andreas Jaeger <aj@suse.de>
33248 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33249 it's not used in glibc.
33250 (__coshm1): Likewise.
33251 (__acosh1p): Likewise.
33254 * manual/string.texi (Copying and Concatenation): Add missing
33255 variable in concat example.
33256 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33258 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33261 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33262 __builtin_clzl with __builtin_clzll.
33264 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33267 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33270 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33272 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33273 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33274 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33275 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33277 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33279 * NEWS: Update ia64 info.
33281 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33283 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33286 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33288 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33289 * sysdeps/unix/syscalls.list (dup3): Likewise.
33290 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33291 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33293 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33295 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33296 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33298 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33300 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33302 (TLS_IE): Use mov/add instead of movq/addq to load thread
33304 (TLS_GD_PREFIX): New.
33307 2012-05-11 David S. Miller <davem@davemloft.net>
33309 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33310 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33311 (_FPU_SETCW): Likewise.
33313 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33315 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33316 is 32-byte aligned.
33318 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33321 * iconvdata/gb18030.c: Update tables.
33322 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33323 characters specially.
33324 (BODY for TO_LOOP): Add encoding of missing ranges.
33326 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33329 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33330 * sysdeps/mach/hurd/dup3.c: Likewise.
33331 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33332 * sysdeps/powerpc/memmove.c:: Likewise.
33334 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33337 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33339 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33341 * elf/elf.h (R_X86_64_RELATIVE64): New.
33342 (R_X86_64_NUM): Updated.
33343 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33344 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33345 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33346 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33347 tst-quad1pie tst-quad2pie
33348 (modules-names): Add tst-quadmod1 tst-quadmod2.
33349 ($(objpfx)tst-quad1): New dependency.
33350 ($(objpfx)tst-quad2): Likewise.
33351 ($(objpfx)tst-quad1pie): Likewise.
33352 ($(objpfx)tst-quad2pie): Likewise.
33353 * sysdeps/x86_64/tst-quad1.c: New file.
33354 * sysdeps/x86_64/tst-quad1pie.c: New file.
33355 * sysdeps/x86_64/tst-quad2.c: Likewise.
33356 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33357 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33358 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33359 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33360 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33362 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33364 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33365 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33366 * streams/stropts.h (t_scalar_t): Define type.
33368 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33369 (_PATH_PRESERVE): Set to "/var/lib".
33370 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33372 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33375 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33376 if __dir_mkfile succeeded.
33378 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33379 checking for _hurd_dtablesize. Unlock it right after having
33380 finished _hurd_dtable allocation.
33382 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33384 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33385 * sysdeps/mach/hurd/configure: Regenerated.
33386 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33387 special-casing to...
33388 * sysdeps/gnu/configure.in: ... this new file.
33389 * sysdeps/unix/sysv/linux/configure: Regenerated.
33390 * sysdeps/gnu/configure: New generated file.
33392 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33393 for Linux: use nsec instead of usec, as well as:
33394 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33395 members of type struct timespec.
33396 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33398 (struct stat64): Likewise.
33399 (_STATBUF_ST_NSEC): New macro.
33400 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33402 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33403 __strtoul_internal rather than strtoul.
33405 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33407 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33412 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33413 which preserves existing values.
33414 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33416 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33418 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33419 TIMEOUT values. Return EINVAL for NFDS values either negative or
33420 greater than FD_SETSIZE.
33422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33424 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33425 allocated, call __vm_protect to finish enabling the existing space, and
33426 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33427 allocate the remainder.
33429 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33431 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33432 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33434 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33436 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33437 sysdeps/mach/hurd/readlink.c.
33439 * posix/tst-sysconf.c (posix_options): Only use
33440 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33441 _POSIX_SYNCHRONIZED_IO when they are defined
33442 * sysdeps/mach/hurd/bits/posix_opt.h:
33443 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33444 (_XOPEN_REALTIME): Undefine macro.
33445 (_XOPEN_REALTIME_THREADS): Undefine macro.
33446 (_XOPEN_SHM): Undefine macro.
33447 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33449 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33451 (_POSIX_ASYNC_IO): Undefine macro.
33452 (_POSIX_PRIORITIZED_IO): Undefine macro.
33453 (_POSIX_SPIN_LOCKS): Define macro to -1.
33455 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33456 SA_NODEFER, SA_RESETHAND.
33457 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33458 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33461 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33463 * elf/Makefile (pldd-modules): Define unconditionally.
33465 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33467 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33471 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33472 Return ENOENT when name is empty.
33473 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33475 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33477 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33479 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33483 Fix mlock in all cases except non-readable pages.
33484 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33485 instead of VM_PROT_ALL as parameter to __vm_wire function.
33487 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33488 (__mkdir): When path is `/', just fail with EEXIST.
33489 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33491 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33493 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33494 <sys/uio.h> (for writev).
33495 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33496 and <sys/param.h> (for MIN).
33498 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33500 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33501 REQUESTED_TIME. Properly set the remaining time and return EINTR
33504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33506 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33507 Depend on against $(link-rpcuserlibs).
33509 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33511 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33512 (__libc_stack_end): Do not use attribute_relro.
33513 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33514 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33515 to libthread-provided value.
33516 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33522 * bits/libc-lock.h (__libc_once_get): New macro.
33523 * sysdeps/mach/bits/libc-lock.h: Likewise.
33524 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33526 instead of using implementation details.
33528 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33529 * libio/freopen.c: Likewise.
33530 * libio/freopen64.c: Likewise.
33531 * misc/syslog.c: Likewise.
33532 * nscd/connections.c: Likewise.
33533 * nscd/netgroupcache.c: Likewise.
33534 * sysdeps/posix/getcwd.c: Likewise.
33536 2012-05-10 Roland McGrath <roland@hack.frob.com>
33538 * math/w_ilogbf.c: Add #include <limits.h>.
33540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33542 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33543 path instead of returning without unlocking.
33545 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33546 immediate-write ioctls.
33547 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33549 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33551 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33552 __builtin_frame_address instead of making assumptions about the
33553 location of the return address relative to DATA. Force early load of
33554 the return address.
33555 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33556 __builtin_frame_address.
33559 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33560 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33561 implement dup3 and do some further code clean-ups.
33562 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33563 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33565 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33567 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33569 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33570 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33571 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33572 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33573 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33576 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33577 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33578 when handler == SIG_ERR, not when handler != SIG_ERR.
33580 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33582 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33583 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33586 accept4 for GNU Hurd.
33587 * include/sys/socket.h (__libc_accept4): New prototype.
33588 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33589 to implement __libc_accept4.
33590 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33592 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33594 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33595 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33596 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33597 signal-defines.sym.
33599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33601 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33605 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33606 assertion on O_CLOEXEC flag.
33607 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33608 * hurd/intern-fd.c: Likewise.
33609 * hurd/port2fd.c: Likewise.
33611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33614 * bits/in.h (IPV6_PKTINFO): Define new macro.
33615 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33617 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33622 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33623 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33624 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33625 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33627 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33628 * math/libm-test.inc (logb_test) : Additional logb tests.
33630 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33631 Andreas Jaeger <aj@suse.de>
33633 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33634 * configure: Regenerated.
33635 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33636 * config.make.in (link-obsolete-rpc): New substituted variable.
33637 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33638 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33639 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33640 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33641 so that libc.a contains the symbols.
33642 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33643 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33644 * sunrpc/auth_none.c: Likewise.
33645 * sunrpc/auth_unix.c: Likewise.
33646 * sunrpc/authdes_prot.c: Likewise.
33647 * sunrpc/authuxprot.c: Likewise.
33648 * sunrpc/clnt_gen.c: Likewise.
33649 * sunrpc/clnt_perr.c: Likewise.
33650 * sunrpc/clnt_raw.c: Likewise.
33651 * sunrpc/clnt_simp.c: Likewise.
33652 * sunrpc/clnt_tcp.c: Likewise.
33653 * sunrpc/clnt_udp.c: Likewise.
33654 * sunrpc/clnt_unix.c: Likewise.
33655 * sunrpc/des_crypt.c: Likewise.
33656 * sunrpc/des_soft.c: Likewise.
33657 * sunrpc/get_myaddr.c: Likewise.
33658 * sunrpc/key_call.c: Likewise.
33659 * sunrpc/key_prot.c: Likewise.
33660 * sunrpc/netname.c: Likewise.
33661 * sunrpc/pm_getmaps.c: Likewise.
33662 * sunrpc/pm_getport.c: Likewise.
33663 * sunrpc/pmap_clnt.c: Likewise.
33664 * sunrpc/pmap_prot.c: Likewise.
33665 * sunrpc/pmap_prot2.c: Likewise.
33666 * sunrpc/pmap_rmt.c: Likewise.
33667 * sunrpc/publickey.c: Likewise.
33668 * sunrpc/rpc_cmsg.c: Likewise.
33669 * sunrpc/rpc_common.c: Likewise.
33670 * sunrpc/rpc_dtable.c: Likewise.
33671 * sunrpc/rpc_prot.c: Likewise.
33672 * sunrpc/rpc_thread.c: Likewise.
33673 * sunrpc/rtime.c: Likewise.
33674 * sunrpc/svc.c: Likewise.
33675 * sunrpc/svc_auth.c: Likewise.
33676 * sunrpc/svc_raw.c: Likewise.
33677 * sunrpc/svc_run.c: Likewise.
33678 * sunrpc/svc_tcp.c: Likewise.
33679 * sunrpc/svc_udp.c: Likewise.
33680 * sunrpc/svc_unix.c: Likewise.
33681 * sunrpc/svcauth_des.c: Likewise.
33682 * sunrpc/xcrypt.c: Likewise.
33683 * sunrpc/xdr.c: Likewise.
33684 * sunrpc/xdr_array.c: Likewise.
33685 * sunrpc/xdr_float.c: Likewise.
33686 * sunrpc/xdr_intXX_t.c: Likewise.
33687 * sunrpc/xdr_mem.c: Likewise.
33688 * sunrpc/xdr_rec.c: Likewise.
33689 * sunrpc/xdr_ref.c: Likewise.
33690 * sunrpc/xdr_sizeof.c: Likewise.
33691 * sunrpc/xdr_stdio.c: Likewise.
33693 2012-05-10 Roland McGrath <roland@hack.frob.com>
33695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33696 change. Update copyright years.
33698 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33700 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33702 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33703 Joseph Myers <joseph@codesourcery.com>
33704 Paul Pluzhnikov <ppluzhnikov@google.com>
33707 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33709 [cross-compiling] (extra-libs): Likewise.
33710 [cross-compiling] (extra-libs-others): Likewise.
33711 [cross-compiling] (librpcsvc-routines): Likewise.
33712 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33713 [cross-compiling] (omit-deps): Likewise.
33714 (sunrpc-CPPFLAGS): New variable.
33715 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33716 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33717 (cross-rpcgen-objs): New variable.
33718 (extra-objs): Append $(cross-rpcgen-objs).
33719 ($(cross-rpcgen-objs)): New rule.
33720 ($(objpfx)cross-rpcgen): Likewise.
33721 (rpcgen-cmd): Define to use $(built-program-file). Expand
33723 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33724 ($(objpfx)x%.stmp): Likewise.
33725 * sunrpc/proto.h [IS_IN_build] (_): Define.
33726 [IS_IN_build] (_libc_intl_domainname): Likewise.
33728 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33730 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33731 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33732 and R_X86_64_TPOFF64.
33734 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33736 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33737 sysdeps/unix/sysv/syscalls.list.
33740 * sysdeps/unix/sysv/syscalls.list: Remove file.
33742 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33745 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33746 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33747 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33748 (__LC_IDENTIFICATION): Make these macros useful in #if
33749 expressions, as required by C99.
33751 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33753 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33754 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33757 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33759 * stdlib/longlong.h: Updated from GCC.
33761 2012-05-09 Andreas Jaeger <aj@suse.de>
33763 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33764 default is first entry.
33765 (run_mode): Set type.
33766 (main): Remove informal message about syslog.
33767 (options): Fix typo.
33770 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33773 (llrintf): Likewise.
33774 (llrint): Likewise.
33777 (nearbyint): Likewise.
33778 (nearbyintf): Likewise.
33780 2012-05-09 Andreas Jaeger <aj@suse.de>
33781 Pedro Alves <palves@redhat.com>
33783 * nscd/nscd.c (run_mode): Use enum.
33784 (main): Cleanup coding style issue.
33786 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33787 Andreas Jaeger <aj@suse.de>
33789 * nscd/nscd.c (go_background): Replaced with...
33790 (run_mode): ... this.
33791 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33792 (options): Add -F --foreground.
33793 (main): Implement it.
33794 (parse_opt): Parse it.
33796 2012-05-09 Andreas Jaeger <aj@suse.de>
33799 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33800 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33801 -Wconversion warning.
33802 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33805 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33807 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33809 (LC_ALL): Use macro-int-constant.
33810 (LC_COLLATE): Likewise.
33811 (LC_CTYPE): Likewise.
33812 (LC_MESSAGES): Likewise.
33813 (LC_MONETARY): Likewise.
33814 (LC_NUMERIC): Likewise.
33815 (LC_TIME): Likewise.
33816 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33817 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33819 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33821 [C99-based standards] (float_t): Expect type.
33822 [C99-based standards] (double_t): Expect type.
33823 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33825 [C99-based standards] (HUGE_VALL): Likewise.
33826 [C99-based standards] (INFINITY): Likewise.
33827 [C99-based standards] (NAN): Likewise.
33828 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33829 [C99-based standards] (FP_NAN): Likewise.
33830 [C99-based standards] (FP_NORMAL): Likewise.
33831 [C99-based standards] (FP_SUBNORMAL): Likewise.
33832 [C99-based standards] (FP_ZERO): Likewise.
33833 [C99-based standards] (FP_FAST_FMA): Use
33834 optional-macro-int-constant. Specify type. Require == 1.
33835 [C99-based standards] (FP_FAST_FMAF): Likewise.
33836 [C99-based standards] (FP_FAST_FMAL): Likewise.
33837 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33838 [C99-based standards] (FP_ILOGBNAN): Likewise.
33839 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33841 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33842 [C99-based standards] (math_errhandling): Specify type.
33843 [ISO99 || ISO11] (signgam): Do not allow.
33844 [non-C99-based standards] (copysignf): Do not allow.
33845 [non-C99-based standards] (exp2f): Likewise.
33846 [non-C99-based standards] (log2f): Likewise.
33847 [non-C99-based standards] (modff): Allow.
33848 [non-C99-based standards] (erff): Do not allow.
33849 [non-C99-based standards] (erfcf): Likewise.
33850 [non-C99-based standards] (gammaf): Likewise.
33851 [non-C99-based standards] (hypotf): Likewise.
33852 [non-C99-based standards] (j0f): Likewise.
33853 [non-C99-based standards] (j1f): Likewise.
33854 [non-C99-based standards] (jnf): Likewise.
33855 [non-C99-based standards] (lgammaf): Likewise.
33856 [non-C99-based standards] (tgammaf): Likewise.
33857 [non-C99-based standards] (y0f): Likewise.
33858 [non-C99-based standards] (y1f): Likewise.
33859 [non-C99-based standards] (ynf): Likewise.
33860 [non-C99-based standards] (isnanf): Likewise.
33861 [non-C99-based standards] (acoshf): Likewise.
33862 [non-C99-based standards] (asinhf): Likewise.
33863 [non-C99-based standards] (atanhf): Likewise.
33864 [non-C99-based standards] (cbrtf): Likewise.
33865 [non-C99-based standards] (expm1f): Likewise.
33866 [non-C99-based standards] (ilogbf): Likewise.
33867 [non-C99-based standards] (log1pf): Likewise.
33868 [non-C99-based standards] (logbf): Likewise.
33869 [non-C99-based standards] (nextafterf): Likewise.
33870 [non-C99-based standards] (remainderf): Likewise.
33871 [non-C99-based standards] (rintf): Likewise.
33872 [non-C99-based standards] (scalbf): Likewise.
33873 [non-C99-based standards] (copysignl): Likewise.
33874 [non-C99-based standards] (exp2l): Likewise.
33875 [non-C99-based standards] (log2l): Likewise.
33876 [non-C99-based standards] (modfl): Allow.
33877 [non-C99-based standards] (erfl): Do not allow.
33878 [non-C99-based standards] (erfcl): Likewise.
33879 [non-C99-based standards] (gammal): Likewise.
33880 [non-C99-based standards] (hypotl): Likewise.
33881 [non-C99-based standards] (j0l): Likewise.
33882 [non-C99-based standards] (j1l): Likewise.
33883 [non-C99-based standards] (jnl): Likewise.
33884 [non-C99-based standards] (lgammal): Likewise.
33885 [non-C99-based standards] (tgammal): Likewise.
33886 [non-C99-based standards] (y0l): Likewise.
33887 [non-C99-based standards] (y1l): Likewise.
33888 [non-C99-based standards] (ynl): Likewise.
33889 [non-C99-based standards] (isnanl): Likewise.
33890 [non-C99-based standards] (acoshl): Likewise.
33891 [non-C99-based standards] (asinhl): Likewise.
33892 [non-C99-based standards] (atanhl): Likewise.
33893 [non-C99-based standards] (cbrtl): Likewise.
33894 [non-C99-based standards] (expm1l): Likewise.
33895 [non-C99-based standards] (ilogbl): Likewise.
33896 [non-C99-based standards] (log1pl): Likewise.
33897 [non-C99-based standards] (logbl): Likewise.
33898 [non-C99-based standards] (nextafterl): Likewise.
33899 [non-C99-based standards] (remainderl): Likewise.
33900 [non-C99-based standards] (rintl): Likewise.
33901 [non-C99-based standards] (scalbl): Likewise.
33902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33903 [non-C99-based standards] (FP_*): Do not allow.
33904 [C99-based standards] (FP_*): Change to
33905 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33906 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33908 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33909 (SIG_ERR): Likewise.
33910 [X/Open-based standards] (SIG_HOLD): Likewise.
33911 (SIG_IGN): Likewise.
33912 (SIGABRT): Use macro-int-constant. Specify type. Require
33914 (SIGFPE): Likewise.
33915 (SIGILL): Likewise.
33916 (SIGINT): Likewise.
33917 (SIGSEGV): Likewise.
33918 (SIGTER): Likewise.
33919 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33920 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33921 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33922 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33923 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33924 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33925 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33926 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33927 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33928 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33929 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33930 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33931 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33932 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33933 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33934 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33935 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33936 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33937 [X/Open-based standards] (SIGTRAP): Likewise.
33938 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33939 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33940 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33941 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33942 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33945 2012-05-08 Ian Wienand <ianw@vmware.com>
33948 * time/tzset.c (__tzset_parse_tz): Update default rules for
33949 daylight time changes in the Energy Policy Act of 2005.
33951 2012-05-09 Andreas Jaeger <aj@suse.de>
33954 * elf/ldconfig.c (parse_conf): Change string to make clear that
33955 ldconfig only issued a warning if ld.so.conf does not exist.
33957 2012-05-08 David S. Miller <davem@davemloft.net>
33959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33960 movxtod instead of popping the value on the stack.
33962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33964 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33966 * config.h.in: Add HAVE_ARM_PCS_VFP.
33968 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33971 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33972 checking but the checks are disabled for any reason.
33974 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33976 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33977 and ELF64_R_TYPE with ELFW(R_TYPE).
33979 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33981 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33982 (ulimit): Likewise.
33984 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33985 (settimeofday): Likewise.
33987 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33989 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33990 a struct th_u2 inside the union, and move tu_block/tu_code into
33991 a new th_u3 union of tu_block/tu_code inside of that. Move
33992 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33993 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33994 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33995 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33996 (th_stuff): Change to th_u1.tu_stuff.
33998 (th_msg): Change to th_u1.th_u2.tu_data.
34000 2012-05-07 David S. Miller <davem@davemloft.net>
34002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34005 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34006 (SETUP_PIC_REG): Use it.
34007 (SETUP_PIC_REG_LEAF): Use it.
34009 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34013 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34015 (EXPL_FINITE): Likewise.
34016 (FLDLOG): Likewise.
34017 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34018 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34022 (EXPL_FINITE): Likewise.
34023 (FLDLOG): Likewise.
34024 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34025 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34027 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34028 test of -max_value argument for long double.
34029 * sysdeps/i386/fpu/libm-test-ulps: Update.
34030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34032 2012-05-06 David S. Miller <davem@davemloft.net>
34034 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34035 quad soft-float symbols whose references which are compiler
34037 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34039 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34043 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34045 (EXPL_FINITE): Likewise.
34046 (FLDLOG): Likewise.
34049 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34050 Adjust comments for base varying.
34051 (__expl_finite): Change alias to EXPL_FINITE.
34052 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34054 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34055 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34056 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34057 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34058 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34060 (EXPL_FINITE): Likewise.
34061 (FLDLOG): Likewise.
34064 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34065 Adjust comments for base varying.
34066 (__expl_finite): Change alias to EXPL_FINITE.
34067 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34072 * math/libm-test.inc (check_float_internal): Correct ulp
34073 calculation for subnormal expected results.
34075 2012-05-06 Andreas Jaeger <aj@suse.de>
34077 * Makeconfig (+math-flags): New, set to -frounding-math.
34078 (+cflags): Add +math-flags so that all of glibc gets compiled with
34081 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34083 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34085 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34091 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34092 (__ieee754_expl): Allow for and saturate large arguments.
34093 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34094 (u_threshold): Likewise.
34095 (__exp): Call __ieee754_exp before checking for overflow and
34097 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34098 (u_threshold): Likewise.
34099 (__expf): Call __ieee754_expf before checking for overflow and
34101 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34102 (u_threshold): Likewise.
34103 (__expl): Call __ieee754_expl before checking for overflow and
34105 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34106 (__ieee754_expl): Allow for and saturate large arguments.
34107 * math/libm-test.inc (exp_test): Add another test. Do not allow
34108 missing overflow exception on overflow.
34109 (expm1_test): Do not allow missing overflow exception on overflow.
34111 * sysdeps/i386/fpu/e_expl.c: Move to ...
34112 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34113 rather than using inline asm.
34114 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34115 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34116 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34118 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34121 (signal): Likewise.
34125 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34127 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34128 sysdeps/unix/common/syscalls.list.
34129 (fchmod): Likewise.
34130 (fchown): Likewise.
34131 (ftruncate): Likewise.
34132 (getrusage): Likewise.
34133 (gettimeofday): Likewise.
34134 (setpgid): Likewise.
34135 (setregid): Likewise.
34136 (setreuid): Likewise.
34137 (sigaction): Likewise.
34138 (truncate): Likewise.
34139 (vhangup): Likewise.
34140 * sysdeps/unix/common/syscalls.list: Remove file.
34141 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34142 * sysdeps/unix/sysv/linux/Implies: Likewise.
34144 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34146 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34148 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34152 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34155 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34158 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34161 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34164 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34167 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34170 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34174 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34178 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34181 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34185 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34189 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34191 * sysdeps/unix/common/bits/dirent.h: Remove file.
34192 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34194 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34195 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34196 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34197 * sysdeps/unix/bsd/isatty.c: Likewise.
34198 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34199 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34200 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34202 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34206 long double comparison inaccuracies.
34207 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34210 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34212 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34213 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34215 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34219 nonzero digits before rounding a hex value.
34220 * stdlib/tst-strtod.c (tests): Add another test.
34222 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34224 * sysdeps/s390/fpu/libm-test-ulps: Update.
34226 2012-05-03 Andreas Jaeger <aj@suse.de>
34228 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34229 does not get optimized out.
34230 (malloc_opt_barrier): New.
34232 2012-05-03 Andreas Jaeger <aj@suse.de>
34233 Roland McGrath <roland@hack.frob.com>
34235 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34236 intermediate file deletion.
34237 (generated): Add .symlist files.
34239 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34242 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34243 Redirect under this condition.
34244 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34245 [__USE_GNU] (__dprintf_chk): Not under this condition.
34246 [__USE_GNU] (__vdprintf_chk): Likewise.
34247 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34248 under this condition.
34249 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34250 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34251 [__USE_XOPEN2K8] (vdprintf): Likewise.
34252 [__USE_GNU] (__dprintf_chk): Not under this condition.
34253 [__USE_GNU] (__vdprintf_chk): Likewise.
34254 [__USE_GNU] (dprintf): Likewise.
34255 [__USE_GNU] (vdprintf): Likewise.
34257 2012-05-03 Roland McGrath <roland@hack.frob.com>
34259 * elf/Makefile (common-generated): Set this instead of generated for
34260 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34261 $(all-built-dso)-derived lists.
34263 2012-05-03 Andreas Jaeger <aj@suse.de>
34265 * sysdeps/i386/fpu/libm-test-ulps: Update.
34268 * FAQ.in: Likewise.
34269 * scripts/gen-FAQ.pl: Likewise.
34270 * manual/install.texi (Installation): Point to online location of
34272 * Makefile (files-for-dist): Remove FAQ.
34275 2012-05-02 Allan McRae <allan@archlinux.org>
34277 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34278 (LDFLAGS-reldepmod5.so): Likewise.
34279 (LDFLAGS-reldep6mod1.so): Likewise.
34280 (LDFLAGS-reldep6mod4.so): Likewise.
34281 (LDFLAGS-reldep8mod3.so): Likewise.
34282 (LDFLAGS-unload4mod1.so): Likewise.
34283 (LDFLAGS-unload4mod2.so): Likewise.
34284 (LDFLAGS-tst-initorder): Likewise.
34285 (LDFLAGS-tst-initordera2.so): Likewise.
34286 (LDFLAGS-tst-initordera3.so): Likewise.
34287 (LDFLAGS-tst-initordera4.so): Likewise.
34288 (LDFLAGS-tst-initorderb2.so): Likewise.
34289 (LDFLAGS-noload): Likewise.
34290 (LDFLAGS-next): Likewise.
34291 (LDFLAGS-order2mod1.so): Likewise.
34292 (LDFLAGS-order2mod2.so): Likewise.
34293 (LDFLAGS-tst-initorder2): Likewise.
34294 (LDFLAGS-tst-initorder2a.so): Likewise.
34295 (LDFLAGS-tst-initorder2b.so): Likewise.
34296 (LDFLAGS-tst-initorder2c.so): Likewise.
34297 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34299 2012-05-02 David S. Miller <davem@davemloft.net>
34301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34303 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34306 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34308 2012-05-02 Andreas Jaeger <aj@suse.de>
34310 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34311 since we manipulate rounding mode.
34312 (CPPFLAGS-test-idouble.c): Likewise.
34313 (CPPFLAGS-test-ifloat.c): Likewise.
34314 (CFLAGS-test-ldouble.c): Likewise.
34315 (CFLAGS-test-double.c): Likewise.
34316 (CFLAGS-test-float.c): Likewise.
34317 (CFLAGS-test-misc.c): Likewise.
34318 (CFLAGS-test-test-fenv.c): Likewise.
34320 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34324 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34325 comparisons to determine direction to adjust input.
34327 2012-05-01 Roland McGrath <roland@hack.frob.com>
34329 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34330 output to the target.
34332 * scripts/localplt.awk: New file.
34333 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34334 (check-localplt-CFLAGS): Variable removed.
34335 ($(all-built-dso:=.jmprel)): New static pattern rule.
34336 (generated): Add those targets.
34337 (localplt-built-dso): New variable.
34338 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34340 * elf/check-localplt.c: File removed.
34342 * scripts/check-execstack.awk: New file.
34343 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34344 (check-execstack-CFLAGS): Variable removed.
34345 ($(objpfx)check-execstack.h): Target removed.
34346 ($(objpfx)execstack-default): New target.
34347 (generated): Add that instead of check-execstack.h.
34348 ($(all-built-dso:=.phdr)): New static pattern rule.
34349 (generated): Add those targets.
34350 * elf/check-execstack.c: File removed.
34352 * scripts/check-textrel.awk: New file.
34353 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34354 (check-textrel-CFLAGS): Variable removed.
34355 (all-built-dso): Use := to define.o
34356 ($(all-built-dso:=.dyn)): New static pattern rule.
34357 (generated): Add those targets.
34358 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34359 * config.make.in (READELF): New substituted variable.
34360 * elf/check-textrel.c: File removed.
34362 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34364 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34366 * conform/data/ctype.h-data [C99-based standards] (isblank):
34368 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34369 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34370 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34371 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34372 Specify type. Require positive value.
34373 (EILSEQ): Likewise.
34374 (ERANGE): Likewise.
34375 [ISO || POSIX] (EILSEQ): Do not expect.
34376 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34377 Specify type. Require positive value.
34378 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34379 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34380 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34381 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34382 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34383 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34384 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34385 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34386 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34387 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34388 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34389 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34390 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34391 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34392 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34393 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34394 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34395 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34396 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34397 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34398 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34399 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34400 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34401 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34402 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34403 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34404 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34405 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34406 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34407 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34408 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34409 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34410 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34411 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34412 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34413 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34414 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34415 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34416 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34417 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34418 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34419 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34420 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34421 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34422 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34423 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34424 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34425 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34426 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34427 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34428 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34429 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34430 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34431 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34432 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34433 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34434 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34435 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34436 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34437 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34438 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34439 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34440 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34441 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34442 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34443 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34444 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34445 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34446 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34447 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34448 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34449 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34450 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34451 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34452 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34453 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34454 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34456 (FLT_ROUNDS): Expect as macro, not constant.
34457 (FLT_MANT_DIG): Use macro-int-constant.
34458 (DBL_MANT_DIG): Likewise.
34459 (LDBL_MANT_DIG): Likewise.
34460 (FLT_DIG): Likewise.
34461 (DBL_DIG): Likewise.
34462 (LDBL_DIG): Likewise.
34463 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34464 (DBL_MIN_EXP): Likewise.
34465 (LDBL_MIN_EXP): Likewise.
34466 (FLT_MAX_EXP): Use macro-int-constant.
34467 (DBL_MAX_EXP): Likewise.
34468 (LDBL_MAX_EXP): Likewise.
34469 (FLT_MAX_10_EXP): Likewise.
34470 (DBL_MAX_10_EXP): Likewise.
34471 (LDBL_MAX_10_EXP): Likewise.
34472 (FLT_MAX): Use macro-constant.
34473 (DBL_MAX): Likewise.
34474 (LDBL_MAX): Likewise.
34475 (FLT_EPSILON): Use macro-constant. Give upper bound.
34476 (DBL_EPSILON): Likewise.
34477 (LDBL_EPSILON): Likewise.
34478 (FLT_MIN): Likewise.
34479 (DBL_MIN): Likewise.
34480 (LDBL_MIN): Likewise.
34481 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34482 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34483 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34484 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34485 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34486 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34487 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34488 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34489 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34490 [ISO11] (FLT_TRUE_MIN): Likewise.
34491 [ISO11] (LDBL_TRUE_MIN): Likewise.
34492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34493 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34494 (SCHAR_MIN): Use macro-int-constant. Specify type.
34495 (SCHAR_MAX): Likewise.
34496 (UCHAR_MAX): Likewise.
34497 (CHAR_MIN): Likewise.
34498 (CHAR_MAX): Likewise.
34499 (MB_LEN_MAX): Use macro-int-constant.
34500 (SHRT_MIN): Use macro-int-constant. Specify type.
34501 (SHRT_MAX): Likewise.
34502 (USHRT_MAX): Likewise.
34503 (INT_MAX): Likewise.
34504 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34506 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34508 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34510 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34511 bound negative. Suffix upper bound with "L".
34512 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34514 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34516 [C99-based standards] (LLONG_MAX): Likewise.
34517 [C99-based standards] (ULLONG_MAX): Likewise.
34518 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34520 [ISO11] (max_align_t): Require type.
34521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34523 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34524 from $CFLAGS, without defining away __attribute__ calls.
34525 (checknamespace): Use $CFLAGS_namespace.
34527 * conform/conformtest.pl (@keywords): Only include C99 keywords
34528 for standards based on C99 or C11.
34530 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34532 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34535 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34536 usability of symbols in #if.
34538 * conform/conformtest.pl: If macro or constant types start
34539 "promoted:", expect the symbol to be of the following type
34540 promoted by the integer promotions.
34542 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34543 in one place. Also handle "macro-constant".
34545 * conform/conformtest.pl: Only accept expected macro values with
34546 "==". Parse all "macro" lines in one place.
34547 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34549 * conform/conformtest.pl: Handle braced types on "constant" lines
34550 instead of handling "typed-constant".
34551 * conform/data/signal.h-data: Use "constant" instead of
34554 * conform/conformtest.pl: Handle "optional-" at start of lines in
34555 one place rather than duplicating several cases. Handle each
34556 format of "macro" line with initial "optional-".
34558 * conform/conformtest.pl: Only accept expected constant or
34559 optional-constant values with "==". Parse all "constant" lines in
34560 one place. Parse all "optional-constant" lines in one place.
34561 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34562 * conform/data/fmtmsg.h-data: Likewise.
34563 * conform/data/netinet/in.h-data: Likewise.
34564 * conform/data/tar.h-data: Likewise.
34565 * conform/data/limits.h-data: Use "==" form on "constant" and
34566 "optional-constant" lines.
34568 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34569 Use -std=c99 for XOPEN2K.
34570 (@knownproblems): Remove.
34571 (newtoken): Don't check %isknown.
34573 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34574 Do not expect macro.
34575 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34576 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34577 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34578 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34579 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34580 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34581 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34582 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34583 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34584 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34585 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34586 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34587 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34588 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34589 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34590 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34591 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34592 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34593 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34594 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34595 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34598 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34599 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34600 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34601 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34602 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34603 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34604 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34605 [XPG3] (acosh): Likewise.
34606 [XPG3] (asinh): Likewise.
34607 [XPG3] (atanh): Likewise.
34608 [XPG3] (cbrt): Likewise.
34609 [XPG3] (expm1): Likewise.
34610 [XPG3] (ilogb): Likewise.
34611 [XPG3] (log1p): Likewise.
34612 [XPG3] (logb): Likewise.
34613 [XPG3] (nextafter): Likewise.
34614 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34615 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34616 [XPG3] (remainder): Likewise.
34617 [XPG3] (rint): Likewise.
34618 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34619 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34620 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34621 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34622 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34623 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34624 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34625 [UNIX98 || XOPEN2K] (scalb): Expect.
34626 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34627 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34628 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34629 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34630 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34631 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34632 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34633 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34634 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34635 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34636 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34637 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34638 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34639 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34640 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34641 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34642 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34643 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34644 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34645 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34646 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34647 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34648 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34649 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34650 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34651 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34652 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34653 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34654 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34655 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34656 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34657 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34658 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34659 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34660 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34661 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34662 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34663 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34664 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34665 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34666 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34667 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34668 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34669 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34670 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34671 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34672 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34673 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34674 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34675 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34676 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34677 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34678 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34679 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34680 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34681 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34682 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34683 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34684 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34685 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34686 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34687 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34688 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34689 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34690 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34691 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34692 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34693 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34694 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34695 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34696 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34697 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34698 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34699 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34700 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34701 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34702 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34703 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34704 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34705 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34706 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34707 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34708 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34709 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34710 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34711 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34712 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34713 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34714 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34715 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34716 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34717 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34718 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34719 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34720 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34721 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34722 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34723 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34724 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34725 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34726 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34727 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34728 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34729 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34735 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34737 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34741 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34742 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34762 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34764 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34765 _XOPEN_SOURCE_EXTENDED for XPG4.
34767 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34769 * Makeconfig (localtime): Remove variable.
34770 (inst_localtime-file): Likewise.
34772 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34793 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34797 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34798 comparisons to determine direction to adjust input.
34799 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34800 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34801 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34803 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34805 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34807 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34808 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34810 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34812 * math/libm-test.inc (nexttoward_test): Add more tests.
34814 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34817 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34818 in version GLIBC_2.1, not GLIBC_2.0.
34819 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34822 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34825 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34827 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34828 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34829 * math/libm-test.inc (acos_test): Add more tests.
34830 (asin_test): Likewise.
34831 * sysdeps/i386/fpu/libm-test-ulps: Update.
34832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34835 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34837 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34838 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34839 * math/libm-test.inc (acos_test_tonearest): New function.
34840 (acos_test_towardzero): Likewise.
34841 (acos_test_downward): Likewise.
34842 (acos_test_upward): Likewise.
34843 (asin_test_tonearest): Likewise.
34844 (asin_test_towardzero): Likewise.
34845 (asin_test_downward): Likewise.
34846 (asin_test_upward): Likewise.
34847 (main): Call the new functions.
34848 * sysdeps/i386/fpu/libm-test-ulps: Update.
34849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34853 * math/e_exp10.c: Include <float.h>.
34854 (__ieee754_exp10): Handle underflow here rather than multiplying
34855 large negative argument by M_LN10.
34856 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34858 * math/e_exp10l.c: Include <float.h>.
34859 (__ieee754_exp10l): Handle underflow here rather than multiplying
34860 large negative argument by M_LN10l.
34861 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34862 spurious overflow exception on underflow.
34864 2012-04-29 Marek Polacek <polacek@redhat.com>
34866 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34867 (__fortify_function): New macro.
34868 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34869 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34870 __extern_always_inline.
34871 * libio/bits/stdio2.h: Likewise.
34872 * libio/bits/stdio.h: Likewise.
34873 * string/string.h: Likewise.
34874 * string/bits/string3.h: Likewise.
34875 * include/stdio.h: Likewise.
34876 * stdlib/bits/stdlib.h: Likewise.
34877 * stdlib/stdlib.h: Likewise.
34878 * rt/bits/mqueue2.h: Likewise.
34879 * rt/mqueue.h: Likewise.
34880 * posix/bits/unistd.h: Likewise.
34881 * posix/unistd.h: Likewise.
34882 * io/bits/poll2.h: Likewise.
34883 * io/bits/fcntl2.h: Likewise.
34884 * io/fcntl.h: Likewise.
34885 * io/sys/poll.h: Likewise.
34886 * misc/bits/syslog.h: Likewise.
34887 * misc/bits/syslog-ldbl.h: Likewise.
34888 * misc/sys/syslog.h: Likewise.
34889 * socket/bits/socket2.h: Likewise.
34890 * socket/sys/socket.h: Likewise.
34891 * debug/tst-chk1.c: Likewise.
34892 * wcsmbs/bits/wchar2.h: Likewise.
34893 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34894 * wcsmbs/wchar.h: Likewise.
34896 2012-04-29 Andreas Jaeger <aj@suse.de>
34898 * Makerules (tests): Remove enable-check-abi protection.
34899 (check-abi-warn): Remove.
34900 (check-abi-%): Remove check-abi-warn usage.
34902 * configure.in: Remove check-abi configure option.
34903 * configure: Regenerated.
34904 * config.make.in (enable-check-abi): Remove.
34906 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34909 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34910 double functions to double *_finite functions.
34913 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34914 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34916 * stdio-common/Makefile (tests): Add tst-sprintf3.
34917 * stdio-common/tst-sprintf3.c: New file.
34919 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34920 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34922 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34924 * conform/conformtest.pl: Remove duplicate typed-constant
34927 2012-04-28 David S. Miller <davem@davemloft.net>
34929 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34930 (check-abi-%): Remove AWK script prerequisite and explicit
34932 (check-abi): Rewrite to just diff the symlist with the abilist.
34933 (config-tls, config-abi-config): Delete, no longer used.
34934 (update-abi-%): Remove AWK script and explicit abilist directory.
34935 (update-abi): Rewrite to simply compare and conditionally copy the
34936 symlist and the sysdep abilist file. Remove update-abi-config
34938 * abilist/ld.abilist: Remove.
34939 * abilist/libBrokenLocale.abilist: Remove.
34940 * abilist/libanl.abilist: Remove.
34941 * abilist/libcrypt.abilist: Remove.
34942 * abilist/libdl.abilist: Remove.
34943 * abilist/librt.abilist: Remove.
34944 * abilist/libthread_db.abilist: Remove.
34945 * abilist/libutil.abilist: Remove.
34946 * scripts/extract-abilist.awk: Remove.
34947 * scripts/merge-abilist.awk: Remove.
34948 * sysdeps/generic/libcidn.abilist: New file.
34949 * sysdeps/generic/libnss_compat.abilist: New file.
34950 * sysdeps/generic/libnss_db.abilist: New file.
34951 * sysdeps/generic/libnss_dns.abilist: New file.
34952 * sysdeps/generic/libnss_files.abilist: New file.
34953 * sysdeps/generic/libnss_hesiod.abilist: New file.
34954 * sysdeps/generic/libnss_nis.abilist: New file.
34955 * sysdeps/generic/libnss_nisplus.abilist: New file.
34956 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34957 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34958 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34961 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34962 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34963 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34964 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34965 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34966 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34967 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34968 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34970 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34971 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34972 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34973 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34975 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34976 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34977 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34978 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34979 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34980 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34982 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34983 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34984 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34986 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35089 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35090 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35091 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35094 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35095 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35096 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35097 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35098 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35099 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35100 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35101 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35102 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35154 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35156 * conform/conformtest.pl: Fix typo in handling typed-constant from
35159 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35161 * README: Cut down references to pre-2.6 Linux kernels and
35162 Linuxthreads. Update lists of configurations in libc and ports
35163 and sort alphabetically. Say "or newer" with Linux kernel version
35166 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35168 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35171 * math/libm-test.inc (logb_test_downward): New test to expose
35172 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35175 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35178 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35180 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35181 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35183 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35185 * sysdeps/unix/i386/brk.S: Remove file.
35186 * sysdeps/unix/i386/dl-brk.S: Likewise.
35187 * sysdeps/unix/i386/pipe.S: Likewise.
35188 * sysdeps/unix/i386/sigreturn.S: Likewise.
35189 * sysdeps/unix/i386/syscall.S: Likewise.
35190 * sysdeps/unix/i386/vfork.S: Likewise.
35191 * sysdeps/unix/i386/wait.S: Likewise.
35193 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35194 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35196 * configure.in (arm*-none*): Do not allow without
35197 --enable-hacker-mode.
35198 (netbsd*): Remove case setting base_os.
35199 (386bsd*): Likewise.
35200 (freebsd*): Likewise.
35203 (sunos*): Likewise.
35204 (ultrix*): Likewise.
35205 (newsos*): Likewise.
35206 (dynix*): Likewise.
35212 (minix*): Likewise.
35213 (irix4*): Likewise.
35214 (irix6*): Likewise.
35215 (solaris[2-9]*): Likewise.
35217 * configure: Regenerated.
35219 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35222 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35223 overflow or cancellation in calculating denominator.
35224 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35225 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35226 down expression to avoid unexpected rounding in newer GCCs.
35227 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35229 2012-04-26 David S. Miller <davem@davemloft.net>
35231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35232 long-double compat symbols.
35233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35247 2012-04-25 David S. Miller <davem@davemloft.net>
35249 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35250 HWCAP_* values only after the memory barriers have been defined.
35251 (atomic_full_barrier): Define.
35252 (atomic_read_barrier): Define.
35253 (atomic_write_barrier): Define.
35255 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35257 * shlib-versions: Add libgcc_s version information.
35258 * sysdeps/generic/libgcc_s.h: Remove.
35259 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35261 * sysdeps/gnu/unwind-resume.c: Likewise.
35262 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35264 2012-04-25 David S. Miller <davem@davemloft.net>
35266 * sysdeps/unix/sparc/brk.S: Delete.
35267 * sysdeps/unix/sparc/dl-brk.S: Delete.
35268 * sysdeps/unix/sparc/pipe.S: Delete.
35269 * sysdeps/unix/sparc/sysdep.S: Delete.
35270 * sysdeps/unix/sparc/sysdep.h: Delete.
35271 * sysdeps/unix/sparc/vfork.S: Delete.
35272 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35273 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35274 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35275 (ret_ERRVAL, r0, r1, MOVE): Define.
35276 (JUMPTARGET): Remove.
35277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35278 sysdeps/unix/sparc/sysdep.h
35279 (ENTRY, END): Remove.
35280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35282 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35284 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35285 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35288 * timezone/README: Update upstream location and email address for
35290 * timezone/zdump.c: Update from tzcode 2012b.
35291 * timezone/zic.c: Likewise.
35293 * configure.in (libc_cv_as_needed): Remove test.
35294 * configure: Regenerated.
35295 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35296 conditional definition.
35297 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35298 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35299 * config.make.in (have-as-needed): Remove variable.
35301 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35302 Paul Pluzhnikov <ppluzhnikov@google.com>
35304 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35307 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35309 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35310 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35311 * sysdeps/sh/strlen.S: Likewise.
35313 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35315 * sysdeps/unix/fork.S: Remove file.
35316 * sysdeps/unix/i386/fork.S: Likewise.
35317 * sysdeps/unix/sparc/fork.S: Likewise.
35319 * sysdeps/unix/system.c: Remove file.
35320 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35322 * sysdeps/unix/getegid.S: Remove file.
35323 * sysdeps/unix/geteuid.S: Likewise.
35325 2012-04-24 Roland McGrath <roland@hack.frob.com>
35327 * scripts/check-localplt.awk: New file.
35328 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35330 * scripts/data/localplt-generic.data: Add a comment.
35332 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35333 NODE when __dir_mkfile failed.
35334 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35335 Reported by Ludovic Courtès <ludo@gnu.org>.
35337 2012-04-24 Andreas Jaeger <aj@suse.de>
35339 * Makerules (common-clean): Also remove gen-as-const-headers
35342 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35344 * Makerules (native-compile): Do not change working directory for
35345 build. Use $(OUTPUT_OPTION) in command.
35346 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35348 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35351 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35352 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35353 * math/libm-test.inc (floor_test): Add more tests.
35354 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35356 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35358 * sysdeps/unix/getdents.c: Remove file.
35359 * sysdeps/unix/sysv/getdents.c: Likewise.
35360 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35362 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35363 sysdeps/unix/mman/syscalls.list.
35365 (mprotect): Likewise.
35367 (munmap): Likewise.
35368 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35369 * sysdeps/unix/mman/syscalls.list: Remove.
35370 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35372 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35373 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35374 * configure: Regenerated.
35375 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35376 $(libgcc_s_suffix).
35377 * config.make.in (libgcc_s_suffix): Remove variable.
35379 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35381 * sysdeps/unix/sysv/gethostname.c: Move to ...
35382 * sysdeps/posix/gethostname.c: ... here.
35384 * sysdeps/unix/execve.S: Remove file.
35386 * sysdeps/unix/_exit.S: Remove file.
35388 2012-04-23 Andreas Jaeger <aj@suse.de>
35391 * manual/Makefile: Remove make dist support, there's no
35392 need for a stand-alone documentation tar ball.
35393 (TEXI2DVI): Define always, it's not in Makeconfig.
35396 (edition): Removed.
35397 (glibc-doc-$(edition).tar): Removed
35401 (ETAGS): Remove, it's in Makeconfig.
35402 (move-if-change): Remove, it's in Makeconfig.
35404 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35407 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35408 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35409 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35410 (strtod_l, strtof_l, strtold_l): Remove __wur.
35411 It is not necessarily an error to ignore strtol's return value.
35412 One can reliably look at the stored endptr to decide whether
35413 the number had valid syntax.
35415 2012-04-21 Andreas Jaeger <aj@suse.de>
35418 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35420 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35422 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35423 * sysdeps/unix/sysv/Versions: Remove file.
35425 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35430 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35433 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35434 version from __vm86.
35436 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35438 * sysdeps/unix/common/lxstat.c: Remove file.
35439 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35441 * sysdeps/unix/sysv/Makefile: Remove file.
35443 * sysdeps/unix/sysv/direct.h: Remove file.
35445 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35446 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35447 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35448 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35449 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35450 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35451 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35453 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35455 * sysdeps/unix/xmknod.c: Remove file.
35456 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35458 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35460 * sysdeps/unix/sysv/i386/time.S: Remove file.
35462 * sysdeps/unix/fxstat.c: Remove file.
35463 * sysdeps/unix/xstat.c: Likewise.
35464 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35466 * sysdeps/unix/sysv/sigaction.c: Remove file.
35468 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35469 (sysdep_headers): Remove variable.
35470 [termio.h not in sysdep_headers] (generated): Likewise.
35471 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35472 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35473 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35474 * sysdeps/unix/sysv/tcflow.c: Likewise.
35475 * sysdeps/unix/sysv/tcflush.c: Likewise.
35476 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35477 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35478 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35479 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35480 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35482 * sysdeps/unix/siglist.c: Remove file.
35484 * sysdeps/unix/getppid.S: Remove file.
35486 * sysdeps/unix/mkdir.c: Remove file.
35487 * sysdeps/unix/rmdir.c: Likewise.
35489 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35491 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35493 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35494 errlist-compat value.
35496 2012-04-18 David S. Miller <davem@davemloft.net>
35498 * sysdeps/generic/memcopy.h (reg_char): Delete.
35499 * debug/strcat_chk.c: Use char, not reg_char.
35500 * debug/strcpy_chk.c: Likewise.
35501 * debug/strncat_chk.c: Likewise.
35502 * debug/strncpy_chk.c: Likewise.
35503 * string/memchr.c: Likewise.
35504 * string/memrchr.c: Likewise.
35505 * string/rawmemchr.c: Likewise.
35506 * string/strcat.c: Likewise.
35507 * string/strchr.c: Likewise.
35508 * string/strchrnul.c: Likewise.
35509 * string/strcmp.c: Likewise.
35510 * string/strcpy.c: Likewise.
35511 * string/strncat.c: Likewise.
35512 * string/strncmp.c: Likewise.
35513 * string/strncpy.c: Likewise.
35515 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35517 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35518 __builtin_memcopy is called when src and dest ranges are known to not
35521 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35523 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35524 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35525 fwd_align_merge macro call.
35526 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35527 bwd_align_merge macro call.
35528 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35530 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35532 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35533 bwd_align_merge macros.
35534 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35535 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35536 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35538 2012-04-18 David S. Miller <davem@davemloft.net>
35540 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35542 2012-04-18 Andreas Jaeger <aj@suse.de>
35545 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35546 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35547 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35549 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35550 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35551 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35553 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35554 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35555 Adjust for changed ldbl-128 files.
35557 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35558 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35559 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35561 2012-04-17 David S. Miller <davem@davemloft.net>
35563 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35565 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35567 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35568 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35569 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35570 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35571 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35572 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35574 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35577 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35578 * math/libm-test.inc: Add ilogb errno and exception tests.
35579 * math/w_ilogb.c: New file: ilogb wrapper.
35580 * math/w_ilogbf.c: New file: ilogbf wrapper.
35581 * math/w_ilogbl.c: New file: ilogbl wrapper.
35582 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35583 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35584 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35585 exception being thrown with 0.0 as argument.
35586 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35587 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35588 exception being thrown with 0.0 as argument.
35589 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35590 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35591 exception being thrown with 0.0 as argument.
35592 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35593 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35594 exception being thrown with 0.0 as argument.
35595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35596 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35597 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35598 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35599 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35600 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35601 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35602 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35603 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35605 2012-04-17 Petr Baudis <pasky@ucw.cz>
35607 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35610 2012-04-16 Marek Polacek <polacek@redhat.com>
35612 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35614 2012-04-16 Marek Polacek <polacek@redhat.com>
35616 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35617 operands of fdivp instruction.
35619 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35621 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35622 * elf/tst-auditmod3b.c: Likewise.
35623 * elf/tst-auditmod4b.c: Likewise.
35624 * elf/tst-auditmod5b.c: Likewise.
35625 * elf/tst-auditmod6b.c: Likewise.
35626 * elf/tst-auditmod6c.c: Likewise.
35627 * elf/tst-auditmod7b.c: Likewise.
35628 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35629 * sysdeps/x86_64/preconfigure.in: Likewise.
35630 * sysdeps/x86_64/preconfigure: Regenerated.
35632 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35634 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35637 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35640 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35642 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35645 * locale/iso-639.def: Fix gl language name. Spotted by
35648 2012-04-12 Roland McGrath <roland@hack.frob.com>
35651 * libio/libio.h (__io_write_fn): Update comment.
35653 2012-04-12 Petr Baudis <pasky@ucw.cz>
35656 * stdio.texi (Hook Functions): The user provided writer function
35657 is not allowed to return -1.
35659 2012-04-11 David S. Miller <davem@davemloft.net>
35661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35663 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35665 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35666 Add a leading slash to rtkaio.
35668 2012-04-11 Jim Meyering <meyering@redhat.com>
35671 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35672 It is not necessarily an error to ignore fwrite's return
35673 value. One can reliably use ferror to test for errors after
35676 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35678 * bits/types.h (__snseconds_t): New type.
35679 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35681 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35682 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35683 (__SNSECONDS_T_TYPE): Likewise.
35684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35685 (__SNSECONDS_T_TYPE): Likewise.
35686 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35687 (__SNSECONDS_T_TYPE): Likewise.
35689 2012-04-10 Andreas Jaeger <aj@suse.de>
35692 * manual/time.texi (Processor Time): Return type of times is
35693 elapsed real time since an arbitrary point in the past.
35694 (CPU Time): Move CLK_TCK from here...
35695 (Processor Time): ...to here. Correct description.
35696 * manual/conf.texi (Constants for Sysconf): Correct description of
35699 2012-04-10 David S. Miller <davem@davemloft.net>
35702 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35703 where the is a gap between DT_REL(A) and DT_JMPREL.
35705 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35707 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35708 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35709 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35711 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35713 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35714 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35715 (dl_main): Handle --inhibit-cache.
35716 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35718 * elf/dl-load.c (_dl_map_object): Use it.
35719 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35721 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35724 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35725 (__ieee754_powl): Saturate large exponents rather than testing for
35726 overflow of y*log2(x).
35727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35728 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35732 * math/s_ctan.c: Include <float.h>.
35733 (__ctan): Avoid internal overflow or cancellation in calculating
35735 * math/s_ctanf.c: Likewise.
35736 * math/s_ctanl.c: Likewise.
35737 * math/s_ctanh.c: Likewise.
35738 * math/s_ctanhf.c: Likewise.
35739 * math/s_ctanhl.c: Likewise.
35740 * math/libm-test.inc (ctan_test): Add more tests.
35741 (ctanh_test): Likewise.
35742 * sysdeps/i386/fpu/libm-test-ulps: Update.
35743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35745 2012-04-09 Andreas Jaeger <aj@suse.de>
35748 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35749 is an optional BSD extension.
35752 * manual/stdio.texi (Opening Streams): Document additional fopen
35755 2012-04-09 Roland McGrath <roland@hack.frob.com>
35757 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35758 %eax without telling the compiler.
35760 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35763 * manual/install.texi: Use sourceware.org.
35765 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35768 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35769 (__ieee754_pow): Generate overflow and underflow using huge*huge
35770 and tiny*tiny rather than just returning constant infinity or zero
35771 for large exponents.
35772 * math/libm-test.inc (pow_test): Require overflow exceptions for
35773 applicable cases of large exponents.
35776 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35777 (__ieee754_pow): Use iterative multiplication algorithm only for
35778 integer exponents with absolute value below 1024. Check for odd
35779 integer exponents when using algorithm for real exponents.
35780 * math/libm-test.inc (pow_test): Add more tests.
35781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35783 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35786 * math/libm-test.inc (exp_test): Do not allow overflow exception
35789 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35792 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35793 instead of __kernel_standard_f.
35795 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35797 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35798 * sysdeps/x86_64/memset_chk.S: Likewise.
35800 2012-04-08 Andreas Jaeger <aj@suse.de>
35803 * manual/startup.texi (Environment Access): Describe return value
35804 for putenv and setenv.
35807 * manual/filesys.texi (Directory Entries): Add description for
35811 * manual/filesys.texi (Directory Entries): Clarify that it's file
35812 system not operating system in the description of DT_UNKNOWN.
35815 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35817 2012-04-08 Stephen Compall <s11@member.fsf.org>
35820 * manual/llio.texi (Opening and Closing Files): Add cross
35821 reference to explain mode argument.
35823 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35825 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35826 * sysdeps/x86_64/memset_chk.S: Likewise.
35828 2012-04-07 David S. Miller <davem@davemloft.net>
35830 * elf/elf.h (R_SPARC_WDISP10): Define.
35831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35834 R_SPARC_SIZE64 and R_SPARC_H34.
35836 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35838 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35839 conditions and remove no longer applicable assertion.
35841 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35843 * bits/byteswap.h: Include <features.h>.
35844 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35845 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35847 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35849 * bits/byteswap.h (__bswap_16): Removed.
35850 Include <bits/byteswap-16.h> to get __bswap_16.
35851 * sysdeps/i386/bits/byteswap.h: Likewise.
35852 * sysdeps/s390/bits/byteswap.h: Likewise.
35853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35854 * bits/byteswap-16.h: New file.
35855 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35856 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35857 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35858 * string/Makefile (headers): Add bits/byteswap-16.h.
35860 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35863 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35865 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35866 * nss/tst-nss-static.c: New.
35868 2012-04-06 Robert Millan <rmh@gnu.org>
35871 * manual/llio.texi (File Position Primitive): lseek
35872 refers to WHENCE when it really means OFFSET.
35874 2012-04-06 Andreas Jaeger <aj@suse.de>
35876 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35877 strncmp declarations.
35879 * abilist/libc.abilist: Add __poll and __ppoll.
35881 2012-04-05 David S. Miller <davem@davemloft.net>
35883 * scripts/check-local-headers.sh: Accept a host triplet in the
35884 path matched by the exclude regexp.
35886 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35888 * sysdeps/powerpc/powerpc32/dl-machine.h
35889 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35890 * sysdeps/s390/s390-32/dl-machine.h
35891 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35892 * sysdeps/sparc/sparc32/dl-machine.h
35893 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35894 * sysdeps/sparc/sparc64/dl-machine.h
35895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35897 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35899 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35900 undefined symbol errors.
35902 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35905 2012-04-05 Michael Matz <matz@suse.de>
35908 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35910 2012-04-05 Andreas Jaeger <aj@suse.de>
35913 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35916 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35918 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35919 which ROUND is no valid rounding mode.
35921 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35923 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35925 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35927 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35929 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35930 an exception using FPU order intentionally.
35932 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35934 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35935 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35936 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35937 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35939 2012-04-05 Simon Josefsson <simon@josefsson.org>
35942 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35943 EINVAL when BUFLEN is too smal.
35945 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35948 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35949 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35951 2012-04-03 Andreas Jaeger <aj@suse.de>
35954 * manual/setjmp.texi (System V contexts): Fix sentence.
35957 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35958 New macro for this case.
35959 [!__GNUC__] (__bswap_64): New inline function for this case.
35960 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35961 * bits/byteswap.h: Likewise.
35962 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35963 ull, guard with __GLIBC_HAVE_LONG_LONG.
35965 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35966 __GLIBC_HAVE_LONG_LONG.
35968 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35969 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35971 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35974 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35975 inptr and inend, rather than using last_ch.
35977 2012-04-02 David S. Miller <davem@davemloft.net>
35979 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35980 * stdio-common/printf-parse.h (read_int): Change return type to
35981 'int', return -1 on INT_MAX overflow.
35982 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35983 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35984 overflows INT_MAX. Check for overflow of in-format-string precision
35985 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35986 SIZE_MAX not INT_MAX for integer overflow test.
35987 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35988 skip the construct in the format string but do not record anything.
35989 * stdio-common/bug22.c: Adjust to test both width/prevision
35990 INT_MAX overflow as well as total length INT_MAX overflow. Check
35991 explicitly for proper errno values.
35993 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35995 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35997 * string/test-strcmp.c [! WIDE]: Likewise.
35998 * time/tst-mktime2.c: Likewise for INT_MAX.
35999 * string/test-string.h: #include <sys/param.h> for MIN.
36001 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36002 * sysdeps/i386/init-first.c (init): Likewise.
36003 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36004 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36005 * sysdeps/sh/init-first.c (init): Likewise.
36007 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36009 * po/ru.po: Update from translation team.
36010 * po/vi.po: Likewise.
36012 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36014 * resolv/nss_dns/dns-host.c: Merge copyright years.
36016 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36018 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36019 Optimize memcpy with prefetch if
36020 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36021 src, dst pointers have unequal 16 byte alignments.
36023 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36026 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36027 from a CNAME entry and return the minimum ttl for the query.
36028 (gaih_getanswer_slice): Likewise.
36030 2012-03-30 Jeff Law <law@redhat.com>
36032 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36034 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36035 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36037 * resolv/nss_dns/dns-host.c: Update copyright year.
36039 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36041 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36042 requests to save a system call. Fix check that all bytes are sent.
36044 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36045 comments for sendmmsg.
36047 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36050 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36051 with only 1 character between 0x0041 and 0x01b0.
36052 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36053 * wcsmbs/tst-mbsnrtowcs.c: New file.
36055 2012-03-29 David S. Miller <davem@davemloft.net>
36057 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36058 small copies by hand.
36060 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36063 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36064 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36067 2012-03-28 David S. Miller <davem@davemloft.net>
36069 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36070 that branches into memcpy.
36071 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36073 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36074 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36077 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36078 implementation too.
36079 * sysdeps/sparc/mempcpy.S: New file.
36081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36082 the IFUNC routine in the libc case.
36083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36085 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36086 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36087 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36088 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36089 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36090 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36091 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36092 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36094 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36095 loop to 256 bytes instead of 64 bytes and fix test signedness.
36097 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36098 * sysdeps/sparc/sparc32/Makefile: rather than here...
36099 * sysdeps/sparc/sparc64/Makefile: and here.
36101 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36103 * malloc/mallocbug.c: Avoid warnings about unused variables.
36105 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36108 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36109 in the right place. Discard and retry query if response is
36110 larger than input buffer size.
36112 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36117 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36118 x for large integer exponent.
36119 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36120 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36121 sign of result as needed afterwards.
36122 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36123 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36124 result for underflowing pow the same as for overflow.
36125 (__kernel_standard_l): Handle powl overflow and underflow here
36126 rather than calling __kernel_standard.
36127 * math/libm-test.inc (pow_test): Add more tests.
36142 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36143 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36144 (__kernel_standard_l): New function.
36145 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36147 * math/w_acosl.c (__acosl): Likewise.
36148 * math/w_asinl.c (__asinl): Likewise.
36149 * math/w_atan2l.c (__atan2l): Likewise.
36150 * math/w_atanhl.c (__atanhl): Likewise.
36151 * math/w_coshl.c (__coshl): Likewise.
36152 * math/w_exp10l.c (__exp10l): Likewise.
36153 * math/w_exp2l.c (__exp2l): Likewise.
36154 * math/w_fmodl.c (__fmodl): Likewise.
36155 * math/w_hypotl.c (__hypotl): Likewise.
36156 * math/w_j0l.c (__j0l, __y0l): Likewise.
36157 * math/w_j1l.c (__j1l, __y1l): Likewise.
36158 * math/w_jnl.c (__jnl, __ynl): Likewise.
36159 * math/w_lgammal.c (__lgammal): Likewise.
36160 * math/w_log10l.c (__log10l): Likewise.
36161 * math/w_log2l.c (__log2l): Likewise.
36162 * math/w_logl.c (__logl): Likewise.
36163 * math/w_powl.c (__powl): Likewise.
36164 * math/w_remainderl.c (__remainderl): Likewise.
36165 * math/w_scalbl.c (sysv_scalbl): Likewise.
36166 * math/w_sinhl.c (__sinhl): Likewise.
36167 * math/w_sqrtl.c (__sqrtl): Likewise.
36168 * math/w_tgammal.c (__tgammal): Likewise.
36169 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36170 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36171 * math/libm-test.inc (acos_test): Add more tests.
36172 (acosh_test): Likewise.
36173 (asin_test): Likewise.
36174 (atanh_test): Likewise.
36175 (exp_test): Likewise.
36176 (exp10_test): Likewise.
36177 (exp2_test): Likewise.
36178 (expm1_test): Likewise.
36179 (lgamma_test): Likewise.
36180 (log_test): Likewise.
36181 (log10_test): Likewise.
36182 (log1p_test): Likewise.
36183 (log2_test): Likewise.
36184 (pow_test): Do not allow some spurious overflow exceptions.
36185 (sqrt_test): Add more tests.
36186 (tgamma_test): Likewise.
36187 (y0_test): Likewise.
36188 (y1_test): Likewise.
36189 (yn_test): Likewise.
36191 2012-03-27 Anton Blanchard <anton@samba.org>
36193 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36195 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36196 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36197 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36199 2012-03-27 David S. Miller <davem@davemloft.net>
36201 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36203 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36204 have-as-vis3 check.
36206 2012-03-27 Andreas Jaeger <aj@suse.de>
36208 * sysdeps/x86_64/elf/configure.in: Moved to ...
36209 * sysdeps/x86_64/configure.in: ... here.
36210 * sysdeps/x86_64/elf/start.S: Moved to ...
36211 * sysdeps/x86_64/start.S: ... here.
36212 * sysdeps/x86_64/elf/configure: Delete.
36214 * sysdeps/x86_64/configure.in: Merge contents from
36215 sysdeps/i386/configure.in (without i686 check).
36217 * sysdeps/i386/elf/Versions: Merge into ...
36218 * sysdeps/i386/Versions: ... this.
36219 * sysdeps/i386/elf/Versions: Delete file.
36220 * sysdeps/i386/elf/start.S: Moved to ...
36221 * sysdeps/i386/start.S: ...here.
36222 * sysdeps/i386/elf/configure.in: Merge into...
36223 * sysdeps/i386/configure.in: ...here.
36224 * sysdeps/i386/elf/configure.in: Delete file.
36225 * sysdeps/i386/elf/configure: Delete file.
36227 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36228 * debug/backtracesyms.c: ... here.
36229 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36230 * debug/backtracesymsfd.c: ... here.
36231 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36232 * sysdeps/generic/ifunc-sel.h: ... here.
36234 * sysdeps/unix/i386/start.c: Delete file.
36235 * sysdeps/unix/sparc/start.c: Delete file.
36236 * sysdeps/unix/start.c: Delete file.
36238 * sysdeps/sh/elf/configure.in: Moved to ...
36239 * sysdeps/sh/configure.in: ... here.
36240 * sysdeps/sh/elf/start.S: Moved to ...
36241 * sysdeps/sh/start.S: ... here.
36242 * sysdeps/sh/elf/configure: Delete file.
36244 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36245 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36246 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36247 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36248 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36249 * sysdeps/powerpc/powerpc64/start.S: here.
36250 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36251 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36252 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36253 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36254 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36256 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36257 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36258 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36259 * sysdeps/powerpc/powerpc32/start.S: ... here.
36260 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36261 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36262 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36264 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36265 * sysdeps/powerpc/ifunc-sel.h: ... here.
36266 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36267 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36269 * sysdeps/sparc/elf/configure.in: Moved to ...
36270 * sysdeps/sparc/configure.in: ... here.
36271 * sysdeps/sparc/elf/configure: Delete file.
36272 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36273 * sysdeps/sparc/sparc32/start.S: ... here.
36274 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36275 * sysdeps/sparc/sparc64/start.S: ... here.
36276 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36277 * sysdeps/sparc/sparc32/Makefile: ... this.
36278 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36279 * sysdeps/sparc/sparc64/Makefile: ... this.
36281 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36282 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36283 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36284 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36285 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36286 * sysdeps/s390/s390-32/setjmp.S: ... here.
36287 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36288 * sysdeps/s390/s390-32/configure.in: ... here.
36289 * sysdeps/s390/s390-32/elf/configure: Delete file.
36290 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36291 * sysdeps/s390/s390-32/start.S: ... here.
36293 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36294 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36295 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36296 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36297 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36298 * sysdeps/s390/s390-64/setjmp.S: ... here.
36299 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36300 * sysdeps/s390/s390-64/configure.in: ... here
36301 * sysdeps/s390/s390-64/elf/configure: Delete file.
36302 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36303 * sysdeps/s390/s390-64/start.S: ... here.
36304 * sysdeps/s390/s390-64/elf/configure: Delete.
36306 * configure.in: Remove support for elf directories in sysdeps.
36308 * configure: Regenerated.
36309 * sysdeps/i386/configure: Regenerated.
36310 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36311 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36312 * sysdeps/s390/s390-32/configure: Regenerated.
36313 * sysdeps/s390/s390-64/configure: Regenerated.
36314 * sysdeps/sh/configure: Regenerated.
36315 * sysdeps/sparc/configure: Regenerated.
36316 * sysdeps/x86_64/configure: Regenerated.
36318 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36322 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36323 denormal result into account.
36325 2012-03-25 Roland McGrath <roland@hack.frob.com>
36327 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36328 Reported by Allan McRae <allan@archlinux.org>.
36330 2012-03-23 Jeff Law <law@redhat.com>
36332 * nss/getnssent.c (__nss_getent): Fix typo.
36334 2012-03-23 David S. Miller <davem@davemloft.net>
36336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36338 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36340 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36341 to pad to uint64_t for each field.
36342 (dl_tls_index): Replace unsigned long with uint64_t.
36344 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36345 Paul Pluzhnikov <ppluzhnikov@google.com>
36348 * grp/Makefile (otherlibs): Don't set it.
36349 * inet/Makefile (otherlibs): Likewise.
36350 * login/Makefile (otherlibs): Likewise.
36351 * nscd/Makefile (otherlibs): Likewise.
36352 * posix/Makefile (otherlibs): Likewise.
36353 * pwd/Makefile (otherlibs): Likewise.
36354 * rt/Makefile (otherlibs): Likewise.
36355 * sunrpc/Makefile (otherlibs): Likewise.
36356 * nss/Makefile (otherlibs): Likewise.
36357 Add libnss_files to routines and static-only-routines.
36358 ($(objpfx)getent): Remove rule.
36359 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36360 static-only-routines.
36362 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36365 * math/s_cexp.c: Include <float.h>.
36366 (__cexp): Handle exp result overflowing not necessarily
36367 overflowing both real and imaginary parts of result.
36368 * math/s_cexpf.c: Likewise.
36369 * math/s_cexpl.c: Likewise.
36370 * math/libm-test.inc (cexp_test): Add more tests.
36371 * sysdeps/i386/fpu/libm-test-ulps: Update.
36372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36374 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36376 * include/link.h (ELFW): New macro.
36377 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36378 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36380 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36382 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36385 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36387 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36389 (struct La_x32_retval): Likewise.
36391 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36393 * sysdeps/x86_64/preconfigure.in: New file.
36394 * sysdeps/x86_64/preconfigure: New generated file.
36396 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36399 * math/e_exp2l.c: Include <float.h>.
36400 (__ieee754_exp2l): Handle overflow and underflow cases
36401 separately. Only pass fractional part of argument to
36403 * math/libm-test.inc (exp2_test): Add more tests.
36405 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36406 negating x to take absolute value.
36407 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36409 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36410 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36412 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36413 computing low part if x was negated.
36414 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36416 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36418 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36419 la_x32_gnu_pltexit.
36420 (pltexit): Cast int_retval to ptrdiff_t.
36421 * elf/tst-auditmod3b.c: Likewise.
36422 * elf/tst-auditmod4b.c: Likewise.
36423 * elf/tst-auditmod5b.c: Likewise.
36424 * elf/tst-auditmod6b.c: Likewise.
36425 * elf/tst-auditmod6c.c: Likewise.
36426 * elf/tst-auditmod7b.c: Likewise.
36428 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36429 and x32_gnu_pltexit.
36431 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36432 __ELF_NATIVE_CLASS.
36433 (La_x32_regs): New macro.
36434 (La_x32_retval): Likewise.
36435 (la_x32_gnu_pltenter): New function prototype.
36436 (la_x32_gnu_pltexit): Likewise.
36438 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36445 * configure.in (libc_cv_cc_nofma): Check for option to disable
36446 generation of FMA instructions.
36447 * configure: Regenerate.
36448 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36449 * sysdeps/ieee754/dbl-64/Makefile: New file.
36450 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36451 Remove brandred-fma4.
36452 (CFLAGS-brandred-fma4.c): Remove.
36453 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36454 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36456 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36459 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36461 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36462 LLONG_MAX != LONG_MAX.
36463 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36464 (_fitoa_word): Likewise.
36465 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36466 LLONG_MAX != LONG_MAX.
36467 * stdio-common/_itowa.h: Include <_itoa.h>.
36468 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36469 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36470 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36471 only if not defined.
36472 (_ITOA_WORD_TYPE): Likewise.
36473 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36474 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36476 2012-03-21 David S. Miller <davem@davemloft.net>
36478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36480 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36482 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36483 of x86_64 when setting libc_cv_slibdir, libdir and
36485 * sysdeps/unix/sysv/linux/configure: Regenerated.
36487 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36489 * manual/lang.texi (Old Varargs): Remove section.
36490 (How Variadic): Update menu.
36491 (va_start): Do not mention varargs.h.
36493 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36494 Joseph Myers <joseph@codesourcery.com>
36496 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36498 * configure: Regenerated.
36500 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36502 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36503 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36506 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36509 * Makefile (files-for-dist): Remove NOTES.
36510 (NOTES): Remove rule.
36511 * README: Don't refer to NOTES.
36512 * manual/creature.texi: Don't include macros.texi.
36513 * manual/intro.texi (creature.texi): Remove comment referring to
36516 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36517 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36518 * configure: Regenerated.
36519 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36520 LIBC_TRY_CC_OPTION.
36521 (libc_cv_as_i686): Likewise.
36522 (libc_cv_cc_avx): Likewise.
36523 (libc_cv_cc_sse2avx): Likewise.
36524 (libc_cv_cc_fma4): Likewise.
36525 (libc_cv_cc_novzeroupper): Likewise.
36526 * sysdeps/i386/configure: Regenerated.
36529 * sysdeps/i386/fpu/s_cexp.S: Remove.
36530 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36531 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36532 * math/libm-test.inc (cexp_test): Add more tests.
36533 * sysdeps/i386/fpu/libm-test-ulps: Update.
36534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36536 2012-03-21 Allan McRae <allan@archlinux.org>
36538 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36540 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36543 * math/w_exp2.c: Do not include <float.h>.
36544 (o_threshold, u_threshold): Remove.
36545 (__exp2): Calculate result before checking finiteness and calling
36547 * math/w_exp2f.c: Likewise.
36548 * math/w_exp2l.c: Likewise.
36549 * math/libm-test.inc (exp2_test): Require overflow exception for
36553 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36554 range of signed 64-bit integers before using fistpll. Remove
36555 checks for whether integers fit in mantissa bits.
36556 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36557 the range of signed 32-bit integers before using fistpl. Remove
36558 checks for whether integers fit in mantissa bits.
36559 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36560 (__ieee754_powl): Test for y outside the range of signed 64-bit
36561 integers before using fistpll. Reduce 64-bit values to 63-bit
36563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36564 divide-by-zero is raised for zero to large negative powers.
36565 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36566 (__ieee754_powl): Test for y outside the range of signed 64-bit
36567 integers before using fistpll. Reduce 64-bit values to 63-bit
36569 * math/libm-test.inc (pow_test): Add more tests.
36571 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36573 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36574 <stdio-common/_itoa.h>.
36575 * debug/segfault.c: Likewise.
36576 * elf/dl-cache.c: Likewise.
36577 * elf/dl-minimal.c: Likewise.
36578 * elf/dl-misc.c: Likewise.
36579 * elf/dl-sysdep.c: Likewise.
36580 * elf/dl-version.c: Likewise.
36581 * elf/rtld.c: Likewise.
36582 * hurd/hurdsock.c: Likewise.
36583 * hurd/lookup-retry.c: Likewise.
36584 * malloc/malloc.c: Likewise.
36585 * malloc/mtrace.c: Likewise.
36586 * nscd/nscd_getgr_r.c: Likewise.
36587 * nscd/nscd_getpw_r.c: Likewise.
36588 * nscd/nscd_getserv_r.c: Likewise.
36589 * posix/getopt_init.c: Likewise.
36590 * posix/wordexp.c: Likewise.
36591 * stdio-common/_itoa.c: Likewise.
36592 * stdio-common/printf_fphex.c: Likewise.
36593 * stdio-common/vfprintf.c: Likewise.
36594 * string/_strerror.c: Likewise.
36595 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36596 * sysdeps/i386/i686/hp-timing.h: Likewise.
36597 * sysdeps/mach/_strerror.c: Likewise.
36598 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36599 * sysdeps/mach/hurd/sethostid.c: Likewise.
36600 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36601 * sysdeps/mach/xpg-strerror.c: Likewise.
36602 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36604 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36605 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36606 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36607 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36608 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36609 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36610 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36611 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36612 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36613 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36614 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36615 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36616 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36617 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36618 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36619 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36620 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36621 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36622 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36624 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36626 * stdio-common/_itoa.h: Moved to ...
36627 * sysdeps/generic/_itoa.h: Here.
36629 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36631 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36632 instead of "_itoa.h" and "_itowa.h".
36633 * stdio-common/vfprintf.: Likewise.
36635 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36637 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36639 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36640 (__signbit): Likwise.
36641 (llrintf): Likwise.
36644 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36646 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36649 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36651 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36652 OVERFLOW_EXCEPTION_OK.
36653 * math/libm-test.inc ("Philosophy"): Update comment about
36655 (OVERFLOW_EXCEPTION): Define.
36656 (OVERFLOW_EXCEPTION_OK): Likewise.
36657 (INVALID_EXCEPTION_OK): Renumber.
36658 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36659 (IGNORE_ZERO_INF_SIGN): Likewise.
36660 (test_exceptions): Handle FE_OVERFLOW.
36661 (exp10_test): Expect overflow exceptions.
36662 (exp2_test): Likewise.
36663 (expm1_test): Likewise.
36664 (nextafter_test): Likewise.
36665 (pow_test): Likewise.
36666 (scalbn_test): Likewise.
36667 (scalbln_test): Likewise.
36669 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36671 * sysdeps/x86_64/bits/atomic.h
36672 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36674 (atomic_exchange_acq): Likewise.
36675 (__arch_exchange_and_add_body): Likewise.
36676 (__arch_add_body): Likewise.
36677 (atomic_add_negative): Likewise.
36678 (atomic_add_zero): Likewise.
36680 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36682 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36683 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36685 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36687 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36688 Check __x86_64__ instead of __WORDSIZE.
36690 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36692 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36694 2012-03-19 David S. Miller <davem@davemloft.net>
36696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36698 * sysdeps/sparc/fpu/fenv_private.h: New file.
36699 * sysdeps/sparc/fpu/math_private.h: Use it.
36700 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36702 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36703 (libc_feholdexcept_setroundl): Remove.
36704 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36706 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36707 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36709 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36711 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36712 int64_t instead of long int.
36713 (INSERT_WORDS64): Likwise.
36715 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36717 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36718 _Unwind_GetCFA return to _Unwind_Ptr first.
36720 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36723 * math/s_clog.c: Include <float.h>.
36724 (__clog): Scale large or subnormal inputs.
36725 * math/s_clogf.c: Likewise.
36726 * math/s_clogl.c: Likewise.
36727 * math/s_clog10.c: Include <float.h>.
36728 (M_LOG10_2): Define.
36729 (__clog10): Scale large or subnormal inputs.
36730 * math/s_clog10f.c: Likewise.
36731 * math/s_clog10l.c: Likewise.
36732 * math/libm-test.inc (clog_test): Add more tests.
36733 (clog10_test): Likewise.
36734 * sysdeps/i386/fpu/libm-test-ulps: Update.
36735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36738 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36740 * math/libm-test.inc (atan2_test): Add another test.
36742 * Makerules (common-objdir-compile): Remove.
36743 * sysdeps/unix/Makefile (config-generated): Do not add
36744 $(unix-generated) to variable.
36745 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36746 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36748 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36750 [generic bits/local_lim.h] (before-compile): Do not append to
36752 [generic bits/local_lim.h] (common-generated): Likewise.
36753 [generic sys/param.h] (before-compile): Do not append to variable.
36754 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36755 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36756 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36757 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36759 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36760 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36761 [generic sys/param.h] ($(addprefix
36762 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36763 [generic sys/param.h] (common-generated): Do not append to
36765 [generic sys/param.h] (sysdep_headers): Likewise.
36766 [generic bits/errno.h] (before-compile): Do not append to
36768 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36770 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36771 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36772 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36773 [generic bits/errno.h] (common-generated): Do not append to
36775 [generic bits/ioctls.h] (before-compile): Do not append to
36777 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36779 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36780 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36781 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36783 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36784 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36785 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36786 [generic bits/ioctls.h] (common-generated): Do not append to
36788 [generic sys/syscall.h] (syscall.h): Remove variable.
36789 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36791 [generic sys/syscall.h] (before-compile): Do not append to
36793 [generic sys/syscall.h] (common-generated): Likewise.
36794 * sysdeps/unix/errnos-tmpl.c: Remove file.
36795 * sysdeps/unix/errnos.awk: Likewise.
36796 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36797 * sysdeps/unix/ioctls.awk: Likewise.
36798 * sysdeps/unix/mk-local_lim.c: Likewise.
36799 * sysdeps/unix/snarf-ioctls: Likewise.
36801 2012-03-19 Richard Henderson <rth@twiddle.net>
36803 * sysdeps/i386/fpu/fenv_private.h: New file.
36804 * sysdeps/i386/fpu/math_private.h: Use it.
36805 (math_opt_barrier, math_force_eval): Remove.
36806 (libc_feholdexcept_setround_53bit): Remove.
36807 (libc_feupdateenv_53bit): Remove.
36808 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36809 (math_opt_barrier, math_force_eval): Remove.
36810 (libc_feholdexcept): Remove.
36811 (libc_feholdexcept_setround): Remove.
36812 (libc_fetestexcept, libc_fesetenv): Remove.
36813 (libc_feupdateenv_test): Remove.
36814 (libc_feupdateenv, libc_feholdsetround): Remove.
36815 (libc_feresetround): Remove.
36817 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36818 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36820 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36821 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36822 (libc_feupdateenv_testl): New.
36823 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36824 (libc_feupdateenv_testf): New.
36825 (libc_feupdateenv): Use libc_feupdateenv_test.
36826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36827 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36829 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36830 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36831 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36832 (libc_feresetround_noex): New.
36833 (libc_feresetround_noexf): New.
36834 (libc_feresetround_noexl): New.
36835 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36836 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36837 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36838 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36840 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36843 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36844 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36845 SET_RESTORE_ROUND_NOEX.
36846 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36847 SET_RESTORE_ROUND_NOEXF.
36848 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36849 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36850 (libc_feholdsetroundf): New.
36851 (libc_feresetround, libc_feresetroundf): New.
36853 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36854 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36855 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36857 * sysdeps/generic/math_private.h: Include <fenv.h>.
36858 (default_libc_feholdexcept): New.
36859 (default_libc_feholdexcept_setround): New.
36860 (default_libc_fesetenv, default_libc_feupdateenv): New.
36861 (libc_feholdexcept): Only define if undefined.
36862 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36863 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36864 (libc_feholdexcept_setroundl): Likewise.
36865 (libc_feholdexcept_setround_53bit): Likewise.
36866 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36867 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36868 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36869 (libc_feupdateenv_53bit): Likewise.
36870 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36871 (libc_feholdexcept): Convert from macro to inline function.
36872 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36873 (libc_fesetenv, libc_feupdateenv): Likewise.
36875 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36876 not previously defined.
36877 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36878 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36879 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36880 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36881 * sysdeps/ieee754/flt-32/math_private.h: New file.
36882 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36883 math_private.h below SET_FLOAT_WORD.
36884 (__isnan, __isinf_ns, __finite): Remove.
36885 (__isnanf, __isinf_nsf, __finitef): Remove.
36887 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36891 2012-03-17 David S. Miller <davem@davemloft.net>
36894 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36897 2012-03-16 David S. Miller <davem@davemloft.net>
36899 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36903 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36905 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36906 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36907 sysdep_routines when subdir is sysvipc.
36908 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36909 __getshmlba helper.
36911 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36913 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36915 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36918 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36920 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36921 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36922 (__lround): Renamed to ...
36923 (__llround): This. Replace long int with long long int.
36924 Define lround functions as aliases of llround functions.
36925 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36927 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36929 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36930 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36931 adresses to uintptr_t. Replace "long int" and "unsigned long
36932 int" with "greg_t" on va_arg.
36934 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36936 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36937 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36939 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36940 Move e_machine check before EI_CLASS check. Handle x32
36941 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36942 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36943 SKIP_EM_IA_64 and include
36944 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36946 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36947 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36948 (add_system_dir): New macro.
36950 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36951 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36953 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36964 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36966 * math/w_j0f.c (j0f): Likewise.
36968 * math/w_j0l.c (__j0l): Likewise.
36970 * math/w_j1.c (j1): Likewise.
36972 * math/w_j1f.c (j1f): Likewise.
36974 * math/w_j1l.c (__j1l): Likewise.
36976 * math/w_jn.c (jn): Likewise.
36978 * math/w_jnf.c (jnf): Likewise.
36980 * math/w_jnl.c (__jnl): Likewise.
36982 * math/libm-test.inc (j0_test): Add more tests.
36983 (j1_test): Likewise.
36984 (jn_test): Likewise. Add trailing semicolon to existing test.
36985 (y0_test): Likewise.
36986 (y1_test): Likewise.
36987 * sysdeps/i386/fpu/libm-test-ulps: Update.
36988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36992 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36993 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36994 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36995 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36996 (__tanl): Set errno for infinite argument.
36997 * sysdeps/i386/fpu/mptan.c: Remove.
36998 * sysdeps/i386/fpu/s_tan.S: Likewise.
36999 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37000 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37001 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37002 * math/libm-test.inc (tan_test): Add more tests and enable more
37003 tests for double and long double.
37004 * sysdeps/i386/fpu/libm-test-ulps: Update.
37005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37007 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37009 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37010 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37012 2012-03-16 Roland McGrath <roland@hack.frob.com>
37014 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37015 * configure.in: Use it for both main tree and add-ons.
37016 * configure: Regenerated.
37018 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37020 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37022 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37024 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37028 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37029 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37030 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37031 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37032 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37034 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37036 != 0 for prec == 2.
37037 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37038 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37039 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37040 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37041 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37042 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37043 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37044 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37045 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37046 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37047 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37048 * math/libm-test.inc (cos_test): Add more tests and enable more
37049 tests for long double.
37050 (sin_test): Likewise.
37051 (sincos_test): Likewise.
37052 * sysdeps/i386/fpu/libm-test-ulps: Update.
37053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37055 2012-03-16 David S. Miller <davem@davemloft.net>
37057 * sysdeps/sparc/fpu/math_private.h: New file.
37059 2012-03-15 David S. Miller <davem@davemloft.net>
37061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37075 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37076 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37078 * sysdeps/sparc/sparc-ifunc.h: New file.
37079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37106 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37122 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37124 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37126 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37130 2012-03-15 Andreas Jaeger <aj@suse.de>
37133 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37134 ieee754/flt-32 implementation for sin, cos and sincos.
37135 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37136 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37137 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37138 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37139 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37140 ieee754/flt-32 implementation for tan.
37142 * math/libm-test.inc (cos_test): Enable some large input tests for
37144 (sin_test): Likewise.
37145 (sincos_test): Likewise.
37146 (tan_test): Add tests for large input.
37148 * sysdeps/i386/fpu/libm-test-ulps: Update.
37150 2012-03-15 Andreas Jaeger <aj@suse.de>
37153 * math/libm-test.inc (cos_test): Add more test cases.
37154 (sin_test): Likewise.
37155 (sincos_test): Likewise.
37157 2012-03-15 Andreas Jaeger <aj@suse.de>
37160 * math/libm-test.inc (cos_test): Add a test case for large input
37162 (sin_test): Likewise.
37163 (sincos_test): Likewise.
37165 2012-03-15 Andreas Jaeger <aj@suse.de>
37166 Joseph Myers <joseph@codesourcery.com>
37169 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37170 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37171 * sysdeps/i386/fpu/branred.c: Likewise.
37172 * sysdeps/i386/fpu/dosincos.c: Likewise.
37173 * sysdeps/i386/fpu/mpa.c: Likewise.
37174 * sysdeps/i386/fpu/s_cos.S: Likewise.
37175 * sysdeps/i386/fpu/s_sin.S: Likewise.
37176 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37177 * sysdeps/i386/fpu/sincos32.c: Likewise.
37179 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37181 (libc_feupdateenv_53bit): Define.
37182 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37184 (libc_feupdateenv_53bit): Define.
37186 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37187 53 bit (without extend i386 double precision).
37189 * math/libm-test.inc (sincos_test): Add tests for large input.
37193 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37195 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37199 2012-03-15 David S. Miller <davem@davemloft.net>
37201 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37202 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37203 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37204 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37229 fmin/fmax sysdep routines.
37230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37232 2012-03-14 David S. Miller <davem@davemloft.net>
37234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37306 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37311 * sysdeps/sparc/configure.in: New file.
37312 * sysdeps/sparc/configure: Generate.
37313 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37314 * configure: Regenerate.
37315 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37316 * config.make.in (have-as-vis3): New.
37317 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37318 available use -Av9d instead of -Av9a.
37319 * sysdeps/sparc/sparc64/Makefile: Likewise.
37320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37335 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37336 fzeros/fnegs to load 0x80000000 into a float register instead of
37338 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37340 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37344 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37345 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37346 ($(inst_includedir)/bits/syscall.h): Remove rule.
37347 ($(objpfx)bits/syscall.d): Include instead of
37348 $(objpfx)syscall-list.d.
37349 (generated): Change syscall-list.h and syscall-list.d to
37350 bits/syscall.h and bits/syscall.d.
37352 2012-03-14 Roland McGrath <roland@hack.frob.com>
37355 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37357 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37360 * math/s_csqrt.c: Include <float.h>.
37361 (__csqrt): Scale large or subnormal inputs.
37362 * math/s_csqrtf.c: Likewise.
37363 * math/s_csqrtl.c: Likewise.
37364 * math/libm-test.inc (csqrt_test): Add more tests.
37365 * sysdeps/i386/fpu/libm-test-ulps: Update.
37366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37369 * math/libm-test.inc (hypot_test): Add more tests.
37371 2012-03-13 David S. Miller <davem@davemloft.net>
37374 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37375 double-precision for the calculation instead of scaling.
37377 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37379 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37380 manipulate bits before adding and subtracting TWO52[sx].
37381 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37382 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37384 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37386 2012-03-13 David S. Miller <davem@davemloft.net>
37388 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37389 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37391 rtld-global-offsets.h
37392 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37394 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37397 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37399 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37400 'err' in the ifdef scope in which it is actually used.
37402 * nss/nss_db/db-init.c: Include string.h
37404 2012-03-12 David S. Miller <davem@davemloft.net>
37406 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37407 masking out of the most significant byte of random value used.
37408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37409 Fix coding style in previous change.
37411 * sysdeps/unix/sysv/linux/kernel-features.h
37412 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37413 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37415 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37418 2012-03-11 David S. Miller <davem@davemloft.net>
37420 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37421 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37422 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37423 for 'resultvar' otherwise things get truncated on 64-bit.
37425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37426 Fix masking out of the most significant byte of random value used.
37428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37430 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37434 2012-03-09 David S. Miller <davem@davemloft.net>
37436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37437 variables with appropriate CPP guards.
37438 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37439 from the frame pointer, not the stack pointer. Correct layout
37440 comments. Fix test on resulting framesize and the management of
37441 the outregs buffer for pltexit. Preserve floating point return
37442 values across _dl_call_pltexit call.
37443 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37444 framesize and the management of the outregs buffer for pltexit.
37445 Preserve floating point return values across _dl_call_pltexit
37447 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37448 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37449 (la_sparc64_gnu_pltexit): New functions.
37450 (print_exit): Fix format string for return register value.
37452 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37454 * sunrpc/Makefile (others): Add rpcgen.
37455 ($(objpfx)rpcgen): Remove special build rule and dependency on
37457 * sunrpc/rpcgen.c: New file.
37459 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37462 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37463 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37464 * sysdeps/i386/crti.S: Likewise.
37465 * sysdeps/i386/crtn.S: Likewise.
37466 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37467 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37468 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37469 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37470 * sysdeps/sh/crti.S: Likewise.
37471 * sysdeps/sh/crtn.S: Likewise.
37472 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37475 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37477 * locale/programs/locfile-kw.gperf: Likewise.
37478 * locale/programs/charmap-kw.h: Regenerated.
37479 * locale/programs/locfile-kw.h: Likewise.
37482 * intl/plural.y: Replace FSF snail mail address with URL.
37483 * intl/plural.c: Regenerated.
37485 2012-03-09 Richard Henderson <rth@twiddle.net>
37487 * include/math_private.h: Remove file.
37488 * math/math_private.h: Move file ...
37489 * sysdeps/generic/math_private.h: ... here.
37491 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37492 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37493 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37495 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37496 and <math_private.h>.
37497 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37498 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37499 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37500 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37501 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37502 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37503 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37505 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37511 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37516 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37521 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37523 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37536 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37537 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37538 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37539 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37540 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37541 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37542 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37543 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37585 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37586 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37587 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37588 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37589 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37590 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37591 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37592 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37593 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37594 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37595 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37597 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37598 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37599 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37600 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37601 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37602 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37603 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37604 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37605 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37607 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37608 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37609 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37610 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37611 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37613 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37614 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37615 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37616 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37617 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37618 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37619 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37620 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37621 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37622 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37623 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37624 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37625 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37626 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37627 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37628 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37629 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37630 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37631 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37632 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37633 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37634 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37635 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37636 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37637 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37638 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37639 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37640 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37641 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37642 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37643 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37644 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37645 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37646 * sysdeps/ieee754/k_standard.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37649 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37650 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37651 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37653 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37665 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37667 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37669 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37672 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37673 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37680 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37681 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37682 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37685 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37686 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37740 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37741 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37746 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37760 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37761 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37766 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37767 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37769 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37773 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37774 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37779 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37787 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37788 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37795 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37796 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37797 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37801 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37807 * sysdeps/ieee754/s_lib_version.c: Likewise.
37808 * sysdeps/ieee754/s_matherr.c: Likewise.
37809 * sysdeps/ieee754/s_signgam.c: Likewise.
37810 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37811 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37812 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37813 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37814 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37815 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37816 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37817 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37818 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37819 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37820 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37821 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37822 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37823 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37824 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37825 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37826 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37827 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37828 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37832 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37834 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37835 * sunrpc/rpc_main.c: Likewise.
37836 * sunrpc/rpc_svcout.c: Likewise.
37838 2012-03-09 David S. Miller <davem@davemloft.net>
37840 * include/math_private.h: New file.
37842 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37844 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37845 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37846 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37847 from <bits/socket_type.h>.
37848 (enum __socket_type): Don't define here.
37849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37851 bits/socket_type.h.
37854 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37855 checking __USE_GNU.
37857 * Makerules ($(inst_includedir)/%.h): New rule.
37858 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37859 (install-others): Remove variable setting.
37860 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37862 2012-03-08 Richard Henderson <rth@twiddle.net>
37864 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37865 from macro to inline function; merge with the
37866 !__LIBC_INTERNAL_MATH_INLINES version.
37867 (__ieee754_sqrtf): Likewise.
37869 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37870 to inline function.
37871 (__rintf, __floor, __floorf): Likewise.
37873 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37874 macro to inline function.
37875 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37878 not <math/math_private.h>.
37880 2012-03-08 David S. Miller <davem@davemloft.net>
37882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37884 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37886 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37888 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37890 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37891 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37893 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37895 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37896 be defined individually, they must be defined as a block. Define
37897 S for printing a string instead of hidint the different by using a
37898 macro for adding the 'l'.
37899 * stdio-common/tst-fphex-wide.c: Adjust.
37901 2012-03-07 Marek Polacek <polacek@redhat.com>
37903 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37905 2012-03-08 Marek Polacek <polacek@redhat.com>
37908 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37909 * stdio-common/tst-fphex.c: Define a few macros to make the
37910 test reusable. Use them.
37911 * stdio-common/tst-fphex-wide.c: New file.
37913 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37916 * manual/macros.texi (gnusystems): New macro.
37917 (nongnusystems): Likewise.
37918 (gnulinuxhurdsystems): Likewise.
37919 (gnuhurdsystems): Likewise..
37920 (gnulinuxsystems): Likewise.
37921 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37922 variants of the GNU system, not "GNU system".
37923 * manual/conf.texi: Likewise.
37924 * manual/errno.texi: Likewise. Update example of errno macro
37926 * manual/filesys.texi: Likewise.
37927 (getumask): Document as specific to GNU/Hurd.
37928 * manual/install.texi: Likewise. Reword some references to
37930 * manual/intro.texi: Likewise.
37931 * manual/io.texi: Likewise.
37932 (File Name Portability): Detail which constraints are inapplicable
37933 to all GNU systems and which are only inapplicable to GNU/Hurd.
37934 * manual/job.texi: Likewise.
37935 * manual/llio.texi: Likewise.
37936 (O_NOCTTY): Document as present on GNU/Linux.
37937 * manual/maint.texi: Likewise.
37938 * manual/memory.texi: Likewise.
37939 * manual/pattern.texi: Likewise.
37940 * manual/pipe.texi: Likewise.
37941 * manual/process.texi: Likewise.
37942 * manual/resource.texi: Likewise.
37943 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37945 * manual/setjmp.texi: Likewise.
37946 * manual/signal.texi: Likewise.
37947 * manual/startup.texi: Likewise.
37948 * manual/stdio.texi: Likewise.
37949 * manual/terminal.texi: Likewise.
37950 (ONLCR): Document as POSIX.
37951 (OXTABS): Document availability on GNU/Linux as XTABS.
37952 (ONOEOT): Document availability separately from other bits.
37953 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37954 * manual/time.texi: Likewise.
37955 * manual/users.texi: Likewise.
37956 * INSTALL: Regenerated.
37957 * sysdeps/gnu/errlist.c: Regenerated.
37959 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37960 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37961 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37963 * configure: Regenerated.
37965 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37967 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37968 default includes instead of AC_HEADER_CHECK.
37969 * sysdeps/i386/configure: Regenerated.
37972 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37973 * math/s_cacoshf.c (__cacoshf): Likewise.
37974 * math/s_cacoshl.c (__cacoshl): Likewise.
37975 * math/s_casinh.c (__casinh): Set signs of result from argument.
37976 * math/s_casinhf.c (__casinhf): Likewise.
37977 * math/s_casinhl.c (__casinhl): Likewise.
37978 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37979 (casinh_test): Add more tests.
37980 * sysdeps/i386/fpu/libm-test-ulps: Update.
37981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37983 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37985 * po/zh_TW.po: Update from translation team.
37987 * login/Makefile (distribute): Remove variable.
37988 * catgets/Makefile: Likewise.
37989 * mach/Makefile: Likewise.
37990 * malloc/Makefile: Likewise.
37991 * misc/Makefile: Likewise.
37992 * iconv/Makefile: Likewise.
37993 * nscd/Makefile: Likewise.
37994 * hurd/Makefile: Likewise.
37995 * manual/Makefile: Likewise.
37996 * locale/Makefile: Likewise.
37997 * intl/Makefile: Likewise.
37998 * conform/Makefile: Likewise.
37999 * nss/Makefile: Likewise.
38000 * time/Makefile: Likewise.
38001 * soft-fp/Makefile: Likewise.
38002 * dirent/Makefile: Likewise.
38003 * gmon/Makefile: Likewise.
38004 * po/Makefile: Likewise.
38005 * rt/Makefile: Likewise.
38006 * socket/Makefile: Likewise.
38007 * math/Makefile: Likewise.
38008 * signal/Makefile: Likewise.
38009 * debug/Makefile: Likewise.
38010 * elf/Makefile: Likewise.
38011 * timezone/Makefile: Likewise.
38012 * stdlib/Makefile: Likewise.
38013 * iconvdata/Makefile: Likewise.
38014 * sunrpc/Makefile: Likewise.
38015 * io/Makefile: Likewise.
38016 * argp/Makefile: Likewise.
38017 * inet/Makefile: Likewise.
38018 * hesiod/Makefile: Likewise.
38019 * grp/Makefile: Likewise.
38020 * csu/Makefile: Likewise.
38021 * wctype/Makefile: Likewise.
38022 * crypt/Makefile: Likewise.
38023 * libio/Makefile: Likewise.
38024 * string/Makefile: Likewise.
38025 * nis/Makefile: Likewise.
38026 * resolv/Makefile: Likewise.
38027 * stdio-common/Makefile: Likewise.
38028 * wcsmbs/Makefile: Likewise.
38029 * dlfcn/Makefile: Likewise.
38030 * posix/Makefile: Likewise.
38033 * timezone/Makefile: Don't install timezone files, just the programs
38036 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38038 * nss/databases.def: Add missing gshadow entry.
38040 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38042 2012-03-06 Marek Polacek <polacek@redhat.com>
38045 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38046 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38047 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38048 * stdio-common/tst-long-dbl-fphex.c: New file.
38050 2012-03-06 David S. Miller <davem@davemloft.net>
38052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38053 (set_obp_int): New function.
38054 (get_obp_int): New function.
38055 (__get_clockfreq_via_dev_openprom): Likewise.
38056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38057 Avoid unused variable warnings on 'val' and use builtin_expect.
38058 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38060 (INLINE_CLONE_SYSCALL): Likewise.
38062 2012-03-05 David S. Miller <davem@davemloft.net>
38064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38066 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38071 only for |x| >= 40.
38072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38074 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38077 Replace gettimeofday with __vdso_gettimeofday.
38079 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38080 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38081 __vdso_clock_gettime and __vdso_getcpu.
38083 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38084 time with __vdso_time.
38086 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38088 * manual/lang.texi (size_t): Note types to which size_t may be
38089 equivalent with the GNU C Library, but do not describe when
38090 differences between them are significant.
38092 2012-03-05 Andreas Jaeger <aj@suse.de>
38094 * sysdeps/i386/fpu/libm-test-ulps: Update.
38096 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38099 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38100 (__ieee754_pow): Save and restore rounding mode and use
38101 round-to-nearest for main computations.
38102 * math/libm-test.inc (pow_test_tonearest): New function.
38103 (pow_test_towardzero): Likewise.
38104 (pow_test_downward): Likewise.
38105 (pow_test_upward): Likewise.
38106 (main): Call the new functions.
38107 * sysdeps/i386/fpu/libm-test-ulps: Update.
38108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38111 * math/libm-test.inc (cosh_test_tonearest): New function.
38112 (cosh_test_towardzero): Likewise.
38113 (cosh_test_downward): Likewise.
38114 (cosh_test_upward): Likewise.
38115 (sinh_test_tonearest): Likewise.
38116 (sinh_test_towardzero): Likewise.
38117 (sinh_test_downward): Likewise.
38118 (sinh_test_upward): Likewise.
38119 (main): Call the new functions.
38120 * sysdeps/i386/fpu/libm-test-ulps: Update.
38121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38123 2012-03-05 Tom de Vries <tom@codesourcery.com>
38125 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38126 default stack guard is set in last bytes.
38127 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38129 2012-03-05 Kees Cook <keescook@chromium.org>
38131 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38134 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38135 possibly allocate from heap instead of stack.
38136 * stdio-common/bug-vfprintf-nargs.c: New file.
38137 * stdio-common/Makefile (tests): Add nargs overflow test.
38139 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38143 2012-03-03 Marek Polacek <polacek@redhat.com>
38145 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38146 * math/math_private.h: Likewise.
38147 * stdlib/tst-strtod.c: Likewise.
38148 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38149 * sysdeps/x86_64/bits/atomic.h: Likewise.
38151 2012-03-02 David S. Miller <davem@davemloft.net>
38153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38157 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38158 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38159 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38160 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38162 2012-03-02 Roland McGrath <roland@hack.frob.com>
38165 * manual/examples/README: New file, says the example source files
38166 can be used under GPL>=2.
38167 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38168 line containing just "*/".
38169 * manual/examples/add.c: Add copyright header (GPL>=2).
38170 * manual/examples/argp-ex1.c: Likewise.
38171 * manual/examples/argp-ex2.c: Likewise.
38172 * manual/examples/argp-ex3.c: Likewise.
38173 * manual/examples/argp-ex4.c: Likewise.
38174 * manual/examples/atexit.c: Likewise.
38175 * manual/examples/db.c: Likewise.
38176 * manual/examples/dir.c: Likewise.
38177 * manual/examples/dir2.c: Likewise.
38178 * manual/examples/execinfo.c: Likewise.
38179 * manual/examples/filecli.c: Likewise.
38180 * manual/examples/filesrv.c: Likewise.
38181 * manual/examples/fmtmsgexpl.c: Likewise.
38182 * manual/examples/genpass.c: Likewise.
38183 * manual/examples/inetcli.c: Likewise.
38184 * manual/examples/inetsrv.c: Likewise.
38185 * manual/examples/isockad.c: Likewise.
38186 * manual/examples/longopt.c: Likewise.
38187 * manual/examples/memopen.c: Likewise.
38188 * manual/examples/memstrm.c: Likewise.
38189 * manual/examples/mkfsock.c: Likewise.
38190 * manual/examples/mkisock.c: Likewise.
38191 * manual/examples/mygetpass.c: Likewise.
38192 * manual/examples/pipe.c: Likewise.
38193 * manual/examples/popen.c: Likewise.
38194 * manual/examples/rprintf.c: Likewise.
38195 * manual/examples/search.c: Likewise.
38196 * manual/examples/select.c: Likewise.
38197 * manual/examples/setjmp.c: Likewise.
38198 * manual/examples/sigh1.c: Likewise.
38199 * manual/examples/sigusr.c: Likewise.
38200 * manual/examples/stpcpy.c: Likewise.
38201 * manual/examples/strdupa.c: Likewise.
38202 * manual/examples/strftim.c: Likewise.
38203 * manual/examples/strncat.c: Likewise.
38204 * manual/examples/subopt.c: Likewise.
38205 * manual/examples/swapcontext.c: Likewise.
38206 * manual/examples/termios.c: Likewise.
38207 * manual/examples/testopt.c: Likewise.
38208 * manual/examples/testpass.c: Likewise.
38209 * manual/examples/timeval_subtract.c: Likewise.
38212 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38214 * manual/timeval_subtract.c.texi: ... here, new file.
38216 2012-03-02 David S. Miller <davem@davemloft.net>
38218 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38220 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38223 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38224 (__sin): Save and restore rounding mode and use round-to-nearest
38225 for all computations.
38226 (__cos): Save and restore rounding mode and use round-to-nearest
38227 for all computations.
38228 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38230 (tan): Save and restore rounding mode and use round-to-nearest for
38232 * math/libm-test.inc (cos_test_tonearest): New function.
38233 (cos_test_towardzero): Likewise.
38234 (cos_test_downward): Likewise.
38235 (cos_test_upward): Likewise.
38236 (sin_test_tonearest): Likewise.
38237 (sin_test_towardzero): Likewise.
38238 (sin_test_downward): Likewise.
38239 (sin_test_upward): Likewise.
38240 (tan_test_tonearest): Likewise.
38241 (tan_test_towardzero): Likewise.
38242 (tan_test_downward): Likewise.
38243 (tan_test_upward): Likewise.
38244 (main): Call the new functions.
38245 * sysdeps/i386/fpu/libm-test-ulps: Update.
38246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38249 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38250 small n, then large n, before computing and testing k+n.
38251 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38256 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38257 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38260 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38261 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38263 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38264 * math/libm-test.inc (scalbn_test): Add more tests.
38265 (scalbln_test): Likewise.
38267 * manual/filesys.texi (mode_t): Describe constraints on size and
38268 signedness, not exact equivalence to a particular type.
38270 (ino64_t): Likewise.
38272 (nlink_t): Likewise.
38273 (blkcnt_t): Likewise.
38274 (blkcnt64_t): Likewise.
38275 * manual/llio.texi (off_t): Likewise.
38278 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38279 (__ieee754_exp): Save and restore rounding mode and use
38280 round-to-nearest for all computations.
38281 * math/libm-test.inc (exp_test_tonearest): New function.
38282 (exp_test_towardzero): Likewise.
38283 (exp_test_downward): Likewise.
38284 (exp_test_upward): Likewise.
38285 (main): Call the new functions.
38286 * sysdeps/i386/fpu/libm-test-ulps: Update.
38287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38289 2012-03-01 Chris Demetriou <cgd@google.com>
38291 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38292 have predictable order.
38294 2012-03-01 David S. Miller <davem@davemloft.net>
38296 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38298 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38299 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38300 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38301 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38303 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38304 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38305 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38307 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38308 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38309 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38310 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38311 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38316 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38319 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38320 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38321 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38322 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38323 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38325 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38326 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38327 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38328 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38329 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38330 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38332 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38333 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38335 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38336 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38337 * sysdeps/sparc/elf/configure: Regenerated.
38339 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38341 * configure.in (AS, LD): Require binutils 2.20 or later.
38342 * configure: Regenerated.
38343 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38344 as required minimum version.
38345 * INSTALL: Regenerated.
38349 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38350 before squaring exponent.
38351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38352 bottom long double and 27 bits of top long double before squaring
38354 * math/libm-test.inc (erfc_test): Add more tests.
38355 * sysdeps/i386/fpu/libm-test-ulps: Update.
38356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38359 2012-03-01 Kai Tietz <ktietz@redhat.com>
38361 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38362 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38363 containing bit-fields.
38364 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38365 * soft-fp/single.h (_FP_UNION_S): Likewise.
38366 * soft-fp/double.h (_FP_UNION_D): Likewise.
38368 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38371 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38372 not include ../strcmp.S.
38373 [USE_AS_STRNCASECMP_L]: Likewise.
38374 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38375 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38376 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38377 (__strncasecmp_l_ia32): Define as alias to
38378 __strncasecmp_l_nonascii.
38381 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38382 * sysdeps/i386/fpu/libm-test-ulps: Update.
38383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38385 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38388 2012-02-29 Jeff Law <law@redhat.com>
38390 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38391 out of bounds read.
38393 2012-02-29 Marek Polacek <polacek@redhat.com>
38396 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38397 * elf/Makefile: Add rules to run tst-unused-dep.out.
38399 2012-02-28 David S. Miller <davem@davemloft.net>
38401 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38402 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38405 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38406 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38408 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38410 * math/libm-test.inc (llround_test): Move one test from
38411 lround_test. Use TEST_f_L in moved test.
38412 (lround_test): Move misplaced test to llround_test. Add testcase
38415 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38417 * sysdeps/x86_64/fpu/e_expf.S: New file.
38418 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38420 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38423 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38424 of remain_len that may cause incomplete multi-byte character and
38426 * posix/bug-regex33.c: New file.
38427 * posix/Makefile (tests): Add bug-regex33.
38429 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38431 * manual/macros.texi: New file.
38432 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38433 * manual/libc.texinfo: Include macros.texi.
38434 * manual/creatute.texi: Likewise.
38435 * manual/install.texi: Likewise.
38436 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38437 @glibcadj{} in references to the GNU C Library.
38438 * manual/charset.texi: Likewise.
38439 * manual/conf.texi: Likewise.
38440 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38441 when not using those macros.
38442 * manual/creature.texi: Likewise.
38443 * manual/crypt.texi: Likewise.
38444 * manual/errno.texi: Likewise.
38445 * manual/filesys.texi: Likewise.
38446 * manual/header.texi: Likewise.
38447 * manual/install.texi: Likewise.
38448 * manual/intro.texi: Likewise.
38449 * manual/io.texi: Likewise.
38450 * manual/job.texi: Likewise.
38451 * manual/lang.texi: Likewise.
38452 * manual/libc.texiinfo: Likewise.
38453 * manual/llio.texi: Likewise.
38454 * manual/locale.texi: Likewise.
38455 * manual/maint.texi: Likewise.
38456 * manual/math.texi: Likewise.
38457 * manual/memory.texi: Likewise.
38458 * manual/message.texi: Likewise.
38459 * manual/nss.texi: Likewise.
38460 * manual/pattern.texi: Likewise.
38461 * manual/process.texi: Likewise.
38462 * manual/resource.texi: Likewise.
38463 * manual/search.texi: Likewise.
38464 * manual/setjmp.texi: Likewise.
38465 * manual/signal.texi: Likewise.
38466 * manual/socket.texi: Likewise.
38467 * manual/startup.texi: Likewise.
38468 * manual/stdio.texi: Likewise.
38469 * manual/string.texi: Likewise.
38470 * manual/sysinfo.texi: Likewise.
38471 * manual/syslog.texi: Likewise.
38472 * manual/terminal.texi: Likewise.
38473 * manual/time.texi: Likewise.
38474 * manual/users.texi: Likewise.
38475 * INSTALL: Regenerated.
38476 * NOTES: Regenerated.
38477 * sysdeps/gnu/errlist.c: Regenerated.
38479 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38481 * include/dirent.h: Include <dirstream.h> before
38484 2012-02-28 David S. Miller <davem@davemloft.net>
38486 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38487 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38488 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38489 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38491 2012-02-27 David S. Miller <davem@davemloft.net>
38493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38495 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38496 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38499 frame pointer instead of stack pointer relative arg slot.
38500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38501 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38502 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38504 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38507 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38509 2012-02-27 David S. Miller <davem@davemloft.net>
38511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38515 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38516 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38517 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38518 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38520 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38522 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38523 later. Allow versions 5-9.
38524 * configure: Regenerated.
38525 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38526 required minimum version and 4.6 as recommended version. Do not
38527 mention bugs in GCC 2.7 and 2.8.
38528 * INSTALL: Regenerated.
38530 2012-02-27 David S. Miller <davem@davemloft.net>
38532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38538 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38539 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38542 manipulate bits before adding and subtracting TWO112[sx].
38543 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38545 2012-02-27 Roland McGrath <roland@hack.frob.com>
38548 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38549 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38550 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38551 being in POSIX, because they are in 1003.1-2008.
38553 * rt/tst-aio.c: Include <fcntl.h>.
38554 * rt/tst-aio7.c: Likewise.
38555 * rt/tst-aio64.c: Likewise.
38557 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38559 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38561 * manual/install.texi (--with-headers): Describe headers as
38562 interface headers, not private headers.
38563 (Specific advice for GNU/Linux systems): Describe use of headers
38564 from "make headers_install", not private headers from older
38566 * INSTALL: Regenerated.
38567 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38569 * sysdeps/unix/sysv/linux/configure: Regenerated.
38571 * manual/llio.texi (fclean): Remove documentation.
38573 * manual/Makefile (libc-texi-generated): New variable. Include
38575 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38576 $(libc-texi-generated), not duplicated list of files.
38577 (version.texi, stamp-version): New rules.
38578 (realclean): Remove $(libc-texi-generated), not individual files
38579 from that list. Do not remove dir-add.texinfo.
38580 * manual/libc.texinfo: Comment out uses of edition numbers and
38581 references to printed manual. Remove last-updated dates.
38582 (EDITION): Comment out.
38584 (VERSION, UPDATED): Remove.
38585 (version.texi): Include.
38587 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38589 * sysdeps/posix/spawni.c: Include <signal.h>.
38590 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38591 * sysdeps/pthread/aio_fsync.c: Likewise.
38593 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38595 * conform/Makefile (tests): Run only when not cross-compiling and
38596 when fast-check is not defined.
38598 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38599 * conform/data/limits.h-data: Fixes for POSIX2008.
38600 * conform/run-conformtest.sh: Run all tests.
38601 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38603 * include/bits/dlfcn.h: Likewise.
38604 * include/langinfo.h: Likewise.
38605 * include/monetary.h: Likewise.
38606 * include/sys/poll.h: Likewise.
38608 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38610 * posix/spawn.h: Define __need_sigset_t.
38611 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38612 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38613 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38614 to get sigevent_t only.
38615 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38616 only for __USE_GNU.
38617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38618 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38619 process_vm_writev only for __USE_GNU.
38620 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38622 * conform/Makefile: For now ignore errors from run-conformtest.
38623 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38624 POSIX to avoid namespace pollution. Don't prepend headers.
38625 * conform/data/aio.h-data: Fixes for POSIX testing.
38626 * conform/data/fcntl.h-data: Likewise.
38627 * conform/data/glob.h-data: Likewise.
38628 * conform/data/grp.h-data: Likewise.
38629 * conform/data/pthread.h-data: Likewise.
38630 * conform/data/pwd.h-data: Likewise.
38631 * conform/data/signal.h-data: Likewise.
38632 * conform/data/spawn.h-data: Likewise.
38633 * conform/data/stdio.h-data: Likewise.
38634 * conform/data/stdlib.h-data: Likewise.
38635 * conform/data/stropts.h-data: Likewise.
38636 * conform/data/sys/mman.h-data: Likewise.
38637 * conform/data/sys/stat.h-data: Likewise.
38638 * conform/data/sys/types.h-data: Likewise.
38639 * conform/data/sys/wait.h-data: Likewise.
38640 * conform/data/time.h-data: Likewise.
38641 * conform/data/unistd.h-data: Likewise.
38642 * conform/data/utime.h-data: Likewise.
38644 * io/sys/stat.h: fchmod was always in POSIX.
38645 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38646 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38647 * rt/aio.h: Define __need_timespec before including <time.h>.
38648 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38649 struct. Add forward declaration of pthread_attr_t and use it in
38651 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38652 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38653 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38654 always remove CLK_TCK definition.
38656 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38658 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38660 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38662 * conform/run-conformtest.sh: New file.
38663 * conform/Makefile: Run run-conformtest for tests.
38664 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38667 * conform/data/uchar.h-data: New file.
38668 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38669 * conform/data/arpa/inet.h-data: Likewise.
38670 * conform/data/assert.h-data: Likewise.
38671 * conform/data/complex.h-data: Likewise.
38672 * conform/data/cpio.h-data: Likewise.
38673 * conform/data/ctype.h-data: Likewise.
38674 * conform/data/dirent.h-data: Likewise.
38675 * conform/data/dlfcn.h-data: Likewise.
38676 * conform/data/errno.h-data: Likewise.
38677 * conform/data/fcntl.h-data: Likewise.
38678 * conform/data/float.h-data: Likewise.
38679 * conform/data/fmtmsg.h-data: Likewise.
38680 * conform/data/fnmatch.h-data: Likewise.
38681 * conform/data/ftw.h-data: Likewise.
38682 * conform/data/glob.h-data: Likewise.
38683 * conform/data/grp.h-data: Likewise.
38684 * conform/data/iconv.h-data: Likewise.
38685 * conform/data/inttypes.h-data: Likewise.
38686 * conform/data/langinfo.h-data: Likewise.
38687 * conform/data/libgen.h-data: Likewise.
38688 * conform/data/limits.h-data: Likewise.
38689 * conform/data/locale.h-data: Likewise.
38690 * conform/data/math.h-data: Likewise.
38691 * conform/data/monetary.h-data: Likewise.
38692 * conform/data/mqueue.h-data: Likewise.
38693 * conform/data/ndbm.h-data: Likewise.
38694 * conform/data/net/if.h-data: Likewise.
38695 * conform/data/netdb.h-data: Likewise.
38696 * conform/data/netinet/in.h-data: Likewise.
38697 * conform/data/nl_types.h-data: Likewise.
38698 * conform/data/poll.h-data: Likewise.
38699 * conform/data/pthread.h-data: Likewise.
38700 * conform/data/pwd.h-data: Likewise.
38701 * conform/data/regex.h-data: Likewise.
38702 * conform/data/sched.h-data: Likewise.
38703 * conform/data/search.h-data: Likewise.
38704 * conform/data/semaphore.h-data: Likewise.
38705 * conform/data/setjmp.h-data: Likewise.
38706 * conform/data/signal.h-data: Likewise.
38707 * conform/data/spawn.h-data: Likewise.
38708 * conform/data/stdarg.h-data: Likewise.
38709 * conform/data/stdio.h-data: Likewise.
38710 * conform/data/stdlib.h-data: Likewise.
38711 * conform/data/string.h-data: Likewise.
38712 * conform/data/strings.h-data: Likewise.
38713 * conform/data/stropts.h-data: Likewise.
38714 * conform/data/sys/ipc.h-data: Likewise.
38715 * conform/data/sys/mman.h-data: Likewise.
38716 * conform/data/sys/msg.h-data: Likewise.
38717 * conform/data/sys/resource.h-data: Likewise.
38718 * conform/data/sys/select.h-data: Likewise.
38719 * conform/data/sys/sem.h-data: Likewise.
38720 * conform/data/sys/shm.h-data: Likewise.
38721 * conform/data/sys/socket.h-data: Likewise.
38722 * conform/data/sys/stat.h-data: Likewise.
38723 * conform/data/sys/statvfs.h-data: Likewise.
38724 * conform/data/sys/time.h-data: Likewise.
38725 * conform/data/sys/timeb.h-data: Likewise.
38726 * conform/data/sys/times.h-data: Likewise.
38727 * conform/data/sys/types.h-data: Likewise.
38728 * conform/data/sys/uio.h-data: Likewise.
38729 * conform/data/sys/un.h-data: Likewise.
38730 * conform/data/sys/utsname.h-data: Likewise.
38731 * conform/data/sys/wait.h-data: Likewise.
38732 * conform/data/syslog.h-data: Likewise.
38733 * conform/data/tar.h-data: Likewise.
38734 * conform/data/termios.h-data: Likewise.
38735 * conform/data/utime.h-data: Likewise.
38736 * conform/data/utmpx.h-data: Likewise.
38737 * conform/data/varargs.h-data: Likewise.
38738 * conform/data/wchar.h-data: Likewise.
38739 * conform/data/wctype.h-data: Likewise.
38740 * conform/data/wordexp.h-data: Likewise.
38742 * include/stropts.h: New file.
38743 * include/uchar.h: New file.
38744 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38745 * include/assert.h: Likewise.
38746 * include/ctype.h: Likewise.
38747 * include/dirent.h: Likewise.
38748 * include/dlfcn.h: Likewise.
38749 * include/fcntl.h: Likewise.
38750 * include/fnmatch.h: Likewise.
38751 * include/glob.h: Likewise.
38752 * include/grp.h: Likewise.
38753 * include/libio.h: Likewise.
38754 * include/locale.h: Likewise.
38755 * include/math.h: Likewise.
38756 * include/net/if.h: Likewise.
38757 * include/netdb.h: Likewise.
38758 * include/netinet/in.h: Likewise.
38759 * include/pthread.h: Likewise.
38760 * include/pwd.h: Likewise.
38761 * include/regex.h: Likewise.
38762 * include/sched.h: Likewise.
38763 * include/search.h: Likewise.
38764 * include/setjmp.h: Likewise.
38765 * include/signal.h: Likewise.
38766 * include/stdio.h: Likewise.
38767 * include/stdlib.h: Likewise.
38768 * include/string.h: Likewise.
38769 * include/sys/cdefs.h: Likewise.
38770 * include/sys/mman.h: Likewise.
38771 * include/sys/msg.h: Likewise.
38772 * include/sys/resource.h: Likewise.
38773 * include/sys/select.h: Likewise.
38774 * include/sys/socket.h: Likewise.
38775 * include/sys/stat.h: Likewise.
38776 * include/sys/statvfs.h: Likewise.
38777 * include/sys/time.h: Likewise.
38778 * include/sys/times.h: Likewise.
38779 * include/sys/uio.h: Likewise.
38780 * include/sys/utsname.h: Likewise.
38781 * include/sys/wait.h: Likewise.
38782 * include/termios.h: Likewise.
38783 * include/time.h: Likewise.
38784 * include/ulimit.h: Likewise.
38785 * include/unistd.h: Likewise.
38786 * include/utime.h: Likewise.
38787 * include/wchar.h: Likewise.
38788 * include/wctype.h: Likewise.
38789 * include/wordexp.h: Likewise.
38791 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38793 * time/time.h: TIME_UTC must be a macro.
38794 Make timespec_get available for ISO C11 only as well.
38796 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38798 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38799 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38801 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38803 * configure.in: Use -o not -a in test for unsupported multi-arch.
38805 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38807 * manual/texinfo.tex: Update to version 2012-01-19.16.
38809 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38811 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38813 2012-02-24 Roland McGrath <roland@hack.frob.com>
38816 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38817 * manual/fdl-1.3.texi: New file.
38818 * manual/fdl-1.1.texi: File removed.
38821 * manual/libc.texinfo (FDL_VERSION): New @set.
38822 Use it for mention of FDL in cover text.
38823 (Documentation License): Use it in @include file name.
38825 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38826 Roland McGrath <roland@hack.frob.com>
38829 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38830 (not LONG_LONG_MAX and LONG_LONG_MIN.
38831 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38832 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38834 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38836 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38840 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38841 manipulate bits before adding and subtracting TWO23[sx].
38842 * math/libm-test.inc (nearbyint_test): Add more tests.
38844 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38847 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38848 bits before adding and subtracting TWO23[sx].
38849 * math/libm-test.inc (rint_test): Add more tests.
38850 (rint_test_tonearest): Likewise.
38851 (rint_test_towardzero): Likewise.
38852 (rint_test_downward): Likewise.
38853 (rint_test_upward: Likewise.
38855 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38858 * include/stdc-predef.h: New file. Extracted from features.h.
38859 * include/features.h: Include stdc-predef.h.
38860 * Makefile (headers): Add stdc-predef.h.
38861 * CONFORMANCE (Compiler limitations): Update.
38863 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38865 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38867 2012-02-21 David S. Miller <davem@davemloft.net>
38869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38870 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38872 2012-02-20 David S. Miller <davem@davemloft.net>
38874 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38875 using a normal save/restore sequence, rather than allocating a
38876 dummy stack frame just to store a frame pointer and restore.
38877 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38879 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38881 * manual/install.texi: Fix stray word in line-wrapped comment.
38883 2012-02-20 David S. Miller <davem@davemloft.net>
38885 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38886 both binutils and gcc support GOTDATA.
38888 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38889 "rd %pc" in the PIC register setup sequences.
38891 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38892 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38893 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38894 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38895 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38897 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38898 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38900 (SYSCALL_ERROR_HANDLER): Likewise.
38901 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38902 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38904 (SYSCALL_ERROR_HANDLER): Likewise.
38906 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38907 (HAVE_GCC_GOTDATA): New.
38908 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38909 relocation support in both binutils and gcc.
38910 * sysdeps/sparc/elf/configure: Regenerate.
38912 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38913 * sysdeps/sparc/sparc32/elf/configure: Delete.
38914 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38915 * sysdeps/sparc/sparc64/elf/configure: Delete.
38916 * sysdeps/sparc/elf/configure.in: New file.
38917 * sysdeps/sparc/elf/configure: Generate.
38919 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38920 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38921 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38922 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38923 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38925 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38927 * manual/install.texi: Do not mention specific glibc version
38929 * manual/libc.texinfo (VERSION, UPDATED): Update.
38930 (@copying): Use @copyright{} and range of years.
38932 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38935 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38936 [crti.S not in sysdirs] (generated): Do not append.
38937 [crti.S not in sysdirs] (omit-deps): Likewise.
38938 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38939 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38940 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38941 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38942 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38944 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38945 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38946 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38947 * csu/defs.awk: Remove file.
38948 * sysdeps/generic/initfini.c: Likewise.
38949 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38951 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38954 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38956 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38957 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38958 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38959 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38960 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38961 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38963 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38964 (__EPOLL_PACKED): Define to empty if not defined by
38966 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38970 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38972 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38973 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38974 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38975 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38977 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38981 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38983 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38986 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38987 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38990 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38992 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38993 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38995 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38997 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38998 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39000 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39002 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39005 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39007 * math/w_acos.c: Use non-signaling floating-point comparisons.
39008 * math/w_acosf.c: Likewise.
39009 * math/w_acosh.c: Likewise.
39010 * math/w_acoshf.c: Likewise.
39011 * math/w_acoshl.c: Likewise.
39012 * math/w_acosl.c: Likewise.
39013 * math/w_asin.c: Likewise.
39014 * math/w_asinf.c: Likewise.
39015 * math/w_asinl.c: Likewise.
39016 * math/w_atanh.c: Likewise.
39017 * math/w_atanhf.c: Likewise.
39018 * math/w_atanhl.c: Likewise.
39019 * math/w_exp2.c: Likewise.
39020 * math/w_exp2f.c: Likewise.
39021 * math/w_exp2l.c: Likewise.
39022 * math/w_j0.c: Likewise.
39023 * math/w_j0f.c: Likewise.
39024 * math/w_j0l.c: Likewise.
39025 * math/w_j1.c: Likewise.
39026 * math/w_j1f.c: Likewise.
39027 * math/w_j1l.c: Likewise.
39028 * math/w_jn.c: Likewise.
39029 * math/w_jnf.c: Likewise.
39030 * math/w_log.c: Likewise.
39031 * math/w_log10.c: Likewise.
39032 * math/w_log10f.c: Likewise.
39033 * math/w_log10l.c: Likewise.
39034 * math/w_log2.c: Likewise.
39035 * math/w_log2f.c: Likewise.
39036 * math/w_log2l.c: Likewise.
39037 * math/w_logf.c: Likewise.
39038 * math/w_logl.c: Likewise.
39039 * math/w_sqrt.c: Likewise.
39040 * math/w_sqrtf.c: Likewise.
39041 * math/w_sqrtl.c: Likewise.
39042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39043 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39045 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39046 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39048 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39051 * manual/string.texi (strnlen): Use correct parameter name in
39052 equivalent expression.
39054 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39057 * manual/users.texi (seteuid): Consistently use neweuid for
39060 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39063 * manual/nss.texi (Services in the NSS configuration): Correct
39064 list of services in example configuration file.
39066 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39069 * manual/arith.texi: Remove statements about negative zero
39070 behaving identically to zero.
39072 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39075 * manual/install.texi: Do not document upgrading from libc5.
39077 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39080 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39082 2012-02-18 David S. Miller <davem@davemloft.net>
39084 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39085 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39086 %o7 across the call.
39087 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39090 SETUP_PIC_REG_LEAF.
39091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39092 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39093 * sysdeps/sparc/crtn.S: Likewise.
39095 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39097 * aout/Makefile: Remove.
39099 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39102 * manual/examples/argp-ex1.c (main): Format definition in GNU
39104 * manual/examples/argp-ex2.c (main): Likewise.
39105 * manual/examples/argp-ex3.c (main): Likewise.
39106 * manual/examples/argp-ex4.c (main): Likewise.
39107 * manual/examples/longopt.c (main): Use new-style prototype
39109 * manual/examples/strncat.c (main): Specify return type and use
39110 (void) for arguments.
39111 * manual/examples/subopt.c (main): Use char **argv argument.
39113 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39116 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39119 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39122 * manual/string.texi (strchr): Change when strchrnul is
39125 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39128 * manual/locale.texi (setlocale): Document LOCPATH.
39130 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39133 * manual/process.texi (execle): Move @dots{} before last argument.
39135 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39138 * manual/charset.texi (Generic Charset Conversion): Fix typo
39139 (LC_TYPE -> LC_CTYPE).
39141 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39144 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39145 (scalbnf): Likewise.
39146 (scalbnl): Likewise.
39147 (scalbln): Likewise.
39148 (scalblnf): Likewise.
39149 (scalblnl): Likewise.
39150 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39151 (vwarnx): Likewise.
39154 * manual/filesys.texi (telldir): Use braces around return type.
39155 * manual/llio.texi (mmap): Add space after comma.
39156 (mmap64): Likewise.
39157 * manual/math.texi (jn): Use @var{} on parameter names.
39163 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39165 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39167 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39168 (sched_get_priority_max): Likewise.
39169 * manual/signal.texi (sigvec): Add space after comma.
39170 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39172 (if_indextoname): Likewise.
39173 (if_freenameindex): Likewise.
39174 (sendto): Use ',' instead of '.' in prototype.
39175 * manual/startup.texi (syscall): Use @dots{} instead of literal
39177 * manual/stdio.texi (__fpending): Separate initial words of
39178 paragraph from @deftypefun line.
39179 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39181 (vsyslog): Use @var{} on parameter names.
39182 * manual/terminal.texi (stty): Use @var{} on parameter names.
39183 * manual/users.texi (getutmp): Use @var{} on parameter names.
39184 (getutmpx): Likewise.
39186 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39189 * manual/stdio.texi (fopen): Fix typos in description of
39192 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39195 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39196 get clock_id definition.
39198 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39201 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39202 (madvise): Cast every argument to void on its own.
39204 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39207 * manual/startup.texi (Exit Status): Fix typo.
39209 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39212 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39213 * manual/examples/argp-ex2.c: Likewise.
39214 * manual/examples/argp-ex3.c: Likewise.
39216 2012-02-16 Richard Henderson <rth@redhat.com>
39218 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39219 * sysdeps/s390/s390-32/initfini.c: Remove.
39220 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39221 * sysdeps/s390/s390-64/initfini.c: Remove.
39223 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39225 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39226 compiler output for sysdeps/generic/initfini.c.
39227 * sysdeps/sh/elf/initfini.c: Remove file.
39229 2012-02-16 David S. Miller <davem@davemloft.net>
39232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39234 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39235 * sysdeps/sparc/crti.S: New file.
39236 * sysdeps/sparc/crtn.S: New file.
39237 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39238 * sysdeps/sparc/sparc64/Makefile: Likewise.
39240 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39243 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39245 2012-02-15 Roland McGrath <roland@hack.frob.com>
39248 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39250 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39251 (write, read, close): Likewise.
39252 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39254 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39256 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39257 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39258 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39259 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39261 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39265 2012-02-14 Marek Polacek <polacek@redhat.com>
39267 * sysdeps/x86_64/crti.S: New file.
39268 * sysdeps/x86_64/crtn.S: New file.
39269 * sysdeps/x86_64/elf/initfini.c: Remove file.
39271 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39273 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39274 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39275 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39276 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39278 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39282 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39284 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39285 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39286 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39287 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39289 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39293 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39295 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39296 __feraiseexcept instead of feraiseexcept.
39298 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39299 nanosleep invocations.
39300 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39301 strings, and add error checking for a nanosleep invocations.
39303 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39305 Replace FSF snail mail address with URLs, as per GNU coding standards.
39306 Most of the snail mail addresses were wrong anyway, and omitting
39307 them makes the source code easier to maintain. Almost all of the
39308 changes are to license notices and to locale LC_IDENTIFICATION
39309 addresses, except for this one:
39310 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39311 not its snail mail address.
39313 2012-02-09 Richard Henderson <rth@twiddle.net>
39315 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39316 of kernel-features.h.
39318 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39320 2012-02-08 Marek Polacek <polacek@redhat.com>
39322 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39323 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39324 * sysdeps/gnu/_G_config.h: Likewise.
39325 * sysdeps/generic/_G_config.h: Likewise.
39327 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39329 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39333 * sysdeps/powerpc/powerpc32/crti.S: New file.
39334 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39335 * sysdeps/powerpc/powerpc64/crti.S: New file.
39336 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39338 * Makeconfig (have-initfini): Don't set.
39339 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39340 * configure.in (nopic_initfini): Don't substitute.
39341 * config.h.in (HAVE_INITFINI): Don't #undef.
39342 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39343 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39345 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39347 Support crti.S and crtn.S provided directly by architectures.
39348 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39349 [crti.S in sysdirs] (omit-deps): Likewise.
39350 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39351 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39352 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39353 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39354 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39355 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39356 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39357 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39358 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39359 compiler output for sysdeps/generic/initfini.c.
39360 * sysdeps/i386/elf/Makefile: Remove file.
39361 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39363 2012-02-07 Marek Polacek <polacek@redhat.com>
39365 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39366 * sysdeps/gnu/_G_config.h: Likewise.
39367 * sysdeps/mach/hurd/_G_config.h: Likewise.
39369 2012-02-07 Marek Polacek <polacek@redhat.com>
39371 * math/Makefile (tests): Add tst-CMPLX2.
39372 * math/tst-CMPLX2.c: New file.
39374 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39376 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39378 * math/libm-test.inc (jn_test): Add missing L suffix.
39380 2012-02-06 Marek Polacek <polacek@redhat.com>
39382 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39383 * sysdeps/i386/fpu/e_powf.S: Likewise.
39384 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39385 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39386 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39387 * sysdeps/i386/fpu/e_pow.S: Likewise.
39388 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39389 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39390 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39391 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39392 * sysdeps/i386/fpu/e_log2.S: Likewise.
39393 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39394 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39395 * sysdeps/i386/fpu/e_powl.S: Likewise.
39396 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39397 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39398 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39399 * sysdeps/i386/fpu/e_logl.S: Likewise.
39400 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39401 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39402 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39403 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39404 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39405 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39406 * sysdeps/i386/fpu/e_log.S: Likewise.
39407 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39408 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39409 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39410 * sysdeps/i386/fpu/e_logf.S: Likewise.
39411 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39412 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39413 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39414 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39415 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39416 * sysdeps/i386/fpu/e_log10.S: Likewise.
39417 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39419 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39420 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39421 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39422 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39423 * sysdeps/i386/asm-syntax.h: Likewise.
39424 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39425 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39426 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39427 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39428 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39429 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39430 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39431 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39432 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39433 * sysdeps/powerpc/sysdep.h: Likewise.
39434 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39435 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39437 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39440 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39442 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39444 * sysdeps/i386/sysdep.h: Include <features.h>.
39445 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39448 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39450 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39452 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39455 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39457 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39458 (SETUP_PIC_REG): Use GET_PC_THUNK.
39459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39462 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39464 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39465 for non-PIC compilation.
39466 (SETUP_PIC_REG): Add .p2align directive.
39467 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39468 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39469 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39470 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39471 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39472 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39473 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39474 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39475 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39476 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39477 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39478 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39479 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39480 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39481 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39482 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39483 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39484 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39485 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39486 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39489 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39490 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39493 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39494 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39495 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39496 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39497 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39498 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39499 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39500 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39501 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39502 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39503 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39504 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39505 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39506 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39507 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39509 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39511 * math/tst-CMPLX.c: Include <stdio.h>.
39513 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39515 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39517 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39518 * sysdeps/sparc/bits/mathdef.h: Likewise.
39520 2012-01-31 Marek Polacek <polacek@redhat.com>
39522 * libio/libio.h: Don't define _PARAMS.
39523 * locale/programs/config.h: Don't define PARAMS.
39524 * stdlib/strtol_l.c: Likewise.
39525 (__strtol_l): Remove PARAMS from the prototype.
39527 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39529 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39530 names. Just use the correct names. Remove unnecessary wrapper
39532 * malloc/arena.c: Likewise.
39533 * malloc/hooks.c: Likewise.
39535 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39536 ARENA_TEST says not to. Simplify test for creation of a new arena.
39537 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39539 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39541 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39543 (update_get_addr): New function.
39544 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39545 GET_ADDR_MODULE parameter.
39547 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39549 * crypt/cert.c: Remove __STDC__ conditionals.
39550 * crypt/crypt-entry.c: Likewise.
39551 * crypt/crypt_util.c: Likewise.
39552 * libio/filedoalloc.c: Likewise.
39553 * libio/fileops.c: Likewise.
39554 * libio/genops.c: Likewise.
39555 * libio/iofclose.c: Likewise.
39556 * libio/iofdopen.c: Likewise.
39557 * libio/iofopen.c: Likewise.
39558 * libio/iofopen64.c: Likewise.
39559 * libio/iogetdelim.c: Likewise.
39560 * libio/iopopen.c: Likewise.
39561 * libio/obprintf.c: Likewise.
39562 * libio/oldfileops.c: Likewise.
39563 * libio/oldiofclose.c: Likewise.
39564 * libio/oldiofdopen.c: Likewise.
39565 * libio/oldiofopen.c: Likewise.
39566 * libio/oldiopopen.c: Likewise.
39567 * libio/wfiledoalloc.c: Likewise.
39568 * libio/wgenops.c: Likewise.
39569 * locale/programs/xmalloc.c: Likewise.
39570 * misc/syslog.c: Likewise.
39571 * stdio-common/xbug.c: Likewise.
39572 * string/memchr.c: Likewise.
39573 * string/memcmp.c: Likewise.
39574 * string/memrchr.c: Likewise.
39575 * string/rawmemchr.c: Likewise.
39576 * sysdeps/posix/getcwd.c: Likewise.
39577 * time/strftime_l.c: Likewise.
39579 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39581 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39582 * config.make.in (config-cflags-sse2avx): Define.
39583 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39586 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39588 * scripts/config.guess: Update from upstream config git repository.
39589 * scripts/config.sub: Likewise.
39591 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39593 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39595 (R_TILEPRO_*, R_TILEGX_*): New macros.
39597 * scripts/firstversions.awk: Fix bug in version range handling.
39599 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39601 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39603 * include/sys/epoll.h: New file.
39604 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39607 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39609 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39610 Avoid unnecessary __WORDSIZE == 64 test.
39611 (fmaxf): Use VEX format if possible.
39616 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39617 * math/math_private.h: Remove libc_fegetround* and
39619 * sysdeps/i386/configure.in: Check for -msse2avx.
39620 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39621 also if SSE2AVX is defined.
39622 Remove libc_fegetround* and libc_fesetround*.
39623 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39624 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39625 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39627 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39628 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39629 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39630 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39631 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39633 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39635 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39637 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39639 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39641 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39644 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39646 * Makeconfig (libm): Define.
39647 * elf/Makefile: Add rules to build and run tst-relsort1.
39648 * elf/tst-relsort1.c: New file.
39649 * elf/tst-relsort1mod1.c: New file.
39650 * elf/tst-relsort1mod2.c: New file.
39652 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39654 * math/s_ldexp.c: Remove __STDC__ conditionals.
39655 * math/s_ldexpf.c: Likewise.
39656 * math/s_ldexpl.c: Likewise.
39657 * math/s_nextafter.c: Likewise.
39658 * math/s_nexttowardf.c: Likewise.
39659 * math/s_significand.c: Likewise.
39660 * math/s_significandf.c: Likewise.
39661 * math/s_significandl.c: Likewise.
39662 * math/w_jnl.c: Likewise.
39663 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39664 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39665 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39666 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39667 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39669 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39670 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39671 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39672 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39673 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39674 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39675 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39676 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39677 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39678 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39679 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39682 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39683 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39685 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39687 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39688 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39689 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39690 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39691 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39692 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39693 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39694 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39695 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39696 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39697 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39698 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39699 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39700 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39701 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39702 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39703 * sysdeps/ieee754/k_standard.c: Likewise.
39704 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39706 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39707 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39708 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39709 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39710 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39711 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39712 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39713 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39714 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39715 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39716 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39717 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39718 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39720 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39723 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39724 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39725 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39726 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39727 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39728 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39729 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39732 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39733 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39735 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39736 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39737 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39739 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39740 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39741 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39742 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39743 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39744 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39746 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39747 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39748 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39749 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39750 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39752 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39753 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39754 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39755 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39756 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39757 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39758 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39759 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39760 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39761 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39762 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39763 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39764 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39765 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39766 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39767 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39768 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39769 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39770 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39771 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39772 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39773 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39774 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39775 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39777 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39778 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39779 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39781 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39782 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39783 * sysdeps/ieee754/s_matherr.c: Likewise.
39784 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39785 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39789 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39791 * crypt/md5.h: Remove __STDC__ conditionals.
39792 * libio/libioP.h: Likewise.
39793 * locale/programs/config.h: Likewise.
39794 * sysdeps/generic/sysdep.h: Likewise.
39795 * sysdeps/i386/asm-syntax.h: Likewise.
39796 * sysdeps/s390/asm-syntax.h: Likewise.
39797 * sysdeps/unix/sysdep.h: Likewise.
39798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39801 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39803 * libio/libio.h: Remove __STDC__ conditionals.
39804 * malloc/obstack.h: Likewise.
39805 * math/complex.h: Likewise.
39806 * math/math.h: Likewise.
39807 * sysdeps/generic/_G_config.h: Likewise.
39808 * sysdeps/gnu/_G_config.h: Likewise.
39809 * sysdeps/mach/hurd/_G_config.h: Likewise.
39810 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39811 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39812 * sysdeps/sparc/bits/mathdef.h: Likewise.
39814 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39817 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39818 Clean up HAS_* macros.
39819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39820 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39822 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39825 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39828 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39830 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39832 * elf/tst-unique3.cc (gets): Remove declaration.
39833 * elf/tst-unique3lib.cc (gets): Likewise.
39834 * elf/tst-unique3lib2.cc (gets): Likewise.
39835 * elf/tst-unique4.cc (gets): Likewise.
39837 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39839 * include/stdio.h: Add C++ protection. Add gets declarations and
39841 * debug/tst-chk1.c: Don't declare gets here.
39842 * stdio-common/tst-gets.c: Likewise.
39844 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39846 * posix/glob: Remove directory.
39848 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39850 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39852 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39854 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39855 of the non-standard EPFNOSUPPORT.
39857 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39859 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39860 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39861 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39863 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39865 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39867 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39869 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39871 * nscd/grpcache.c (cache_addgr): Likewise.
39872 * nscd/hstcache.c (cache_addhst): Likewise.
39873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39874 * nscd/pwdcache.c (cache_addpw): Likewise.
39875 * nscd/servicescache.c (cache_addserv): Likewise.
39877 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39879 * malloc/malloc.c: Various cleanups.
39880 * malloc/hooks.c: Likewise.
39882 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39883 * stdlib/bug-fmtmsg1.c: New file.
39885 * stdlib/fmtmsg.c (init): Add missing unlock.
39886 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39888 2012-01-12 Marek Polacek <polacek@redhat.com>
39890 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39893 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39895 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39896 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39897 macro to ensure uniqueness of label name.
39898 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39899 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39901 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39903 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39906 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39907 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39910 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39912 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39914 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39915 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39916 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39918 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39920 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39921 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39925 * math/bits/math-finite.h: Add ldexp support.
39927 2012-01-10 Marek Polacek <polacek@redhat.com>
39929 * locale/programs/localedef.h (show_archive_content): Add noreturn
39932 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39934 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39936 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39938 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39940 * io/Makefile (headers): Add bits/poll2.h.
39942 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39945 typo #include statement.
39947 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39949 * include/sys/cdefs.h: Define __attribute_alloc_size.
39950 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39951 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39952 * elf/pldd.c: Likewise.
39953 * iconv/iconv_charmap.c: Likewise.
39954 * iconv/iconvconfig.c: Likewise.
39955 * iconv/strtab.c: Likewise.
39956 * locale/programs/locale.c: Likewise.
39957 * locale/programs/localedef.h: Likewise.
39958 * locale/programs/simple-hash.c: Likewise.
39959 * nscd/nscd.h: Likewise.
39960 * nss/makedb.c: Likewise.
39961 * sysdeps/generic/ldconfig.h: Likewise.
39962 * locale/programs/localedef.c: Remove xmalloc prototype.
39963 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39965 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39967 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39970 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39972 * math/Makefile (tests): Add tst-CMPLX.
39973 * math/tst-CMPLX.c: New file.
39975 * math/complex.h (CMPLXL): Fix typo.
39977 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39978 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39980 * debug/tst-chk1.c: Add poll and ppoll tests.
39981 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39982 * include/sys/poll.h: Add hidden proto for ppoll.
39983 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39984 * sysdeps/mach/hurd/ppoll.c: Likewise.
39985 * io/ppoll.c: Likewise.
39986 * debug/poll_chk.c: New file.
39987 * debug/ppoll_chk.c: New file.
39988 * include/bits/poll2.h: New file.
39989 * io/bits/poll2.h: New file.
39992 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39994 * configure.in: static is always set to yes. Remove.
39995 * config.make.in: Don't set build-static.
39996 * Makeconfig: Remove use of build-static.
39997 * dlfcn/Makefile: Likewise.
39998 * elf/Makefile: Likewise.
39999 * math/Makefile: Likewise.
40000 * misc/Makefile: Likewise.
40001 * nptl/Makefile: Likewise.
40002 * sysdeps/mach/hurd/Makefile: Likewise.
40004 * configure.in: PWD_P is not used anymore.
40005 * config.make.in: Remove PWD_P entry.
40007 * configure.in: Remove last remnants of RANLIB.
40008 No need to check for signed size_t anymore.
40009 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40011 Remove __builtin_expect test because we require at least gcc 3.4.
40012 * aclocal.m4: Likewise.
40014 * wcsmbs/mbrtoc16.c: Implement using towc function.
40015 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40016 * wcsmbs/wcsmbsload.c: Likewise.
40017 * iconv/gconv_simple.c: Likewise.
40018 * iconv/gconv_int.h: Likewise.
40019 * iconv/gconv_builtin.h: Likewise.
40020 * iconv/iconv_prog.c: Remove CHAR16 handling.
40022 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40024 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40026 * configure.in: Remove --with-elf and --enable-bounded options.
40027 Dont set base_machine for ia64. More non-ELF conditions removed.
40028 Remove testing and setting of leading underscore information.
40029 * config.make.in (build-bounded): Set to no.
40030 * config.h.in: Remove NO_UNDERSCORES entry.
40031 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40033 * csu/start.c: Remove !NO_UNDERSCORE code.
40034 * locale/localeinfo.h: Likewise.
40035 * sysdeps/generic/machine-gmon.h: Likewise.
40036 * sysdeps/generic/sysdep.h: Likewise.
40037 * sysdeps/i386/sysdep.h: Likewise.
40038 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40039 * sysdeps/mach/sysdep.h: Likewise.
40040 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40041 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40042 * sysdeps/sh/sysdep.h: Likewise.
40043 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40044 * sysdeps/unix/i386/sysdep.S: Likewise.
40045 * sysdeps/unix/sparc/start.c: Likewise.
40046 * sysdeps/unix/sparc/sysdep.S: Likewise.
40047 * sysdeps/unix/sparc/sysdep.h: Likewise.
40048 * sysdeps/unix/start.c: Likewise.
40049 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40050 * sysdeps/x86_64/sysdep.h: Likewise.
40052 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40055 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40057 * argp/argp-fmtstream.h: Use const instead __const.
40058 * argp/argp.h: Likewise.
40059 * assert/assert.h: Likewise.
40060 * bits/fenv.h: Likewise.
40061 * bits/sched.h: Likewise.
40062 * bits/sigset.h: Likewise.
40063 * bits/sigthread.h: Likewise.
40064 * catgets/nl_types.h: Likewise.
40065 * conform/data/pthread.h-data: Likewise.
40066 * crypt/crypt-private.h: Likewise.
40067 * crypt/crypt.h: Likewise.
40068 * crypt/crypt_util.c: Likewise.
40069 * ctype/ctype.h: Likewise.
40070 * debug/execinfo.h: Likewise.
40071 * debug/mbsnrtowcs_chk.c: Likewise.
40072 * debug/mbsrtowcs_chk.c: Likewise.
40073 * debug/wcsnrtombs_chk.c: Likewise.
40074 * debug/wcsrtombs_chk.c: Likewise.
40075 * debug/wcstombs_chk.c: Likewise.
40076 * dirent/dirent.h: Likewise.
40077 * dlfcn/dlfcn.h: Likewise.
40078 * elf/neededtest4.c: Likewise.
40079 * grp/grp.h: Likewise.
40080 * gshadow/gshadow.h: Likewise.
40081 * iconv/gconv.h: Likewise.
40082 * iconv/gconv_int.h: Likewise.
40083 * iconv/gconv_simple.c: Likewise.
40084 * iconv/iconv.h: Likewise.
40085 * iconv/loop.c: Likewise.
40086 * iconv/skeleton.c: Likewise.
40087 * include/aio.h: Likewise.
40088 * include/aliases.h: Likewise.
40089 * include/argz.h: Likewise.
40090 * include/arpa/inet.h: Likewise.
40091 * include/assert.h: Likewise.
40092 * include/dirent.h: Likewise.
40093 * include/dlfcn.h: Likewise.
40094 * include/execinfo.h: Likewise.
40095 * include/fcntl.h: Likewise.
40096 * include/fenv.h: Likewise.
40097 * include/glob.h: Likewise.
40098 * include/grp.h: Likewise.
40099 * include/libintl.h: Likewise.
40100 * include/mntent.h: Likewise.
40101 * include/netdb.h: Likewise.
40102 * include/pwd.h: Likewise.
40103 * include/rpc/netdb.h: Likewise.
40104 * include/sched.h: Likewise.
40105 * include/search.h: Likewise.
40106 * include/shadow.h: Likewise.
40107 * include/signal.h: Likewise.
40108 * include/stdio.h: Likewise.
40109 * include/stdlib.h: Likewise.
40110 * include/string.h: Likewise.
40111 * include/sys/socket.h: Likewise.
40112 * include/sys/stat.h: Likewise.
40113 * include/sys/statfs.h: Likewise.
40114 * include/sys/statvfs.h: Likewise.
40115 * include/sys/syslog.h: Likewise.
40116 * include/sys/time.h: Likewise.
40117 * include/sys/uio.h: Likewise.
40118 * include/time.h: Likewise.
40119 * include/unistd.h: Likewise.
40120 * include/utmp.h: Likewise.
40121 * include/wchar.h: Likewise.
40122 * include/wctype.h: Likewise.
40123 * inet/aliases.h: Likewise.
40124 * inet/arpa/inet.h: Likewise.
40125 * inet/netinet/ether.h: Likewise.
40126 * inet/netinet/in.h: Likewise.
40127 * intl/libintl.h: Likewise.
40128 * io/bits/fcntl2.h: Likewise.
40129 * io/fcntl.h: Likewise.
40130 * io/ftw.h: Likewise.
40131 * io/sys/poll.h: Likewise.
40132 * io/sys/stat.h: Likewise.
40133 * io/sys/statfs.h: Likewise.
40134 * io/sys/statvfs.h: Likewise.
40135 * io/utime.h: Likewise.
40136 * libio/bits/stdio.h: Likewise.
40137 * libio/bits/stdio2.h: Likewise.
40138 * libio/libio.h: Likewise.
40139 * libio/libioP.h: Likewise.
40140 * libio/stdio.h: Likewise.
40141 * locale/lc-ctype.c: Likewise.
40142 * locale/locale.h: Likewise.
40143 * login/utmp.h: Likewise.
40144 * malloc/arena.c: Likewise.
40145 * malloc/malloc.c: Likewise.
40146 * malloc/malloc.h: Likewise.
40147 * malloc/mcheck.c: Likewise.
40148 * malloc/mtrace.c: Likewise.
40149 * math/bits/mathcalls.h: Likewise.
40150 * math/fenv.h: Likewise.
40151 * math/math_private.h: Likewise.
40152 * misc/bits/error.h: Likewise.
40153 * misc/bits/syslog.h: Likewise.
40154 * misc/err.h: Likewise.
40155 * misc/error.h: Likewise.
40156 * misc/fstab.h: Likewise.
40157 * misc/mntent.h: Likewise.
40158 * misc/regexp.h: Likewise.
40159 * misc/search.h: Likewise.
40160 * misc/sgtty.h: Likewise.
40161 * misc/sys/mman.h: Likewise.
40162 * misc/sys/syslog.h: Likewise.
40163 * misc/sys/uio.h: Likewise.
40164 * misc/sys/xattr.h: Likewise.
40165 * misc/ttyent.h: Likewise.
40166 * nis/rpcsvc/ypclnt.h: Likewise.
40167 * nss/nss.h: Likewise.
40168 * posix/bits/unistd.h: Likewise.
40169 * posix/fnmatch.h: Likewise.
40170 * posix/glob.h: Likewise.
40171 * posix/sched.h: Likewise.
40172 * posix/spawn.h: Likewise.
40173 * posix/sys/wait.h: Likewise.
40174 * posix/unistd.h: Likewise.
40175 * posix/wordexp.h: Likewise.
40176 * pwd/pwd.h: Likewise.
40177 * resolv/netdb.h: Likewise.
40178 * resource/sys/resource.h: Likewise.
40179 * rt/aio.h: Likewise.
40180 * rt/bits/mqueue2.h: Likewise.
40181 * rt/mqueue.h: Likewise.
40182 * shadow/shadow.h: Likewise.
40183 * signal/signal.h: Likewise.
40184 * socket/send.c: Likewise.
40185 * socket/sendto.c: Likewise.
40186 * socket/sys/socket.h: Likewise.
40187 * stdio-common/printf.h: Likewise.
40188 * stdlib/bits/stdlib.h: Likewise.
40189 * stdlib/fmtmsg.h: Likewise.
40190 * stdlib/monetary.h: Likewise.
40191 * stdlib/stdlib.h: Likewise.
40192 * stdlib/ucontext.h: Likewise.
40193 * streams/stropts.h: Likewise.
40194 * string/argz.h: Likewise.
40195 * string/bits/string2.h: Likewise.
40196 * string/string.h: Likewise.
40197 * string/strings.h: Likewise.
40198 * sunrpc/rpc/auth.h: Likewise.
40199 * sunrpc/rpc/auth_des.h: Likewise.
40200 * sunrpc/rpc/clnt.h: Likewise.
40201 * sunrpc/rpc/netdb.h: Likewise.
40202 * sunrpc/rpc/pmap_clnt.h: Likewise.
40203 * sunrpc/rpc/xdr.h: Likewise.
40204 * sysdeps/generic/inttypes.h: Likewise.
40205 * sysdeps/generic/net/if.h: Likewise.
40206 * sysdeps/generic/sys/swap.h: Likewise.
40207 * sysdeps/gnu/net/if.h: Likewise.
40208 * sysdeps/gnu/utmpx.h: Likewise.
40209 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40210 * sysdeps/i386/i486/bits/string.h: Likewise.
40211 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40212 * sysdeps/s390/bits/string.h: Likewise.
40213 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40214 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40215 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40216 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40217 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40218 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40219 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40220 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40221 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40222 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40223 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40224 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40225 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40226 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40227 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40228 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40229 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40232 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40234 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40235 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40236 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40237 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40238 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40239 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40240 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40241 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40242 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40243 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40244 * sysvipc/sys/ipc.h: Likewise.
40245 * sysvipc/sys/msg.h: Likewise.
40246 * sysvipc/sys/sem.h: Likewise.
40247 * sysvipc/sys/shm.h: Likewise.
40248 * termios/termios.h: Likewise.
40249 * time/sys/time.h: Likewise.
40250 * time/time.h: Likewise.
40251 * wcsmbs/bits/wchar2.h: Likewise.
40252 * wcsmbs/uchar.h: Likewise.
40253 * wcsmbs/wchar.h: Likewise.
40254 * wctype/wctype.h: Likewise.
40257 * Makeconfig: Remove all but ELF support including AIX support.
40258 * Makerules: Likewise.
40259 * config.h.in: Likewise.
40260 * config.make.in: Likewise.
40261 * configure: Likewise.
40262 * configure.in: Likewise.
40263 * csu/Makefile: Likewise.
40264 * csu/version.c: Likewise.
40265 * debug/Makefile: Likewise.
40266 * dlfcn/Makefile: Likewise.
40267 * elf/Makefile: Likewise.
40268 * extra-lib.mk: Likewise.
40269 * iconv/Makefile: Likewise.
40270 * include/libc-symbols.h: Likewise.
40271 * include/shlib-compat.h: Likewise.
40272 * resolv/Makefile: Likewise.
40273 * resolv/res_libc.c: Likewise.
40274 * rt/Makefile: Likewise.
40275 * sysdeps/i386/asm-syntax.h: Likewise.
40276 * sysdeps/i386/sysdep.h: Likewise.
40277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40278 * sysdeps/mach/sysdep.h: Likewise.
40279 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40280 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40281 * sysdeps/s390/asm-syntax.h: Likewise.
40282 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40283 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40284 * sysdeps/sh/sysdep.h: Likewise.
40285 * sysdeps/unix/sparc/sysdep.h: Likewise.
40286 * sysdeps/wordsize-32/divdi3.c: Likewise.
40287 * sysdeps/x86_64/sysdep.h: Likewise.
40289 * argp/Versions: Remove _argp_unlock_xxx.
40292 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40293 * abilist/libBrokenLocale.abilist: Likewise.
40294 * abilist/libanl.abilist: Likewise.
40295 * abilist/libc.abilist: Likewise.
40296 * abilist/libcrypt.abilist: Likewise.
40297 * abilist/libdl.abilist: Likewise.
40298 * abilist/libm.abilist: Likewise.
40299 * abilist/libnsl.abilist: Likewise.
40300 * abilist/libpthread.abilist: Likewise.
40301 * abilist/libresolv.abilist: Likewise.
40302 * abilist/librt.abilist: Likewise.
40303 * abilist/libthread_db.abilist: Likewise.
40304 * abilist/libutil.abilist: Likewise.
40305 * abilist/libnss_db.abilist: New file.
40307 * scripts/abilist.awk: Add support for indirect functions.
40309 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40311 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40313 * shlib-versions: Remove entries for ports architectures.
40315 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40317 * elf/stackguard-macros.h: Remove support for IA-64.
40318 * elf/tst-auditmod1.c: Likewise.
40319 * sysdeps/generic/ldsodefs.h: Likewise.
40321 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40322 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40326 * configure.in: Remove --enable-omitfp support.
40328 * config.make.in: Likewise.
40329 * Makeconfig: Likewise.
40330 * manual/install.texi: Likewise.
40332 In case anyone cares, the IA-64 architecture could move to ports.
40333 * sysdeps/ia64/*: Removed.
40334 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40335 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40338 * configure.in: Remove entries for unsupported architectures.
40341 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40342 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40344 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40345 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40346 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40347 fall back to using wcrtomb.
40348 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40349 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40351 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40352 * wcsmbs/tst-c16c32-1.c: New file.
40354 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40357 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40359 * elf/tst-unique3.cc: Add explicit declaration of gets.
40360 * elf/tst-unique3lib.cc: Likewise.
40361 * elf/tst-unique3lib2.cc: Likewise.
40362 * elf/tst-unique4.cc: Likewise.
40364 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40366 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40369 * assert/assert.h (static_assert): Don't define for C++.
40370 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40371 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40373 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40375 * iconv/loop.c (single loop): Fix assertion in storing of
40378 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40380 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40382 * posix/getconf.c: Update copyright year.
40383 * nss/getent.c: Likewise.
40384 * nss/makedb.c: Likewise.
40385 * iconv/iconvconfig.c: Likewise.
40386 * iconv/iconv_prog.c: Likewise.
40387 * elf/ldconfig.c: Likewise.
40388 * elf/pldd.c: Likewise.
40389 * elf/sotruss.ksh: Likewise.
40390 * catgets/gencat.c: Likewise.
40391 * csu/version.c: Likewise.
40392 * elf/ldd.bash.in: Likewise.
40393 * elf/sprof.c (print_version): Likewise.
40394 * locale/programs/locale.c: Likewise.
40395 * locale/programs/localedef.c: Likewise.
40396 * login/programs/pt_chown.c: Likewise.
40397 * nscd/nscd.c (print_version): Likewise.
40398 * debug/xtrace.sh: Likewise.
40399 * malloc/memusage.sh: Likewise.
40400 * malloc/mtrace.pl: Likewise.
40401 * debug/catchsegv.sh: Likewise.
40403 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40405 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40408 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40411 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40412 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40414 * iconv/gconv_int.h: Likewise.
40415 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40416 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40417 from libc for GLIBC_2.16.
40418 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40419 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40420 * wcsmbs/uchar.h: Really define mbstate_t.
40421 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40422 * wcsmbs/c16rtomb.c: New file.
40423 * wcsmbs/mbrtoc16.c: New file.
40424 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40425 for C/POSIX locale.
40426 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40427 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40429 * wcsmbs/wchar.h: Add missing __restrict.
40431 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40434 * time/Makefile (routines): Add timespec_get.
40435 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40436 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40437 timespec for ISO C11.
40438 * time/timespec_get.c: New file.
40439 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40440 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40443 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40444 * stdlib/stdlib.h: Declare aligned_alloc.
40445 * Versions.def: Add GLIBC_2.16 for libc.
40446 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40449 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40452 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40456 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40459 * assert/assert.h (static_assert): Define.
40461 * version.h: Update for 2.16 development version.
40464 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40467 * version.h (RELEASE): Bump for 2.15 release.
40468 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40470 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40471 Patch by Marek Polacek <mpolacek@redhat.com>.
40473 * bits/byteswap.h: Protect long long constants with __extension__.
40474 * sysdeps/i386/bits/byteswap.h: Likewise.
40475 * sysdeps/ia64/bits/byteswap.h: Likewise.
40476 * sysdeps/s390/bits/byteswap.h: Likewise.
40477 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40479 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40483 destination buffer.
40484 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40486 2011-12-23 Marek Polacek <polacek@redhat.com>
40488 * elf/dl-addr.c (determine_info): Add inline keyword.
40489 * elf/tst-auditmod4b.c (check_avx): Likewise.
40490 * elf/tst-auditmod6b.c (check_avx): Likewise.
40491 * elf/tst-auditmod6c.c (check_avx): Likewise.
40492 * elf/tst-auditmod7b.c (check_avx): Likewise.
40494 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40496 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40499 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40502 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40503 processing for last bytes.
40505 2011-08-06 Bruno Haible <bruno@clisp.org>
40508 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40509 U+0385, not to U+1FEE.
40512 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40513 entry for U+00A5 U+0301.
40515 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40518 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40519 buffer for the output is too small.
40521 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40525 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40526 SSE flags if possible.
40528 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40532 processing for last bytes.
40534 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40536 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40537 (syscall-list-default-options, syscall-list-default-condition)
40538 (syscall-list-includes): Define.
40539 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40540 list of ABIs and options and #if conditions for each ABI. Do not
40541 handle common syscalls between ABIs specially.
40542 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40544 (syscall-list-variants, syscall-list-32bit-options)
40545 (syscall-list-32bit-condition, syscall-list-64bit-options)
40546 (syscall-list-64bit-condition): Define.
40547 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40548 (syscall-list-variants, syscall-list-32bit-options)
40549 (syscall-list-32bit-condition, syscall-list-64bit-options)
40550 (syscall-list-64bit-condition): Define.
40551 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40553 (syscall-list-variants, syscall-list-32bit-options)
40554 (syscall-list-32bit-condition, syscall-list-64bit-options)
40555 (syscall-list-64bit-condition): Define.
40556 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40558 (syscall-list-variants, syscall-list-32bit-options)
40559 (syscall-list-32bit-condition, syscall-list-64bit-options)
40560 (syscall-list-64bit-condition): Define.
40562 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40564 * locale/iso-639.def: Add brx entry.
40567 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40568 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40570 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40571 __feraiseexcept_renamed.
40573 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40576 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40577 EPOLLET with unsigned values.
40578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40579 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40581 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40582 to large cancellation.
40583 * math/s_cacoshf.c: Likewise.
40584 * math/s_cacoshl.c: Likewise.
40586 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40590 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40591 * math/s_cacoshf.c: Likewise.
40592 * math/s_cacoshl.c: Likewise.
40594 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40597 * iconv/gconv.h: Define __GCONV_SWAP.
40598 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40599 * iconvdata/utf-16.c: Likewise.
40600 * iconvdata/utf-32.c: Likewise.
40602 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40605 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40606 numerator after shifting it by one limb.
40608 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40610 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40611 under [__USE_EXTERN_INLINES].
40613 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40616 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40618 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40620 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40621 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40623 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40624 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40625 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40626 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40627 for strncasecmp/strncasecmp_l compilation.
40628 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40629 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40631 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40634 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40637 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40640 * time/tzfile.c (__tzfile_read): Check values from file header.
40642 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40644 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40645 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40646 * powerpc/powerpc32/dl-start.S: Likewise.
40647 * powerpc/powerpc32/elf/start.S: Likewise.
40648 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40649 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40650 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40651 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40652 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40653 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40654 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40655 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40656 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40657 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40658 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40659 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40660 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40661 * powerpc/powerpc32/memset.S: Likewise.
40662 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40663 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40664 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40665 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40666 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40667 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40668 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40669 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40670 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40671 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40672 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40673 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40674 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40676 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40678 * math/libm-test.inc: Added more nearbyint tests.
40679 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40680 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40681 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40682 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40684 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40686 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40689 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40691 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40692 Add wcscpy-ssse3 wcscpy-c.
40693 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40694 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40695 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40696 * sysdeps/x86_64/wcschr.S: New file.
40697 * sysdeps/x86_64/wcsrchr.S: New file.
40698 * string/test-strcmp.c: Remove checking of wcscmp function for
40700 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40701 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40702 wcsrchr-sse2 wcsrchr-c.
40703 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40704 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40705 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40706 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40707 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40708 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40709 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40710 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40711 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40712 * wcsmbc/wcschr.c (WCSCHR): New macro.
40714 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40716 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40717 * wcsmbs/test-wcsrchr.c: New file.
40718 * string/test-strrchr.c: Add wcsrchr support.
40720 * wcsmbs/test-wcscpy.c: New file.
40721 * string/test-strcpy.c: Add wcscpy support.
40724 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40726 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40729 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40732 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40734 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40736 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40737 Minor optimizations.
40739 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40740 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40741 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40743 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40745 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40746 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40747 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40748 for gcc to avoid warnings.
40749 * inet/Makefile (tests): Add tst-checks.
40750 * inet/tst-checks.c: New file.
40752 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40755 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40758 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40759 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40761 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40763 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40765 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40768 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40770 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40772 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40773 conditional on GCC version.
40774 (__arch_compare_and_exchange_val_8_acq)
40775 (__arch_compare_and_exchange_val_16_acq)
40776 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40777 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40778 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40780 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40782 * sysdeps/sh/backtrace.c: New file.
40784 2011-12-02 Andreas Schwab <schwab@redhat.com>
40786 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40789 2011-12-01 Andreas Schwab <schwab@redhat.com>
40791 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40792 falling back to utime.
40794 2011-11-30 Andreas Schwab <schwab@redhat.com>
40796 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40797 expectations for float.
40799 2011-11-29 Andreas Schwab <schwab@redhat.com>
40801 * locale/weight.h (findidx): Add parameter len.
40802 * locale/weightwc.h (findidx): Likewise.
40803 * posix/fnmatch_loop.c (FCT): Adjust caller.
40804 * posix/regcomp.c (build_equiv_class): Likewise.
40805 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40806 * posix/regexec.c (check_node_accept_bytes): Likewise.
40807 * string/strcoll_l.c (STRCOLL): Likewise.
40808 * string/strxfrm_l.c (STRXFRM): Likewise.
40810 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40812 * Makefile.in: Remove CVSOPT handling.
40813 * configure.in: Remove use of AC_REVISION.
40814 * iconvdata/Makefile (distribute): No need to filter out CVS.
40815 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40818 2011-11-16 Andreas Schwab <schwab@redhat.com>
40820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40821 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40822 [USE_AS_STRNCASECMP_L]: Likewise.
40823 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40824 NO_TLS_DIRECT_SEG_REFS.
40825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40826 Fix argument offsets for non-PIC.
40827 [USE_AS_STRNCASECMP_L]: Likewise.
40828 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40829 NO_TLS_DIRECT_SEG_REFS.
40831 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40833 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40835 * locale/loadlocale.c (_nl_load_locale): Likewise.
40837 2011-11-15 Andreas Schwab <schwab@redhat.com>
40839 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40840 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40841 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40842 (SYSCALL_GETTIME): Set errno on error.
40844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40845 count references to noai6ai_cached.
40847 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40849 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40851 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40852 FD_CLOEXEC for /proc/self/maps.
40854 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40855 FD_CLOEXEC for /proc/meminfo.
40857 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40860 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40861 FD_CLOEXEC for given file.
40863 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40865 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40866 FD_CLOEXEC for /etc/hosts.
40867 (_gethtent): Likewise.
40869 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40871 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40872 cancellation and set FD_CLOEXEC for /etc/netgroup.
40874 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40875 reading /etc/publickey.
40877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40878 allow cancellation when reading /etc/group.
40880 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40882 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40884 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40885 when using data file.
40887 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40889 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40890 (write_nis_obj): Use "c" and "e" in fopen.
40892 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40894 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40896 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40898 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40900 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40903 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40905 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40907 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40909 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40910 file parsing and set FD_CLOEXEC.
40912 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40914 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40916 2011-11-14 Andreas Schwab <schwab@redhat.com>
40918 * malloc/arena.c (arena_get2): Don't call reused_arena when
40919 _int_new_arena failed.
40921 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40923 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40924 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40925 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40926 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40927 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40928 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40929 to compile strcasecmp and strncasecmp.
40930 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40931 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40935 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40937 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40938 locale-defines.sym to gen-as-const-headers.
40939 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40940 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40942 to compile strcasecmp and strncasecmp.
40943 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40944 strcasecmp_l and strncasecmp_l.
40945 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40946 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40947 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40948 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40949 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40950 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40951 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40952 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40953 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40954 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40955 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40957 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40959 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40960 result of SYSDEP_GETTIME_CPU to retval.
40961 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40962 parameter list to macro. Remove trailing semicolon. Adjust users.
40964 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40967 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40969 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40971 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40972 from unused variable.
40974 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40976 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40979 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40982 * sunrpc/rpc_prot.c (rejected): Fix case value.
40984 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40985 unsigned long long int to avoid warnings in shift.
40987 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40989 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40992 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40993 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40994 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40996 * nis/nis_table.c (nis_list): Use variable of correct type for
40997 result of __follow_path call.
40999 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41001 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41002 of math functions ceil, trunc, floor, round, and sqrt, when
41003 avaliable on the platform.
41004 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41006 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41007 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41008 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41010 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41012 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41013 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41015 2011-11-11 Roland McGrath <roland@hack.frob.com>
41017 * include/unistd.h: Fix __readlink return type.
41018 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41020 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41022 * stdlib/ucontext.h: Undo last change for makecontext.
41024 2011-11-11 Andreas Schwab <schwab@redhat.com>
41026 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41028 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41029 * setjmp/setjmp.h: Mark functions as non-leaf.
41030 * setjmp/bits/setjmp2.h: Likewise.
41031 * stdlib/ucontext.h: Likewise.
41033 2011-11-10 Andreas Schwab <schwab@redhat.com>
41035 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41036 (reused_arena): Don't check arena limit.
41037 (arena_get2): Atomically check arena limit.
41039 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41041 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41042 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41047 2011-11-07 Andreas Schwab <schwab@redhat.com>
41049 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41050 handler when locking.
41052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41053 Fix size of allocated buffer.
41055 2011-11-04 Andreas Schwab <schwab@redhat.com>
41058 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41059 declarations for long double functions.
41060 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41062 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41064 2011-11-03 Andreas Schwab <schwab@redhat.com>
41066 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41069 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41072 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41074 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41076 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41078 * include/alloca.h (stackinfo_alloca_round): Define.
41079 (extend_alloca): Use it.
41080 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41081 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41084 * scripts/check-local-headers.sh: Ignore libaudit.h.
41086 * nscd/Makefile (extra-objs): Make recursively expanded.
41088 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41090 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41093 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41094 * posix/tst-rfc3484-2.c: Likewise.
41095 * posix/tst-rfc3484-3.c: Likewise.
41097 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41099 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41101 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41102 process_vm_writev from libc using GLIBC_2.15 version.
41104 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41106 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41108 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41111 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41114 * nss/getent.c (initgroups_keys): Show error message in case no group
41117 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41118 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41119 __bump_nl_timestamp.
41120 * nscd/connections (nscd_init): When host database is served open
41121 netlink socket and request notification about configuration changes.
41122 (main_loop_poll): Track netlink file descriptor and bump timestamp
41123 in case data becomes available.
41124 (main_loop_epoll): Likewise.
41125 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41126 (database_pers_head): Add extra_data fileds.
41127 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41128 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41129 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41132 in6ai data, call __free_in6ai.
41133 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41134 Add -DHAVE_NETLINK.
41135 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41136 interface information. Reuse previous data if netlink timestamp
41138 (__bump_nl_timestamp): New function.
41139 (__free_in6ai): New function.
41141 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41143 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41144 close_not_cancel_no_status here.
41145 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41147 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41150 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41153 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41154 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41155 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41157 2011-07-03 Andreas Jaeger <aj@suse.de>
41160 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41161 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41162 * math/libm-test.inc (sin_test): Add test case.
41164 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41167 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41168 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41170 * elf/chroot_canon.c (chroot_canon): Cleanups.
41172 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41175 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41176 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41178 * string/test-strchr.c: Make usable for strchrnul testing.
41179 * string/test-strchrnul.c: New file.
41180 * string/Makefile (strop-tests): Add strchrnul.
41182 * po/it.po: Update from translation team.
41183 * po/es.po: Likewise.
41185 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41187 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41188 the three constants needed as parameters. Drop the others.
41189 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41190 __m128i_strloadu_tolower.
41191 Create and initialize variable zero and use it in all the places
41192 where _mm_setzero_si128 was used.
41194 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41195 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41196 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41197 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41199 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41200 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41201 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41202 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41203 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41204 __mpranred, __mptan.
41205 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41206 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41207 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41208 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41209 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41210 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41211 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41212 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41213 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41215 2011-10-28 Andreas Schwab <schwab@redhat.com>
41217 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41218 redefine if SHARED.
41219 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41222 wide char related routines to wcsmbs subdir.
41224 2011-10-27 Andreas Schwab <schwab@redhat.com>
41227 * misc/sys/cdefs.h (__THROWNL): Define.
41228 * posix/unistd.h: Use __THREADNL instead of __THREAD
41229 for memory synchronization functions.
41231 2011-10-26 Roland McGrath <roland@hack.frob.com>
41234 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41236 * manual/stdio.texi (Obstack Streams): Node removed.
41238 2011-10-26 Andreas Schwab <schwab@redhat.com>
41240 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41241 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41242 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41244 * math/math_private.h (math_force_eval): Allow non-addressable
41246 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41248 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41250 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41251 file is not needed.
41253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41254 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41255 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41256 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41259 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41260 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41262 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41263 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41264 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41265 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41266 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41267 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41268 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41269 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41270 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41271 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41272 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41273 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41274 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41275 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41276 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41277 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41278 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41279 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41280 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41282 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41283 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41286 place. Use VEX encoding when compiling for AVX.
41288 2011-10-25 Andreas Schwab <schwab@redhat.com>
41290 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41291 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41293 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41295 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41297 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41298 useless if() expression.
41299 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41300 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41301 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41302 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41303 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41304 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41305 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41307 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41309 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41310 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41311 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41312 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41313 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41315 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41316 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41317 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41319 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41321 2011-10-25 Andreas Schwab <schwab@redhat.com>
41323 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41325 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41327 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41329 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41330 .text section. Avoid duplicate constants.
41331 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41333 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41340 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41341 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41342 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41343 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41344 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41345 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41346 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41347 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41348 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41351 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41352 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41353 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41354 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41355 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41356 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41357 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41358 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41359 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41360 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41361 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41362 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41363 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41364 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41365 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41366 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41367 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41368 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41369 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41370 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41371 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41372 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41373 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41374 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41375 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41377 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41379 * sysdeps/x86_64/dla.h: Move to ...
41380 * sysdeps/x86_64/fpu/dla.h: ...here.
41381 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41382 situations. Use __builtin_fma only for gcc 4.6 and up.
41384 * config.make.in: Add have-mfma4 entry.
41385 * configure.in: Substitute libc_cv_cc_fma4.
41386 * math/Makefile (dbl-only-routines): Add sincostab.
41387 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41388 Use __sincostab not sincos.
41389 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41396 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41397 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41398 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41399 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41402 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41404 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41405 define aliases when function name is a macro.
41406 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41407 sysdeps/ieee754/dbl-64/sincos.tbl.
41408 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41409 fma4-enabled routines.
41410 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41411 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41412 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41413 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41414 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41415 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41416 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41417 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41418 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41419 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41420 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41421 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41422 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41423 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41424 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41425 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41426 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41427 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41428 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41429 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41430 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41431 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41433 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41435 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41436 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41437 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41438 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41439 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41441 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41444 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41450 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41452 2011-10-24 Andreas Schwab <schwab@redhat.com>
41454 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41456 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41460 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41462 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41464 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41465 Remove unused variable magic_bits.
41466 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41468 * string/strnlen.c: Define and use STRNLEN macro.
41469 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41470 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41472 * wcsmbs/wcslen.c: Define and use WCSLEN.
41473 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41474 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41475 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41476 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41477 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41478 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41479 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41481 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41484 strnlen-sse2-no-bsf.
41485 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41487 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41488 Add strnlen support.
41489 (USE_AS_STRNLEN): New macro.
41490 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41491 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41492 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41493 * sysdeps/x86_64/wcslen.S: New file.
41495 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41498 XMM-moves are used for copying on small sizes.
41500 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41502 * wcsmbs/Makefile (strop-tests): Add wcschr.
41503 * wcsmbs/test-wcschr.c: New file.
41504 * string/test-strchr.c: Update.
41505 Add wcschr support.
41508 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41510 * wcsmbs/Makefile (strop-tests): Add wcslen.
41511 * wcsmbs/test-wcslen.c: New file.
41512 * string/test-strlen.c: Update.
41513 Add wcslen support.
41516 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41518 * po/it.po: Update from translation team.
41520 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41522 * sysdeps/x86_64/wcscmp.S: Update.
41523 Fix wrong comparison semantics.
41524 wcscmp shall use signed comparison not unsigned.
41525 Don't use substraction to avoid overflow bug.
41526 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41527 * wcsmbc/wcscmp.c: Likewise.
41528 * string/test-strcmp.c: Likewise.
41529 Add new tests to check cases with negative values.
41531 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41533 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41534 * sysdeps/x86_64/dla.h: ...here. New file.
41535 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41536 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41542 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41543 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41545 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41548 __ynl_finite aliases.
41550 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41554 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41556 [DLA_FMA] (EMULV): Use DLA_FMA.
41557 [DLA_FMA] (MUL12): Use EMULV.
41558 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41559 that are not needed.
41560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41568 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41570 * math/s_nan.c: Undef __nan.
41571 * math/s_nanf.c: Undef __nanf.
41572 * math/s_nanl.c: Undef __nanl.
41573 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41576 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41578 * math/s_catan.c: Add branch predictions.
41579 * math/s_catanf.c: Likewise.
41580 * math/s_catanh.c: Likewise.
41581 * math/s_catanhf.c: Likewise.
41582 * math/s_catanhl.c: Likewise.
41583 * math/s_catanl.c: Likewise.
41584 * math/s_cexp.c: Likewise.
41585 * math/s_cexpf.c: Likewise.
41586 * math/s_cexpl.c: Likewise.
41587 * math/s_clog.c: Likewise.
41588 * math/s_clog10.c: Likewise.
41589 * math/s_clog10f.c: Likewise.
41590 * math/s_clog10l.c: Likewise.
41591 * math/s_clogf.c: Likewise.
41592 * math/s_clogl.c: Likewise.
41593 * math/s_csqrt.c: Likewise.
41594 * math/s_csqrtf.c: Likewise.
41595 * math/s_csqrtl.c: Likewise.
41596 * math/s_ctanf.c: Likewise.
41597 * math/s_ctanh.c: Likewise.
41598 * math/s_ctanhf.c: Likewise.
41599 * math/s_ctanhl.c: Likewise.
41600 * math/s_ctanl.c: Likewise.
41602 * math/math_private.h: Define __nan, __nanf, __nanl.
41603 * math/s_cacosh.c: Include <math_private.h>.
41604 * math/s_cacoshl.c: Likewise.
41605 * math/s_casinh.c: Likewise.
41606 * math/s_casinhf.c: Likewise.
41607 * math/s_casinhl.c: Likewise.
41608 * math/s_ccos.c: Rely entire on ccosh.
41609 * math/s_ccosf.c: Rely entire on ccoshf.
41610 * math/s_ccosl.c: Rely entirely on ccoshl.
41611 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41612 Remove tests for FE_INVALID.
41613 * math/s_ccoshf.c: Likewise.
41614 * math/s_ccoshl.c: Likewise.
41615 * math/s_csin.c: Likewise.
41616 * math/s_csinf.c: Likewise.
41617 * math/s_csinh.c Likewise.
41618 * math/s_csinhf.c: Likewise.
41619 * math/s_csinhl.c: Likewise.
41620 * math/s_csinl.c: Likewise.
41621 * math/s_ctan.c: Likewise.
41622 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41623 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41624 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41626 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41629 compilation problems.
41631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41634 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41636 * sysdeps/i386/configure.in: Test for -mfma4 option.
41637 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41638 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41639 COMMON_CPUID_INDEX_80000001.
41640 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41641 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41642 use it if FMA3 is not supported.
41643 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41645 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41646 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41648 2011-10-20 Andreas Schwab <schwab@redhat.com>
41651 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41652 it would create a cycle with a link time dependency.
41654 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41656 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41658 * string/Makefile (strop-tests): Add rawmemchr.
41659 * string/test-rawmemchr.c: New file.
41661 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41663 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41664 when compiling str{,n}casecmp and when AVX is available. Hook up
41665 new optimized code in initializers.
41667 2011-10-19 Andreas Schwab <schwab@redhat.com>
41669 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41670 __feraiseexcept instead of feraiseexcept.
41672 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41674 * math/math_private.h: Define defaults for libc_fetestexcept and
41676 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41677 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41678 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41679 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41680 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41681 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41682 libc_fetestexcept and libc_feupdateenv.
41684 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41685 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41686 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41687 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41688 libc_feholdexcept_setround.
41690 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41691 Add s_nearbyint-c and s_nearbyintf-c.
41692 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41693 nearbyintf inlines.
41694 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41695 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41696 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41697 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41699 * math/math_private.h: Define defaults for libc_fegetround,
41700 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41701 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41702 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41703 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41704 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41705 standard functions.
41706 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41707 Remove comments and hacks for old compiler versions.
41708 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41709 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41710 libc_feholdexceptl.
41712 2011-10-18 Andreas Schwab <schwab@redhat.com>
41714 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41715 (__feraiseexcept_renamed): Add __NTH.
41716 (feraiseexcept): Add __NTH. Rename local variables to fix
41717 namespace violations.
41719 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41721 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41723 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41725 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41726 recently added interfaces.
41727 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41729 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41730 about macro parameter expansion.
41732 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41733 __NO_MATH_INLINES is defined. Cleanups.
41735 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41736 and __floorf is target has SSE4.1.
41737 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41738 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41739 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41740 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41742 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41744 (floorf): Likewise.
41746 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41748 2011-10-17 Andreas Schwab <schwab@redhat.com>
41750 * misc/sys/cdefs.h: Fix last change.
41752 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41755 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41757 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41759 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41760 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41761 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41762 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41763 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41766 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41767 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41768 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41769 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41770 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41771 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41772 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41773 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41774 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41775 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41776 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41777 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41778 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41779 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41780 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41782 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41783 ceil, ceilf, floor, floorf.
41785 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41786 Perform IRELATIVE relocations last.
41788 * elf/do-rel.h: Add another parameter nrelative, replacing the
41789 local variable with the same name. Change name of the function
41790 to end in Rel or Rela (uppercase).
41791 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41792 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41793 elf_dynamic_do_##reloc function.
41795 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41797 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41798 is sufficient, at least on modern CPUs.
41800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41802 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41805 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41807 * math/bits/math-finite.h: Add entries for exp.
41808 * math/e_expl.c: Add __*_finite alias.
41809 * sysdeps/i386/fpu/e_exp.S: Likewise.
41810 * sysdeps/i386/fpu/e_expf.S: Likewise.
41811 * sysdeps/i386/fpu/e_expl.c: Likewise.
41812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41813 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41814 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41816 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41817 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41818 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41820 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41821 is sufficient, at least on modern CPUs.
41823 * ctype/ctype-info.c (__ctype_init): Define.
41824 * include/ctype.h (__ctype_init): Declare.
41825 (__ctype_b_loc): The variable is always initialized.
41826 (__ctype_toupper_loc): Likewise.
41827 (__ctype_tolower_loc): Likewise.
41828 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41829 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41831 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41833 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41835 * configure.in: Also look in $cxxmachine/include for C++ system
41838 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41840 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41841 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41842 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41843 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41844 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41845 (USE_AS_WMEMCMP): New macro.
41847 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41848 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41849 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41850 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41852 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41853 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41854 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41855 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41856 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41857 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41858 (USE_AS_WMEMCMP): New macro.
41859 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41860 * sysdeps/string/test-memcmp.c: Update.
41861 Fix simple_wmemcmp.
41863 * wcsmbs/wmemcmp.c: Update.
41864 (WMEMCMP): New macro.
41867 2011-10-12 Andreas Jaeger <aj@suse.de>
41870 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41872 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41874 * libio/iofwide.c (do_length): Avoid warning.
41876 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41878 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41880 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41882 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41883 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41884 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41885 * sysdeps/i386/i686/fpu/e_log.S: New file.
41886 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41887 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41889 * ctype/ctype.h: Add support for inlined isXXX functions when
41890 compiling C++ code.
41892 2011-10-14 Andreas Schwab <schwab@redhat.com>
41894 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41896 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41898 2011-10-13 Roland McGrath <roland@hack.frob.com>
41901 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41903 2011-10-13 Andreas Schwab <schwab@redhat.com>
41905 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41906 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41909 * sysdeps/x86_64/memrchr.S: Check for zero size.
41911 * string/stratcliff.c: Add memrchr tests.
41913 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41916 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41917 rawmemchr-sse2 rawmemchr-sse2-bsf.
41918 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41919 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41920 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41921 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41922 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41923 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41924 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41925 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41926 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41927 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41928 * string/memrchr.c (MEMRCHR): New macro.
41930 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41932 Add integration with gcc's -ffinite-math-only and optimize wrapper
41934 * Versions.def: Define GLIBC_2.15 version for libm.
41935 * math/Makefile (headers): Add bits/math-finite.h.
41936 * math/bits/math-finite.h: New file.
41937 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41938 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41939 * math/e_acoshl.c: Add __*_finite alias.
41940 * math/e_acosl.c: Likewise.
41941 * math/e_asinl.c: Likewise.
41942 * math/e_atan2l.c: Likewise.
41943 * math/e_atanhl.c: Likewise.
41944 * math/e_coshl.c: Likewise.
41945 * math/e_exp10.c: Likewise.
41946 * math/e_exp10f.c: Likewise.
41947 * math/e_exp10l.c: Likewise.
41948 * math/e_exp2l.c: Likewise.
41949 * math/e_fmodl.c: Likewise.
41950 * math/e_gammal_r.c: Likewise.
41951 * math/e_hypotl.c: Likewise.
41952 * math/e_j0l.c: Likewise.
41953 * math/e_j1l.c: Likewise.
41954 * math/e_jnl.c: Likewise.
41955 * math/e_lgammal_r.c: Likewise.
41956 * math/e_log10l.c: Likewise.
41957 * math/e_log2l.c: Likewise.
41958 * math/e_logl.c: Likewise.
41959 * math/e_powl.c: Likewise.
41960 * math/e_sinhl.c: Likewise.
41961 * math/e_sqrtl.c: Likewise.
41962 * math/e_scalb.c: Completely rewritten and optimized.
41963 * math/e_scalbf.c: Likewise.
41964 * math/e_scalbl.c: Likewise.
41965 * math/w_acos.c: Likewise.
41966 * math/w_acosf.c: Likewise.
41967 * math/w_acosl.c: Likewise.
41968 * math/w_acosh.c: Likewise.
41969 * math/w_acoshf.c: Likewise.
41970 * math/w_acoshl.c: Likewise.
41971 * math/w_asin.c: Likewise.
41972 * math/w_asinf.c: Likewise.
41973 * math/w_asinl.c: Likewise.
41974 * math/w_atan2.c: Likewise.
41975 * math/w_atan2f.c: Likewise.
41976 * math/w_atan2l.c: Likewise.
41977 * math/w_atanh.c: Likewise.
41978 * math/w_atanhf.c: Likewise.
41979 * math/w_atanhl.c: Likewise.
41980 * math/w_exp10.c: Likewise.
41981 * math/w_exp10f.c: Likewise.
41982 * math/w_exp10l.c: Likewise.
41983 * math/w_fmod.c: Likewise.
41984 * math/w_fmodf.c: Likewise.
41985 * math/w_fmodl.c: Likewise.
41986 * math/w_j0.c: Likewise.
41987 * math/w_j0f.c: Likewise.
41988 * math/w_j0l.c: Likewise.
41989 * math/w_j1.c: Likewise.
41990 * math/w_j1f.c: Likewise.
41991 * math/w_j1l.c: Likewise.
41992 * math/w_jn.c: Likewise.
41993 * math/w_jnf.c: Likewise.
41994 * math/w_log.c: Likewise.
41995 * math/w_logf.c: Likewise.
41996 * math/w_logl.c: Likewise.
41997 * math/w_log10.c: Likewise.
41998 * math/w_log10f.c: Likewise.
41999 * math/w_log10l.c: Likewise.
42000 * math/w_log2.c: Likewise.
42001 * math/w_log2f.c: Likewise.
42002 * math/w_log2l.c: Likewise.
42003 * math/w_pow.c: Likewise.
42004 * math/w_powf.c: Likewise.
42005 * math/w_powl.c: Likewise.
42006 * math/w_remainder.c: Likewise.
42007 * math/w_remainderf.c: Likewise.
42008 * math/w_remainderl.c: Likewise.
42009 * math/w_scalb.c: Likewise.
42010 * math/w_scalbf.c: Likewise.
42011 * math/w_scalbl.c: Likewise.
42012 * math/w_sqrt.c: Likewise.
42013 * math/w_sqrtf.c: Likewise.
42014 * math/w_sqrtl.c: Likewise.
42015 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42016 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42018 * math/math_private.h: Declare __kernel_standard_f.
42019 * math/w_cosh.c: Remove cruft and optimize a bit.
42020 * math/w_coshf.c: Likewise.
42021 * math/w_coshl.c: Likewise.
42022 * math/w_exp2.c: Likewise.
42023 * math/w_exp2f.c: Likewise.
42024 * math/w_exp2l.c: Likewise.
42025 * math/w_hypot.c: Likewise.
42026 * math/w_hypotf.c: Likewise.
42027 * math/w_hypotl.c: Likewise.
42028 * math/w_lgamma.c: Likewise.
42029 * math/w_lgamma_r.c: Likewise.
42030 * math/w_lgammaf.c: Likewise.
42031 * math/w_lgammaf_r.c: Likewise.
42032 * math/w_lgammal.c: Likewise.
42033 * math/w_lgammal_r.c: Likewise.
42034 * math/w_sinh.c: Likewise.
42035 * math/w_sinhf.c: Likewise.
42036 * math/w_sinhl.c: Likewise.
42037 * math/w_tgamma.c: Likewise.
42038 * math/w_tgammaf.c: Likewise.
42039 * math/w_tgammal.c: Likewise.
42040 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42042 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42043 Minor optimizations. Pretty printing. Remove cruft.
42044 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42045 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42046 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42047 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42048 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42049 * sysdeps/i386/fpu/e_asin.S: Likewise.
42050 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42051 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42052 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42053 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42054 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42055 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42056 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42057 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42058 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42059 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42060 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42061 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42062 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42063 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42064 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42065 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42066 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42067 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42068 * sysdeps/i386/fpu/e_log.S: Likewise.
42069 * sysdeps/i386/fpu/e_log10.S: Likewise.
42070 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42071 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42072 * sysdeps/i386/fpu/e_log2.S: Likewise.
42073 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42074 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42075 * sysdeps/i386/fpu/e_logf.S: Likewise.
42076 * sysdeps/i386/fpu/e_logl.S: Likewise.
42077 * sysdeps/i386/fpu/e_pow.S: Likewise.
42078 * sysdeps/i386/fpu/e_powf.S: Likewise.
42079 * sysdeps/i386/fpu/e_powl.S: Likewise.
42080 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42081 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42082 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42083 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42084 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42085 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42086 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42087 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42088 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42089 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42090 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42092 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42093 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42094 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42095 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42096 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42097 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42098 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42099 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42100 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42102 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42103 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42105 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42106 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42107 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42109 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42110 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42111 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42112 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42113 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42114 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42115 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42116 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42117 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42118 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42119 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42120 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42121 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42123 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42124 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42125 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42126 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42127 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42128 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42129 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42130 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42131 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42132 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42133 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42134 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42135 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42136 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42137 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42139 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42141 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42142 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42143 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42144 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42145 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42146 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42147 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42149 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42150 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42151 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42152 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42153 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42154 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42157 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42158 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42159 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42160 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42162 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42163 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42167 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42169 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42170 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42171 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42172 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42174 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42176 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42177 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42179 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42180 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42181 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42182 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42183 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42184 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42185 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42186 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42187 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42188 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42189 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42190 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42191 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42192 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42193 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42194 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42195 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42196 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42197 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42198 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42199 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42200 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42201 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42202 (__isnanf): Likewise.
42203 (__isinf_ns): Likewise.
42204 (__isinf_nsf): Likewise.
42205 (__finite): Likewise.
42206 (__finitef): Likewise.
42207 (__ieee754_sqrt): Define as macro.
42208 (__ieee754_sqrtf): Define as macro.
42209 (__ieee754_sqrtl): Define as macro.
42210 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42212 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42213 __FINITE_MATH_ONLY__ consistent.
42214 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42216 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42218 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42223 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42225 * po/ja.po: Update from translation team.
42227 2011-10-08 Roland McGrath <roland@hack.frob.com>
42229 * locale/programs/locarchive.c (prepare_address_space): New function.
42230 (create_archive, enlarge_archive, open_archive): Use it.
42232 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42233 inside [SHARED], where it is used.
42235 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42237 * nss/getent.c (netgroup_keys): Remove unused variable.
42238 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42240 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42242 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42243 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42245 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42246 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42247 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42248 * math/Makefile (libm-calls): Add s_isinf_ns.
42249 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42250 * math/multc3.c: Likewise.
42251 * math/s_casin.c: Likewise.
42252 * math/s_casinf.c: Likewise.
42253 * math/s_casinl.c: Likewise.
42254 * math/s_ccos.c: Likewise.
42255 * math/s_ccosf.c: Likewise.
42256 * math/s_ccosl.c: Likewise.
42257 * math/s_ctan.c: Likewise.
42258 * math/s_ctanf.c: Likewise.
42259 * math/s_ctanh.c: Likewise.
42260 * math/s_ctanhf.c: Likewise.
42261 * math/s_ctanhl.c: Likewise.
42262 * math/s_ctanl.c: Likewise.
42263 * math/w_fmod.c: Likewise.
42264 * math/w_fmodf.c: Likewise.
42265 * math/w_fmodl.c: Likewise.
42266 * math/w_remainder.c: Likewise.
42267 * math/w_remainderf.c: Likewise.
42268 * math/w_remainderl.c: Likewise.
42269 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42270 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42271 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42273 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42274 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42275 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42276 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42278 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42280 * stdio-common/printf_fphex.c: Likewise.
42281 * stdio-common/printf_size.c: Likewise.
42283 * math/e_exp10.c: Include math_private.h using <...> not "...".
42284 * math/e_exp10f.c: Likewise.
42285 * math/e_exp10l.c: Likewise.
42286 * math/e_exp2l.c: Likewise.
42287 * math/e_j0l.c: Likewise.
42288 * math/e_j1l.c: Likewise.
42289 * math/e_jnl.c: Likewise.
42290 * math/e_lgammal_r.c: Likewise.
42291 * math/e_rem_pio2l.c: Likewise.
42292 * math/e_scalb.c: Likewise.
42293 * math/e_scalbf.c: Likewise.
42294 * math/e_scalbl.c: Likewise.
42295 * math/k_cosl.c: Likewise.
42296 * math/k_sinl.c: Likewise.
42297 * math/k_tanl.c: Likewise.
42298 * math/s_cacoshf.c: Likewise.
42299 * math/s_catan.c: Likewise.
42300 * math/s_catanf.c: Likewise.
42301 * math/s_catanh.c: Likewise.
42302 * math/s_catanhf.c: Likewise.
42303 * math/s_catanhl.c: Likewise.
42304 * math/s_catanl.c: Likewise.
42305 * math/s_ccosh.c: Likewise.
42306 * math/s_ccoshf.c: Likewise.
42307 * math/s_ccoshl.c: Likewise.
42308 * math/s_cexp.c: Likewise.
42309 * math/s_cexpf.c: Likewise.
42310 * math/s_cexpl.c: Likewise.
42311 * math/s_clog.c: Likewise.
42312 * math/s_clog10.c: Likewise.
42313 * math/s_clog10f.c: Likewise.
42314 * math/s_clog10l.c: Likewise.
42315 * math/s_clogf.c: Likewise.
42316 * math/s_clogl.c: Likewise.
42317 * math/s_csin.c: Likewise.
42318 * math/s_csinf.c: Likewise.
42319 * math/s_csinh.c: Likewise.
42320 * math/s_csinhf.c: Likewise.
42321 * math/s_csinhl.c: Likewise.
42322 * math/s_csinl.c: Likewise.
42323 * math/s_csqrt.c: Likewise.
42324 * math/s_csqrtf.c: Likewise.
42325 * math/s_csqrtl.c: Likewise.
42326 * math/s_ctan.c: Likewise.
42327 * math/s_ctanf.c: Likewise.
42328 * math/s_ctanh.c: Likewise.
42329 * math/s_ctanhf.c: Likewise.
42330 * math/s_ctanhl.c: Likewise.
42331 * math/s_ctanl.c: Likewise.
42332 * math/s_ldexp.c: Likewise.
42333 * math/s_ldexpf.c: Likewise.
42334 * math/s_ldexpl.c: Likewise.
42335 * math/s_significand.c: Likewise.
42336 * math/s_significandf.c: Likewise.
42337 * math/s_significandl.c: Likewise.
42338 * math/w_acos.c: Likewise.
42339 * math/w_acosf.c: Likewise.
42340 * math/w_acosh.c: Likewise.
42341 * math/w_acoshf.c: Likewise.
42342 * math/w_acoshl.c: Likewise.
42343 * math/w_acosl.c: Likewise.
42344 * math/w_asin.c: Likewise.
42345 * math/w_asinf.c: Likewise.
42346 * math/w_asinl.c: Likewise.
42347 * math/w_atan2.c: Likewise.
42348 * math/w_atan2f.c: Likewise.
42349 * math/w_atan2l.c: Likewise.
42350 * math/w_atanh.c: Likewise.
42351 * math/w_atanhf.c: Likewise.
42352 * math/w_atanhl.c: Likewise.
42353 * math/w_cosh.c: Likewise.
42354 * math/w_coshf.c: Likewise.
42355 * math/w_coshl.c: Likewise.
42356 * math/w_dremf.c: Likewise.
42357 * math/w_exp10.c: Likewise.
42358 * math/w_exp10f.c: Likewise.
42359 * math/w_exp10l.c: Likewise.
42360 * math/w_exp2.c: Likewise.
42361 * math/w_exp2f.c: Likewise.
42362 * math/w_fmod.c: Likewise.
42363 * math/w_fmodf.c: Likewise.
42364 * math/w_fmodl.c: Likewise.
42365 * math/w_hypot.c: Likewise.
42366 * math/w_hypotf.c: Likewise.
42367 * math/w_hypotl.c: Likewise.
42368 * math/w_j0.c: Likewise.
42369 * math/w_j0f.c: Likewise.
42370 * math/w_j0l.c: Likewise.
42371 * math/w_j1.c: Likewise.
42372 * math/w_j1f.c: Likewise.
42373 * math/w_j1l.c: Likewise.
42374 * math/w_jn.c: Likewise.
42375 * math/w_jnf.c: Likewise.
42376 * math/w_jnl.c: Likewise.
42377 * math/w_lgamma.c: Likewise.
42378 * math/w_lgamma_r.c: Likewise.
42379 * math/w_lgammaf.c: Likewise.
42380 * math/w_lgammaf_r.c: Likewise.
42381 * math/w_lgammal.c: Likewise.
42382 * math/w_lgammal_r.c: Likewise.
42383 * math/w_log.c: Likewise.
42384 * math/w_log10.c: Likewise.
42385 * math/w_log10f.c: Likewise.
42386 * math/w_log10l.c: Likewise.
42387 * math/w_log2.c: Likewise.
42388 * math/w_log2f.c: Likewise.
42389 * math/w_log2l.c: Likewise.
42390 * math/w_logf.c: Likewise.
42391 * math/w_logl.c: Likewise.
42392 * math/w_pow.c: Likewise.
42393 * math/w_powf.c: Likewise.
42394 * math/w_powl.c: Likewise.
42395 * math/w_remainder.c: Likewise.
42396 * math/w_remainderf.c: Likewise.
42397 * math/w_remainderl.c: Likewise.
42398 * math/w_scalb.c: Likewise.
42399 * math/w_scalbf.c: Likewise.
42400 * math/w_scalbl.c: Likewise.
42401 * math/w_sinh.c: Likewise.
42402 * math/w_sinhf.c: Likewise.
42403 * math/w_sinhl.c: Likewise.
42404 * math/w_sqrt.c: Likewise.
42405 * math/w_sqrtf.c: Likewise.
42406 * math/w_sqrtl.c: Likewise.
42407 * math/w_tgamma.c: Likewise.
42408 * math/w_tgammaf.c: Likewise.
42409 * math/w_tgammal.c: Likewise.
42411 * po/ja.po: Update from translation team.
42413 2011-09-29 Andreas Jaeger <aj@suse.de>
42416 * sunrpc/netname.c (netname2host): Fix logic.
42420 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42422 * math/w_remainder.c (__remainder): Likewise.
42423 * math/w_remainderf.c (__remainderf): Likewise.
42424 * math/libm-test.inc (remainder_test): Add test cases.
42426 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42428 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42431 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42433 * string/test-memcmp.c: Avoid unncessary #defines.
42434 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42436 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42438 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42439 Use new sse2 version for core i3 - i7 as it's faster
42440 than sse42 version.
42441 (bit_Prefer_PMINUB_for_stringop): New.
42442 * sysdeps/x86_64/rawmemchr.S: Update.
42443 Replace with faster SSE2 version.
42444 * sysdeps/x86_64/memrchr.S: New file.
42445 * sysdeps/x86_64/memchr.S: Update.
42446 Replace with faster SSE2 version.
42448 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42450 * elf/dl-load.c (lose): Add cast to avoid warning.
42452 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42454 * po/ca.po: Update from translation team.
42456 * inet/getnetgrent_r.c: Hook up nscd.
42457 * nscd/Makefile (routines): Add nscd_netgroup.
42458 (nscd-modules): Add netgroupcache.
42459 (CFLAGS-netgroupcache.c): Define.
42460 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42461 (cache_search): Add const to second parameter.
42462 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42464 (dbs): Add netgrdb entry.
42465 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42466 (verify_persistent_db): Handle netgrdb.
42467 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42468 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42470 (netgroup_response_header): Define.
42471 (innetgroup_response_header): Define.
42472 (datahead): Add netgroup_response_header and innetgroup_response_header
42474 * nscd/nscd.conf: Add entries for netgroup cache.
42475 * nscd/nscd.h (dbtype): Add netgrdb.
42476 (_PATH_NSCD_NETGROUP_DB): Define.
42477 (netgroup_iov_disabled): Declare.
42478 (xmalloc, xcalloc, xrealloc): Move declarations here.
42479 (cache_search): Adjust prototype.
42480 Add netgroup-related prototypes.
42481 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42482 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42483 (__nscd_innetgr): Declare.
42484 * nscd/selinux.c (perms): Use access_vector_t as element type and
42485 add netgroup-related initializers.
42486 * nscd/netgroupcache.c: New file.
42487 * nscd/nscd_netgroup.c: New file.
42488 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42489 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42490 For four parameters use innetgr.
42491 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42492 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42493 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42494 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42496 * nscd/connections.c (register_traced_file): Don't register file
42497 for disabled databases.
42499 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42501 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42503 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42504 from tree and freeing node.
42506 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42508 * nss/nsswitch.c (__nss_database_lookup): Handle
42509 nss_parse_service_list out of memory case.
42511 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42513 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42514 out of memory case.
42516 2011-10-04 Andreas Schwab <schwab@redhat.com>
42518 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42519 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42521 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42522 elf_machine_rela, elf_machine_lazy_rel.
42523 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42524 (ELF_DYNAMIC_DO_REL): Likewise.
42525 (ELF_DYNAMIC_DO_RELA): Likewise.
42526 (ELF_DYNAMIC_RELOCATE): Likewise.
42527 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42528 to ELF_DYNAMIC_DO_REL.
42529 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42530 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42531 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42533 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42534 skip_ifunc, don't call ifunc function if non-zero.
42535 (elf_machine_rela): Likewise.
42536 (elf_machine_lazy_rel): Likewise.
42537 (elf_machine_lazy_rela): Likewise.
42538 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42539 (elf_machine_lazy_rel): Likewise.
42540 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42542 (elf_machine_lazy_rel): Likewise.
42543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42545 (elf_machine_lazy_rel): Likewise.
42546 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42547 (elf_machine_lazy_rel): Likewise.
42548 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42549 (elf_machine_lazy_rel): Likewise.
42550 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42551 (elf_machine_lazy_rel): Likewise.
42552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42553 (elf_machine_lazy_rel): Likewise.
42554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42555 (elf_machine_lazy_rel): Likewise.
42556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42557 (elf_machine_lazy_rel): Likewise.
42559 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42561 * nss/nss_files/files-init.c (_nss_files_init): Use static
42562 initialization for all the *_traced_file variables.
42564 2011-09-28 Andreas Schwab <schwab@redhat.com>
42566 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42568 2011-09-27 Roland McGrath <roland@hack.frob.com>
42571 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42573 2011-09-27 Andreas Schwab <schwab@redhat.com>
42575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42576 Reread the line before reparsing it.
42578 2011-09-26 Andreas Schwab <schwab@redhat.com>
42580 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42582 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42583 Maxim Kuvyrkov <maxim@codesourcery.com>
42584 Joseph Myers <joseph@codesourcery.com>
42586 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42587 if needed for __stack_chk_guard.
42589 2011-09-19 Roland McGrath <roland@hack.frob.com>
42591 * sysdeps/posix/spawni.c (script_execute): Always define it.
42592 It will be optimized away if unused.
42593 (maybe_script_execute): New function.
42594 (__spawni): Call it.
42596 * Makerules: Don't include tls.make.
42597 (config-tls): Always set to thread.
42598 * tls.make.c: File removed.
42600 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42602 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42603 * config.make.in (CPPFLAGS-config): New substituted variable.
42605 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42607 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42610 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42611 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42613 2011-09-15 Roland McGrath <roland@hack.frob.com>
42615 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42616 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42618 (CALL_FAIL): Likewise.
42619 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42620 (CALL_FAIL): Macro removed.
42621 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42623 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42625 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42626 for __FINITE_MATH_ONLY__ == 1.
42628 2011-09-15 Andreas Schwab <schwab@redhat.com>
42630 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42631 __ieee754_sqrt instead of sqrt.
42632 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42633 __ieee754_sqrtf instead of sqrtf.
42634 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42635 __floorf instead of floorf.
42636 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42637 __floorf, __truncf instead of floorf, truncf.
42639 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42641 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42643 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42644 __extern_always_inline.
42645 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42648 2011-09-14 Andreas Schwab <schwab@redhat.com>
42650 * elf/rtld.c (dl_main): Also relocate in dependency order when
42651 doing symbol dependency testing.
42653 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42656 Always define `refsym'.
42658 2011-09-13 Andreas Schwab <schwab@redhat.com>
42660 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42661 (__FD_ELT): Renamed from __FDELT.
42662 * misc/bits/select2.h (__FD_ELT): Likewise.
42663 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42664 __FD_MASK instead of __FDELT, __FDMASK.
42665 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42667 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42670 * elf/Makefile (gen-ldd): Fix pattern.
42672 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42673 (init_tls): Likewise.
42675 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42679 2011-09-12 Andreas Schwab <schwab@redhat.com>
42681 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42682 `struct cmsghdr *' instead of `void *'.
42683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42686 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42688 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42690 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42691 ldd_rewrite_script.
42693 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42695 * configure.in: Remove --with-tls option.
42696 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42697 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42698 out in case it is missing.
42699 * sysdeps/ia64/elf/configure.in: Likewise.
42700 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42701 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42702 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42703 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42704 * sysdeps/sh/elf/configure.in: Likewise.
42705 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42706 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42707 * sysdeps/x86_64/elf/configure.in: Likewise.
42708 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42709 * sysdeps/mach/hurd/tls.h: Likewise.
42712 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42715 * configure.in: Fix use of AC_INIT.
42717 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42719 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42721 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42723 * malloc/hooks.c: Likewise.
42726 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42727 variables statically.
42728 (narenas): Initialize.
42729 (list_lock): Initialize.
42730 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42731 initializtion of main_arena and list_lock. Small cleanups.
42732 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42733 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42734 Add initializers to main_arena and mp_.
42735 (malloc_state): Remove pagesize member. Change all users to use
42738 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42739 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42740 is always initialized.
42742 * malloc/malloc.c: Removed unused configurations and dead code.
42743 * malloc/arena.c: Likewise.
42744 * malloc/hooks.c: Likewise.
42745 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42747 * include/tls.h: Removed. USE___THREAD must always be defined.
42748 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42749 * elf/dl-libc.c: Likewise.
42750 * elf/dl-tsd.c: Likewise.
42751 * include/errno.h: Likewise.
42752 * include/netdb.h: Likewise.
42753 * include/resolv.h: Likewise.
42754 * inet/herrno-loc.c: Likewise.
42755 * inet/herrno.c: Likewise.
42756 * malloc/arena.c: Likewise.
42757 * malloc/hooks.c: Likewise.
42758 * malloc/malloc.c: Likewise.
42759 * resolv/res-state.c: Likewise.
42760 * resolv/res_libc.c: Likewise.
42761 * sysdeps/i386/dl-machine.h: Likewise.
42762 * sysdeps/ia64/dl-machine.h: Likewise.
42763 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42764 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42765 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42766 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42767 * sysdeps/sh/dl-machine.h: Likewise.
42768 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42769 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42770 * sysdeps/unix/i386/sysdep.S: Likewise.
42771 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42772 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42774 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42776 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42777 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42781 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42782 * sysdeps/x86_64/dl-machine.h: Likewise.
42783 * tls.make.c: Likewise.
42785 * configure.in: Remove --with-__thread option. Make tests for
42786 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42787 tls_model attribute fail if no support is available. Remove
42789 * Makeconfig: Adjust for dropped configure option. All features are
42791 * Makerules: Likewise.
42792 * Versions.def: Likewise.
42793 * argp/argp-fmtstream.c: Likewise.
42794 * argp/argp-fmtstream.h: Likewise.
42795 * argp/argp-help.c: Likewise.
42796 * assert/assert.c: Likewise.
42797 * config.h.in: Likewise.
42798 * config.make.in: Likewise.
42799 * configure: Likewise.
42800 * configure.in: Likewise.
42801 * csu/Versions: Likewise.
42802 * csu/init.c: Likewise.
42803 * elf/tst-audit2.c: Likewise.
42804 * elf/tst-tls10.c: Likewise.
42805 * elf/tst-tls10.h: Likewise.
42806 * elf/tst-tls11.c: Likewise.
42807 * elf/tst-tls12.c: Likewise.
42808 * elf/tst-tls14.c: Likewise.
42809 * elf/tst-tlsmod11.c: Likewise.
42810 * elf/tst-tlsmod12.c: Likewise.
42811 * elf/tst-tlsmod13.c: Likewise.
42812 * elf/tst-tlsmod13a.c: Likewise.
42813 * elf/tst-tlsmod14a.c: Likewise.
42814 * elf/tst-tlsmod15b.c: Likewise.
42815 * elf/tst-tlsmod16a.c: Likewise.
42816 * elf/tst-tlsmod16b.c: Likewise.
42817 * elf/tst-tlsmod7.c: Likewise.
42818 * elf/tst-tlsmod8.c: Likewise.
42819 * elf/tst-tlsmod9.c: Likewise.
42820 * gmon/gmon.c: Likewise.
42821 * grp/fgetgrent_r.c: Likewise.
42822 * grp/putgrent.c: Likewise.
42823 * hurd/fopenport.c: Likewise.
42824 * include/libc-symbols.h: Likewise.
42825 * include/tls.h: Likewise.
42826 * intl/gettextP.h: Likewise.
42827 * intl/loadinfo.h: Likewise.
42828 * locale/global-locale.c: Likewise.
42829 * locale/localeinfo.h: Likewise.
42830 * mach/devstream.c: Likewise.
42831 * malloc/arena.c: Likewise.
42832 * malloc/set-freeres.c: Likewise.
42833 * misc/err.c: Likewise.
42834 * misc/getttyent.c: Likewise.
42835 * misc/mntent_r.c: Likewise.
42836 * posix/getopt.c: Likewise.
42837 * posix/wordexp.c: Likewise.
42838 * pwd/fgetpwent_r.c: Likewise.
42839 * resolv/Versions: Likewise.
42840 * resolv/res_hconf.c: Likewise.
42841 * shadow/fgetspent_r.c: Likewise.
42842 * shadow/putspent.c: Likewise.
42843 * stdio-common/printf_fphex.c: Likewise.
42844 * stdio-common/tmpfile.c: Likewise.
42845 * stdlib/abort.c: Likewise.
42846 * stdlib/fmtmsg.c: Likewise.
42847 * sunrpc/auth_unix.c: Likewise.
42848 * sunrpc/clnt_perr.c: Likewise.
42849 * sunrpc/clnt_tcp.c: Likewise.
42850 * sunrpc/clnt_udp.c: Likewise.
42851 * sunrpc/clnt_unix.c: Likewise.
42852 * sunrpc/openchild.c: Likewise.
42853 * sunrpc/svc_simple.c: Likewise.
42854 * sunrpc/svc_tcp.c: Likewise.
42855 * sunrpc/svc_udp.c: Likewise.
42856 * sunrpc/svc_unix.c: Likewise.
42857 * sunrpc/xdr.c: Likewise.
42858 * sunrpc/xdr_array.c: Likewise.
42859 * sunrpc/xdr_rec.c: Likewise.
42860 * sunrpc/xdr_ref.c: Likewise.
42861 * sunrpc/xdr_stdio.c: Likewise.
42863 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42865 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42867 2011-07-03 Andreas Jaeger <aj@suse.de>
42869 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42870 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42871 regenerate with gen-libm-tests.pl.
42873 2010-05-12 Petr Baudis <pasky@suse.cz>
42876 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42877 around j0() zero points by switching to j1().
42878 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42879 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42881 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42883 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42885 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42887 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42890 Patch in part by Pavel Roskin <proski@gnu.org>.
42893 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42895 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42896 Free memory block if necessary.
42899 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42900 be NULL. Don't lock in this case.
42902 2011-09-09 Roland McGrath <roland@hack.frob.com>
42904 * elf/elf.h (ELFOSABI_GNU): New macro.
42905 (ELFOSABI_LINUX): Define to that.
42907 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42909 * string/strncat.c (strncat): Undef the symbol in case it has been
42910 defined in bits/string.h.
42912 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42914 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42916 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42919 2011-08-17 Andreas Jaeger <aj@suse.de>
42921 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42923 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42924 Ian Lance Taylor <iant@google.com>
42926 * math/libm-test.inc (lround_test): New testcase.
42927 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42929 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42931 * Makefile: Remove support for automatic cvs check-ins.
42932 * Makerules: Likewise.
42933 * config.make.in: Likewise.
42934 * configure.in: Likewise.
42935 * intl/Makefile: Likewise.
42936 * locale/Makefile: Likewise.
42937 * po/Makefile: Likewise.
42938 * posix/Makefile: Likewise.
42939 * sysdeps/gnu/Makefile: Likewise.
42940 * sysdeps/mach/hurd/Makefile: Likewise.
42941 * sysdeps/sparc/sparc32/Makefile: Likewise.
42944 * posix/Makefile (bug-regex32-ENV): Define.
42945 Patch by John Stanley <jpsinthemix@verizon.net>.
42947 * misc/Makefile (headers): Add bits/select2.h.
42948 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42949 * misc/bits/select2.h: New file.
42950 * include/bits/select2.h: New file.
42951 * debug/Makefile (routines): Add fdelt_chk.
42952 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42953 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42955 * debug/fdelt_chk.c: New file.
42957 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42958 * wcsmbs/test-wmemcmp.c: Likewise.
42959 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42960 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42962 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42964 * string/Makefile (strop-tests): Add memcmp.
42965 * string/test-wmemcmp.c: New file.
42966 * string/test-memcmp.c: Add wmemcmp support.
42968 2011-09-08 Roland McGrath <roland@hack.frob.com>
42971 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42974 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42975 garbage value in a __mach_port_mod_refs call in the cases of the
42976 task-self and thread-self ports.
42978 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42980 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42982 2011-09-08 Andreas Schwab <schwab@redhat.com>
42984 * elf/dl-load.c (lose): Check for non-null L.
42986 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42988 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42990 * elf/dl-libc.c (dlerror_run): Pass back error code from
42994 * elf/dl-load.c (lose): Free l_origin if it is valid.
42996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42998 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42999 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43000 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43001 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43002 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43003 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43005 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43007 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43008 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43009 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43010 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43011 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43012 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43013 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43014 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43015 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43016 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43018 2011-08-15 Alan Modra <amodra@gmail.com>
43021 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43022 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43023 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43024 ppc_mcount to static-only-routines.
43025 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43027 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43028 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43030 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43032 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43033 for finite and infinity parameters.
43035 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43037 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43038 and add nop instructions for throughput optimization.
43039 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43041 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43043 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43044 aligned copy for power7 with vector-scalar instructions.
43045 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43047 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43052 2011-09-07 Andreas Schwab <schwab@redhat.com>
43055 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43058 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43060 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43061 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43062 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43063 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43066 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43068 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43069 Forgot to demangle the pointer.
43071 * sysdeps/i386/sysdep.h: Define atom_text_section.
43072 * sysdeps/x86_64/sysdep.h: Likewise.
43073 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43074 section with atom_text_section.
43075 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43076 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43077 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43079 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43081 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43082 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43083 already be defined. Change to take two parameters and don't assign
43084 result to variable. Adjust all users.
43085 Define INTERNAL_GETTIME if not already defined.
43086 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43089 HAVE_CLOCK_GETTIME_VSYSCALL.
43090 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43093 gettimeofday vsyscall, just use time.
43095 2011-09-06 Andreas Schwab <schwab@redhat.com>
43097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43100 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43102 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43106 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43107 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43108 syscall if possible.
43110 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43112 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43113 e_ident. Don't pass to find_mapsXX.
43114 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43116 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43119 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43120 * sysdeps/x86_64/multiarch/strchr.S: Update.
43121 Check bit_slow_BSF bit.
43122 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43123 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43124 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43126 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43129 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43131 (tryshell): Define.
43132 (__spawni): Change last parameter to be flag. Test
43133 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43134 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43135 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43136 * posix/spawni.c: Likewise.
43137 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43138 * posix/spawnp.c: Likewise. Change normal version to use
43139 SPAWN_XFLAGS_USE_PATH.
43140 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43141 SPAWN_XFLAGS_TRY_SHELL.
43144 * posix/glob.h: Remove gcc 1.x support.
43147 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43149 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43152 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43154 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43155 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43156 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43157 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43158 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43159 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43161 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43163 * sysdeps/x86_64/wcscmp.S: New file.
43165 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43166 wcscmp-c wcscmp-sse2
43167 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43168 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43169 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43170 * wcsmbs/wcscmp.c: Allow renaming.
43172 2011-09-05 David S. Miller <davem@davemloft.net>
43174 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43175 stack slot, rather than the struct return pointer slot.
43176 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43177 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43179 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43181 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43183 * po/ja.po: Update from translation team.
43186 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43187 kernel in 64-bit binaries.
43189 2011-09-01 David S. Miller <davem@davemloft.net>
43191 * elf/elf.h (HWCAP_SPARC_*): Move to..
43192 * sysdeps/sparc/sysdep.h: this new file and add new values.
43193 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43194 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43195 _DL_HWCAP_COUNT to 24.
43196 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43198 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43199 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43200 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43202 instead of magic constants.
43203 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43205 2011-08-31 David S. Miller <davem@davemloft.net>
43207 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43209 Reimplement to do errno handling inline.
43210 (SYSCALL_ERROR_HANDLER): New macro.
43211 (__SYSCALL_STRING): Do not do errno handling in asm.
43212 (__CLONE_SYSCALL_STRING): Delete.
43213 (__INTERNAL_SYSCALL_STRING): Delete.
43214 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43215 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43216 (PSEUDO): Reimplement to do errno handling inline.
43217 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
43223 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43225 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43226 (inline_syscall*): Add 'err' argument.
43227 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43228 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43229 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43230 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43232 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43233 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43235 2011-08-30 Andreas Schwab <schwab@redhat.com>
43237 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43239 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43241 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43244 2011-08-24 David S. Miller <davem@davemloft.net>
43246 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43248 2011-08-24 Andreas Schwab <schwab@redhat.com>
43250 * elf/Makefile: Add rules to build and run unload8 test.
43251 * elf/unload8.c: New file.
43252 * elf/unload8mod1.c: New file.
43253 * elf/unload8mod1x.c: New file.
43254 * elf/unload8mod2.c: New file.
43255 * elf/unload8mod3.c: New file.
43257 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43260 2011-08-23 David S. Miller <davem@davemloft.net>
43262 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43263 subtract stack bias.
43264 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43265 %sp not %fp in calculations.
43266 (_JMPBUF_UNWINDS_ADJ): Likewise.
43268 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43269 (aio_suspend): Call it to force an exception region around the
43270 AIO_MISC_WAIT() invocation.
43272 2011-08-23 Andreas Schwab <schwab@redhat.com>
43274 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43277 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43279 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43281 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43282 and <dl-machine.h>.
43283 (Elf64_FuncDesc): Remove.
43285 2011-08-22 David S. Miller <davem@davemloft.net>
43287 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43288 sigaltstack check, add missing cfi directives.
43289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43290 missing cfi directives, and sigaltstack handling.
43292 2011-08-16 Andreas Schwab <schwab@redhat.com>
43295 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43296 object is seen twice.
43297 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43299 * elf/Makefile (distribute): Add tst-initorder2.c.
43300 (tests): Add tst-initorder2.
43301 (modules-names): Add tst-initorder2a tst-initorder2b
43302 tst-initorder2c tst-initorder2d. Add rules to build them.
43303 ($(objpfx)tst-initorder2.out): New rule.
43304 * elf/tst-initorder2.c: New file.
43305 * elf/tst-initorder2.exp: New file.
43307 2011-08-22 Andreas Schwab <schwab@redhat.com>
43309 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43311 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43312 dependencies back to end of function.
43314 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43315 $(elfobjdir)/ld.so.
43317 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43319 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43320 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43322 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43323 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43324 of __vdso_gettimeofday.
43325 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43326 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43328 (_libc_vdso_platform_setup): Remove initialization of
43329 __vdso_gettimeofday and __vdso_time.
43331 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43333 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43334 and fgetc_unlocked.
43335 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43338 * elf/dl-open.c (add_to_global): Report additions to the global scope
43339 for LD_DEBUG=scopes.
43340 (dl_open_worker): Also print scope of newly loaded dependencies.
43341 (_dl_show_scope): Indicate if there is no scope.
43344 * stdio-common/Makefile (tests): Add bug24.
43345 * stdio-common/bug24.c: New file.
43347 2011-08-19 Andreas Jaeger <aj@suse.de>
43350 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43351 non-existant file when using close-on-exec mode.
43353 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43356 the very first instruction.
43358 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43359 the CFI state in the end.
43360 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43361 inclusion of dl-trampoline.h.
43362 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43364 2011-08-19 Andreas Schwab <schwab@redhat.com>
43366 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43367 expectations for long double.
43369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43370 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43372 2011-08-14 David S. Miller <davem@davemloft.net>
43374 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43375 artificual limit depends upon the system page size.
43377 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43379 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43380 * resolv/Makefile: Define CFLAGS-libresolv.
43382 2011-08-17 Andreas Schwab <schwab@redhat.com>
43384 * nss/makedb.c (compute_tables): Make variables used in nested
43387 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43389 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43390 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43391 if buffer was too small.
43393 * elf/pldd.c (main): Attach to all threads in the process.
43394 Rewrite /proc handling to use *at functions.
43396 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43398 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43399 specifies first scope to show.
43400 (dl_open_worker): Update callers. Move printing scope of new
43401 object to before the relocation.
43402 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43403 * sysdeps/generic/ldsodefs.h: Update declaration.
43405 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43406 string for the scope number.
43408 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43410 * nscd/servicescache.c (cache_addserv): Make sure written is always
43413 2011-08-14 Roland McGrath <roland@hack.frob.com>
43415 * sysdeps/i386/i486/bits/atomic.h
43416 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43417 statement expression, so as to suppress "set but not used" warning.
43418 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43420 * string/strncat.c (STRNCAT): Use prototype definition.
43422 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43423 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43425 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43426 (localedef-modules): Add localedef.
43427 (locale-modules): Add locale.
43429 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43430 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43431 to avoid a warning.
43433 2011-08-14 David S. Miller <davem@davemloft.net>
43435 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43436 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43438 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43440 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43441 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43442 * elf/rtld.c (dl_main): Set l_name of vDSO.
43443 Call _dl_show_scope when DL_DEBUG_SCOPES.
43444 (process_dl_debug): Recognize scopes flag and also set it for all.
43445 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43446 Declare _dl_show_scope.
43448 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43449 (do_dlopen): Pass caller_dlopen to dl_open.
43450 (__libc_dlopen_mode): Initialize caller_dlopen.
43452 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43453 of libc. Make tolower call locale-independent. Optimize a bit by
43454 using isdigit instead of isalnum.
43455 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43457 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43459 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43460 was a dependency or dynamically loaded.
43462 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43464 * intl/l10nflist.c: Allow architecture-specific pop function.
43465 * sysdeps/x86_64/l10nflist.c: New file.
43467 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43470 2011-08-10 Andreas Schwab <schwab@redhat.com>
43472 * include/dirent.h: Add libc_hidden_proto for scandirat and
43473 scandirat64. Don't declare __scandirat64.
43474 * dirent/scandirat.c: Add libc_hidden_def.
43475 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43476 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43478 2011-08-10 David S. Miller <davem@davemloft.net>
43480 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43482 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43486 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43488 * Versions.def [libc]: Add GLIBC_2.15.
43489 * dirent/Makefile (routines): Add scandirat and scandirat64.
43490 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43492 * dirent/dirent.h: Declare scandirat and scandirat64.
43493 * dirent/scandirat.c: New file.
43494 * dirent/scandirat64.c: New file.
43495 * sysdeps/wordsize-64/scandirat.c: New file.
43496 * sysdeps/wordsize-64/scandirat64.c: New file.
43497 * dirent/opendir.c: Define opendirat.
43498 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43500 * dirent/scandir64.c: Adjust for scandir.c change.
43501 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43502 __scandirat64, and __scandir_cancel_handler.
43503 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43504 additional parameter and use openat instead of open (outside of ld.so).
43505 Add new __opendir as wrapper around __opendirat.
43506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43507 here without requiring old scandirat implementation.
43509 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43511 * dirent/scandir.c (cancel_handler): Renamed to
43512 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43513 defined. Adjust users.
43514 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43517 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43519 * string/test-string.h (IMPL): Use __STRING to expand name and then
43522 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43525 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43527 * string/Makefile: Update.
43528 (strop-tests): Append strncat.
43529 * string/test-wcscmp.c: New file.
43530 New comprehensive test for wcscmp.
43531 * string/test-strcmp.c: Update.
43532 (WIDE): New define.
43534 2011-07-22 Andreas Schwab <schwab@redhat.com>
43536 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43539 2011-07-26 Andreas Schwab <schwab@redhat.com>
43541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43542 encoding to ACE if AI_IDN.
43544 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43546 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43547 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43549 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43551 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43552 Fix overflow bug in strncat.
43553 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43555 * string/test-strncat.c: Update.
43556 Add new tests for checking overflow bugs.
43558 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43561 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43562 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43563 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43564 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43565 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43566 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43567 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43568 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43571 (USE_AS_STRCAT): Define.
43572 Add strcat and strncat support.
43573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43575 2011-07-25 Andreas Schwab <schwab@redhat.com>
43577 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43578 __n bigger than INT_MAX+1.
43579 (__strncmp_g): Likewise.
43581 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43583 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43584 * libio/stido.h: Likewise.
43586 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43591 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43593 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43594 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43595 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43598 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43603 (_dl_x86_64_save_sse): Likewise.
43605 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43609 (_dl_x86_64_save_sse): Likewise.
43611 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43613 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43615 2011-07-21 Andreas Schwab <schwab@redhat.com>
43617 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43619 (_dl_x86_64_save_sse): Use correct AVX check.
43621 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43624 bug in strncpy/strncat.
43625 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43627 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43629 * string/tester.c (test_strcat): Add tests for different alignments
43630 of source and destination.
43631 (test_strncat): Likewise.
43633 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43636 * posix/glob.c (glob): Check passed in values before using them in
43637 expressions to avoid some overflows.
43638 (glob_in_dir): Likewise.
43641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43642 check for AVX enablement so that we don't crash with old kernels and
43644 * elf/tst-audit4.c: Add same checks here.
43645 * elf/tst-audit6.c: Likewise.
43647 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43649 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43651 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43653 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43655 * po/cs.po: Update from translation team.
43656 * po/bg.po: Likewise.
43658 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43660 * misc/sys/cdefs.h: Add support for const attribute.
43661 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43662 to gnu_dev_{major,minor,makedev} functions.
43664 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43666 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43668 2011-07-20 Andreas Schwab <schwab@redhat.com>
43670 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43673 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43676 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43677 register in order to avoid conflicts with the soft frame pointer
43678 being held in r11 when necessary.
43679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43680 (INTERNAL_VSYSCALL_NCS): Likewise.
43682 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43684 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43685 * elf/dl-fini.c (_dl_fini): Adjust caller.
43686 * elf/dl-close.c (_dl_close_worker): Likewise.
43687 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43689 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43691 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43692 "aux_cache->nlibs < 0".
43694 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43695 in the reload-count case.
43697 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43700 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43701 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43702 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43703 * sysdeps/x86_64/multiarch/strcat.S: New file.
43704 * sysdeps/x86_64/multiarch/strncat.S: New file.
43705 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43706 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43707 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43708 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43710 (USE_AS_STRCAT): Define.
43711 Add strcat and strncat support.
43712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43714 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43715 * string/strncat.c: Update.
43716 (USE_AS_STRNCAT): Define.
43717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43718 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43720 * sysdeps/x86_64/multiarch/init-arch.h
43721 (bit_Prefer_PMINUB_for_stringop): New.
43722 (index_Prefer_PMINUB_for_stringop): Likewise.
43723 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43724 bit_Prefer_PMINUB_for_stringop.
43726 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43728 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43730 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43731 of casting of buffer.
43732 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43733 buffer32 and buffer64.
43734 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43735 writes instead of casting of buffer.
43736 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43738 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43741 2011-07-19 Andreas Schwab <schwab@redhat.com>
43743 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43745 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43747 * nscd/nscd.c (termination_handler): Don't do anything for a database
43748 if it has not yet been initialized.
43750 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43752 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43754 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43756 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43758 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43760 * po/nl.po: Update from translation team.
43761 * po/sv.po: Likewise.
43763 2011-07-16 Roland McGrath <roland@hack.frob.com>
43765 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43766 now disallowed by GCC.
43768 * configure.in (use-default-link): Default to yes if a test -shared
43769 link meets our qualifications.
43770 * configure: Regenerated.
43772 * config.make.in (output-format): New variable.
43773 * configure.in: Check for ld --print-output-format support.
43774 * configure: Regenerated.
43775 * Makerules ($(common-objpfx)format.lds)
43776 [$(output-format) != unknown]: Just use $(output-format),
43777 instead of the linker-script munging.
43779 2011-07-14 Roland McGrath <roland@hack.frob.com>
43781 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43782 of $(common-objpfx)shlib.lds.
43783 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43785 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43786 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43788 * configure.in (-z relro check): Adjust test code to add a large
43789 writable data section after it.
43790 * configure: Regenerated.
43792 2011-07-11 Roland McGrath <roland@hack.frob.com>
43794 * configure.in (-z relro check): Fix test code to make the variable
43796 * configure: Regenerated.
43798 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43800 * nscd/nscd.h (struct traced_file): Define.
43801 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43802 elements. Add traced_files.
43803 (inotify_fd): Declare.
43804 (register_traced_file): Declare.
43805 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43806 (inotify_fd): Export.
43807 (resolv_conf_descr): Remove.
43808 (nscd_init): Move inotify descriptor creation to main.
43809 Don't register files for notification here.
43810 (register_traced_file): New function.
43811 (invalidate_cache): Don't use reset_res to determine whether to call
43812 res_init, go through the list of registered files.
43813 (main_loop_poll): The inotify descriptors are now stored in the
43814 structures for the traced files.
43815 (main_loop_epoll): Likewise
43816 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43817 to __nss_disable_nscd.
43818 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43819 for a database anymore. Check the records for all the registered
43821 * nss/Makefile (libnss_files-routines): Add files-init.
43822 (libnss_db-routines): Add db-init.
43823 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43824 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43825 * nss/nss_db/db-init.c: New file.
43826 * nss/nss_files/files-init.c: New file.
43827 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43828 __nss_lookup_function.
43829 (__nss_lookup_function): Call nss_load_library.
43830 (nss_load_all_libraries): New function.
43831 (__nss_disable_nscd): Take parameter with callback function for files
43832 to register. Set is_nscd. Load all the DSOs for the NSS modules
43833 used for the cached services.
43834 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43835 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43836 options for features to all the files in nscd.
43838 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43840 2011-07-10 Roland McGrath <roland@hack.frob.com>
43842 * csu/elf-init.c (__libc_csu_init): Comment typo.
43844 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43846 * po/pl.po: Update from translation team.
43847 * po/ja.po: Likewise.
43848 * po/ru.po: Likewise.
43849 * po/ko.po: Likewise.
43850 * po/fr.po: Likewise.
43852 2011-07-09 Roland McGrath <roland@hack.frob.com>
43854 * configure.in (.ctors/.dtors header and trailer check):
43855 Use an empirical test on a built program.
43856 * configure: Regenerated.
43858 * configure.in (-z relro check): Use an empirical test on a built DSO.
43859 Detect, but do not require, on ia64.
43860 * configure: Regenerated.
43862 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43863 Update tests that use readelf to use $READELF instead.
43864 * configure: Regenerated.
43866 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43868 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43869 if the result is not used.
43871 2011-07-05 Andreas Jaeger <aj@suse.de>
43874 * stdlib/tst-strtod.c: Add testcase.
43876 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43878 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43879 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43880 The latter has a higher limit. Take additional parameter to pass to
43882 (__pathconf): Pass file to __statfs_link_max.
43883 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43885 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43889 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43890 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43892 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43893 (__statfs_filesize_max): Likewise.
43894 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43896 2011-07-05 Andreas Jaeger <aj@suse.de>
43898 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43900 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43902 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43904 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43907 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43909 * Makefile (strop-tests): Add strncat.
43910 * string/test-strncat.c: New file.
43912 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43914 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43916 2011-06-21 Andreas Jaeger <aj@suse.de>
43918 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43919 Copy rule from iconvdata/Makefile.
43921 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43924 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43925 but no long options are defined, just return 'W'.
43927 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43930 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43932 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43934 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43936 (innetgr): Likewise.
43938 2011-07-05 Roland McGrath <roland@hack.frob.com>
43940 * config.make.in (install_root): Default to $(DESTDIR).
43942 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43944 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43946 2011-07-02 Roland McGrath <roland@hack.frob.com>
43948 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43950 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43951 containing directory rather than embedding absolute directory names.
43953 * scripts/check-local-headers.sh: Rewritten using awk.
43954 Match by word, not by line. Print error messages for matches.
43955 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43957 * Makerules [shlib-lds-flags empty]:
43958 ($(common-objpfx)libc_pic.opts): New target.
43959 ($(common-objpfx)libc_pic.os.clean): New target.
43960 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43962 * config.make.in (OBJCOPY): New variable.
43963 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43964 * configure: Regenerated.
43966 * config.make.in (use-default-link): New variable.
43967 * configure.in (use_default_link): Grok --with-default-link to set it.
43968 * configure: Regenerated.
43969 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43970 (shlib-lds, shlib-lds-flags): Define to empty.
43972 * Makerules (shlib-lds): New variable.
43973 (shlib-lds-flags): New variable.
43974 (build-shlib, build-moduile, build-module-asneeded): Use it.
43975 ($(common-objpfx)libc.so): Use $(shlib-lds).
43976 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43977 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43979 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43980 DT_FLAGS/DT_FLAGS_1 with zero flags.
43982 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43983 linker script munging.
43985 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43987 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43989 * crypt/sha512.c (sha512_process_block): Perform total addition using
43990 128-bit if possible.
43991 (__sha512_finish_ctx): Likewise.
43992 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43994 * crypt/sha256.c (SWAP64): Define.
43995 (sha256_process_block): Perform total addition using 64-bit if
43997 (__sha256_finish_ctx): Likewise.
43999 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44001 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44003 * nscd/hstcache.c (cache_addhst): Likewise.
44004 * nscd/grpcache.c (cache_addgr): Likewise.
44005 * nscd/aicache.c (addhstaiX): Likewise
44006 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44008 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44010 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44011 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44012 * nscd/hstcache.c (cache_addhst): Likewise.
44013 * nscd/grpcache.c (cache_addgr): Likewise.
44014 * nscd/aicache.c (addhstaiX): Likewise
44016 2011-07-01 Andreas Schwab <schwab@redhat.com>
44018 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44019 domain only when needed.
44021 2011-06-30 Andreas Schwab <schwab@redhat.com>
44023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44024 is always restored.
44026 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44028 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44029 are re-adding the entry.
44030 * nscd/servicescache.c (cache_addserv): Likewise.
44032 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44034 * sysdeps/generic/dl-irel.h: fix protection against multiple
44036 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44038 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44041 * malloc/memusage.sh: Fix quoting in message.
44042 * debug/xtrace.sh: Likewise.
44044 * configure.in: Remove support for --experimental-malloc option, make
44046 * config.make.in: Likewise.
44047 * malloc/Makefile: Likewise.
44049 2011-06-27 Andreas Schwab <schwab@redhat.com>
44051 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44052 two-byte characters.
44054 2011-06-27 Roland McGrath <roland@hack.frob.com>
44056 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44057 AC_CACHE_CHECK invocation.
44058 * configure: Regenerated.
44060 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44062 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44065 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44066 bit from old_res_options.
44068 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44070 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44071 value type for setfct.
44073 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44076 __gettimeofday instead of gettimeofday.
44078 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44080 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44082 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44086 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44089 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44092 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44093 strcpy-sse2-unaligned strncpy-sse2-unaligned
44094 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44095 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44096 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44097 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44098 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44099 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44101 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44102 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44103 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44104 (STRCPY): Support SSE2 and SSSE3 versions.
44106 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44109 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44110 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44111 kernels which artificially limit size of requests.
44113 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44116 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44117 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44118 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44119 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44120 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44121 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44122 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44123 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44124 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44125 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44126 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44127 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44128 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44129 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44131 Enable unaligned load optimization for Intel Core i3, i5 and i7
44133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44135 (index_Fast_Unaligned_Load): Define.
44136 (HAS_FAST_UNALIGNED_LOAD): Define.
44138 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44140 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44142 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44146 until it is clear that the information is realy needed.
44147 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44149 2011-06-22 Andreas Schwab <schwab@redhat.com>
44151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44153 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44156 /sys/devices/system/cpu/online if it is usable.
44158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44159 reading the information from the /proc filesystem to once a second.
44161 2011-06-21 Andreas Jaeger <aj@suse.de>
44163 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44164 NULL after inclusion of kernel headers.
44166 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44168 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44169 calls to internal_setent.
44172 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44173 addresses using gethostbyname4_r ignore IPv4 addresses.
44175 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44176 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44178 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44180 2011-06-20 David S. Miller <davem@davemloft.net>
44182 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44184 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44186 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44187 (elf_irel): Use it.
44188 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44189 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44190 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44191 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44192 * sysdeps/x86_64/dl-irel.h: Likewise.
44194 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44195 * elf/dl-sym.c: Likewise.
44197 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44199 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44200 need to dereference resplen2.
44202 2011-06-14 Andreas Schwab <schwab@redhat.com>
44204 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44206 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44208 * Makeconfig: Define vardbdir and inst_vardbdir.
44209 * nss/Makefile: Add rules to install db-Makefile.
44211 * nss/nss_db/db-XXX.c: Cleanup.
44213 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44214 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44216 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44217 * nss/makedb.c: Implement -g option to specify that value strings
44218 are generated and should not be added to table iterated over for
44220 * nss/nss_db/db-initgroups.c: New file.
44222 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44225 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44226 (internal_getgrouplist): Adjust to name change.
44227 Update use_initgroups_entry if this is not the first call.
44228 * nss/databases.def: Add initgroups entry.
44230 * nss/makedb.c (compute_tables): Check result of multiple hash table
44231 sizes to minimize maximum chain length.
44233 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44235 * Versions.def: Add entry for libnss_db.
44236 * shlib-versions: Likewise.
44237 * nss/Makefile: Add rules to build libnss_db.
44238 * nss/Versions: Add libnss_db information. Organize libnss_files
44240 * nss/db-Makefile: Add gshadow support. Change rules for the new
44241 makedb progra. Some minor improvements to generate smaller files.
44242 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44244 * nss/makedb.c: ...here.
44245 Improve database format to be smaller and require less memory at
44247 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44249 * nss/nss_db/db-netgrp.c: Likewise.
44250 * nss/nss_db/db-open.c: Likewise.
44251 * nss/nss_files/flies-XXX.x: Adjust comments.
44252 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44253 * nss/nss_files/files-grp.c: Likewise.
44254 * nss/nss_files/files-hosts.c: Likewise.
44255 * nss/nss_files/files-network.c: Likewise.
44256 * nss/nss_files/files-proto.c: Likewise.
44257 * nss/nss_files/files-pwd.c: Likewise.
44258 * nss/nss_files/files-rpc.c: Likewise.
44259 * nss/nss_files/files-service.c: Likewise.
44260 * nss/nss_files/files-sgrp.c: Likewise.
44261 * nss/nss_files/files-spwd.c: Likewise.
44262 * nss/nss_db/db-alias.c: Removed.
44263 * nss/nss_db/dummy-db.h: Removed.
44265 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44267 * nss/makedb.c: Rewritten to not use database library.
44268 * nss/Makefile: Update to build new makedb program.
44270 2011-06-14 Andreas Jaeger <aj@suse.de>
44272 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44273 memset declaration.
44275 2011-06-10 Andreas Schwab <schwab@redhat.com>
44277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44280 2011-06-10 Roland McGrath <roland@hack.frob.com>
44282 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44283 * elf/Makefile ($(objpfx)ld.so): Likewise.
44285 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44286 Don't list ld.so twice in dependencies.
44288 * posix/bug-regex31.c: Include <stdlib.h>.
44290 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44292 * nis/nss_compat/compat-spwd.c
44293 (getspent_next_nss_netgr): Remove unused variable.
44294 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44296 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44297 nonmembers" output to use the right array.
44299 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44301 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44303 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44304 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44305 * catgets/gencat.c (read_input_file): Likewise.
44306 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44308 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44309 variable definition inside #if's controlling its use.
44311 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44313 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44315 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44317 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44320 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44322 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44323 * configure: Regenerated.
44325 * Makerules: Revert last change.
44326 * elf/Makefile: Likewise.
44328 2011-06-09 Roland McGrath <roland@hack.frob.com>
44330 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44331 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44332 (reloc-link): Likewise.
44334 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44336 * elf/Makefile: Add rules to build pldd.
44337 * elf/pldd.c: New file.
44338 * elf/pldd-xx.c: New file.
44340 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44342 * version.h: Update for 2.15 development version.
44344 2011-06-07 David S. Miller <davem@davemloft.net>
44346 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44349 elf_machine_lazy_rel): Likewise.
44350 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44352 elf_machine_lazy_rel): Likewise.
44353 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44354 dl_hwcap via passed in argument.
44355 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44358 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44360 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44362 2011-06-06 Roland McGrath <roland@hack.frob.com>
44365 * manual/fdl-1.1.texi: New file, verbatim from:
44366 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44367 * manual/lgpl-2.1.texi: New file, verbatim from:
44368 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44369 * manual/Makefile (licenses): New variable, list those new file names.
44371 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44373 * manual/fdl.texi: File removed.
44374 * manual/lesser.texi: File removed.
44375 * manual/libc.texinfo (Copying, Documentation License):
44376 Use new @include file names, put @appendix directive before @include.
44378 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44381 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44382 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44383 (mq_open): Add __NTH.
44385 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44388 Assume Intel Core i3/i5/i7 processor if AVX is available.
44390 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44395 2011-05-31 Andreas Schwab <schwab@redhat.com>
44397 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44398 memory. Use alloca_account. Fix memory leak when retrying.
44400 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44402 * version.h (RELEASE): Bump for 2.14 release.
44403 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44405 * config.make.in (RANLIB): Remove entry.
44407 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44409 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44410 (libc.pot): Work around missing support for .ksh extension in xgettext.
44413 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44414 if both request failed.
44415 (send_dg): In case of server errors clear resplen or *resplen2.
44418 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44419 when there are multiple maps.
44420 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44421 (_dl_fini): Remove test here.
44423 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44425 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44428 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44429 bit from old_res_options.
44430 (gaih_inet): Likewise.
44433 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44436 * resolv/res_init.c (res_setoptions): Make the code more compact.
44439 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44443 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44445 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44448 * malloc/malloc.h: Declare malloc hook variables as volatile.
44450 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44454 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44455 raise in the comment.
44456 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44458 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44460 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44463 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44464 grow the buffers more if it already has to be sufficient.
44465 (build_wcs_upper_buffer): Likewise.
44466 * posix/regexec.c (check_matching): Likewise.
44467 (clean_state_log_if_needed): Likewise.
44468 (extend_buffers): Don't enlarge buffers beyond size of the input
44470 Patches mostly by Emil Wojak <emil@wojak.eu>.
44471 * posix/bug-regex32.c: New file.
44472 * posix/Makefile (tests): Add bug-regex32.
44474 * locale/findlocale.c (_nl_find_locale): Return right away if
44475 _nl_explode_name failed.
44476 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44478 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44480 * debug/xtrace.sh: Unify messages.
44481 * malloc/memusage.sh: Likewise.
44484 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44485 time symbol from vDSO. Substitute with vsyscall if not available.
44486 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44489 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44490 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44491 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44492 Add sendmmsg and internal_sendmmsg.
44493 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44494 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44495 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44497 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44498 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44499 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44501 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44504 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44505 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44511 * iconvdata/Makefile (tests): Add bug-iconv9.
44512 * iconvdata/bug-iconv9.c: New file.
44514 2011-05-27 Andreas Schwab <schwab@redhat.com>
44517 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44519 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44522 (struct user_regs_struct): Change intcs field back to cs.
44524 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44526 * po/ja.po: Update from translation team.
44528 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44531 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44532 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44534 2011-05-20 Andreas Schwab <schwab@redhat.com>
44536 * stdlib/longlong.h: Update from GCC.
44538 2011-05-23 Andreas Schwab <schwab@redhat.com>
44540 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44542 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44543 Add parameter name.
44544 (__sysconf): Pass it down.
44546 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44549 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44552 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44553 add in in __libc_use_alloca calls. Adjust callers.
44554 (glob): Use malloc in some situations.
44556 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44557 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44560 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44562 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44563 and CLOCK_BOOTTIME_ALARM.
44566 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44569 * string/_strerror.c (__strerror_r): Print negative errors as signed
44573 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44574 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44575 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44577 * configure.in: Fix typo in redirection and correct removal of test
44578 files in two cases.
44581 * locale/setlocale.c (new_composite_name): Fix test to check for
44582 identical name of all categories.
44585 * libio/filedoalloc.c (local_isatty): New function.
44586 (_IO_file_doallocate): Use local_isatty.
44587 * stdio-common/perror.c (perror): In case a new stream is used
44588 forward the stream error.
44589 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44592 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44597 * include/alloca.h (extend_alloca_account): Define.
44600 * posix/regex.h: Fix comments with documentation of user-accessible
44601 fields after compilation and describe correct free'ing of pattern
44602 after re_compile_pattern.
44603 Patch by Reuben Thomas <rrt@sc3d.org>.
44605 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44607 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44608 and -mno-altivec to prevent the compiler from using Altivec and/or
44609 VSX instructions when the corresponding registers are not available.
44611 2011-05-19 Andreas Schwab <schwab@redhat.com>
44613 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44615 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44617 * libio/freopen.c (freopen): Use __dup2, not dup2.
44618 * libio/freopen64.c (freopen64): Likewise.
44620 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44623 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44624 * math/Makefile (tests): Add test-powl.
44625 (CFLAGS-test-powl.c): Define.
44626 * math/test-powl.c: New file.
44628 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44630 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44632 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44635 * iconvdata/gb18030.c: Update to GB18020-2005.
44637 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44639 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44640 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44641 Patch by Aharon Robbins <arnold@skeeve.com>.
44644 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44648 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44649 through underflows.
44652 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44653 point to strings before performing equality test for error_one_per_line
44657 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44661 (struct user_fpregs_struct): Avoid __uint*_t types.
44664 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44665 symbol info. Use it instead of calling _dl_addr locally.
44666 (lock_and_info): New function.
44667 (tr_freehook): Call lock_and_info and pass symbol info as additional
44668 parameter to tr_where.
44669 (tr_mallochook): Likewise.
44670 (tr_reallochook): Likewise.
44671 (tr_memalignhook): Likewise.
44673 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44674 used and couldn't be at all thread-safe.
44676 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44678 * libio/freopen.c (freopen): Don't close old file descriptor
44679 before the new one is opened. Instead dup the new file descriptor
44680 to the old one after the new stream is created.
44681 * libio/freopen64.c (freopen64): Likewise.
44682 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44683 * libio/fileops.c (_IO_new_file_close_it): Handle new
44684 _IO_FLAGS2_NOCLOSE flag.
44685 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44686 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44687 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44688 _IO_FLAGS2_NOCLOSE flag.
44689 * include/unistd.h: Add hidden_proto for dup3.
44690 Define __have_dup3.
44691 * io/dup3.c: Define hidden symbol.
44692 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44695 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44696 when an incomplete long option is used.
44697 * posix/tst-getopt_long1.c: New file.
44698 * posix/Makefile (tests): Add tst-getopt_long1.
44701 * scripts/config.guess: Update from autoconf-2.68.
44702 * scripts/config.sub: Likewise.
44705 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44707 (has_cpuclock): ...this. New function.
44708 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44709 macro here based on has_cpuclock code.
44712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44713 First byte (not low byte) is now always NUL.
44714 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44717 Use non-cancelable interfaces.
44720 * locale/iso-639.def: Add entry for Sorani.
44723 * include/stdlib.h: Move include protection to the right place.
44724 Define abort_msg_s. Declare __abort_msg with it.
44725 * stdlib/abort.c (__abort_msg): Adjust type.
44726 * assert/assert.c (__assert_fail_base): New function. Majority
44727 of code from __assert_fail. Allocate memory for __abort_msg with
44729 (__assert_fail): Now call __assert_fail_base.
44730 * assert/assert-perr.c: Remove bulk of implementation. Use
44731 __assert_fail_base.
44732 * include/assert.hL Declare __assert_fail_base.
44733 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44735 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44737 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44741 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44742 until all modules are registered in the DTV.
44743 * elf/Makefile: Add rules to build and run tst-tls19.
44744 * elf/tst-tls19.c: New file.
44745 * elf/tst-tls19mod1.c: New file.
44746 * elf/tst-tls19mod2.c: New file.
44747 * elf/tst-tls19mod3.c: New file.
44748 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44751 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44755 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44756 two-byte sequence errors.
44757 * iconvdata/Makefile (tests): Add bug-iconv8.
44758 * iconvdata/bug-iconv8.c: New file.
44761 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44764 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44767 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44768 (dummy_getcfa): New function.
44769 (init): Get _Unwind_GetCFA address, use dummy if not found.
44770 (backtrace_helper): In recursion check, also check whether CFA changes.
44771 (__backtrace): Completely initialize arg.
44773 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44774 storing incomplete byte sequence in state object. Avoid testing for
44775 guaranteed too small input if we know there is enough data available.
44777 2011-05-11 Andreas Schwab <schwab@redhat.com>
44779 * Makeconfig (+link-pie): Indent.
44780 * Rules (binaries-pie): Define if $(have-fpie) and
44782 (binaries-shared): Also filter out $(binaries-pie).
44783 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44784 * nscd/Makefile (others-pie): Add nscd.
44785 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44786 ($(objpfx)nscd): Remove command override.
44787 * login/Makefile (others-pie): Add pt_chown.
44788 ($(objpfx)pt_chown): Remove command override.
44789 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44790 remove command overrides.
44792 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44794 * libio/tst_putwc.c: Fix error messages.
44797 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44798 currently writing and seek to current position when not.
44799 * libio/Makefile (tests): Add bug-fclose1.
44800 * libio/bug-fclose1.c: New file.
44802 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44805 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44806 don't set DF_1_NODELETE here.
44807 (do_lookup_x): When entering new entry test for copy relocation
44808 and if necessary set DF_1_NODELETE flag.
44809 * elf/tst-unique4.cc: New file.
44810 * elf/tst-unique4.h: New file.
44811 * elf/tst-unique4lib.cc: New file.
44812 * elf/Makefile: Add rules to build and run tst-unique4.
44813 Patch by Piotr Bury <pbury@goahead.com>.
44815 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44818 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44821 * misc/mntent_r.c (addmntent): Flush the stream after the output
44824 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44825 (is_trusted_path_normalize): Skip initial colon. Append slash
44826 to empty buffer. Duplicate is_trusted_path code but allow
44827 constructed patch to be prefix.
44828 (is_dst): Allow $ORIGIN followed by /.
44829 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44830 Correct testing of result of is_trusted_path_normalize
44831 (decompose_rpath): Fix warning.
44833 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44836 * grp/initgroups.c (internal_getgrouplist): When we found the service
44837 list through the initgroups entry in nsswitch.conf do not always
44838 continue on a successful lookup. Don't always use the
44839 __nss_group_database value if it is set.
44840 * nss/nsswitch.conf (initgroups): Change action for successful db
44841 lookup to continue for compatibility.
44843 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44846 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44848 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44850 * iconvdata/tst-tables.sh: Likewise.
44851 * iconvdata/cp770.c: New file.
44852 * iconvdata/cp771.c: New file.
44853 * iconvdata/cp772.c: New file.
44854 * iconvdata/cp773.c: New file.
44855 * iconvdata/cp774.c: New file.
44856 * iconvdata/testdata/CP770: New file.
44857 * iconvdata/testdata/CP770..UTF8: New file.
44858 * iconvdata/testdata/CP771: New file.
44859 * iconvdata/testdata/CP771..UTF8: New file.
44860 * iconvdata/testdata/CP772: New file.
44861 * iconvdata/testdata/CP772..UTF8: New file.
44862 * iconvdata/testdata/CP773: New file.
44863 * iconvdata/testdata/CP773..UTF8: New file.
44864 * iconvdata/testdata/CP774: New file.
44865 * iconvdata/testdata/CP774..UTF8: New file.
44867 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44869 * iconvdata/gen-8bit-gap.sh: Likewise.
44870 * iconvdata/gen-8bit.sh: Likewise.
44872 * locale/iso-639.def: Add ary entry.
44875 * locale/C-translit.h.in: Add U20A1 transliteration.
44878 * locale/iso-639.def: Add wae entry.
44879 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44882 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44886 * locale/C-translit.h.in: Add entry for U20B9.
44887 Patch by pravin.d.s@gmail.com.
44889 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44892 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44893 ENAMETOOLONG use generic getcwd.
44894 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44895 in rtld. Use *stat64.
44896 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44897 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44898 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44899 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44900 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44901 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44902 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44903 __fstatat64 macros.
44904 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44905 * dirent/rewinddir.c: Add libc_hidden_def.
44906 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44907 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44909 * include/dirent.h (__alloc_dir): Add flags parameter.
44910 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44911 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44913 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44914 from fdopendir if O_CLOEXEC is already set.
44916 2011-03-15 Alan Modra <amodra@gmail.com>
44918 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44919 l_tls_firstbyte_offset non-zero. Save padding offset in
44920 l_tls_firstbyte_offset for later use.
44921 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44922 freeing static tls block.
44924 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44926 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44927 where #ifdef was intended. The intent is to prevent ARG_MAX from
44928 being defined by the kernel headers.
44930 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44933 * resolv/resolv.h: Define RES_NOTLDQUERY.
44934 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44935 no-tld-query and set RES_NOTLDQUERY.
44936 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44937 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44938 modern BIND to search name as TLD unless forbidden.
44940 2011-05-07 Petr Baudis <pasky@suse.cz>
44941 Ulrich Drepper <drepper@gmail.com>
44944 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44945 (is_trusted_path): ...to here.
44946 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44947 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44948 using is_trusted_path_normalize() in setuid scripts.
44950 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44952 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44953 __BEGIN/__END_DECLS.
44955 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44958 NSS_STATUS_NOTFOUND if no record was found.
44960 2011-05-05 Andreas Schwab <schwab@redhat.com>
44962 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44963 (headers-not-in-tirpc): Remove rpc/netdb.h
44964 * resolv/netdb.h: Revert last change.
44966 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44968 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44969 circular dependency between libgcc.a and libc.a.
44971 2011-05-05 Andreas Schwab <schwab@redhat.com>
44973 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44974 * nis/Makefile: Don't install rpcsvc/*.
44975 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44976 instead of <rpc/types.h>.
44977 (MAXHOSTNAMELEN): Define.
44979 2011-05-03 Andreas Schwab <schwab@redhat.com>
44981 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44983 2011-04-28 Maciej Babinski <mbabinski@google.com>
44986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44987 gethostbyname4_r when IPv6 results are possible.
44989 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44992 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44993 _PC_PIPE_BUF handling.
44995 2011-04-30 Bruno Haible <bruno@clisp.org>
44998 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44999 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45001 * inet/getnameinfo.c (getnameinfo): Likewise.
45003 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45005 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45006 to groups setting in database lookup.
45007 * nss/nsswitch.conf: Add initgroups entry.
45009 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45012 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45014 Patch by Eric Blake <eblake@redhat.com>.
45016 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45018 * sunrpc/Makefile (need-export-routines): Add svc_run.
45019 (routines): Remove svc_run.
45020 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45021 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45022 * sunrpc/svc_run.c (svc_run): Likewise.
45023 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45025 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45028 problem in reallocation in last patch.
45030 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45032 * sunrpc/Makefile: Move inclusion of Rules.
45034 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45036 * nss/nss_files/files-initgroups.c: New file.
45037 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45038 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45039 _nss_files_initgroups_dyn.
45041 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45043 * elf/elf.h (R_ARM_IRELATIVE): Define.
45045 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45047 * po/ru.po: Update from translation team.
45049 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45051 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45054 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45057 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45058 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45063 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45065 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45067 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45071 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45074 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45076 * stdlib/bug-getcontext.c: New file.
45077 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45079 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45081 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45082 instructions into .machine "z9-109".
45083 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45084 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45086 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45088 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45089 between environment variables and auxiliary vector.
45091 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45093 * Makefile: Add rules to build linkobj/libc.so.
45094 * include/libc-symbols.h: Define libc_hidden_nolink.
45095 * include/rpc/auth.h: Mark functions which are to be hidden.
45096 * include/rpc/auth_des.h: Likewise.
45097 * include/rpc/auth_unix.h: Likewise.
45098 * include/rpc/clnt.h: Likewise.
45099 * include/rpc/des_crypt.h: Likewise.
45100 * include/rpc/key_prot.h: Likewise.
45101 * include/rpc/pmap_clnt.h: Likewise.
45102 * include/rpc/pmap_prot.h: Likewise.
45103 * include/rpc/pmap_rmt.h: Likewise.
45104 * include/rpc/rpc_msg.h: Likewise.
45105 * include/rpc/svc.h: Likewise.
45106 * include/rpc/svc_auth.h: Likewise.
45107 * include/rpc/xdr.h: Likewise.
45108 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45109 * nss/Makefile: Likewise.
45110 * sunrpc/Makefile: Don't install headers. Build library with normal
45111 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45112 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45113 for the compat linking library. Remove use of INTDEF/INTUSE.
45114 * sunrpc/auth_none.c: Likewise.
45115 * sunrpc/auth_unix.c: Likewise.
45116 * sunrpc/authdes_prot.c: Likewise.
45117 * sunrpc/authuxprot.c: Likewise.
45118 * sunrpc/clnt_gen.c: Likewise.
45119 * sunrpc/clnt_perr.c: Likewise.
45120 * sunrpc/clnt_raw.c: Likewise.
45121 * sunrpc/clnt_simp.c: Likewise.
45122 * sunrpc/clnt_tcp.c: Likewise.
45123 * sunrpc/clnt_udp.c: Likewise.
45124 * sunrpc/clnt_unix.c: Likewise.
45125 * sunrpc/des_crypt.c: Likewise.
45126 * sunrpc/des_soft.c: Likewise.
45127 * sunrpc/get_myaddr.c: Likewise.
45128 * sunrpc/key_call.c: Likewise.
45129 * sunrpc/key_prot.c: Likewise.
45130 * sunrpc/netname.c: Likewise.
45131 * sunrpc/pm_getmaps.c: Likewise.
45132 * sunrpc/pm_getport.c: Likewise.
45133 * sunrpc/pmap_clnt.c: Likewise.
45134 * sunrpc/pmap_prot.c: Likewise.
45135 * sunrpc/pmap_prot2.c: Likewise.
45136 * sunrpc/pmap_rmt.c: Likewise.
45137 * sunrpc/publickey.c: Likewise.
45138 * sunrpc/rpc_cmsg.c: Likewise.
45139 * sunrpc/rpc_common.c: Likewise.
45140 * sunrpc/rpc_dtable.c: Likewise.
45141 * sunrpc/rpc_prot.c: Likewise.
45142 * sunrpc/rpc_thread.c: Likewise.
45143 * sunrpc/rtime.c: Likewise.
45144 * sunrpc/svc.c: Likewise.
45145 * sunrpc/svc_auth.c: Likewise.
45146 * sunrpc/svc_authux.c: Likewise.
45147 * sunrpc/svc_raw.c: Likewise.
45148 * sunrpc/svc_run.c: Likewise.
45149 * sunrpc/svc_simple.c: Likewise.
45150 * sunrpc/svc_tcp.c: Likewise.
45151 * sunrpc/svc_udp.c: Likewise.
45152 * sunrpc/svc_unix.c: Likewise.
45153 * sunrpc/svcauth_des.c: Likewise.
45154 * sunrpc/xcrypt.c: Likewise.
45155 * sunrpc/xdr.c: Likewise.
45156 * sunrpc/xdr_array.c: Likewise.
45157 * sunrpc/xdr_float.c: Likewise.
45158 * sunrpc/xdr_intXX_t.c: Likewise.
45159 * sunrpc/xdr_mem.c: Likewise.
45160 * sunrpc/xdr_rec.c: Likewise.
45161 * sunrpc/xdr_ref.c: Likewise.
45162 * sunrpc/xdr_sizeof.c: Likewise.
45163 * sunrpc/xdr_stdio.c: Likewise.
45165 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45168 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45169 * sysdeps/ia64/dl-tls.h: Likewise.
45170 * sysdeps/powerpc/dl-tls.h: Likewise.
45171 * sysdeps/s390/dl-tls.h: Likewise.
45172 * sysdeps/sh/dl-tls.h: Likewise.
45173 * sysdeps/sparc/dl-tls.h: Likewise.
45174 * sysdeps/x86_64/dl-tls.h: Likewise.
45175 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45177 2011-03-14 Andreas Schwab <schwab@redhat.com>
45179 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45180 rpath element also skip the following colon.
45181 (expand_dynamic_string_token): Add is_path parameter and pass
45182 down to DL_DST_REQUIRED and _dl_dst_substitute.
45183 (decompose_rpath): Call expand_dynamic_string_token with
45184 non-zero is_path. Ignore empty rpaths.
45185 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45188 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45193 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45196 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45197 Patch by Filipe David Manana <fdmanana@apache.org>.
45199 2011-04-07 Andreas Schwab <schwab@redhat.com>
45201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45202 Maintain aligned stack.
45203 (CHECK_RSP): Remove unused macro.
45205 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45207 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45208 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45210 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45212 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45214 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45216 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45219 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45220 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45221 * sysdeps/x86_64/memmove.c: New file.
45222 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45223 (memcpy): Renamed to ...
45224 (__new_memcpy): This.
45225 (memcpy): Provide GLIBC_2_14 memcpy.
45226 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45227 (memcpy): Provide GLIBC_2_2_5 memcpy.
45229 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45232 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45234 2011-03-30 Andreas Schwab <schwab@redhat.com>
45236 * misc/syncfs.c: New file.
45237 * misc/Makefile (routines): Add syncfs.
45238 * posix/unistd.h: Declare syncfs.
45239 * sysdeps/unix/syscalls.list: Add syncfs.
45241 2011-04-01 Andreas Schwab <schwab@redhat.com>
45243 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45245 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45246 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45250 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45253 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45256 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45257 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45259 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45263 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45264 sync_file_range.c with -fexceptions.
45265 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45266 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45267 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45268 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45269 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45270 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45272 sync_file_range as cancellation point
45273 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45274 now a wrapper around __call_sync_file_range with cancellation handling.
45275 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45276 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45277 function name to __call_sync_file_range.
45278 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45279 Add call_sync_file_range.
45281 2011-04-01 Andreas Schwab <schwab@redhat.com>
45283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45286 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45288 * iconv/iconv.h: Fix typo in comment.
45289 * io/fcntl.h: Likewise.
45290 * libio/stdio.h: Likewise.
45291 * posix/spawn.h: Likewise.
45292 * posix/unistd.h: Likewise.
45293 * stdlib/stdlib.h: Likewise.
45294 * time/time.h: Likewise.
45295 * wcsmbs/wchar.h: Likewise.
45297 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45298 open_by_handle): Add.
45299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45300 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45301 Augment a few comments.
45302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45307 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45310 * io/fcntl.h (AT_EMPTY_PATH): Define.
45312 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45314 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45315 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45316 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45318 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45319 * Versions.def: Add GLIBC_2.14.
45320 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45323 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45325 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45327 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45329 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45332 * string/test-strncmp.c (do_page_test): New function.
45333 (check2): Likewise.
45334 (test_main): Call check2.
45335 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45337 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45341 Handle cache information in CPU leaf 4.
45342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45344 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45347 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45348 character representation.
45349 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45351 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45353 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45354 END(__isnan) to END(__isnanf) to match function entry point/label
45355 EALIGN(__isnanf,...).
45357 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45359 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45361 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45364 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45365 copy from the symbol referenced in the relocation to initialize the
45367 Patch by Piotr Bury <pbury@goahead.com>.
45368 * elf/Makefile: Add rules to build and tst-unique3.
45369 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45370 * elf/tst-unique3.cc: New file.
45371 * elf/tst-unique3.h: New file.
45372 * elf/tst-unique3lib.cc: New file.
45373 * elf/tst-unique3lib2.cc: New file.
45375 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45377 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45379 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45380 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45383 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45385 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45386 to-be-loaded object along a path to loader is ld.so.
45388 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45389 Ulrich Drepper <drepper@gmail.com>
45391 * sysdeps/x86_64/memset.S: After aligning destination, code
45392 branches to different locations depending on the value of
45393 misalignment, when multiarch is enabled. Fix this.
45395 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45397 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45398 Set _x86_64_preferred_memory_instruction for AMD processsors.
45399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45400 Set bit_Prefer_SSE_for_memop for AMD processors.
45402 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45404 * libio/fmemopen.c (fmemopen): Optimize a bit.
45406 2011-03-03 Andreas Schwab <schwab@redhat.com>
45408 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45410 2011-03-03 Roland McGrath <roland@redhat.com>
45412 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45414 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45416 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45417 __bzero_ultra1 instead of __memset_ultra1.
45419 2011-02-23 Andreas Schwab <schwab@redhat.com>
45420 Ulrich Drepper <drepper@gmail.com>
45423 * include/link.h (struct link_map): Add l_orig_initfini.
45424 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45425 returning unsuccessfully.
45426 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45427 close of a file loaded at startup, restore the original l_initfini
45429 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45430 list, store the pointer.
45431 * elf/Makefile ($(objpfx)noload-mem): New rule.
45432 (noload-ENV): Define.
45433 (tests): Add $(objpfx)noload-mem.
45434 * elf/noload.c: Include <memcheck.h>.
45435 (main): Call mtrace. Close all opened handles.
45437 2011-02-17 Andreas Schwab <schwab@redhat.com>
45440 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45441 dependencies are missing.
45443 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45445 Fix __if_freereq crash: Unlike the generic version which uses free,
45447 * sysdeps/mach/hurd/ifreq.h: New file.
45449 2011-01-27 Petr Baudis <pasky@suse.cz>
45450 Ulrich Drepper <drepper@gmail.com>
45453 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45454 to extend_alloca().
45455 * stdio-common/bug23.c: New file.
45456 * stdio-common/Makefile (tests): Add bug23.
45458 2010-09-28 Andreas Schwab <schwab@redhat.com>
45459 Ulrich Drepper <drepper@gmail.com>
45462 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45463 before performing relro protection. At old place add assertion
45464 to make sure nothing changed.
45466 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45467 Glauber de Oliveira Costa <glommer@gmail.com>
45469 * elf/elf.h: Add new ARM TLS relocs.
45471 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45474 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45476 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45478 * sysdeps/wordsize-64/tst-writev.c: New file.
45480 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45482 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45483 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45484 insns in _dl_start to prevent a TOC reference before relocs are
45487 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45490 * Makeconfig: Remove RANLIB definition.
45491 * Makerules: Don't use RANLIB.
45492 * aclocal.m4: Remove ranlib test.
45493 * configure.in: No need to check for ranlib.
45494 * elf/rtld-Rules: Don't use RANLIB.
45496 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45498 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45500 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45501 inclusion protection macro.
45503 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45504 SIGRTMIN and SIGRTMAX and print information in that case only when
45505 SIGRTMIN is defined.
45507 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45509 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45510 arginfo fn returning -1.
45512 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45513 and thousands string is zero terminated.
45515 2011-02-03 Andreas Schwab <schwab@redhat.com>
45517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45518 sysdeps/unix/sysv/linux/bits/socket.h.
45520 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45522 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45523 (__CPU_COUNT): Remove old macros.
45524 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45525 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45526 (__CPU_ALLOC, __CPU_FREE): Add macros.
45527 (__sched_cpualloc, __sched_cpufree): Add declarations.
45529 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45531 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45532 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45533 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45534 (readdhstai): Return value of addhstaiX call.
45535 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45536 (addgrbyX): Return value returned by cache_addgr.
45537 (readdgrbyname): Return value returned by addgrbyX.
45538 (readdgrbygid): Likewise.
45539 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45540 (addpwbyX): Return value returned by cache_addpw.
45541 (readdpwbyname): Return value returned by addhstbyX.
45542 (readdpwbyuid): Likewise.
45543 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45544 (addservbyX): Return value returned by cache_addserv.
45545 (readdservbyname): Return value returned by addservbyX:
45546 (readdservbyport): Likewise.
45547 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45548 (addhstbyX): Return value returned by cache_addhst.
45549 (readdhstbyname): Return value returned by addhstbyX.
45550 (readdhstbyaddr): Likewise.
45551 (readdhstbynamev6): Likewise.
45552 (readdhstbyaddrv6): Likewise.
45553 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45554 (readdinitgroups): Return value returned by addinitgroupsX.
45555 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45556 (prune_cache): Keep track of timeout value of re-added entries.
45557 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45558 * nscd/nscd.h: Adjust prototypes of readd* functions.
45560 2011-02-04 Roland McGrath <roland@redhat.com>
45562 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45563 (nis_stats): Likewise.
45564 * nis/nis_modify.c (nis_modify): Likewise.
45565 * nis/nis_remove.c (nis_remove): Likewise.
45566 * nis/nis_add.c (nis_add): Likewise.
45568 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45570 * posix/fnmatch_loop.c: Add some consts.
45572 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45574 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45577 * config.make.in (config-cflags-novzeroupper): Define.
45578 * configure.in: Substitute libc_cv_cc_novzeroupper.
45579 * elf/Makefile (AVX-CFLAGS): Define.
45580 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45581 (CFLAGS-tst-auditmod4a.c): Likewise.
45582 (CFLAGS-tst-auditmod4b.c): Likewise.
45583 (CFLAGS-tst-auditmod6b.c): Likewise.
45584 (CFLAGS-tst-auditmod6c.c): Likewise.
45585 (CFLAGS-tst-auditmod7b.c): Likewise.
45586 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45588 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45590 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45591 function to the callback.
45592 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45594 2011-02-02 Andreas Schwab <schwab@redhat.com>
45596 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45599 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45602 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45604 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45606 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45609 * elf/Makefile: Add rules to build and run new test.
45610 * elf/tst-initorder.c: New file.
45611 * elf/tst-initorder.exp: New file.
45612 * elf/tst-initordera1.c: New file.
45613 * elf/tst-initordera2.c: New file.
45614 * elf/tst-initordera3.c: New file.
45615 * elf/tst-initordera4.c: New file.
45616 * elf/tst-initorderb1.c: New file.
45617 * elf/tst-initorderb2.c: New file.
45618 * elf/tst-order-a1.c: New file.
45619 * elf/tst-order-a2.c: New file.
45620 * elf/tst-order-a3.c: New file.
45621 * elf/tst-order-a4.c: New file.
45622 * elf/tst-order-b1.c: New file.
45623 * elf/tst-order-b2.c: New file.
45624 * elf/tst-order-main.c: New file.
45625 New test case by George Gensure <werkt0@gmail.com>.
45627 2010-10-01 Andreas Schwab <schwab@redhat.com>
45629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45630 decoding ACE if AI_CANONIDN.
45632 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45634 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45636 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45638 * version.h (RELEASE): Bump for 2.13 release.
45639 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45641 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45643 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45645 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45646 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45647 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45649 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45652 * posix/getconf.c: Update copyright year.
45653 * catgets/gencat.c: Likewise.
45654 * csu/version.c: Likewise.
45655 * debug/catchsegv.sh: Likewise.
45656 * debug/xtrace.sh: Likewise.
45657 * elf/ldconfig.c: Likewise.
45658 * elf/ldd.bash.in: Likewise.
45659 * elf/sprof.c (print_version): Likewise.
45660 * iconv/iconv_prog.c: Likewise.
45661 * iconv/iconvconfig.c: Likewise.
45662 * locale/programs/locale.c: Likewise.
45663 * locale/programs/localedef.c: Likewise.
45664 * malloc/memusage.sh: Likewise.
45665 * malloc/mtrace.pl: Likewise.
45666 * nscd/nscd.c (print_version): Likewise.
45667 * nss/getent.c: Likewise.
45669 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45670 PF_CAIF, and PF_ALG.
45671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45673 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45675 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45676 (modules-names): Use them.
45677 (ifunc-test-modules, ifunc-pie-tests): Define.
45678 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45679 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45680 (test-extras): Likewise.
45681 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45682 $(compile-command.c).
45683 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45684 (all-built-dso): Define.
45685 (check-textrel.out, check-execstack.out): Depend on it.
45687 * configure.in: Don't override --enable-multi-arch.
45689 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45692 * nscd/hstcache.c (tryagain): Define.
45693 (cache_addhst): Return tryagain not notfound for temporary errors.
45694 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45697 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45700 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45701 to make the syscall.
45702 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45705 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45706 and fall back to matching as normal character if the string ends before
45707 the matching ']' is found. This is what POSIX requires.
45708 * posix/testfnm.c: Adjust test result.
45709 * posix/globtest.sh: Adjust test result. Add new test.
45710 * posix/tst-fnmatch.input: Likewise.
45711 * posix/tst-fnmatch2.c: Add new test.
45713 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45715 * elf/Makefile (check-execstack): Revert last change. Depend on
45717 (check-execstack.h): New target.
45718 (generated): Add check-execstack.h.
45719 * elf/check-execstack.c: Include "check-execstack.h".
45720 (main): Revert last change.
45721 (handle_file): Return zero if GNU_STACK is absent and
45722 DEFAULT_STACK_PERMS doesn't include PF_X.
45724 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45726 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45727 in child fails because the descriptor is already closed.
45728 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45729 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45730 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45733 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45737 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45738 temporary buffer used to handle multi lookups locally.
45739 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45741 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45743 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45746 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45748 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45749 alignment for SSE2.
45751 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45754 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45755 characters. When rounding increased number of integer digits recompute
45757 * stdio-common/tst-grouping.c: New file.
45758 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45760 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45762 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45763 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45765 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45767 * bits/select.h: Likewise.
45769 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45771 * po/ja.po: Update from translation team.
45773 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45776 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45777 implementation just like for lxstat, fxstatat, et al.
45779 2010-12-27 Jim Meyering <meyering@redhat.com>
45782 * posix/regexec.c (build_trtable): Return failure indication upon
45783 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45785 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45788 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45789 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45790 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45791 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45794 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45797 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45798 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45800 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45802 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45803 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45804 script has SORT_BY_INIT_PRIORITY.
45805 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45806 NO_CTORS_DTORS_SECTIONS is defined.
45807 * elf/soinit.c: Likewise.
45808 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45809 NO_CTORS_DTORS_SECTIONS is defined.
45810 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45811 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45812 * sysdeps/sh/init-first.c: Likewise.
45813 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45815 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45817 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45818 always use the slow path.
45820 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45822 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45823 similar rule which adds the sysdep directories to the header search in
45824 order to pick up the correct platform stackinfo.h.
45825 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45826 perform test if it is, otherwise return successfully without testing.
45827 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45828 DEFAULT_STACK_PERMS define in stackinfo.h.
45829 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45830 defined in stackinfo.h.
45831 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45832 DEFAULT_STACK_PERMS defined in stackinfo.h.
45833 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45834 * sysdeps/ia64/stackinfo.h: Likewise.
45835 * sysdeps/s390/stackinfo.h: Likewise.
45836 * sysdeps/sh/stackinfo.h: Likewise.
45837 * sysdeps/sparc/stackinfo.h: Likewise.
45838 * sysdeps/x86_64/stackinfo.h: Likewise.
45839 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45840 PF_X for powerpc64. Retain PF_X for powerpc32.
45842 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45844 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45846 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45847 GETDENTS_64BIT_ALIGNED.
45849 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45851 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45853 2010-12-10 Andreas Schwab <schwab@redhat.com>
45855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45858 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45859 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45861 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45862 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45864 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45867 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45870 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45872 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45874 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45876 * po/it.po: Update from translation team.
45878 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45883 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45885 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45887 2010-11-24 Andreas Schwab <schwab@redhat.com>
45889 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45891 (gaih_getanswer_slice): Likewise.
45893 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45897 2010-05-31 Petr Baudis <pasky@suse.cz>
45900 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45901 silently even in the chroot mode.
45903 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45905 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45906 last patch a bit. Pretty printing
45908 2010-05-31 Petr Baudis <pasky@suse.cz>
45911 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45912 initialization of skip_initgroups_dyn.
45914 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45916 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45917 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45919 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45921 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45923 2010-11-11 Andreas Schwab <schwab@redhat.com>
45925 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45926 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45927 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45928 ($(objpfx)tst-fnmatch-mem): New rule.
45929 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45930 * posix/tst-fnmatch.c (main): Call mtrace.
45932 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45935 Support Intel processor model 6 and model 0x2c.
45937 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45939 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45942 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45945 * string/test-strncasecmp.c (check_result): New function.
45946 (do_one_test): Use it.
45947 (check1): New function.
45948 (test_main): Use it.
45949 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45950 Support strcasecmp and strncasecmp.
45952 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45955 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45956 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45958 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45960 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45964 * sysdeps/x86_64/multiarch/bzero.S: New file.
45965 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45966 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45967 * sysdeps/x86_64/multiarch/memset.S: New file.
45968 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45970 Set bit_Prefer_SSE_for_memop for Intel processors.
45971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45973 (index_Prefer_SSE_for_memop): Define.
45974 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45976 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45978 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45979 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45981 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45984 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45985 (__x86_64_raw_data_cache_size_half): Likewise.
45986 (__x86_64_raw_shared_cache_size): Likewise.
45987 (__x86_64_raw_shared_cache_size_half): Likewise.
45989 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45990 (__x86_64_raw_data_cache_size_half): Likewise.
45991 (__x86_64_raw_shared_cache_size): Likewise.
45992 (__x86_64_raw_shared_cache_size_half): Likewise.
45993 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45994 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45995 and __x86_64_raw_shared_cache_size_half. Round
45996 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45997 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45998 to multiple of 256 bytes.
46000 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46003 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46004 of inacessible symlinks. Verify result of symlink before returning it.
46005 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46006 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46008 2010-10-28 Erich Ritz <erichritz@gmail.com>
46010 * math/math.h (isinf): Fix typo in comment.
46012 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46014 * po/da.po: Update from translation team.
46016 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46018 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46019 is added to the list.
46021 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46022 Ulrich Drepper <drepper@gmail.com>
46024 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46025 the global list here. Move code to...
46026 (_dl_add_to_namespace_list): ...here. New function.
46027 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46028 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46029 * elf/dl-load.c (lose): Don't remove the element from the list.
46030 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46031 (_dl_map_object): Likewise.
46033 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46036 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46037 into all bytes of SSE register.
46038 Patch by Richard Li <richardpku@gmail.com>.
46040 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46043 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46046 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46048 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46049 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46050 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46051 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46056 2010-10-22 Andreas Schwab <schwab@redhat.com>
46058 * include/dlfcn.h (__RTLD_SECURE): Define.
46059 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46060 mode & __RTLD_SECURE instead.
46061 (open_path): Rename preloaded parameter to secure.
46062 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46063 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46064 * elf/dl-deps.c (openaux): Likewise.
46065 * elf/rtld.c (struct map_args): Remove is_preloaded.
46066 (map_doit): Don't use it.
46067 (dl_main): Likewise.
46068 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46069 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46071 2010-09-09 Andreas Schwab <schwab@redhat.com>
46073 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46074 (sysd-rules-targets): Remove duplicates.
46075 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46076 rtld-%.$o dependency.
46078 2010-10-18 Andreas Schwab <schwab@redhat.com>
46080 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46081 _dl_map_object do it.
46083 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46085 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46086 fast fma builtins, define the macros in the C99 standard.
46087 (FP_FAST_FMAF): Likewise.
46088 (FP_FAST_FMAL): Likewise.
46089 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46091 * bits/mathdef.h: Update copyright year.
46092 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46094 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46096 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46097 builtins, define the macros in the C99 standard.
46098 (FP_FAST_FMAF): Likewise.
46099 (FP_FAST_FMAL): Likewise.
46100 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46102 (FP_FAST_FMAF): Likewise.
46104 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46107 * math/libm-test.inc (fma_test): Some new testcases.
46108 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46109 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46110 y and infinite z. Do multiplication by C already in long double.
46111 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46113 y and infinite z. Do bitwise or of inexact bit into u.d.
46114 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46115 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46116 * sysdeps/i386/fpu/s_fma.S: Removed.
46117 * sysdeps/i386/fpu/s_fmal.S: Removed.
46119 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46122 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46124 computation is not scheduled after fetestexcept. Fix value
46125 of minimum denormal long double.
46127 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46130 * math/libm-test.inc (fma_test): Add some more tests.
46131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46134 2010-10-15 Andreas Schwab <schwab@redhat.com>
46136 * scripts/data/localplt-s390-linux-gnu.data: New file.
46137 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46139 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46142 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46143 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46145 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46147 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46149 if one of x and y is very large and the other is subnormal.
46150 * sysdeps/s390/fpu/s_fmaf.c: New file.
46151 * sysdeps/s390/fpu/s_fma.c: New file.
46152 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46153 * sysdeps/powerpc/fpu/s_fma.S: New file.
46154 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46155 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46156 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46158 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46161 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46163 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46164 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46165 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46166 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46167 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46168 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46169 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46171 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46174 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46175 * posix/bug-regex31.input: Add test case.
46177 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46179 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46180 * posix/bug-regex31.input: New file.
46183 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46184 (parse_sub_exp): Fix last change, use postorder.
46186 * posix/bug-regex31.c: New file.
46187 * posix/Makefile: Add rules to build and run bug-regex31.
46189 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46192 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46195 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46196 to have entries in sys_siglist.
46199 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46202 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46205 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46206 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46207 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46208 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46209 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46210 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46211 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46212 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46213 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46214 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46215 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46216 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46217 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46218 * math/ftestexcept.c (fetestexcept): Likewise.
46219 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46220 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46221 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46222 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46223 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46224 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46225 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46227 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46230 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46233 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46235 * string/bug-strstr1.c: New file.
46236 * string/Makefile: Add rules to build and run bug-strstr1.
46238 2010-10-05 Eric Blake <eblake@redhat.com>
46241 * string/str-two-way.h (two_way_long_needle): Always clear memory
46242 when skipping input due to the shift table.
46244 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46247 * malloc/mcheck.c: Handle large requests.
46250 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46251 for strncmp and strncasecmp.
46252 * string/stratcliff.c: Add tests for strcmp and strncmp.
46253 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46255 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46257 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46260 2010-09-30 Andreas Jaeger <aj@suse.de>
46262 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46263 (CGROUP_SUPER_MAGIC): Define.
46264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46265 Handle btrfs and cgroup file systems.
46266 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46269 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46271 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46272 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46274 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46277 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46278 trying to locate the ELF header.
46280 2010-09-27 Andreas Schwab <schwab@redhat.com>
46283 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46284 Mask out sign-bit copies when constructing f_fsid.
46286 2010-09-24 Petr Baudis <pasky@suse.cz>
46288 * debug/stack_chk_fail_local.c: Add missing licence exception.
46289 * debug/warning-nop.c: Likewise.
46291 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46293 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46294 implementing getdents64 using getdents syscall, set d_type if
46295 __ASSUME_GETDENTS32_D_TYPE.
46297 2010-09-16 Andreas Schwab <schwab@redhat.com>
46299 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46300 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46302 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46305 * posix/unistd.h: Undo change of feature selection for ftruncate from
46308 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46310 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46313 2010-09-20 Andreas Schwab <schwab@redhat.com>
46315 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46317 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46319 2010-09-14 Andreas Schwab <schwab@redhat.com>
46321 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46322 variables after CHECK_SP call.
46323 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46325 2010-09-13 Andreas Schwab <schwab@redhat.com>
46326 Ulrich Drepper <drepper@redhat.com>
46328 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46329 re-relocationg ld.so.
46330 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46331 _dl_init_paths call.
46332 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46335 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46337 * resolv/res_init.c (__res_vinit): Count the default server we added.
46339 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46340 Ulrich Drepper <drepper@redhat.com>
46343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46344 (____longjmp_chk): Use %ebx for saving value across system call.
46347 2010-09-06 Andreas Schwab <schwab@redhat.com>
46349 * manual/Makefile: Don't mix pattern rules with normal rules.
46351 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46353 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46355 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46356 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46357 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46358 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46362 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46365 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46366 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46368 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46370 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46371 * sysdeps/x86_64/addmul_1.S: Likewise.
46372 * sysdeps/x86_64/lshift.S: Likewise.
46373 * sysdeps/x86_64/mul_1.S: Likewise.
46374 * sysdeps/x86_64/rshift.S: Likewise.
46375 * sysdeps/x86_64/sub_n.S: Likewise.
46376 * sysdeps/x86_64/submul_1.S: Likewise.
46378 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46380 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46381 Define __sched_param instead of SCHED_* and sched_param when
46382 <bits/sched.h> is included with __need_schedparam defined.
46383 * bits/sched.h [__need_schedparam]
46384 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46385 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46386 (__defined_schedparam): Define to 1.
46387 (__sched_param): New structure, identical to sched_param.
46388 (__need_schedparam): Undefine.
46390 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46393 (epoll_create1): Declare.
46395 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46397 2010-08-31 Andreas Schwab <schwab@redhat.com>
46400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46401 shifting retval into place.
46403 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46405 * nis/rpcsvc/nis.h: Update copyright notice.
46406 * nis/rpcsvc/nis.x: Likewise.
46407 * nis/rpcsvc/nis_callback.h: Likewise.
46408 * nis/rpcsvc/nis_callback.x: Likewise.
46409 * nis/rpcsvc/nis_object.x: Likewise.
46410 * nis/rpcsvc/nis_tags.h: Likewise.
46411 * nis/rpcsvc/yp.h: Likewise.
46412 * nis/rpcsvc/yp.x: Likewise.
46413 * nis/rpcsvc/ypupd.h: Likewise.
46414 * nis/yp_xdr.c: Likewise.
46415 * nis/ypupdate_xdr.c: Likewise.
46417 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46418 mainly the body of pmap_getport. Add parameters to specify timeouts.
46419 (pmap_getport): Use __libc_rpc_getport.
46420 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46421 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46422 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46424 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46429 2010-08-27 Roland McGrath <roland@redhat.com>
46431 * sysdeps/i386/i686/multiarch/Makefile
46432 (CFLAGS-varshift.c): New variable.
46434 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46436 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46437 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46441 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46443 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46445 * sysdeps/x86_64/strlen.S: Unroll the loop.
46446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46447 strlen-sse2 strlen-sse2-bsf.
46448 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46449 __strlen_no_bsf if bit_Slow_BSF is set.
46450 (__strlen_sse42): Removed.
46451 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46452 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46454 2010-08-25 Roland McGrath <roland@redhat.com>
46456 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46457 * sysdeps/x86_64/multiarch/varshift.c: New file.
46458 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46459 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46460 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46461 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46463 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46466 strlen-sse2 strlen-sse2-bsf.
46467 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46468 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46469 (__strlen_sse2): Removed.
46470 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46473 bit_Slow_BSF for Atom.
46474 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46475 (index_Slow_BSF): Define.
46476 (HAS_SLOW_BSF): Define.
46478 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46481 * resolv/res_init.c (__res_vinit): When no server address at all
46482 is given default to loopback.
46484 2010-08-24 Roland McGrath <roland@redhat.com>
46486 * configure.in: Remove config-name.h generation.
46487 * configure: Regenerated.
46488 * config-name.in: File removed.
46489 * scripts/config-uname.sh: New file.
46490 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46491 ($(objdir)config-name.h): New target.
46493 * sunrpc/rpc_parse.h: Avoid nested comment.
46495 2010-08-24 Richard Henderson <rth@redhat.com>
46496 Ulrich Drepper <drepper@redhat.com>
46497 H.J. Lu <hongjiu.lu@intel.com>
46499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46501 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46502 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46503 _mm_alignr_epi8 with _mm_loadu_si128.
46504 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46505 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46506 (__m128i_shift_right): Removed.
46507 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46508 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46509 * sysdeps/x86_64/multiarch/varshift.h: New file.
46510 * sysdeps/x86_64/multiarch/varshift.S: New file.
46512 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46514 * configure.in: Move assembler checks to before sysdep dir checking.
46516 2010-08-20 Petr Baudis <pasky@suse.cz>
46518 * LICENSES: Sync the sunrpc license.
46520 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46522 * sunrpc/auth_des.c: Update copyright notice once again.
46523 * sunrpc/auth_none.c: Likewise.
46524 * sunrpc/auth_unix.c: Likewise.
46525 * sunrpc/authdes_prot.c: Likewise.
46526 * sunrpc/authuxprot.c: Likewise.
46527 * sunrpc/bindrsvprt.c: Likewise.
46528 * sunrpc/clnt_gen.c: Likewise.
46529 * sunrpc/clnt_perr.c: Likewise.
46530 * sunrpc/clnt_raw.c: Likewise.
46531 * sunrpc/clnt_simp.c: Likewise.
46532 * sunrpc/clnt_tcp.c: Likewise.
46533 * sunrpc/clnt_udp.c: Likewise.
46534 * sunrpc/clnt_unix.c: Likewise.
46535 * sunrpc/des_crypt.c: Likewise.
46536 * sunrpc/des_soft.c: Likewise.
46537 * sunrpc/get_myaddr.c: Likewise.
46538 * sunrpc/getrpcport.c: Likewise.
46539 * sunrpc/key_call.c: Likewise.
46540 * sunrpc/key_prot.c: Likewise.
46541 * sunrpc/openchild.c: Likewise.
46542 * sunrpc/pm_getmaps.c: Likewise.
46543 * sunrpc/pm_getport.c: Likewise.
46544 * sunrpc/pmap_clnt.c: Likewise.
46545 * sunrpc/pmap_prot.c: Likewise.
46546 * sunrpc/pmap_prot2.c: Likewise.
46547 * sunrpc/pmap_rmt.c: Likewise.
46548 * sunrpc/rpc/auth.h: Likewise.
46549 * sunrpc/rpc/auth_unix.h: Likewise.
46550 * sunrpc/rpc/clnt.h: Likewise.
46551 * sunrpc/rpc/des_crypt.h: Likewise.
46552 * sunrpc/rpc/key_prot.h: Likewise.
46553 * sunrpc/rpc/netdb.h: Likewise.
46554 * sunrpc/rpc/pmap_clnt.h: Likewise.
46555 * sunrpc/rpc/pmap_prot.h: Likewise.
46556 * sunrpc/rpc/pmap_rmt.h: Likewise.
46557 * sunrpc/rpc/rpc.h: Likewise.
46558 * sunrpc/rpc/rpc_des.h: Likewise.
46559 * sunrpc/rpc/rpc_msg.h: Likewise.
46560 * sunrpc/rpc/svc.h: Likewise.
46561 * sunrpc/rpc/svc_auth.h: Likewise.
46562 * sunrpc/rpc/types.h: Likewise.
46563 * sunrpc/rpc/xdr.h: Likewise.
46564 * sunrpc/rpc_clntout.c: Likewise.
46565 * sunrpc/rpc_cmsg.c: Likewise.
46566 * sunrpc/rpc_common.c: Likewise.
46567 * sunrpc/rpc_cout.c: Likewise.
46568 * sunrpc/rpc_dtable.c: Likewise.
46569 * sunrpc/rpc_hout.c: Likewise.
46570 * sunrpc/rpc_main.c: Likewise.
46571 * sunrpc/rpc_parse.c: Likewise.
46572 * sunrpc/rpc_parse.h: Likewise.
46573 * sunrpc/rpc_prot.c: Likewise.
46574 * sunrpc/rpc_sample.c: Likewise.
46575 * sunrpc/rpc_scan.c: Likewise.
46576 * sunrpc/rpc_scan.h: Likewise.
46577 * sunrpc/rpc_svcout.c: Likewise.
46578 * sunrpc/rpc_tblout.c: Likewise.
46579 * sunrpc/rpc_util.c: Likewise.
46580 * sunrpc/rpc_util.h: Likewise.
46581 * sunrpc/rpcinfo.c: Likewise.
46582 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46583 * sunrpc/rpcsvc/key_prot.x: Likewise.
46584 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46585 * sunrpc/rpcsvc/mount.x: Likewise.
46586 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46587 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46588 * sunrpc/rpcsvc/rex.x: Likewise.
46589 * sunrpc/rpcsvc/rstat.x: Likewise.
46590 * sunrpc/rpcsvc/rusers.x: Likewise.
46591 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46592 * sunrpc/rpcsvc/spray.x: Likewise.
46593 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46594 * sunrpc/rtime.c: Likewise.
46595 * sunrpc/svc.c: Likewise.
46596 * sunrpc/svc_auth.c: Likewise.
46597 * sunrpc/svc_authux.c: Likewise.
46598 * sunrpc/svc_raw.c: Likewise.
46599 * sunrpc/svc_run.c: Likewise.
46600 * sunrpc/svc_simple.c: Likewise.
46601 * sunrpc/svc_tcp.c: Likewise.
46602 * sunrpc/svc_udp.c: Likewise.
46603 * sunrpc/svc_unix.c: Likewise.
46604 * sunrpc/svcauth_des.c: Likewise.
46605 * sunrpc/xcrypt.c: Likewise.
46606 * sunrpc/xdr.c: Likewise.
46607 * sunrpc/xdr_array.c: Likewise.
46608 * sunrpc/xdr_float.c: Likewise.
46609 * sunrpc/xdr_mem.c: Likewise.
46610 * sunrpc/xdr_rec.c: Likewise.
46611 * sunrpc/xdr_ref.c: Likewise.
46612 * sunrpc/xdr_sizeof.c: Likewise.
46613 * sunrpc/xdr_stdio.c: Likewise.
46615 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46618 2010-08-19 Andreas Schwab <schwab@redhat.com>
46620 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46622 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46624 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46625 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46626 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46627 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46628 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46629 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46630 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46631 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46632 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46633 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46634 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46635 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46636 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46637 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46639 2010-07-26 Anton Blanchard <anton@samba.org>
46641 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46642 * malloc/arena.c (heap_trim): Likewise.
46644 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46646 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46649 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46651 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46653 * sysdeps/i386/elf/Makefile: New file.
46655 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46657 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46658 from fanotify_init.
46659 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46660 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46662 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46664 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46666 * sysdeps/multiarch/strcmp.S: Likewise.
46668 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46670 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46671 strncase_l-nonascii.
46672 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46673 Add strncase_l-ssse3.
46674 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46675 * sysdeps/x86_64/strcmp.S: Likewise.
46676 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46677 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46678 * sysdeps/x86_64/strncase.S: New file.
46679 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46680 * sysdeps/x86_64/strncase_l.S: New file.
46681 * string/Makefile (strop-tests): Add strncasecmp.
46682 * string/test-strncasecmp.c: New file.
46684 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46687 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46688 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46690 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46692 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46694 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46696 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46697 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46698 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46700 2010-05-01 Alan Modra <amodra@gmail.com>
46702 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46703 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46704 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46705 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46706 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46707 tidying. Don't tail-call __sigjmp_save for static lib.
46708 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46710 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46711 (CALL_MCOUNT): Add eh info, and nop after bl.
46712 (TAIL_CALL_SYSCALL_ERROR): New macro.
46713 (PSEUDO_RET): Use it.
46714 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46715 Correct save location of integer regs and cr.
46716 (_dl_profile_resolve): Correct cr save location. Delete nops
46717 after bl when SHARED. Reduce cfi size a little by better
46718 placement of cfi directives.
46719 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46720 make a stack frame. Instead use parm save area as a temp.
46721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46722 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46724 Don't make a stack frame for parent, use parm save area.
46725 Increase child stack frame to 112 bytes. Don't save unused reg,
46726 and adjust reg usage. Set up cfi on error recovery and
46727 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46729 (__makecontext): Add dummy nop after jump to exit.
46730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46731 Use correct parm save area and cr save, reduce stack frame.
46732 Correct cfi for possible PSEUDO_RET frame setup.
46733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46734 Branch to local label emitted by PSEUDO_RET rather than
46737 2010-08-12 Andreas Schwab <schwab@redhat.com>
46740 * locale/programs/locale.c (print_assignment): New function.
46741 (show_locale_vars): Use it.
46743 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46745 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46747 (struct statfs64): Likewise.
46748 (_STATFS_F_FLAGS): Define.
46749 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46750 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46751 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46752 (ST_VALID): Define locally.
46753 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46754 __statvfs_getflags, use the provided value.
46755 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46756 __ASSUME_STATFS_F_FLAGS.
46758 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46760 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46761 Add sys/fanotify.h.
46762 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46763 fanotify_mask for GLIBC_2.13.
46764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46765 fanotify_init and fanotify_mark.
46766 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46767 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46769 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46771 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46772 prlimit64 for GLIBC_2.13.
46773 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46779 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46780 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46783 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46786 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46787 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46789 * nss/Makefile: Add rules to build and run tst-nss-test1.
46790 * shlib-versions: Add entry for libnss_test1.
46791 * nss/nss_test1.c: New file.
46792 * nss/tst-nss-test1.c: New file.
46794 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46795 (__nss_configure_lookup): Set appropriate entry in
46796 __nss_configure_lookup to true.
46797 * nss/nsswitch.h: Define enum with indeces of databases in
46798 databases and __nss_database_custom arrays. Declare
46799 __nss_database_custom.
46800 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46801 to avoid using nscd when custom rules are installed.
46802 * nss/getXXbyYY_r.c: Likewise.
46803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46805 * nss/nss_files/files-parse.c: Whitespace fixes.
46807 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46810 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46811 * posix/fnmatch_loop.c: Likewise.
46813 2010-07-17 Andi Kleen <ak@linux.intel.com>
46815 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46816 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46817 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46818 * Versions.def [GLIBC_2.13]: Add.
46820 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46822 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46823 Also fail if tpwd after pwuid call is NULL.
46825 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46827 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46828 when converting to ms.
46830 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46832 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46833 EOPNOTSUPP errors with ENOTTY.
46834 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46835 EOPNOTSUPP errors with ENOTTY.
46837 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46839 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46840 Add strcasecmp_l-ssse3.
46841 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46843 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46844 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46845 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46847 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46849 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46851 * string/Makefile (strop-tests): Add strcasecmp.
46852 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46853 strcasecmp_l-nonascii.
46854 (gen-as-const-headers): Add locale-defines.sym.
46855 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46856 * sysdeps/x86_64/strcasecmp.S: New file.
46857 * sysdeps/x86_64/strcasecmp_l.S: New file.
46858 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46859 * sysdeps/x86_64/locale-defines.sym: New file.
46860 * string/test-strcasecmp.c: New file.
46862 * string/test-strcasestr.c: Test both ends of the range of characters.
46863 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46865 2010-07-29 Roland McGrath <roland@redhat.com>
46868 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46870 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46872 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46875 2010-07-27 Andreas Schwab <schwab@redhat.com>
46877 * manual/memory.texi (Malloc Tunable Parameters): Document
46880 2010-07-26 Roland McGrath <roland@redhat.com>
46883 * configure.in (-fgnu89-inline check): Set and substitute
46884 gnu89_inline, not libc_cv_gnu89_inline.
46885 * configure: Regenerated.
46886 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46888 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46890 * string/test-strnlen.c: New file.
46891 * string/Makefile (strop-tests): Add strnlen.
46892 * string/tester.c (test_strnlen): Add a few more test cases.
46893 * string/tst-strlen.c: Better error reporting.
46895 * sysdeps/x86_64/strnlen.S: New file.
46897 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46899 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46900 lower-latency instructions.
46902 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46904 * string/test-strcasestr.c: New file.
46905 * string/test-strstr.c: New file.
46906 * string/Makefile (strop-tests): Add strstr and strcasestr.
46907 * string/str-two-way.h: Don't undefine MAX.
46908 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46910 2010-07-21 Andreas Schwab <schwab@redhat.com>
46912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46913 strcasestr-nonascii.
46914 (CFLAGS-strcasestr-nonascii.c): Define.
46915 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46917 Remove unused attribute.
46919 2010-07-20 Roland McGrath <roland@redhat.com>
46921 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46922 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46923 ld.so.cache was broken. With it, there is no way to disable dsocaps
46924 like LD_HWCAP_MASK can disable hwcaps.
46926 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46928 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46930 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46932 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46933 call in strcasestr.
46934 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46935 __strcasestr_sse42_nonascii.
46936 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46937 strcasestr-nonascii.c.
46938 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46940 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46942 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46943 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46944 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46945 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46947 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46952 2010-07-06 Andreas Schwab <schwab@redhat.com>
46955 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46958 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46960 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46961 _PC_PIPE_BUF using F_GETPIPE_SZ.
46963 2010-07-05 Roland McGrath <roland@redhat.com>
46965 * manual/arith.texi (Rounding Functions): Fix rint description
46966 implicit in round description.
46968 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46970 * elf/Makefile: Fix linking for a few tests to make recent linker
46973 2010-06-30 Andreas Schwab <schwab@redhat.com>
46975 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46976 $(common-objpfx)libc_nonshared.a.
46978 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46980 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46981 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46982 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46983 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46984 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46985 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46986 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46987 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47002 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47003 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47004 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47005 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47006 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47007 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47008 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47009 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47010 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47011 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47012 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47013 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47029 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47031 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47032 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47033 * string/memmove.c (memmove): Renamed to ...
47034 (MEMMOVE): ...this. Default to memmove.
47035 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47036 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47039 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47040 mempcpy-ssse3-back memmove-ssse3-back.
47041 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47042 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47043 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47044 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47045 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47046 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47047 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47048 * sysdeps/x86_64/multiarch/memmove.c: New file.
47049 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47050 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47051 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47052 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47053 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47056 (index_Fast_Copy_Backward): Define.
47057 (HAS_ARCH_FEATURE): Define.
47058 (HAS_FAST_REP_STRING): Define.
47059 (HAS_FAST_COPY_BACKWARD): Define.
47061 2010-06-21 Andreas Schwab <schwab@redhat.com>
47063 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47064 Restore proper fallback handling.
47066 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47069 * posix/group_member.c (__group_member): Correct checking loop.
47071 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47072 OOM in getpwuid_r correctly. Return error number when the caller
47073 should return, otherwise -1.
47074 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47075 call returning > 0 value.
47076 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47078 2010-06-07 Andreas Schwab <schwab@redhat.com>
47080 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47081 libc_nonshared.a from targets in modules-names.
47083 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47085 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47088 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47090 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47091 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47093 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47095 2010-06-02 Andreas Schwab <schwab@redhat.com>
47097 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47099 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47101 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47108 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47110 2010-06-14 Roland McGrath <roland@redhat.com>
47112 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47114 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47116 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47117 __REDIRECT followed by __THROW.
47118 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47119 * posix/getopt.h (getopt): Likewise.
47121 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47123 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47124 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47125 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47127 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47128 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47130 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47132 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47134 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47138 Properly check family and model.
47140 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47142 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47144 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47146 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47148 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47150 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47153 2010-05-19 Andreas Schwab <schwab@redhat.com>
47155 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47158 2010-05-21 Andreas Schwab <schwab@redhat.com>
47160 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47161 and internal_recvmmsg.
47162 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47163 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47164 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47165 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47167 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47168 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47169 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47171 2010-05-20 Andreas Schwab <schwab@redhat.com>
47173 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47175 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47177 POWER7 optimizations.
47178 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47179 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47181 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47183 * version.h: Update for 2.13 development version.
47185 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47187 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47188 exceptions. Return 0.
47190 2010-05-07 Roland McGrath <roland@redhat.com>
47192 * elf/ldconfig.c (main): Add a const.
47194 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47196 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47197 (args_options): Add no-idn option.
47198 (ahosts_keys_int): Add idn_flags to ai_flags.
47199 (parse_option): Handle 'i' option to clear idn_flags.
47201 * malloc/malloc.c (_int_free): Possible race in the most recently
47202 added check. Only act on the data if no current modification
47205 See ChangeLog.17 for earlier changes.