1 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3 * elf/dl-libc.c: Clear initfini list after freeing.
5 2013-10-14 Joseph Myers <joseph@codesourcery.com>
7 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8 * soft-fp/addsf3.c: Likewise.
9 * soft-fp/addtf3.c: Likewise.
10 * soft-fp/divdf3.c: Likewise.
11 * soft-fp/divsf3.c: Likewise.
12 * soft-fp/divtf3.c: Likewise.
13 * soft-fp/double.h: Likewise.
14 * soft-fp/eqdf2.c: Likewise.
15 * soft-fp/eqsf2.c: Likewise.
16 * soft-fp/eqtf2.c: Likewise.
17 * soft-fp/extenddftf2.c: Likewise.
18 * soft-fp/extended.h: Likewise.
19 * soft-fp/extendsfdf2.c: Likewise.
20 * soft-fp/extendsftf2.c: Likewise.
21 * soft-fp/extendxftf2.c: Likewise.
22 * soft-fp/fixdfdi.c: Likewise.
23 * soft-fp/fixdfsi.c: Likewise.
24 * soft-fp/fixdfti.c: Likewise.
25 * soft-fp/fixsfdi.c: Likewise.
26 * soft-fp/fixsfsi.c: Likewise.
27 * soft-fp/fixsfti.c: Likewise.
28 * soft-fp/fixtfdi.c: Likewise.
29 * soft-fp/fixtfsi.c: Likewise.
30 * soft-fp/fixtfti.c: Likewise.
31 * soft-fp/fixunsdfdi.c: Likewise.
32 * soft-fp/fixunsdfsi.c: Likewise.
33 * soft-fp/fixunsdfti.c: Likewise.
34 * soft-fp/fixunssfdi.c: Likewise.
35 * soft-fp/fixunssfsi.c: Likewise.
36 * soft-fp/fixunssfti.c: Likewise.
37 * soft-fp/fixunstfdi.c: Likewise.
38 * soft-fp/fixunstfsi.c: Likewise.
39 * soft-fp/fixunstfti.c: Likewise.
40 * soft-fp/floatdidf.c: Likewise.
41 * soft-fp/floatdisf.c: Likewise.
42 * soft-fp/floatditf.c: Likewise.
43 * soft-fp/floatsidf.c: Likewise.
44 * soft-fp/floatsisf.c: Likewise.
45 * soft-fp/floatsitf.c: Likewise.
46 * soft-fp/floattidf.c: Likewise.
47 * soft-fp/floattisf.c: Likewise.
48 * soft-fp/floattitf.c: Likewise.
49 * soft-fp/floatundidf.c: Likewise.
50 * soft-fp/floatundisf.c: Likewise.
51 * soft-fp/floatunsidf.c: Likewise.
52 * soft-fp/floatunsisf.c: Likewise.
53 * soft-fp/floatuntidf.c: Likewise.
54 * soft-fp/floatuntisf.c: Likewise.
55 * soft-fp/floatuntitf.c: Likewise.
56 * soft-fp/fmadf4.c: Likewise.
57 * soft-fp/fmasf4.c: Likewise.
58 * soft-fp/fmatf4.c: Likewise.
59 * soft-fp/gedf2.c: Likewise.
60 * soft-fp/gesf2.c: Likewise.
61 * soft-fp/getf2.c: Likewise.
62 * soft-fp/ledf2.c: Likewise.
63 * soft-fp/lesf2.c: Likewise.
64 * soft-fp/letf2.c: Likewise.
65 * soft-fp/muldf3.c: Likewise.
66 * soft-fp/mulsf3.c: Likewise.
67 * soft-fp/multf3.c: Likewise.
68 * soft-fp/negdf2.c: Likewise.
69 * soft-fp/negsf2.c: Likewise.
70 * soft-fp/negtf2.c: Likewise.
71 * soft-fp/op-1.h: Likewise.
72 * soft-fp/op-2.h: Likewise.
73 * soft-fp/op-4.h: Likewise.
74 * soft-fp/op-8.h: Likewise.
75 * soft-fp/op-common.h: Likewise.
76 * soft-fp/quad.h: Likewise.
77 * soft-fp/single.h: Likewise.
78 * soft-fp/soft-fp.h: Likewise.
79 * soft-fp/sqrtdf2.c: Likewise.
80 * soft-fp/sqrtsf2.c: Likewise.
81 * soft-fp/sqrttf2.c: Likewise.
82 * soft-fp/subdf3.c: Likewise.
83 * soft-fp/subsf3.c: Likewise.
84 * soft-fp/subtf3.c: Likewise.
85 * soft-fp/truncdfsf2.c: Likewise.
86 * soft-fp/trunctfdf2.c: Likewise.
87 * soft-fp/trunctfsf2.c: Likewise.
88 * soft-fp/trunctfxf2.c: Likewise.
89 * soft-fp/unorddf2.c: Likewise.
90 * soft-fp/unordsf2.c: Likewise.
91 * soft-fp/unordtf2.c: Likewise.
93 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
96 * misc/error.c (error_tail): Fix possible buffer overflow.
98 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
101 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
104 2013-10-14 P. J. McDermott <pj@pehjota.net>
107 * elf/ldd.bash.in (try_trace): New function. Delete previous code
108 testing pipefail option.
110 2013-10-12 Joseph Myers <joseph@codesourcery.com>
112 * soft-fp/double.h: Indent preprocessor directives inside #if.
113 * soft-fp/extended.h: Likewise.
114 * soft-fp/op-2.h: Likewise.
115 * soft-fp/op-4.h: Likewise.
116 * soft-fp/op-common.h: Likewise.
117 * soft-fp/quad.h: Likewise.
118 * soft-fp/single.h: Likewise.
119 * soft-fp/soft-fp.h: Likewise.
121 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
123 * iconv/iconv_prog.c: Fix typos.
124 * stdio-common/psiginfo-data.h: Likewise.
126 2013-10-12 Reuben Thomas <rrt@sc3d.org>
129 * locale/setlocale.c: Fix typo.
131 2013-10-12 Joseph Myers <joseph@codesourcery.com>
134 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
135 signaling NaN arguments.
136 * soft-fp/unordsf2.c (__unordsf2): Likewise.
137 * soft-fp/unordtf2.c (__unordtf2): Likewise.
140 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
142 * soft-fp/gesf2.c (__gesf2): Likewise.
143 * soft-fp/getf2.c (__getf2): Likewise.
144 * soft-fp/ledf2.c (__ledf2): Likewise.
145 * soft-fp/lesf2.c (__lesf2): Likewise.
146 * soft-fp/letf2.c (__letf2): Likewise.
148 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
149 * soft-fp/eqsf2.c (__eqsf2): Likewise.
150 * soft-fp/eqtf2.c (__eqtf2): Likewise.
151 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
152 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
153 * soft-fp/fixdfti.c (__fixdfti): Likewise.
154 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
155 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
156 * soft-fp/fixsfti.c (__fixsfti): Likewise.
157 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
158 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
159 * soft-fp/fixtfti.c (__fixtfti): Likewise.
160 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
161 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
162 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
163 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
164 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
165 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
166 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
167 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
168 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
169 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
170 * soft-fp/floatdisf.c (__floatdisf): Likewise.
171 * soft-fp/floatsisf.c (__floatsisf): Likewise.
172 * soft-fp/floattidf.c (__floattidf): Likewise.
173 * soft-fp/floattisf.c (__floattisf): Likewise.
174 * soft-fp/floattitf.c (__floattitf): Likewise.
175 * soft-fp/floatundidf.c (__floatundidf): Likewise.
176 * soft-fp/floatundisf.c (__floatundisf): Likewise.
177 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
178 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
179 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
180 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
181 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
182 * soft-fp/gesf2.c (__gesf2): Likewise.
183 * soft-fp/getf2.c (__getf2): Likewise.
184 * soft-fp/ledf2.c (__ledf2): Likewise.
185 * soft-fp/lesf2.c (__lesf2): Likewise.
186 * soft-fp/letf2.c (__letf2): Likewise.
188 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
189 Undefine and redefine.
190 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
191 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
192 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
193 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
194 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
195 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
196 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
197 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
198 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
199 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
200 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
201 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
202 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
203 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
204 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
207 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
208 without decrementing exponent if mantissa >= that for the
210 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
211 denominator, not >. Decrement exponent in < case instead of
212 incrementing in >= case.
213 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
214 without decrementing exponent if mantissa >= that for the
217 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
218 computing saturated result for unsigned overflow.
220 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
221 Jeff Law <law@redhat.com>
223 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
224 (atan2Mp): Add systemtap probe marker.
225 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
226 (__ieee754_log): Add systemtap probe marker.
227 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
228 (atanMp): Add systemtap probe marker.
229 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
230 (tanMp): Add systemtap probe marker.
231 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
232 (__slowexp): Add systemtap probe marker.
233 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
234 (__slowpow): Add systemtap probe marker.
235 * manual/probes.texi: Document probes.
237 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
240 * libio/fileops.c (_IO_new_file_write): Return count of bytes
242 (_IO_new_file_xsputn): Don't return EOF if nothing has been
244 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
245 written to buffer but not flushed.
246 * libio/iofwrite_u.c: Likewise.
247 * libio/iopadn.c: Return bytes returned even if EOF was
249 * libio/iowpadn.c: Likewise.
250 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
251 if _IO_padn does not write the whole buffer.
252 [!COMPILE_WPRINTF] (PAD): Likewise.
254 2013-10-10 David S. Miller <davem@davemloft.net>
256 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
259 2013-10-10 Joseph Myers <joseph@codesourcery.com>
261 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
262 instead of FSF address.
263 * soft-fp/fixdfti.c: Likewise.
264 * soft-fp/fixsfti.c: Likewise.
265 * soft-fp/fixtfti.c: Likewise.
266 * soft-fp/fixunsdfti.c: Likewise.
267 * soft-fp/fixunssfti.c: Likewise.
268 * soft-fp/fixunstfti.c: Likewise.
269 * soft-fp/floattidf.c: Likewise.
270 * soft-fp/floattisf.c: Likewise.
271 * soft-fp/floattitf.c: Likewise.
272 * soft-fp/floatuntidf.c: Likewise.
273 * soft-fp/floatuntisf.c: Likewise.
274 * soft-fp/floatuntitf.c: Likewise.
275 * soft-fp/trunctfxf2.c: Likewise.
277 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
278 * soft-fp/fixdfti.c: Likewise.
279 * soft-fp/fixsfti.c: Likewise.
280 * soft-fp/fixtfti.c: Likewise.
281 * soft-fp/fixunsdfti.c: Likewise.
282 * soft-fp/fixunssfti.c: Likewise.
283 * soft-fp/fixunstfti.c: Likewise.
284 * soft-fp/floattidf.c: Likewise.
285 * soft-fp/floattisf.c: Likewise.
286 * soft-fp/floattitf.c: Likewise.
287 * soft-fp/floatuntidf.c: Likewise.
288 * soft-fp/floatuntisf.c: Likewise.
289 * soft-fp/floatuntitf.c: Likewise.
290 * soft-fp/trunctfxf2.c: Likewise.
292 2013-10-10 David S. Miller <davem@davemloft.net>
294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
296 2013-10-10 Joseph Myers <joseph@codsourcery.com>
298 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
299 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
300 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
301 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
302 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
303 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
304 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
306 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
307 for NaNs before doing comparisons on argument.
308 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
311 2013-10-10 Will Newton <will.newton@linaro.org>
313 * malloc/hooks.c (memalign_check): Ensure the value of bytes
314 passed to _int_memalign does not overflow.
316 2013-10-10 Torvald Riegel <triegel@redhat.com>
318 * scripts/bench.pl: Add include-sources directive.
319 * benchtests/README: Update documentation.
321 2013-10-10 Joseph Myers <joseph@codesourcery.com>
323 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
324 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
325 instead of FP_INIT_ROUNDMODE.
326 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
327 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
330 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
331 copy class of input value.
332 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
333 not handle exceptions.
334 * soft-fp/negsf2.c (__negsf2): Likewise.
335 * soft-fp/negtf2.c (__negtf2): Likewise.
336 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
338 2013-10-09 Joseph Myers <joseph@codesourcery.com>
340 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
341 semicolon. From Linux kernel.
343 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
345 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
347 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
350 * manual/socket.texi: Added statement about buffer
351 for gethostbyname2_r.
353 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
355 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
356 Use .p2align directive instead, throughout.
357 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
358 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
359 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
361 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
362 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
363 * sysdeps/x86_64/strchr.S: Likewise.
364 * sysdeps/x86_64/strrchr.S: Likewise.
366 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
368 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
370 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
372 * sysdeps/generic/math_private.h (__mpsin1): Remove
374 (__mpcos1): Likewise.
375 (__mpsin): New argument __range_reduce.
377 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
378 (slow): Use __mpsin and __mpcos.
391 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
392 range_reduce. Merge in __mpsin1.
395 (__mpcos1): Likewise.
397 2013-10-07 Joseph Myers <joseph@codesourcery.com>
399 * locale/loadlocale.c (_nl_intern_locale_data): Use
401 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
402 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
403 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
404 obstack data is appropriately aligned.
405 (obstack_int32_grow_fast): Likewise.
406 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
407 * locale/programs/locfile.c (add_locale_uint32): Likewise.
408 (add_locale_uint32_array): Likewise.
410 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
412 * benchtests/Makefile: Remove ARGLIST and RET variables.
413 ($(objpfx)bench-%.c): Pass only function name to the script.
414 * benchtests/README: Update documentation.
415 * benchtests/acos-inputs: Add new directives.
416 * benchtests/acosh-inputs: Likewise.
417 * benchtests/asin-inputs: Likewise.
418 * benchtests/asinh-inputs: Likewise.
419 * benchtests/atan-inputs: Likewise.
420 * benchtests/atanh-inputs: Likewise.
421 * benchtests/cos-inputs: Likewise.
422 * benchtests/cosh-inputs: Likewise.
423 * benchtests/exp-inputs: Likewise.
424 * benchtests/log-inputs: Likewise.
425 * benchtests/pow-inputs: Likewise.
426 * benchtests/rint-inputs: Likewise.
427 * benchtests/sin-inputs: Likewise.
428 * benchtests/sinh-inputs: Likewise.
429 * benchtests/tan-inputs: Likewise.
430 * benchtests/tanh-inputs: Likewise.
431 * scripts/bench.pl: Add support for new directives.
433 2013-10-07 Alan Modra <amodra@gmail.com>
435 * README: Fix careless merge.
437 2013-10-05 Alan Modra <amodra@gmail.com>
439 * NEWS: Mention powerpc64le support and bugs fixed.
440 * README: Both big-endian and little-endian powerpc64 supported.
442 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
444 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
445 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
446 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
447 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
449 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
451 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
454 2013-10-04 Joseph Myers <joseph@codesourcery.com>
456 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
457 Move -mhard-float appending from
458 ports/sysdeps/powerpc/powerpc32/Makefile.
459 [$(with-fp) = yes] (ASFLAGS): Likewise.
460 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
461 * sysdeps/powerpc/nofpu: Move directory from
462 ports/sysdeps/powerpc/nofpu.
463 * sysdeps/powerpc/soft-fp: Move directory from
464 ports/sysdeps/powerpc/soft-fp.
465 * sysdeps/powerpc/powerpc32/405: Move directory from
466 ports/sysdeps/powerpc/powerpc32/405.
467 * sysdeps/powerpc/powerpc32/440: Move directory from
468 ports/sysdeps/powerpc/powerpc32/440.
469 * sysdeps/powerpc/powerpc32/464: Move directory from
470 ports/sysdeps/powerpc/powerpc32/464.
471 * sysdeps/powerpc/powerpc32/476: Move directory from
472 ports/sysdeps/powerpc/powerpc32/476.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
474 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
476 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
478 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
480 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
482 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
483 * README: Update for powerpc-*-linux-gnu software floating point
486 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
487 case to powerpc/powerpc32*.
488 * sysdeps/unix/sysv/linux/configure: Regenerated.
490 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
491 (_FPU_MASK_OM): Define as 0x04.
492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
500 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
503 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
506 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
509 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
511 * locale/iso-3166.def: Update iso-1366.def and related occurrences
513 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
515 * manual/threads.texi (Default Thread Attributes): Fix typo.
517 2013-10-04 Will Newton <will.newton@linaro.org>
519 * malloc/Makefile: Add tst-memalign.
520 * malloc/tst-memalign.c: New file.
522 * malloc/tst-posix_memalign.c: Add comments.
523 (do_test): Add comments and call free on all potentially
524 allocated pointers. Add space after cast.
526 * malloc/tst-pvalloc.c: Add comments.
527 (do_test): Add comments and call free on all potentially
528 allocated pointers. Remove duplicate check for NULL pointer.
529 Add space after cast.
531 * malloc/tst-valloc.c: Add comments.
532 (do_test): Add comments and call free on all potentially
533 allocated pointers. Remove duplicate check for NULL pointer.
534 Add space after cast.
536 2013-10-04 Alan Modra <amodra@gmail.com>
538 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
539 Use stdint types in rather than __attribute__((mode())).
540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
542 2013-10-04 Alan Modra <amodra@gmail.com>
544 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
545 Correct handling of unaligned relocs for little-endian.
546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
548 2013-10-04 Alan Modra <amodra@gmail.com>
550 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
551 * configure: Regenerate.
552 * nptl/shlib-versions: Powerpc*le starts at 2.18.
553 * shlib-versions: Likewise.
555 2013-10-04 Alan Modra <amodra@gmail.com>
557 * string/tester.c (test_memrchr): Increment reported test cycle.
559 2013-10-04 Alan Modra <amodra@gmail.com>
561 * string/test-memcpy.c (do_one_test): When reporting errors, print
562 string address and don't overrun end of string.
564 2013-10-04 Alan Modra <amodra@gmail.com>
566 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
567 insrdi. Make better use of reg selection to speed exit slightly.
568 Schedule entry path a little better. Remove useless "are we done"
569 checks on entry to main loop. Handle wrapping around zero address.
570 Correct main loop count. Handle single left-over word from main
571 loop inline rather than by using loop_small. Remove extra word
572 case in loop_small caused by wrong loop count. Add little-endian
574 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
575 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
577 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
578 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
579 support. Avoid rlwimi.
580 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
582 2013-10-04 Alan Modra <amodra@gmail.com>
584 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
586 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
587 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
588 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
589 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
590 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
591 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
593 2013-10-04 Alan Modra <amodra@gmail.com>
595 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
596 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
597 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
598 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
599 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
600 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
601 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
602 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
603 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
604 use of regs. Use power7 mtocrf. Tidy function tails.
606 2013-10-04 Alan Modra <amodra@gmail.com>
608 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
609 Formatting. Consistently use rXXX register defines or rN defines.
610 Use early exit labels that avoid restoring unused non-volatile regs.
611 Make cr field use more consistent with rWORDn compares. Rename
612 regs used as shift registers for unaligned loop, using rN defines
613 for short lifetime/multiple use regs.
614 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
615 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
616 addi 1,1,64 to pop stack frame. Simplify return value code.
617 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
619 2013-10-04 Alan Modra <amodra@gmail.com>
621 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
622 support. Correct typos, formatting. Optimize tail. Use insrdi
624 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
625 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
626 little-endian support. Correct typos.
627 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
629 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
630 in loop and entry code to keep "and." results.
631 (strchr): Add little-endian support. Comment. Move cntlzd
633 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
635 2013-10-04 Alan Modra <amodra@gmail.com>
637 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
638 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
639 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
640 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
642 2013-10-04 Alan Modra <amodra@gmail.com>
644 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
645 (rTMP): Define as r11.
646 (strcmp): Add little-endian support. Optimise tail.
647 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
648 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
649 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
650 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
651 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
653 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
655 2013-10-04 Alan Modra <amodra@gmail.com>
657 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
658 little-endian support. Remove unnecessary "are we done" tests.
659 Handle "s" wrapping around zero and extremely large "size".
660 Correct main loop count. Handle single left-over word from main
661 loop inline rather than by using small_loop. Correct comments.
662 Delete "zero" tail, use "end_max" instead.
663 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
665 2013-10-04 Alan Modra <amodra@gmail.com>
667 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
668 support. Don't branch over align.
669 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
670 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
671 support. Rearrange tmp reg use to suit. Comment.
672 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
674 2013-10-04 Alan Modra <amodra@gmail.com>
676 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
678 2013-10-04 Alan Modra <amodra@gmail.com>
680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
681 conditional form of branch and link when obtaining pc.
682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
684 2013-10-04 Alan Modra <amodra@gmail.com>
686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
691 2013-10-04 Alan Modra <amodra@gmail.com>
693 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
694 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
695 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
696 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
697 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
698 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
699 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
700 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
701 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
702 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
704 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
705 Alistair Popple <alistair@ozlabs.au.ibm.com>
706 Alan Modra <amodra@gmail.com>
709 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
710 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
711 _dl_hwcap access for little-endian.
712 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
713 destroy vmx regs when saving unaligned.
714 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
715 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
716 destroy vmx regs when saving unaligned.
718 2013-10-04 Alan Modra <amodra@gmail.com>
720 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
721 Don't use a union to pack hi/low value.
723 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
725 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
727 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
729 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
730 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
731 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
733 2013-10-04 Alan Modra <amodra@gmail.com>
735 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
736 constants to usual value for .cst8 section, and remove redundant
738 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
739 constant for 0x1p52. Load little-endian words of double from
740 correct stack offsets.
742 2013-10-04 Alan Modra <amodra@gmail.com>
744 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
745 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
746 words of double from correct stack offsets.
747 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
748 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
749 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
750 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
751 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
752 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
753 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
754 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
755 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
756 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
757 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
758 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
759 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
760 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
761 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
762 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
763 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
765 2013-10-04 Alan Modra <amodra@gmail.com>
767 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
768 64-bit int/double union.
769 (_FPU_SETCW): Likewise.
770 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
771 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
773 2013-10-04 Alan Modra <amodra@gmail.com>
775 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
776 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
778 2013-10-04 Alan Modra <amodra@gmail.com>
780 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
781 use vector int constants.
782 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
784 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
786 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
787 array with long long.
788 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
789 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
790 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
791 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
792 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
793 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
794 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
795 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
796 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
797 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
798 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
799 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
800 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
802 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
804 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
805 (__signbit): Likewise. Correct for little-endian.
806 (__signbitl): Call __signbit.
807 (lrint): Correct for little-endian.
808 (lrintf): Call lrint.
810 2013-10-04 Alan Modra <amodra@gmail.com>
812 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
813 union 32-bit int array member with 64-bit int array.
814 (t515, tm256): Double rather than long double.
815 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
817 2013-10-04 Alan Modra <amodra@gmail.com>
819 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
821 (IEEE854_LONG_DOUBLE_BIAS): Delete.
822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
823 version of math_ldbl.h.
825 2013-10-04 Alan Modra <amodra@gmail.com>
827 [BZ #15734], [BZ #15735]
828 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
829 all uses of ieee875 long double macros and unions. Simplify test
830 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
831 ldbl_extract_mantissa value for ix,iy exponents. Properly
832 normalize after ldbl_extract_mantissa, and don't add hidden bit
833 already handled. Don't treat low word of ieee854 mantissa like
834 low word of IBM long double and mask off bit when testing for
836 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
837 all uses of ieee875 long double macros and unions. Simplify tests
838 for 0.0L and inf. Correct double adjustment of k. Delete dead code
839 adjusting ha,hb. Simplify code setting kld. Delete two600 and
840 two1022, instead use their values. Recognise that tests for large
841 "a" and small "b" are mutually exclusive. Rename vars. Comment.
842 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
843 Rewrite all uses of ieee875 long double macros and unions. Simplify
844 test for 0.0L and nan. Correct negation.
845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
846 ieee875 long double macros and unions. Correct output for large
847 magnitude x. Correct absolute value calculation.
849 * math/libm-test.inc: Add tests for errors discovered in IBM long
850 double versions of fmodl, remainderl, erfl and erfcl.
852 2013-10-04 Alan Modra <amodra@gmail.com>
854 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
855 all uses of ieee854 long double macros and unions. Simplify tests
856 for long doubles that are fully specified by the high double.
857 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
859 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
860 Remove dead code too.
861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
862 (__ieee754_ynl): Likewise.
863 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
864 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
866 Remove dead code too.
867 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
868 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
869 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
870 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
872 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
874 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
875 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
876 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
877 Comment on variable precision.
878 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
879 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
881 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
882 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
883 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
884 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
885 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
887 2013-10-04 Alan Modra <amodra@gmail.com>
889 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
890 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
891 all uses of ieee854 long double macros and unions.
892 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
893 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
894 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
895 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
896 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
897 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
899 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
900 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
901 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
902 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
903 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
904 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
905 Simplify sign and nan test too.
906 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
907 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
908 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
909 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
911 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
912 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
914 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
915 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
916 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
917 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
918 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
921 2013-10-04 Alan Modra <amodra@gmail.com>
923 * stdio-common/printf_size.c (__printf_size): Don't use
924 union ieee854_long_double in fpnum union.
925 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
926 signbit macro to retrieve sign from long double.
927 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
928 retrieve sign from long double.
929 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
930 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
931 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
932 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
933 * math/test-misc.c (main): Don't use union ieee854_long_double.
935 2013-10-04 Alan Modra <amodra@gmail.com>
938 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
939 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
940 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
941 calculation. Remove unnecessary test for denormal exponent.
942 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
943 Correct handling of denormals. Avoid undefined shift behaviour.
944 Correct normalisation of low mantissa when low double is denormal.
945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
946 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
947 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
948 Correct normalisation of low mantissa. Test for overflow of high
949 mantissa and normalise.
950 (ldbl_nearbyint): Use more readable constant for two52.
951 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
952 (__mpn_construct_long_double): Fix test for overflow of high
953 mantissa and correct normalisation. Avoid undefined shift.
955 2013-10-04 Alan Modra <amodra@gmail.com>
957 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
958 (union ibm_extended_long_double): Define as an array of ieee754_double.
959 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
960 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
961 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
962 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
963 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
964 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
966 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
967 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
968 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
969 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
971 2013-10-03 Joseph Myers <joseph@codesourcery.com>
973 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
974 page size instead of calling getpagesize.
976 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
977 (LOCFILE_ALIGN_MASK): Likewise.
978 (LOCFILE_ALIGN_UP): Likewise.
979 (LOCFILE_ALIGNED_P): Likewise.
980 * locale/programs/ld-collate.c (collate_output): Use the new
981 macros instead of __alignof__ (int32_t).
982 * locale/weight.h (findidx): Likewise.
984 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
987 * manual/string.texi: Fix strncat and wcsncat.
989 2013-10-03 Brooks Moses <bmoses@google.com>
992 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
993 * Makerules: ...here, and adjust associated comments.
995 2013-10-02 Will Newton <will.newton@linaro.org>
997 * malloc/Makefile: Add tst-pvalloc.
998 * malloc/tst-pvalloc.c: New file.
1000 2013-10-02 Will Newton <will.newton@linaro.org>
1002 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1003 improve test coverage.
1005 2013-10-02 Will Newton <will.newton@linaro.org>
1007 * malloc/Makefile: Add tst-posix_memalign.
1008 * malloc/tst-posix_memalign.c: New file.
1010 2013-10-01 Eric Blake <eblake@redhat.com>
1012 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1013 Use __THROWNL rather than __THROW on static functions.
1015 2013-09-30 Petr Machata <pmachata@redhat.com>
1017 * elf/elf.h (R_AARCH64_ABS16): New macro.
1018 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1019 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1020 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1021 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1022 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1023 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1024 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1025 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1026 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1027 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1028 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1029 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1030 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1031 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1032 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1033 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1034 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1035 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1036 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1037 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1038 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1039 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1040 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1041 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1042 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1043 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1044 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1045 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1046 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1047 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1048 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1049 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1050 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1051 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1052 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1053 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1054 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1055 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1056 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1057 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1058 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1059 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1060 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1061 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1062 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1063 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1064 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1065 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1066 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1067 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1068 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1069 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1070 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1071 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1072 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1073 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1074 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1075 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1076 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1077 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1078 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1079 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1080 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1081 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1082 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1083 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1084 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1085 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1086 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1087 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1088 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1089 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1090 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1091 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1092 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1093 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1094 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1095 (R_AARCH64_TLSDESC_LDR): Likewise.
1096 (R_AARCH64_TLSDESC_ADD): Likewise.
1097 (R_AARCH64_TLSDESC_CALL): Likewise.
1099 2013-09-30 Andreas Schwab <schwab@suse.de>
1102 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1103 the nss database lookup.
1104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1107 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1109 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1111 2013-09-28 P. J. McDermott <pj@pehjota.net>
1113 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1114 ${Bash-specific parameter/pattern/string} parameter expansion.
1115 * sysdeps/unix/make-syscalls.sh: Likewise.
1117 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1119 * sysdeps/sh/stackguard-macros.h: New file.
1121 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1125 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1126 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1127 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1128 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1130 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1132 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1133 Fix thread ID register.
1135 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1137 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1138 [POSIX || UNIX98]: Require rather than permitting all symbols from
1140 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1141 element of struct sched_param.
1142 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1143 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1144 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1145 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1148 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1150 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1151 argument calculation.
1153 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1155 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1157 [POSIX] (pthread_attr_t): Do not require type.
1158 [POSIX] (pthread_cond_t): Likewise.
1159 [POSIX] (pthread_condattr_t): Likewise.
1160 [POSIX] (pthread_key_t): Likewise.
1161 [POSIX] (pthread_mutex_t): Likewise.
1162 [POSIX] (pthread_mutexattr_t): Likewise.
1163 [POSIX] (pthread_once_t): Likewise.
1164 [POSIX] (pthread_t): Likewise.
1165 [POSIX-based standards] (pthread_atfork): Expect function.
1167 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1168 Richard Sandiford <richard@codesourcery.com>
1170 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1171 (swap_endianness_p): New extern variable.
1172 (set_big_endian): New inline function.
1173 (maybe_swap_uint32): Likewise.
1174 (maybe_swap_uint32_array): Likewise.
1175 (maybe_swap_uint32_obstack): Likewise.
1176 * locale/programs/locfile.c: Include <stdbool.h>.
1177 (swap_endianness_p): New variable.
1178 (add_locale_uint32): Call maybe_swap_uint32.
1179 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1180 (write_locale_data): Call maybe_swap_uint32_array.
1181 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1183 (obstack_int32_grow_fast): Likewise.
1184 (output_weightwc): Call maybe_swap_uint32_obstack.
1185 (collate_output): Likewise.
1186 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1187 (OPT_LITTLE_ENDIAN): Likewise.
1188 (options): Add --little-endian and --big-endian options.
1189 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1190 * locale/programs/locarchive.c: Include "locfile.h".
1194 (create_archive): Use the new macros to access fields of
1195 structures directly mapped from or written to locale archives.
1196 (oldlocrecentcmp): Likewise.
1197 (enlarge_archive): Likewise.
1198 (insert_name): Likewise.
1199 (add_alias): Likewise.
1200 (add_locale): Likewise.
1201 (delete_locales_from_archive): Likewise.
1202 (show_archive_content): Likewise.
1203 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1206 2013-09-24 Roland McGrath <roland@hack.frob.com>
1208 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1209 http://www.gnu.org/doc/freemanuals.texi.
1210 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1212 2013-09-24 Will Newton <will.newton@linaro.org>
1214 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1217 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1219 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1222 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1224 * manual/threads.texi (POSIX Threads): Fix a typo.
1226 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1229 * string/tst-strcoll-overflow.c: New test case.
1230 * string/Makefile (xtests): Add tst-strcoll-overflow.
1231 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1232 cache if string sizes may cause integer overflow.
1235 * string/strcoll_l.c (coll_seq): New members rule, idx,
1236 save_idx and back_us.
1237 (get_next_seq_nocache): New function.
1238 (do_compare_nocache): New function.
1239 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1242 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1245 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1246 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1247 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1250 * elf/Makefile (tests): Add tst-ptrguard1.
1251 (tests-static): Add tst-ptrguard1-static.
1252 (tst-ptrguard1-ARGS): Define.
1253 (tst-ptrguard1-static-ARGS): Define.
1254 * elf/tst-ptrguard1.c: New file.
1255 * elf/tst-ptrguard1-static.c: New file.
1256 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1257 * sysdeps/i386/stackguard-macros.h: Likewise.
1258 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1259 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1260 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1261 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1262 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1263 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1265 2013-09-23 Hector Marco <hecmargi@upv.es>
1266 Ismael Ripoll <iripoll@disca.upv.es>
1267 Carlos O'Donell <carlos@redhat.com>
1270 * sysdeps/generic/stackguard-macros.h: Define
1271 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1272 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1273 Define __pointer_chk_guard_local.
1274 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1275 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1277 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1280 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1282 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1284 * include/string.h (__ffs): Declare as hidden.
1285 * string/ffs.c (__ffs): Define as hidden.
1286 * sysdeps/i386/ffs.c (__ffs): Likewise.
1287 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1288 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1289 * sysdeps/s390/ffs.c (__ffs): Likewise.
1290 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1292 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1294 * NEWS: Mention malloc probes.
1296 * malloc/arena.c (new_heap): New memory_heap_new probe.
1297 (grow_heap): New memory_heap_more probe.
1298 (shrink_heap): New memory_heap_less probe.
1299 (heap_trim): New memory_heap_free probe.
1300 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1301 (systrim): New memory_sbrk_less probe.
1302 * manual/probes.texi: Document them.
1304 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1305 * manual/probes.texi: Document it.
1307 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1308 (__libc_realloc): Add memory_realloc_retry probe.
1309 (__libc_memalign): Add memory_memalign_retry probe.
1310 (__libc_valloc): Add memory_valloc_retry probe.
1311 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1312 (__libc_calloc): Add memory_calloc_retry probe.
1313 * manual/probes.texi: Document them.
1315 * malloc/arena.c (get_free_list): Add probe
1316 memory_arena_reuse_free_list.
1317 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1318 and memory_arena_reuse.
1319 (arena_get2) [!PER_THREAD]: Likewise.
1320 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1321 memory_arena_reuse_realloc.
1322 * manual/probes.texi: Document them.
1324 * malloc/malloc.c (__libc_free): Add
1325 memory_mallopt_free_dyn_thresholds probe.
1326 (__libc_mallopt): Add multiple memory_mallopt probes.
1327 * manual/probes.texi: Document them.
1329 * malloc/malloc.c: Include stap-probe.h.
1330 (__libc_mallopt): Add memory_mallopt probe.
1331 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1332 * manual/probes.texi: New.
1333 * manual/Makefile (chapters): Add probes.
1334 * manual/threads.texi: Set next node.
1336 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1339 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1340 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1341 Add `Chinese' to `nan' entry name.
1343 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1345 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1346 (POLYNOMIAL): Likewise.
1347 (TAYLOR_SINCOS): Likewise.
1348 (TAYLOR_SLOW): Likewise.
1349 (__sin): Use TAYLOR_SINCOS.
1351 (slow): Use TAYLOR_SLOW.
1356 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1358 * stdlib/strtod_l.c: Fix buffer overrun.
1360 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1362 * benchtests/Makefile (bench): Add sincos.
1363 * benchtests/bench-sincos.c: New file.
1365 * math/libm-test.inc (cos_test_data): New test inputs.
1366 (sin_test_data): Likewise.
1368 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1376 (bsloww1): Likewise.
1377 (bsloww2): Likewise.
1379 (csloww1): Likewise.
1380 (csloww2): Likewise.
1382 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1387 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1391 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1393 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1394 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1395 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1396 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1397 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1398 * elf/cache.c (print_entry): Handle the new cache flags.
1400 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1401 Aldy Hernandez <aldyh@redhat.com>
1403 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1404 Change condition to [_SOFT_FLOAT].
1405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1417 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1420 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1423 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1425 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1426 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1427 (__longjmp): Use LOAD_GP to load saved GPRs.
1428 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1429 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1430 (__sigsetjmp): Use SAVE_GP to save GPRs.
1432 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1433 Do not append -msoft-float.
1434 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1436 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1438 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1440 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1443 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1444 (_FPU_GETCW): Use initial "__" on variable and field names but not
1445 on macro parameter name.
1446 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1447 parentheses around reference to macro parameter.
1449 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1451 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1453 (ctype_startup): Use uint32_t in cast and sizeof for
1456 2013-09-11 Jia Liu <proljc@gmail.com>
1458 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1460 [__FreeBSD__]: Likewise.
1462 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1465 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1466 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1467 (strchr): Remove __strchr_sse42 ifunc selection.
1468 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1469 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1471 2013-09-11 Will Newton <will.newton@linaro.org>
1473 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1474 parameter to RES. Remove hardcoded 1000 value.
1475 * benchtests/bench-skeleton.c (main): Pass RES parameter
1476 to TIMING_INIT and multiply result by 1000.
1478 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1482 2013-09-11 Andreas Schwab <schwab@suse.de>
1484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1486 (O_TMPFILE) [__USE_GNU]: Define.
1487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1490 2013-09-11 Will Newton <will.newton@linaro.org>
1493 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1496 2013-09-11 Will Newton <will.newton@linaro.org>
1499 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1502 2013-09-11 Will Newton <will.newton@linaro.org>
1505 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1508 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1510 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1511 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1516 2013-09-10 Allan McRae <allan@archlinux.org>
1519 * manual/arith.texi (Parsing of Floats): Clarify
1523 * manual/install.texi (Running make install): Mention
1525 * INSTALL: Regenerated.
1527 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1529 * csu/init-first.c (_init): Remove the !SHARED condition around
1530 FPU control word initialization.
1531 * elf/dl-support.c (_dl_fpu_control): New variable.
1532 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1533 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1534 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1535 * math/test-fpucw-static.c: New file.
1536 * math/test-fpucw-ieee.c: New file.
1537 * math/test-fpucw-ieee-static.c: New file.
1538 * math/Makefile (tests): Add `test-fpucw-ieee' and
1540 (tests-static): New variable.
1541 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1543 [($(build-shared),yes)]
1544 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1546 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1549 2013-09-09 Allan McRae <allan@archlinux.org>
1552 * manual/string.texi (Collation Functions): Fix typo in
1554 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1557 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1560 * libio/memstream.c (open_memstream): Fix memory leak.
1561 * libio/wmemstream.c (open_wmemstream): Likewise.
1564 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1566 2013-09-09 Will Newton <will.newton@linaro.org>
1568 * malloc/Makefile: Add tst-realloc to tests.
1569 * malloc/tst-realloc.c: New file.
1571 2013-09-09 Allan McRae <allan@archlinux.org>
1574 * COPYING: Update from GNU website to fix FSF address.
1575 * COPYING.LIB: Likewise.
1577 2013-09-06 David S. Miller <davem@davemloft.net>
1579 * po/zh_TW.po: Update Chinese (traditional) translation from
1580 translation project.
1582 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1583 Joseph Myers <joseph@codesourcery.com>
1585 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1587 (obstack_chunk_alloc): New macro.
1588 (obstack_chunk_free): Likewise.
1589 (record_offset): New function.
1590 (init_locale_data): Likewise.
1591 (align_locale_data): Likewise.
1592 (add_locale_empty): Likewise.
1593 (add_locale_raw_data): Likewise.
1594 (add_locale_raw_obstack): Likewise.
1595 (add_locale_string): Likewise.
1596 (add_locale_wstring): Likewise.
1597 (add_locale_uint32): Likewise.
1598 (add_locale_uint32_array): Likewise.
1599 (add_locale_char): Likewise.
1600 (start_locale_structure): Likewise.
1601 (end_locale_structure): Likewise.
1602 (start_locale_prelude): Likewise.
1603 (end_locale_prelude): Likewise.
1604 (write_locale_data): Take locale_file structure rather than an
1606 * locale/programs/locfile.h: Include "obstack.h".
1607 (struct locale_file): Change to store locale file contents instead
1609 (init_locale_data): New prototype.
1610 (align_locale_data): Likewise.
1611 (add_locale_empty): Likewise.
1612 (add_locale_raw_data): Likewise.
1613 (add_locale_raw_obstack): Likewise.
1614 (add_locale_string): Likewise.
1615 (add_locale_wstring): Likewise.
1616 (add_locale_uint32): Likewise.
1617 (add_locale_uint32_array): Likewise.
1618 (add_locale_char): Likewise.
1619 (start_locale_structure): Likewise.
1620 (end_locale_structure): Likewise.
1621 (start_locale_prelude): Likewise.
1622 (end_locale_prelude): Likewise.
1623 (write_locale_data): Update prototype.
1624 * locale/programs/3level.h (struct TABLE): Remove result field.
1625 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1626 Use new locale_file interface.
1627 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1628 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1629 * locale/programs/ld-address.c (address_output): Use new
1630 locale_file interface.
1631 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1633 (collate_finish): Don't call collseq_table_finalize.
1634 (collate_output): Use new locale_file interface.
1635 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1637 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1638 (TABLE): Move defines earlier in file.
1639 (ELEMENT): Likewise.
1640 (DEFAULT): Likewise.
1641 (wctrans_table_add): Move macro and inline function earlier in
1643 (struct wctype_table): Move type earlier in file.
1644 (add_locale_wctype_table): New static prototype.
1645 (struct locale_ctype_t): Use logical types instead of struct iovec
1646 pointers for members.
1647 (ctype_output): Use new locale_file interface.
1648 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1649 new locale_file interface.
1650 (allocate_arrays): Update for use of new locale_file interface.
1651 * locale/programs/ld-identification.c (identification_output): Use
1652 new locale_file interface.
1653 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1654 * locale/programs/ld-messages.c (messages_output): Likewise.
1655 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1656 * locale/programs/ld-name.c (name_output): Likewise.
1657 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1658 * locale/programs/ld-paper.c (paper_output): Likewise.
1659 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1660 * locale/programs/ld-time.c (time_output): Likewise.
1662 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1664 * benchtests/Makefile: Add memrchr benchmark.
1665 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1666 benchmark as memrchr.
1667 * benchtests/bench-memrchr-ifunc.c: New file.
1668 * benchtests/bench-memrchr.c: New file.
1670 2013-09-06 Will Newton <will.newton@linaro.org>
1672 * benchtests/Makefile (string-bench): Add memcpy.
1674 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1675 Cong Wang <amwang@redhat.com>
1677 * sysdeps/unix/sysv/linux/bits/in.h
1678 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1679 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1680 before __USE_KERNEL_IPV6_DEFS uses.
1681 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1683 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1684 sockaddr_in6, or ipv6_mreq.
1686 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1688 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1689 memory access for final bytes in some large inputs.
1690 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1692 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694 * string/test-memrchr.c: New file.
1695 * string/test-memrchr-ifunc.c: New file.
1696 * string/Makefile: Add new memrchr testcase.
1698 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1700 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1701 fanotify_init returns EPERM.
1703 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1705 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1707 (top level): Treat second token from macro or constant entries for
1708 allowed headers as allowed.
1709 * include/complex.h: Condition internal declarations on
1711 * include/fenv.h: Condition include of <stdbool.h> and internal
1712 declarations on [!_ISOMAC].
1714 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1717 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1719 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1721 * configure.in (--enable-versioning): Remove configure option.
1722 (libc_cv_asm_symver_directive): Remove configure test.
1723 (libc_cv_ld_version_script_option): Likewise.
1724 (VERSIONING): Remove variable and AC_SUBST.
1725 (DO_VERSIONING): Remove AC_DEFINE.
1726 * configure: Regenerated.
1727 * config.h.in (DO_VERSIONING): Remove macro.
1728 * Makerules [$(versioning) = yes]: Change conditionals to
1729 [$(build-shared) = yes].
1730 * config.make.in (versioning): Remove variable.
1731 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1732 [$(build-shared) = yes].
1733 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1734 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1735 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1736 [$(build-shared) = yes].
1737 * extra-lib.mk [$(versioning) = yes]: Likewise.
1738 * hurd/Makefile [$(versioning) = yes]: Likewise.
1739 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1741 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1743 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1744 [SHARED && !NO_HIDDEN].
1745 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1747 [SHARED && DO_VERSIONING]: Likewise..
1748 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1749 [$(build-shared) = yes].
1750 * manual/install.texi (--disable-versioning): Remove
1752 * INSTALL: Regenerated.
1753 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1755 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1756 [$(build-shared) = yes].
1757 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1758 * sysdeps/i386/i686/multiarch/strstr-c.c
1759 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1760 [SHARED && !NO_HIDDEN].
1761 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1762 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1763 * sysdeps/powerpc/powerpc32/dl-machine.c
1764 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1765 * sysdeps/powerpc/powerpc32/sysdep.h
1766 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1767 to [SHARED && PIC && !NO_HIDDEN].
1768 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1769 conditional to [SHARED].
1771 2013-09-04 Will Newton <will.newton@linaro.org>
1773 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1774 * benchtests/bench-string.h: Include bench-timing.h instead
1775 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1776 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1777 call to HP_TIMING_DIFF_INIT.
1778 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1779 instead of hp-timing.h macros.
1780 * benchtests/bench-memchr.c: Likewise.
1781 * benchtests/bench-memcmp.c: Likewise.
1782 * benchtests/bench-memcpy.c: Likewise.
1783 * benchtests/bench-memmem.c: Likewise.
1784 * benchtests/bench-memmove.c: Likewise.
1785 * benchtests/bench-memset.c: Likewise.
1786 * benchtests/bench-rawmemchr.c: Likewise.
1787 * benchtests/bench-strcasecmp.c: Likewise.
1788 * benchtests/bench-strcasestr.c: Likewise.
1789 * benchtests/bench-strcat.c: Likewise.
1790 * benchtests/bench-strchr.c: Likewise.
1791 * benchtests/bench-strcmp.c: Likewise.
1792 * benchtests/bench-strcpy.c: Likewise.
1793 * benchtests/bench-strcpy_chk.c: Likewise.
1794 * benchtests/bench-strlen.c: Likewise.
1795 * benchtests/bench-strncasecmp.c: Likewise.
1796 * benchtests/bench-strncat.c: Likewise.
1797 * benchtests/bench-strncmp.c: Likewise.
1798 * benchtests/bench-strncpy.c: Likewise.
1799 * benchtests/bench-strnlen.c: Likewise.
1800 * benchtests/bench-strpbrk.c: Likewise.
1801 * benchtests/bench-strrchr.c: Likewise.
1802 * benchtests/bench-strspn.c: Likewise.
1803 * benchtests/bench-strstr.c: Likewise.
1805 2013-09-04 Will Newton <will.newton@linaro.org>
1807 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1809 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1812 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1813 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1814 * math/libm-test.inc (lgamma_test_data): Add more tests.
1815 * sysdeps/i386/fpu/libm-test-ulps: Update.
1816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1818 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1820 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1824 Add strcmp-sse2-unaligned
1825 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1827 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1829 * Versions.def (libc): Add GLIBC_2.19.
1831 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1833 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1834 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1836 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1839 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1840 intermediate calculations in recurrence.
1841 (__ieee754_ynf): Likewise.
1842 * math/libm-test.inc (jn_test_data): Do not allow spurious
1843 underflow exception. Add more tests.
1844 (yn_test_data): Add more tests.
1845 * sysdeps/i386/fpu/libm-test-ulps: Update.
1846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1848 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1850 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1852 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1854 * csu/init-first.c: Fix then/than typos.
1855 * locale/programs/ld-collate.c: Likewise.
1856 * locale/programs/linereader.h: Likewise.
1857 * manual/charset.texi: Likewise.
1858 * manual/filesys.texi: Likewise.
1859 * manual/stdio.texi: Likewise.
1860 * manual/string.texi: Likewise.
1861 * stdlib/fmtmsg.c: Likewise.
1862 * sysdeps/i386/stpncpy.S: Likewise.
1863 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1864 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1865 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1866 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1868 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1870 * elf/dl-open.c: Fix typos.
1871 * iconvdata/gbbig5.c: Likewise.
1872 * iconvdata/iso-2022-jp.c: Likewise.
1873 * iconv/gconv_int.h: Likewise.
1874 * iconv/loop.c: Likewise.
1875 * nis/rpcsvc/nis.h: Likewise.
1876 * resolv/ns_name.c: Likewise.
1877 * stdio-common/vfscanf.c: Likewise.
1878 * streams/stropts.h: Likewise.
1879 * sunrpc/rpc_thread.c: Likewise.
1880 * sysdeps/i386/strpbrk.S: Likewise.
1881 * sysdeps/ieee754/k_standard.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1884 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1885 * sysdeps/mach/hurd/profil.c: Likewise.
1886 * sysdeps/s390/dl-procinfo.h: Likewise.
1887 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1888 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1889 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1890 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1891 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1893 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1895 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1896 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1898 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1900 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1902 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1903 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1904 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1905 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1906 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1907 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1911 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1912 Roland McGrath <roland@hack.frob.com>
1914 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1915 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1917 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1919 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1920 __executable_start symbol instead of _start.
1922 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1924 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1925 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1927 * sysdeps/gnu/ldsodefs.h: ... this new file.
1929 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1930 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1931 instead of ELFOSABI_LINUX.
1933 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1934 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1935 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1936 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1938 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1939 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1942 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1943 (ibm_extended_long_double): Add ieee_nan member.
1944 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1945 (do_test): New function.
1947 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1949 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1950 functions, renamed from truncdfsf_test, trunctfsf_test,
1952 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1954 (do_test): Run all these.
1956 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1958 * argp/argp-help.c: Fix typos.
1959 * argp/argp-parse.c: Likewise.
1960 * debug/backtracesyms.c: Likewise.
1961 * elf/elf.h: Likewise.
1962 * malloc/malloc.c: Likewise.
1963 * nis/nis_print.c: Likewise.
1964 * resolv/res_comp.c: Likewise.
1965 * stdlib/stdlib.h: Likewise.
1966 * sunrpc/clnt_tcp.c: Likewise.
1967 * sunrpc/clnt_udp.c: Likewise.
1968 * sunrpc/clnt_unix.c: Likewise.
1969 * sysdeps/unix/bsd/ptsname.c: Likewise.
1970 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1971 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1978 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1980 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1982 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1985 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1988 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1989 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1990 ($(objpfx)bug-dl-leaf): New rule.
1991 ($(objpfx)bug-dl-leaf.so): Likewise.
1992 ($(objpfx)bug-dl-leaf.out): Likewise.
1993 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1994 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1995 * dlfcn/bug-dl-leaf.c: New test.
1996 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1997 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1998 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1999 (dlclose): Likewise.
2000 (dlmopen): Likewise.
2002 2013-08-27 Roland McGrath <roland@hack.frob.com>
2004 * include/netdb.h [!_ISOMAC]:
2005 Don't include <tls.h>.
2006 (h_errno, __libc_h_errno): Move declaration and macros out of
2009 * include/resolv.h [_RESOLV_H_]:
2010 Don't include <tls.h>.
2011 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2012 * resolv/res_libc.c: Don't include <tls.h>.
2013 (_res): Use __attribute__ ((nocommon)) in place of
2014 __attribute__ ((section (".bss"))).
2016 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2017 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2019 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2021 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2022 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2024 * resolv/res_mkquery.c: Include <sys/time.h>.
2026 * inet/ifreq.c: Moved to ...
2027 * sysdeps/unix/ifreq.c: ... here.
2028 * inet/ifreq.c: New file, true stub version.
2030 * socket/sa_len.c: New file.
2031 * socket/Makefile (aux): Add it.
2032 * sysdeps/unix/sysv/linux/Makefile
2033 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2034 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2035 and #include <socket/sa_len.c>.
2036 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2037 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2039 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2040 * bits/socket.h: ... here.
2042 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2043 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2044 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2046 2013-08-27 Andreas Schwab <schwab@suse.de>
2049 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2050 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2051 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2052 * string/test-strcasecmp.c (test_main): Run tests in several
2054 * string/test-strncasecmp.c (test_main): Likewise.
2056 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2057 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2058 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2060 (__strncasecmp_ssse3) [PIC]: Likewise.
2062 2013-08-26 Roland McGrath <roland@hack.frob.com>
2064 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2066 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2067 instead of explicitly declaring xdecrypt.
2068 * nis/nss_nis/nis-publickey.c: Likewise.
2070 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2073 * nscd/aicache.c: Include res_hconf.h.
2074 (addhstaiX): Initialize res_hconf.
2076 2013-08-26 Andreas Schwab <schwab@suse.de>
2078 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2079 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2081 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2083 * nscd/aicache.c (addhstaiX): Fix indentation.
2085 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2087 * configure.ac: Quote $build_pt_chown test.
2088 * configure: Regenerated.
2090 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2093 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2094 * math/s_cexpf.c (__cexpf): Likewise.
2095 * math/s_cexpl.c (__cexpl): Likewise.
2096 * math/libm-test.inc (cexp_test_data): Correct expected return
2097 value for NaN + i0. Add another test.
2099 2013-08-22 David S. Miller <davem@davemloft.net>
2101 * po/ca.po: Update Catalan translation from translation project.
2102 * po/uk.po: Add Ukrainian translations from translation project.
2104 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2107 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2108 is infinite, not alongside NaN test.
2109 * math/s_fdimf.c (__fdimf): Likewise.
2110 * math/s_fdiml.c (__fdiml): Likewise.
2111 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2114 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2116 * argp/argp-help.c: Fix typos.
2117 * crypt/speeds.c: Likewise.
2118 * csu/check_fds.c: Likewise.
2119 * elf/dl-load.c: Likewise.
2120 * elf/dl-open.c: Likewise.
2121 * elf/reldep3.c: Likewise.
2122 * elf/reldep.c: Likewise.
2123 * elf/sprof.c: Likewise.
2124 * iconv/iconv_charmap.c: Likewise.
2125 * iconv/skeleton.c: Likewise.
2126 * iconv/strtab.c: Likewise.
2127 * io/lockf64.c: Likewise.
2128 * libio/libioP.h: Likewise.
2129 * resolv/gai_notify.c: Likewise.
2130 * resolv/ns_name.c: Likewise.
2131 * resolv/ns_samedomain.c: Likewise.
2132 * resolv/res_send.c: Likewise.
2133 * stdlib/random.c: Likewise.
2134 * sunrpc/rpc/xdr.h: Likewise.
2135 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2136 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2137 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2138 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2139 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2140 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2142 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2143 * sysdeps/mach/hurd/check_fds.c: Likewise.
2144 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2145 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2146 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2147 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2148 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2149 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2150 * sysdeps/pthread/aio_notify.c: Likewise.
2151 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2152 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2153 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2154 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2155 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2157 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2159 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2160 version if bit_Slow_SSE4_2 is set.
2161 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2162 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2164 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2167 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2168 trampoline stack frame information.
2169 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2171 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2172 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2173 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2174 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2175 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2176 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2178 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2179 interrupting a syscall and set with option SA_SIGINFO.
2181 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2184 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2185 argument is infinite.
2186 * math/s_cprojf.c (__cprojf): Likewise.
2187 * math/s_cprojl.c (__cprojl): Likewise.
2188 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2189 * math/libm-test.inc (cproj_test_data): Add more tests.
2191 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2193 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2194 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2195 size. Use __ffs to determine corresponding shift.
2197 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2198 Roland McGrath <roland@hack.frob.com>
2200 * Makefile (INSTALL): Remove trailing blank lines from output of
2203 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2205 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2206 Align 32 bit compat elf_greg to 8 bytes.
2208 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2210 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2212 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2214 * string/strcoll_l.c (coll_seq): New structure.
2215 (get_next_seq_cached): New function.
2216 (get_next_seq): New function.
2217 (do_compare): New function.
2218 (STRCOLL): Use GNU style definition. Simplify implementation
2219 by using get_next_seq, get_next_seq_cached and do_compare.
2221 2013-08-16 Florian Weimer <fweimer@redhat.com>
2225 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2227 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2229 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2230 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2231 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2233 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2234 GETDENTS_64BIT_ALIGNED.
2235 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2236 * manual/filesys.texi (Reading/Closing Directory): Document
2237 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2239 * manual/conf.texi (Limits for Files): Add portability note to
2241 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2243 2013-08-13 Andreas Schwab <schwab@suse.de>
2246 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2248 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2249 LDBL_MAX_EXP >= 16384]: Add tests for it.
2251 2013-08-12 David S. Miller <davem@davemloft.net>
2253 * version.h (RELEASE): Set to "development".
2254 (VERSION): Set to "2.18.90".
2255 * NEWS: Add 2.19 section.
2257 2013-08-03 David S. Miller <davem@davemloft.net>
2259 * po/ko.po: Update Korean translation from translation project.
2261 2013-08-01 David S. Miller <davem@davemloft.net>
2263 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2264 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2267 2013-07-30 David S. Miller <davem@davemloft.net>
2269 * po/fr.po: Update French translation from translation project.
2271 2013-07-28 David S. Miller <davem@davemloft.net>
2273 * po/cs.po: Update Czech translation from translation project.
2275 * po/sv.po: Update Swedish translation from translation project.
2277 2013-07-27 David S. Miller <davem@davemloft.net>
2279 * po/eo.po: Update Esperanto translation from translation project.
2281 * po/vi.po: Update Vietnamese translation from translation project.
2283 * po/de.po: Update German translation from translation project.
2285 2013-07-26 David S. Miller <davem@davemloft.net>
2287 * po/bg.po: Update Bulgarian translation from translation project.
2289 * po/nl.po: Update Dutch translation from translation project.
2290 * po/pl.po: Update Polish translation from translation project.
2291 * po/ru.po: Update Russian translation from translation project.
2293 2013-07-24 David S. Miller <davem@davemloft.net>
2295 * po/libc.pot: Update.
2297 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2301 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2302 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2303 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2305 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2307 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2309 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2310 Andreas Schwab <schwab@suse.de>
2311 Roland McGrath <roland@hack.frob.com>
2312 Joseph Myers <joseph@codesourcery.com>
2313 Carlos O'Donell <carlos@redhat.com>
2316 * config.h.in: Define HAVE_PT_CHOWN.
2317 * config.make.in (build-pt-chown): New variable.
2318 * configure.in (--enable-pt_chown): New configure option.
2319 * configure: Regenerate.
2320 * login/Makefile: Include Makeconfig. Build pt_chown only if
2321 build-pt-chown is enabled.
2322 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2323 pt_chown to fix pty ownership.
2324 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2326 * manual/install.texi (Configuring and compiling): Mention
2327 --enable-pt_chown. Add @findex for grantpt.
2328 * INSTALL: Regenerate.
2330 2013-07-20 David S. Miller <davem@davemloft.net>
2332 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2333 difference between 32-bit and 64-bit.
2335 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2338 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2339 Avoid system header dependency with -ffreestanding.
2340 ($(objpfx)bits/syscall%d): Likewise.
2342 2013-07-13 David S. Miller <davem@davemloft.net>
2344 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2345 underflows from atanl/atan2l due to bug 15319.
2346 (casinh_test_data): Likewise.
2348 2013-07-07 David S. Miller <davem@davemloft.net>
2350 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2352 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2354 * sysdeps/i386/fpu/libm-test-ulps: Update.
2355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2357 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2359 * configure.in (--enable-lock-elision): Fix message text.
2360 * INSTALL: Regenerate.
2361 * configure: Regenerate.
2363 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2367 2013-07-03 Andreas Jaeger <aj@suse.de>
2369 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2371 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2372 (ptrace_peeksiginfo_args): Add.
2373 (__ptrace_peeksiginfo_flags): Add.
2374 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2375 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2376 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2378 2013-07-03 Allan McRae <allan@archlinux.org>
2380 * sysdeps/i386/fpu/libm-test-ulps: Update.
2382 2013-07-02 David S. Miller <davem@davemloft.net>
2384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2386 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2390 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2392 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2395 2013-07-02 Andi Kleen <ak@linux.intel.com>
2397 * config.h.in (ENABLE_LOCK_ELISION): Add.
2398 * configure.in (--enable-lock-elision): Add option.
2399 * manual/install.texi: Document --enable lock elision.
2400 * configure: Regenerate
2401 * INSTALL: Regenerate.
2403 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2405 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2406 SSE4.2 strcasecmp for libc.a.
2407 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2409 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2412 * soft-fp/op-common.h (_FP_FMA): New macro.
2413 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2414 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2415 (_FP_MUL_MEAT_1_imm): ... here.
2416 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2417 (_FP_MUL_MEAT_1_wide): ... here.
2418 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2419 (_FP_MUL_MEAT_1_hard): ... here.
2420 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2421 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2422 (_FP_MUL_MEAT_2_wide): ... here.
2423 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2424 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2425 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2426 (_FP_MUL_MEAT_2_gmp): ... here.
2427 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2428 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2429 (_FP_MUL_MEAT_4_wide): ... here.
2430 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2431 (_FP_MUL_MEAT_4_gmp): ... here.
2432 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2433 (_FP_WFRACBITS_DW_S): Likewise.
2434 (_FP_WFRACXBITS_DW_S): Likewise.
2435 (_FP_HIGHBIT_DW_S): Likewise.
2436 (FP_FMA_S): Likewise.
2437 (_FP_FRAC_HIGH_DW_S): Likewise.
2438 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2439 (_FP_WFRACBITS_DW_D): Likewise.
2440 (_FP_WFRACXBITS_DW_D): Likewise.
2441 (_FP_HIGHBIT_DW_D): Likewise.
2442 (FP_FMA_D): Likewise.
2443 (_FP_FRAC_HIGH_DW_D): Likewise.
2444 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2445 (_FP_WFRACBITS_DW_E): Likewise.
2446 (_FP_WFRACXBITS_DW_E): Likewise.
2447 (_FP_HIGHBIT_DW_E): Likewise.
2448 (FP_FMA_E): Likewise.
2449 (_FP_FRAC_HIGH_DW_E): Likewise.
2450 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2451 (_FP_WFRACBITS_DW_Q): Likewise.
2452 (_FP_WFRACXBITS_DW_Q): Likewise.
2453 (_FP_HIGHBIT_DW_Q): Likewise.
2454 (FP_FMA_Q): Likewise.
2455 (_FP_FRAC_HIGH_DW_Q): Likewise.
2456 * soft-fp/fmasf4.c: New file.
2457 * soft-fp/fmadf4.c: Likewise.
2458 * soft-fp/fmatf4.c: Likewise.
2460 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2463 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2465 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2467 (index_Slow_SSE4_2): Likewise.
2468 (index_Prefer_PMINUB_for_stringop): Likewise.
2469 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2470 bit_Slow_SSE4_2 is set.
2471 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2472 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2474 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2476 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2477 rtld_global._dl_hwcap2.
2478 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2480 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2481 POWER8 feature descriptions defined in _dl_hwcap2.
2482 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2483 string handling for POWER8 feature bits.
2484 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2485 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2486 _dl_powerpc_cap_flags.
2487 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2488 * sysdeps/powerpc/rtld-global-offsets.sym
2489 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2490 _dl_hwcap2 in the rtld_global_ro structure.
2492 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2494 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2495 hardware capabilities in support of AT_HWCAP2.
2496 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2497 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2499 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2500 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2501 explicitly the unknown a_type display mechanism is used.
2502 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2503 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2505 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2506 to macro prototype for AT_HWCAP2 support.
2507 * sysdeps/i386/dl-procinfo.h: Likewise.
2508 * sysdeps/s390/dl-procinfo.h: Likewise.
2509 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2510 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2511 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2512 return -1 for unknown a_type display fallback.
2513 * sysdeps/sparc/dl-procinfo.h: Likewise.
2514 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2515 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2517 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2519 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2520 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2522 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2525 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2526 mprotect making __stack_prot writable.
2528 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2529 Joseph Myers <joseph@codesourcery.com>
2531 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2532 as being properly aligned.
2534 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2536 * dlfcn/modstatic5.c: New file.
2537 * dlfcn/tststatic5.c: New file.
2538 * dlfcn/Makefile (tests): Add tststatic5.
2539 (tests-static): Likewise.
2540 (modules-names): Add modstatic5.
2541 (tststatic5-ENV): New variable.
2542 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2545 * elf/dl-support.c (_dl_main_map): New variable.
2546 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2547 (_dl_nns, _dl_load_adds): Set to 1.
2548 (_dl_initial_searchlist): Refer to _dl_main_map.
2549 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2550 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2551 call to _dl_get_origin.
2552 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2554 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2555 * dlfcn/modstatic3.c: New file.
2556 * dlfcn/tststatic3.c: New file.
2557 * dlfcn/tststatic4.c: New file.
2558 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2559 (tests-static): Likewise.
2560 (modules-names): Add modstatic3.
2561 (tststatic3-ENV, tststatic4-ENV): New variables.
2562 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2563 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2565 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2567 * configure.in (CC): Require GCC version 4.4 or later.
2568 * configure: Regenerated.
2569 * manual/install.texi (Tools for Compilation): Update GCC version
2571 * INSTALL: Regenerated.
2573 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2576 * string/test-memcmp.c (check2): New.
2577 (main): Call check2.
2579 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2581 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2584 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2586 (dl_open_worker) [!SHARED]: ... here.
2588 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2590 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2592 2013-06-25 Richard Henderson <rth@redhat.com>
2594 * locale/programs/locarchive.c: Include <libc-internal.h>
2596 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2598 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2599 trailing whitespace removed.
2601 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2604 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2605 * locale/programs/locarchive.c: Include libc-mmap.h.
2606 (prepare_address_space): Take two new outputs (the mmap base and len).
2607 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2609 (create_archive): Declare new mmap base and len values for
2610 prepare_address_space, and store the result in ah.
2611 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2612 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2613 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2614 Declare new mmap base and len values for
2615 prepare_address_space, and store the result in new_ah.
2616 (open_archive): Declare new mmap base and len values for
2617 prepare_address_space, and store the result in ah.
2618 (close_archive): If ah->mmap_base is not NULL, use that and
2619 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2620 * sysdeps/generic/libc-mmap.h: New file.
2622 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2624 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2625 (ALIGN_UP): Likewise.
2626 (PTR_ALIGN_DOWN): Likewise.
2627 (PTR_ALIGN_UP): Likewise.
2629 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2631 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2632 entry mapped to PPC_PLATFORM_POWER8.
2633 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2635 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2636 (_dl_string_platform): Add case for exporting platform position for
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2639 search path to sysdeps/powerpc/powerpc32/power8 directory.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2641 search path to sysdeps/powerpc/powerpc64/power8 directory.
2642 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2644 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2647 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2649 * INSTALL: Regenerate.
2651 * nscd/connections.c (nscd_init): Fix comment.
2653 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2655 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2658 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2659 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2661 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2663 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2665 (DL_DST_REQ_STATIC): Remove macro.
2667 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2670 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2671 with a shift of 0 bits.
2673 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2675 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2678 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2681 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2683 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2685 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2686 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2687 accepts -fno-tree-loop-distribute-patterns.
2688 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2689 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2691 * string/memset.c (memset): Likewise.
2692 * string/test-memmove.c (simple_memmove): Disable loop transformation
2694 * string/test-memset.c (simple_memset): Likewise.
2695 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2696 * benchtests/bench-memset.c (simple_memset): Likewise.
2697 * configure: Regenerated.
2699 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2701 * math/test-misc.c (main): Ignore fesetround failure when failures
2702 of subsequent rounding tests would be ignored.
2705 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2706 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2707 * math/fegetenv.c (__fegetenv): Return 0.
2708 * math/fegetexcept.c (fegetexcept): Return 0.
2709 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2711 * math/feholdexcpt.c (feholdexcept): Return 0.
2712 * math/fesetenv.c (__fesetenv): Return 0.
2713 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2714 argument FE_TONEAREST.
2715 * math/feupdateenv.c (__feupdateenv): Return 0.
2716 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2718 2013-06-18 Roland McGrath <roland@hack.frob.com>
2720 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2721 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2722 ($(objpfx)rtld-%.os rules): Use them.
2724 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2726 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2729 2013-06-17 Roland McGrath <roland@hack.frob.com>
2731 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2732 length of target pattern, then descending length of dependency pattern.
2733 * configure.in (AWK): Require gawk 3.1.2 or newer.
2734 * manual/install.texi (Tools for Compilation): Say that we do.
2735 * configure: Regenerated.
2737 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2738 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2739 * scripts/sysd-rules.awk: ... this new script.
2740 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2741 than a glob-style pattern.
2743 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2745 * math/test-misc.c (main): Do not treat incorrectly rounded
2746 conversions as failure unless ROUNDING_TESTS passes.
2748 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2751 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2752 restore exception state around main square root computation, then
2753 check for inexactness explicitly.
2755 * math/libm-test.inc (fma_test_data): Add another test.
2757 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2759 * manual/threads.texi (Non-POSIX Extensions): New document
2760 node. Document pthread_getattr_default_np and
2761 pthread_setattr_default_np.
2763 * Versions.def (libpthread): Add GLIBC_2.18.
2764 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2773 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2784 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2787 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2789 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2790 H.J. Lu <hjl.tools@gmail.com>
2793 * sysdeps/x86_64/rtld-memset.c: Remove file.
2794 * sysdeps/x86_64/rtld-memset.S: New file.
2796 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2798 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2799 (test_in_one_mode): Take arguments for whether the rounding mode
2800 is supported for each floating-point type.
2801 (do_test): Pass new arguments to test_in_one_mode using
2804 2013-06-13 Roland McGrath <roland@hack.frob.com>
2806 * posix/tst-waitid.c (do_test): Distinguish different instances of
2807 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2808 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2809 before entering the kernel for waitpid.
2811 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2813 * NEWS: Fix note on clock function precision. Text by Roland
2816 2013-06-13 Roland McGrath <roland@hack.frob.com>
2818 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2819 it into place only when and if the sanity check passes.
2821 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2823 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2824 output for whether conversion result is exact. Take argument
2825 indicating whether type is IBM long double.
2826 (round_for_all): Change need_exact field to ibm_ld.
2827 * stdlib/tst-strtod-round.c (struct exactness): New type.
2828 (struct test): Change bool ld_ok field to struct exactness exact.
2829 (TEST): Update all definitions for change to field.
2830 (tests): Regenerate array contents.
2831 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2832 field value. Check for IBM long double here.
2833 (do_test): Update calls to test_in_one_mode.
2835 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2838 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2839 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2841 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2844 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2845 generated by the compiler on loop optimizations.
2846 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2847 general definitions.
2849 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2851 * math/bug-nextafter.c: Include <math-tests.h>.
2852 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2854 * math/bug-nexttoward.c: Include <math-tests.h>.
2855 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2857 * math/test-misc.c: Include <math-tests.h>.
2858 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2861 2013-06-12 Andreas Jaeger <aj@suse.de>
2863 * po/ia.po: Update Interlingua translation from translation
2866 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2868 * include/fenv.h: Include stdbool.h.
2869 (struct rm_ctx): New structure.
2870 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2872 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2873 (SET_RESTORE_ROUNDF): Likewise.
2874 (SET_RESTORE_ROUNDL): Likewise.
2875 (SET_RESTORE_ROUND_NOEX): Likewise.
2876 (SET_RESTORE_ROUND_NOEXF): Likewise.
2877 (SET_RESTORE_ROUND_NOEXL): Likewise.
2878 (SET_RESTORE_ROUND_53BIT): Likewise.
2879 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2880 (libc_feresetround_noexf_ctx): Likewise.
2881 (libc_feresetround_noexl_ctx): Likewise.
2882 (libc_feholdsetround_53bit_ctx): Likewise.
2883 (libc_feresetround_53bit_ctx): Likewise.
2884 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2885 (libc_feholdexcept_setround_sse_ctx): New function.
2886 (libc_fesetenv_sse_ctx): Likewise.
2887 (libc_feupdateenv_sse_ctx): Likewise.
2888 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2889 (libc_feholdexcept_setround_387_ctx): Likewise.
2890 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2891 (libc_feholdsetround_387_prec_ctx): Likewise.
2892 (libc_feholdsetround_387_ctx): Likewise.
2893 (libc_feholdsetround_387_53bit_ctx): Likewise.
2894 (libc_feholdsetround_sse_ctx): Likewise.
2895 (libc_feresetround_sse_ctx): Likewise.
2896 (libc_feresetround_387_ctx): Likewise.
2897 (libc_feupdateenv_387_ctx): Likewise.
2898 (libc_feholdexcept_setroundf_ctx): Define macro.
2899 (libc_fesetenvf_ctx): Likewise.
2900 (libc_feupdateenvf_ctx): Likewise.
2901 (libc_feholdsetroundf_ctx): Likewise.
2902 (libc_feresetroundf_ctx): Likewise.
2903 (libc_feholdexcept_setround_ctx): Likewise.
2904 (libc_fesetenv_ctx): Likewise.
2905 (libc_feupdateenv_ctx): Likewise.
2906 (libc_feholdsetround_ctx): Likewise.
2907 (libc_feresetround_ctx): Likewise.
2908 (libc_feholdexcept_setroundl_ctx): Likewise.
2909 (libc_feupdateenvl_ctx): Likewise.
2910 (libc_feholdsetroundl_ctx): Likewise.
2911 (libc_feresetroundl_ctx): Likewise.
2912 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2913 (libc_feresetround_53bit_ctx): Likewise.
2915 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2917 * locale/iso-639.def: Convert to UTF-8.
2919 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2921 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2922 (EXCEPTION_TESTS_double): Likewise.
2923 (EXCEPTION_TESTS_long_double): Likewise.
2924 (EXCEPTION_TESTS): Likewise.
2925 * math/libm-test.inc (test_exceptions): Only test exceptions if
2926 EXCEPTION_TESTS (FLOAT).
2928 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2930 * benchtests/Makefile (string-bench): Add strcpy_chk and
2932 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2933 * benchtests/bench-stpcpy_chk.c: New file.
2934 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2935 * benchtests/bench-strcpy_chk.c: New file.
2936 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2938 (do_test): Likewise.
2940 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2942 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2943 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2944 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2945 with tabs where appropriate.
2946 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2948 [PPC_PLATFORM_PPC440]: Likewise.
2949 [PPC_PLATFORM_PPC464]: Likewise.
2950 [PPC_PLATFORM_PPC476]: Likewise.
2951 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2952 ppc464, and ppc476 platform strings merging from ports/
2955 2013-06-11 Andreas Schwab <schwab@suse.de>
2958 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2959 (from_ucs4_idx): Regenerate.
2960 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2961 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2962 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2963 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2964 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2965 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2966 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2967 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2968 from FROM_LOOP and TO_LOOP specific macros.
2969 (BODY): Handle combining characters.
2970 * iconvdata/BIG5HKSCS.irreversible: Update.
2971 * iconvdata/BIG5HKSCS.precomposed: New file.
2972 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2974 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2976 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2978 * include/sys/time.h: Fix indentation and add copyright header.
2980 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2981 (do_test): Likewise.
2982 * string/test-memchr.c (do_one_test): Likewise.
2983 (do_test): Likewise.
2984 * string/test-memcmp.c (do_one_test): Likewise.
2985 (do_test): Likewise.
2986 * string/test-memcpy.c (do_one_test): Likewise.
2987 (do_test): Likewise.
2988 * string/test-memmem.c (do_one_test): Likewise.
2989 (do_test): Likewise.
2990 (do_random_tests): Likewise.
2991 * string/test-memmove.c (do_one_test): Likewise.
2992 (do_test): Likewise.
2993 * string/test-memset.c (do_one_test): Likewise.
2994 (do_test): Likewise.
2995 * string/test-rawmemchr.c (do_one_test): Likewise.
2996 (do_test): Likewise.
2997 * string/test-strcasecmp.c (do_one_test): Likewise.
2998 (do_test): Likewise.
2999 * string/test-strcasestr.c (do_one_test): Likewise.
3000 (do_test): Likewise.
3001 * string/test-strcat.c (do_one_test): Likewise.
3002 (do_test): Likewise.
3003 * string/test-strchr.c (do_one_test): Likewise.
3004 (do_test): Likewise.
3005 * string/test-strcmp.c (do_one_test): Likewise.
3006 (do_test): Likewise.
3007 * string/test-strcpy.c (do_one_test): Likewise.
3008 (do_test): Likewise.
3009 * string/test-string.h: Likewise.
3010 (test_init): Likewise.
3011 * string/test-strlen.c (do_one_test): Likewise.
3012 (do_test): Likewise.
3013 * string/test-strncasecmp.c (do_one_test): Likewise.
3014 (do_test): Likewise.
3015 * string/test-strncat.c (do_one_test): Likewise.
3016 (do_test): Likewise.
3017 * string/test-strncmp.c (do_one_test): Likewise.
3018 (do_test_limit): Likewise.
3019 (do_test): Likewise.
3020 * string/test-strncpy.c (do_one_test): Likewise.
3021 (do_test): Likewise.
3022 * string/test-strnlen.c (do_one_test): Likewise.
3023 (do_test): Likewise.
3024 * string/test-strpbrk.c (do_one_test): Likewise.
3025 (do_test): Likewise.
3026 * string/test-strrchr.c (do_one_test): Likewise.
3027 (do_test): Likewise.
3028 * string/test-strspn.c (do_one_test): Likewise.
3029 (do_test): Likewise.
3030 * string/test-strstr.c (do_one_test): Likewise.
3031 (do_test): Likewise.
3033 * benchtests/Makefile (string-bench): Add string benchmarks.
3034 * benchtests/bench-bcopy-ifunc.c: New file.
3035 * benchtests/bench-bcopy.c: New file.
3036 * benchtests/bench-bzero-ifunc.c: New file.
3037 * benchtests/bench-bzero.c: New file.
3038 * benchtests/bench-memccpy-ifunc.c: New file.
3039 * benchtests/bench-memccpy.c: New file.
3040 * benchtests/bench-memchr-ifunc.c: New file.
3041 * benchtests/bench-memchr.c: New file.
3042 * benchtests/bench-memcmp-ifunc.c: New file.
3043 * benchtests/bench-memcmp.c: New file.
3044 * benchtests/bench-memmem-ifunc.c: New file.
3045 * benchtests/bench-memmem.c: New file.
3046 * benchtests/bench-memmove-ifunc.c: New file.
3047 * benchtests/bench-memmove.c: New file.
3048 * benchtests/bench-mempcpy-ifunc.c: New file.
3049 * benchtests/bench-mempcpy.c: New file.
3050 * benchtests/bench-memset-ifunc.c: New file.
3051 * benchtests/bench-memset.c: New file.
3052 * benchtests/bench-rawmemchr-ifunc.c: New file.
3053 * benchtests/bench-rawmemchr.c: New file.
3054 * benchtests/bench-stpcpy-ifunc.c: New file.
3055 * benchtests/bench-stpcpy.c: New file.
3056 * benchtests/bench-stpncpy-ifunc.c: New file.
3057 * benchtests/bench-stpncpy.c: New file.
3058 * benchtests/bench-strcasecmp-ifunc.c: New file.
3059 * benchtests/bench-strcasecmp.c: New file.
3060 * benchtests/bench-strcasestr-ifunc.c: New file.
3061 * benchtests/bench-strcasestr.c: New file.
3062 * benchtests/bench-strcat-ifunc.c: New file.
3063 * benchtests/bench-strcat.c: New file.
3064 * benchtests/bench-strchr-ifunc.c: New file.
3065 * benchtests/bench-strchr.c: New file.
3066 * benchtests/bench-strchrnul-ifunc.c: New file.
3067 * benchtests/bench-strchrnul.c: New file.
3068 * benchtests/bench-strcmp-ifunc.c: New file.
3069 * benchtests/bench-strcmp.c: New file.
3070 * benchtests/bench-strcpy-ifunc.c: New file.
3071 * benchtests/bench-strcpy.c: New file.
3072 * benchtests/bench-strcspn-ifunc.c: New file.
3073 * benchtests/bench-strcspn.c: New file.
3074 * benchtests/bench-strlen-ifunc.c: New file.
3075 * benchtests/bench-strlen.c: New file.
3076 * benchtests/bench-strncasecmp-ifunc.c: New file.
3077 * benchtests/bench-strncasecmp.c: New file.
3078 * benchtests/bench-strncat-ifunc.c: New file.
3079 * benchtests/bench-strncat.c: New file.
3080 * benchtests/bench-strncmp-ifunc.c: New file.
3081 * benchtests/bench-strncmp.c: New file.
3082 * benchtests/bench-strncpy-ifunc.c: New file.
3083 * benchtests/bench-strncpy.c: New file.
3084 * benchtests/bench-strnlen-ifunc.c: New file.
3085 * benchtests/bench-strnlen.c: New file.
3086 * benchtests/bench-strpbrk-ifunc.c: New file.
3087 * benchtests/bench-strpbrk.c: New file.
3088 * benchtests/bench-strrchr-ifunc.c: New file.
3089 * benchtests/bench-strrchr.c: New file.
3090 * benchtests/bench-strspn-ifunc.c: New file.
3091 * benchtests/bench-strspn.c: New file.
3092 * benchtests/bench-strstr-ifunc.c: New file.
3093 * benchtests/bench-strstr.c: New file.
3095 * benchtests/Makefile: Disable parallel execution of targets.
3096 (string-bench): Add memcpy.
3097 (benchset): New variable to store a list of benchmark sets.
3098 (bench-func): Renamed from bench.
3099 (bench-set): New target.
3100 (bench): Depend on bench-func and bench-set.
3101 * benchtests/README: Add section on benchmark sets.
3102 * benchtests/bench-memcpy-ifunc.c: New file.
3103 * benchtests/bench-memcpy.c: New file.
3104 * benchtests/bench-string.h: New file.
3106 2013-06-11 Andreas Schwab <schwab@suse.de>
3109 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3110 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3111 values in the triple.
3112 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3113 terminator in the group key.
3115 2013-06-11 Andreas Jaeger <aj@suse.de>
3117 * po/zh_TW.po: Update Chinese (traditional) translation from
3118 translation project.
3120 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3122 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3123 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3124 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3125 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3126 (clock_getcpuclockid): Likewise.
3127 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3128 Add weak_alias and libc_hidden_def.
3129 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3130 * rt/clock_gettime.c (clock_gettime): Rename to
3131 __clock_gettime. Add weak_alias and libc_hidden_def.
3132 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3133 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3134 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3135 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3136 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3138 * rt/clock_settime.c (clock_settime): Rename to
3139 __clock_settime. Add weak_alias and libc_hidden_def.
3140 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3142 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3144 * mach/err_boot.sub: Remove trailing whitespace.
3145 * mach/err_ipc.sub: Likewise.
3146 * mach/err_mach.sub: Likewise.
3148 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3149 (ROUNDING_TESTS_double): Likewise.
3150 (ROUNDING_TESTS_long_double): Likewise.
3151 (ROUNDING_TESTS): Likewise.
3152 * math/libm-test.inc: Include <math-tests.h>.
3153 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3154 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3155 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3156 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3158 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3160 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3163 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3165 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3166 otherwise empty TRANS lines.
3167 * sysdeps/gnu/errlist.c: Regenerated.
3169 * catgets/gencat.c (error_print): Use (void) in function
3171 * crypt/crypt_util.c (__init_des): Likewise.
3172 * crypt/speeds.c (Stop): Likewise.
3174 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3175 * inet/ruserpass.c (token): Likewise.
3176 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3177 * intl/localealias.c (extend_alias_table): Likewise.
3178 * intl/plural-exp.c (init_germanic_plural): Likewise.
3179 * libio/fcloseall.c (__fcloseall): Likewise.
3180 * libio/genops.c (_IO_flush_all): Likewise.
3181 (_IO_flush_all_linebuffered): Likewise.
3182 (_IO_cleanup): Likewise.
3183 (_IO_iter_begin): Likewise.
3184 (_IO_iter_end): Likewise.
3185 (_IO_list_lock): Likewise.
3186 (_IO_list_unlock): Likewise.
3187 (_IO_list_resetlock): Likewise.
3188 * libio/getchar.c (getchar): Likewise.
3189 * libio/getchar_u.c (getchar_unlocked): Likewise.
3190 * libio/getwchar.c (getwchar): Likewise.
3191 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3192 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3193 * login/getpt.c (__getpt): Likewise.
3194 * login/tst-utmp.c (main): Likewise.
3195 * malloc/hooks.c (__malloc_check_init): Likewise.
3196 * malloc/malloc.c (__malloc_stats): Likewise.
3197 * malloc/mtrace.c (tr_break): Likewise.
3199 (muntrace): Likewise.
3200 * misc/fstab.c (endfsent): Likewise.
3201 * misc/getclktck.c (__getclktck): Likewise.
3202 * misc/getdtsz.c (__getdtablesize): Likewise.
3203 * misc/gethostid.c (gethostid): Likewise.
3204 * misc/getpagesize.c (__getpagesize): Likewise.
3205 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3206 (__get_nprocs): Likewise.
3207 (__get_phys_pages): Likewise.
3208 (__get_avphys_pages): Likewise.
3209 * misc/getttyent.c (getttyent): Likewise.
3210 (setttyent): Likewise.
3211 (endttyent): Likewise.
3212 * misc/getusershell.c (getusershell): Likewise.
3213 (endusershell): Likewise.
3214 (setusershell): Likewise.
3215 (initshells): Likewise.
3216 * misc/hsearch.c (__hdestroy): Likewise.
3217 * misc/sync.c (sync): Likewise.
3218 * misc/syslog.c (closelog_internal): Likewise.
3219 (closelog): Likewise.
3220 * misc/ttyslot.c (ttyslot): Likewise.
3221 * misc/vhangup.c (vhangup): Likewise.
3222 * posix/fork.c (__fork): Likewise.
3223 * posix/getegid.c (__getegid): Likewise.
3224 * posix/geteuid.c (__geteuid): Likewise.
3225 * posix/getgid.c (__getgid): Likewise.
3226 * posix/getpid.c (__getpid): Likewise.
3227 * posix/getppid.c (__getppid): Likewise.
3228 * posix/getuid.c (__getuid): Likewise.
3229 * posix/pause.c (pause): Likewise.
3230 * posix/setpgrp.c (setpgrp): Likewise.
3231 * posix/setsid.c (__setsid): Likewise.
3232 * posix/test-vfork.c (noop): Likewise.
3233 * resolv/gethnamaddr.c (_endhtent): Likewise.
3234 (_gethtent): Likewise.
3235 (ht_endhostent): Likewise.
3236 (gethostent): Likewise.
3237 (dns_service): Likewise.
3238 * stdlib/drand48.c (drand48): Likewise.
3239 * stdlib/lrand48.c (lrand48): Likewise.
3240 * stdlib/mrand48.c (mrand48): Likewise.
3241 * stdlib/rand.c (rand): Likewise.
3242 * stdlib/random.c (__random): Likewise.
3243 * stdlib/setenv.c (clearenv): Likewise.
3244 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3245 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3246 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3247 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3248 (__get_nprocs): Likewise.
3249 (__get_phys_pages): Likewise.
3250 (__get_avphys_pages): Likewise.
3251 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3252 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3253 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3254 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3255 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3256 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3257 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3258 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3259 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3260 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3261 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3262 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3263 * sysdeps/posix/clock.c (clock): Likewise.
3264 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3265 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3266 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3267 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3268 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3269 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3270 (__get_nprocs_conf): Likewise.
3271 (__get_phys_pages): Likewise.
3272 (__get_avphys_pages): Likewise.
3273 * time/clock.c (clock): Likewise.
3274 * time/tzset.c (__tzname_max): Likewise.
3276 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3278 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3279 (__bswap_32): Do not use "register".
3280 * crypt/crypt.c (_ufc_doit_r): Likewise.
3281 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3282 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3283 * gmon/gmon.c (__monstartup): Likewise.
3284 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3285 * hurd/hurdmalloc.c (more_memory): Likewise.
3288 (realloc): Likewise.
3289 (malloc_fork_prepare): Likewise.
3290 (malloc_fork_parent): Likewise.
3291 (malloc_fork_child): Likewise.
3292 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3293 (_svcauth_des): Likewise.
3294 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3295 * inet/inet_net.c (inet_network): Likewise.
3296 * inet/inet_netof.c (inet_netof): Likewise.
3297 * inet/rcmd.c (__validuser2_sa): Likewise.
3298 * io/fts.c (fts_open): Likewise.
3299 (fts_load): Likewise.
3300 (fts_close): Likewise.
3301 (fts_read): Likewise.
3302 (fts_children): Likewise.
3303 (fts_build): Likewise.
3304 (fts_stat): Likewise.
3305 (fts_sort): Likewise.
3306 (fts_alloc): Likewise.
3307 (fts_lfree): Likewise.
3308 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3309 (_IO_file_xsgetn): Likewise.
3310 (_IO_file_xsgetn_mmap): Likewise.
3311 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3312 (_IO_cookie_write): Likewise.
3313 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3314 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3315 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3316 * malloc/obstack.c (_obstack_begin): Likewise.
3317 (_obstack_begin_1): Likewise.
3318 (_obstack_newchunk): Likewise.
3319 (_obstack_allocated_p): Likewise.
3320 (obstack_free): Likewise.
3321 (_obstack_memory_used): Likewise.
3322 * misc/getttyent.c (getttynam): Likewise.
3323 (getttyent): Likewise.
3326 * misc/getusershell.c (initshells): Likewise.
3327 * misc/syslog.c (__vsyslog_chk): Likewise.
3328 * misc/ttyslot.c (ttyslot): Likewise.
3329 * nis/nis_hash.c (__nis_hash): Likewise.
3330 * posix/fnmatch_loop.c (FCT): Likewise.
3331 * posix/getconf.c (print_all): Likewise.
3333 * posix/getopt.c (exchange): Likewise.
3334 * posix/glob.c (globfree): Likewise.
3335 (prefix_array): Likewise.
3336 (__glob_pattern_type): Likewise.
3337 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3338 (NS_GET32): Likewise.
3339 (NS_PUT16): Likewise.
3340 (NS_PUT32): Likewise.
3341 * resolv/gethnamaddr.c (getanswer): Likewise.
3342 (gethostbyname2): Likewise.
3343 (gethostbyaddr): Likewise.
3344 (_gethtent): Likewise.
3345 (_gethtbyname2): Likewise.
3346 (_gethtbyaddr): Likewise.
3347 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3348 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3349 * resolv/res_init.c (__res_vinit): Likewise.
3350 (net_mask): Likewise.
3351 * resolv/res_mkquery.c (outchar): Likewise.
3353 * stdio-common/printf_fp.c (outchar): Likewise.
3355 * stdio-common/printf_fphex.c (outchar): Likewise.
3357 * stdio-common/printf_size.c (outchar): Likewise.
3359 * stdio-common/test_rdwr.c (main): Likewise.
3360 * stdio-common/tfformat.c (matches): Likewise.
3361 * stdio-common/vfprintf.c (outchar): Likewise.
3362 (printf_unknown): Likewise.
3363 (buffered_vfprintf): Likewise.
3364 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3365 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3366 (ReadFile): Likewise.
3367 * stdlib/qsort.c (SWAP): Likewise.
3368 (_quicksort): Likewise.
3369 * stdlib/setenv.c (__add_to_environ): Likewise.
3370 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3371 * stdlib/strtol_l.c (__strtol_l): Likewise.
3372 * stdlib/tst-strtod.c (main): Likewise.
3373 * stdlib/tst-strtol.c (main): Likewise.
3374 * stdlib/tst-strtoll.c (main): Likewise.
3375 * string/bits/string2.h (__strcmp_cc): Likewise.
3376 (__strcmp_cg): Likewise.
3377 (__strcspn_c1): Likewise.
3378 (__strcspn_c2): Likewise.
3379 (__strcspn_c3): Likewise.
3380 (__strspn_c1): Likewise.
3381 (__strspn_c2): Likewise.
3382 (__strspn_c3): Likewise.
3383 (__strsep_1c): Likewise.
3384 (__strsep_2c): Likewise.
3385 (__strsep_3c): Likewise.
3386 * string/memccpy.c (__memccpy): Likewise.
3387 * string/stpcpy.c (__stpcpy): Likewise.
3388 * string/strcmp.c (strcmp): Likewise.
3389 * string/strrchr.c (strrchr): Likewise.
3390 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3392 * sysdeps/mach/hurd/getcwd.c
3393 (_hurd_canonicalize_directory_name_internal): Likewise.
3394 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3395 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3396 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3397 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3398 Likewise, in both definitions.
3399 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3401 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3402 64] (__bswap_64): Likewise.
3403 * time/test_time.c (main): Likewise.
3404 * time/tzfile.c (__tzfile_read): Likewise.
3405 (__tzfile_compute): Likewise.
3406 * time/tzset.c (__tzset_parse_tz): Likewise.
3407 (tzset_internal): Likewise.
3408 (compute_change): Likewise.
3409 * wcsmbs/wcscat.c (__wcscat): Likewise.
3410 * wcsmbs/wcschr.c (wcschr): Likewise.
3411 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3412 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3413 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3414 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3415 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3416 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3417 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3418 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3419 * wcsmbs/wmemset.c (wmemset): Likewise.
3421 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3423 * scripts/config.guess: Update to version 2013-05-16.
3424 * scripts/config.sub: Update to version 2013-04-24.
3425 * scripts/install-sh: Update to version 2011-11-20.07.
3426 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3427 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3429 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3431 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3432 * elf/sln.c: Likewise.
3433 * hurd/hurd/ioctl.h: Likewise.
3434 * hurd/hurdmalloc.c: Likewise.
3435 * hurd/xattr.c: Likewise.
3436 * include/shlib-compat.h: Likewise.
3437 * inet/ruserpass.c: Likewise.
3438 * libio/iofgets_u.c: Likewise.
3439 * libio/iofgetws_u.c: Likewise.
3440 * locale/programs/ld-identification.c: Likewise.
3441 * locale/programs/ld-time.c: Likewise.
3442 * mach/msg-destroy.c: Likewise.
3443 * nss/nss_files/files-netgrp.c: Likewise.
3444 * resolv/res_data.c: Likewise.
3445 * soft-fp/op-1.h: Likewise.
3446 * soft-fp/op-2.h: Likewise.
3447 * soft-fp/op-4.h: Likewise.
3448 * soft-fp/op-common.h: Likewise.
3449 * stdio-common/printf_fphex.c: Likewise.
3450 * stdlib/strtod_l.c: Likewise.
3451 * sunrpc/rpc/clnt.h: Likewise.
3452 * sysdeps/generic/framestate.c: Likewise.
3453 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3454 * sysdeps/i386/bsd-setjmp.S: Likewise.
3455 * sysdeps/i386/__longjmp.S: Likewise.
3456 * sysdeps/i386/setjmp.S: Likewise.
3457 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3458 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3459 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3460 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3461 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3462 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3463 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3464 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3465 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3466 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3467 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3468 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3469 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3470 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3471 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3472 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3473 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3474 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3475 * sysdeps/ieee754/support.c: Likewise.
3476 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3477 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3478 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3479 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3480 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3481 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3482 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3483 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3484 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3485 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3486 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3487 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3488 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3489 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3490 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3491 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3492 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3495 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3497 * posix/transbug.c: Remove executable mode.
3499 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3501 * crypt/speeds.c: Remove trailing whitespace.
3502 * dlfcn/default.c: Likewise.
3503 * elf/ifuncdep2.c: Likewise.
3504 * elf/ifuncmain1.c: Likewise.
3505 * elf/ifuncmain1vis.c: Likewise.
3506 * elf/testobj.h: Likewise.
3507 * elf/tst-stackguard1.c: Likewise.
3508 * gmon/sys/gmon.h: Likewise.
3509 * hurd/hurdmsg.c: Likewise.
3510 * hurd/new-fd.c: Likewise.
3511 * hurd/ports-get.c: Likewise.
3512 * iconvdata/ibm1008_420.c: Likewise.
3513 * inet/tst-getni1.c: Likewise.
3514 * inet/tst-getni2.c: Likewise.
3515 * libio/ioungetc.c: Likewise.
3516 * libio/wfiledoalloc.c: Likewise.
3517 * manual/libm-err-tab.pl: Likewise.
3518 * math/w_dremf.c: Likewise.
3519 * misc/ftruncate.c: Likewise.
3520 * posix/bug-glob2.c: Likewise.
3521 * posix/tst-pcre.c: Likewise.
3522 * posix/wait4.c: Likewise.
3523 * resolv/README: Likewise.
3524 * resolv/res_debug.h: Likewise.
3525 * resolv/tst-inet_ntop.c: Likewise.
3526 * setjmp/bug269-setjmp.c: Likewise.
3527 * soft-fp/extended.h: Likewise.
3528 * soft-fp/op-1.h: Likewise.
3529 * soft-fp/op-2.h: Likewise.
3530 * soft-fp/op-4.h: Likewise.
3531 * soft-fp/op-8.h: Likewise.
3532 * soft-fp/testit.c: Likewise.
3533 * stdio-common/bug16.c: Likewise.
3534 * stdlib/random.c: Likewise.
3535 * sunrpc/rpcsvc/rquota.x: Likewise.
3536 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3537 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3538 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3539 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3540 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3541 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3542 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3543 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3544 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3545 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3546 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3547 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3548 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3549 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3550 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3551 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3552 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3553 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3554 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3558 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3559 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3560 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3562 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3563 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3564 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3565 * sysdeps/ieee754/s_lib_version.c: Likewise.
3566 * sysdeps/mach/hurd/check_fds.c: Likewise.
3567 * sysdeps/mach/hurd/getsockname.c: Likewise.
3568 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3569 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3570 * sysdeps/powerpc/bits/link.h: Likewise.
3571 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3572 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3573 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3574 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3575 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3576 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3577 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3578 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3579 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3580 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3581 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3582 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3583 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3584 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3585 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3586 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3588 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3589 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3590 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3591 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3592 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3593 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3594 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3595 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3596 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3597 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3598 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3599 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3600 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3601 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3602 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3603 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3604 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3605 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3606 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3607 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3608 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3609 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3610 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3611 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3612 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3613 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3614 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3615 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3616 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3617 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3618 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3619 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3620 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3623 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3624 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3625 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3626 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3627 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3628 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3629 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3630 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3631 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3632 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3633 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3634 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3635 * sysdeps/powerpc/sysdep.h: Likewise.
3636 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3637 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3638 * sysdeps/sh/dl-trampoline.S: Likewise.
3639 * sysdeps/sh/memset.S: Likewise.
3640 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3641 * sysdeps/sh/strlen.S: Likewise.
3642 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3643 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3644 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3645 * sysdeps/sparc/sparc32/rem.S: Likewise.
3646 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3647 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3648 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3649 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3650 * sysdeps/sparc/sparc32/urem.S: Likewise.
3651 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3652 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3653 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3654 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3655 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3656 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3657 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3658 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3659 * sysdeps/unix/bsd/times.c: Likewise.
3660 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3661 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3665 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3666 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3667 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3668 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3669 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3670 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3671 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3672 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3673 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3674 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3675 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3676 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3677 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3678 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3679 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3680 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3681 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3682 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3683 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3684 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3685 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3686 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3687 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3688 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3689 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3690 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3691 * sysdeps/x86_64/strcspn.S: Likewise.
3693 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3695 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3696 generated file. Regenerate properly from gen-translit.pl.
3697 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3698 locale/C-translit.h.
3700 2013-06-05 Andreas Schwab <schwab@suse.de>
3703 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3704 week as 6 instead of -1.
3705 * time/tst-strptime.c (day_tests): Add test case.
3707 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3709 * sysdeps/generic/math_private.h
3710 (libc_feholdexcept_setround_53bit): Replace with
3711 libc_feholdsetround_53bit.
3712 (libc_feupdateenv_53bit): Replace with
3713 libc_feresetround_53bit.
3714 (SET_RESTORE_ROUND_53BIT): Adjust.
3716 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3718 * string/test-strchrnul.c: Add copyright header.
3720 * posix/tst-getaddrinfo4.c: Increase test timeout.
3722 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3725 * math/libm-test.inc (MAX_EXP): Remove
3727 (ulp): Use MIN_EXP - MANT_DIG.
3728 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3730 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3732 * po/be.po: Revert last change.
3733 * po/zh_CN.po: Likewise.
3734 * po/header.pot: Likewise.
3736 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3738 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3739 link-libc-deps to empty as target-specific variable.
3740 * Makerules (link-libc-args): New variable.
3741 (libc-for-link): Likewise.
3742 (link-libc-deps): Likewise.
3743 (lib%.so): Depend on $(link-libc-deps). Link with
3745 (build-module): Link with $(link-libc-args).
3746 (build-module-asneeded): Likewise.
3747 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3749 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3750 target-specific variable.
3751 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3752 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3753 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3755 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3757 ($(objpfx)libpcprofile.so): Likewise.
3758 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3760 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3761 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3762 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3764 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3765 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3766 * login/Makefile ($(objpfx)libutil.so): Likewise.
3767 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3768 * math/Makefile ($(objpfx)libm.so): Likewise.
3769 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3770 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3771 variable instead of depending directly on libc.
3772 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3773 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3775 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3777 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3778 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3779 ($(objpfx)libanl.so): Likewise.
3780 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3782 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3784 * sysdeps/i386/fpu/Makefile: Remove file.
3785 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3786 ($(objpfx)libm.so): Remove dependency on ld.so.
3788 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3791 * nis/yp_xdr.c (XDRMAXNAME): Define.
3792 (XDRMAXRECORD): Define.
3793 (xdr_domainname): Use XDRMAXNAME.
3794 (xdr_mapname): Likewise.
3795 (xdr_peername): Likewise.
3796 (xdr_keydat): Use XDRMAXRECORD.
3797 (xdr_valdat): Likewise.
3799 2013-05-30 Jeff Law <law@redhat.com>
3802 * manual/errno.texi (ESTALE): Update to account for more than
3803 just NFS file systems.
3804 * sysdeps/gnu/errlist.c: Regenerated.
3806 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3809 * elf/Makefile (tests): Add tst-null-argv.
3810 (modules-names): Add tst-null-argv-lib.
3811 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3812 (tst-null-argv-ENV): Set environment for tst-null-argv.
3813 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3814 (RTLD_PROGNAME): New macro.
3815 * elf/tst-null-argv.c: New test case.
3816 * elf/tst-null-argv-lib.c: Library for test case.
3817 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3818 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3819 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3820 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3821 * elf/dl-init.c (call_init): Likewise.
3822 (_dl_init): Likewise.
3823 * elf/dl-load.c (print_search_path): Likewise.
3824 (_dl_map_object): Likewise.
3825 * elf/dl-lookup.c (do_lookup_x): Likewise.
3826 (add_dependency): Likewise.
3827 (_dl_lookup_symbol_x): Likewise.
3828 (_dl_debug_bindings): Likewise.
3829 * elf/dl-open.c (_dl_show_scope): Likewise.
3830 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3831 * elf/dl-version.c (match_symbol): Likewise.
3832 (_dl_check_map_versions): Likewise.
3833 * elf/rtld.c (dl_main): Likewise.
3834 (print_unresolved): Use RTLD_PROGNAME.
3835 (print_missing_version): Likewise.
3836 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3837 (elf_machine_rela): Likewise.
3838 * sysdeps/powerpc/powerpc32/dl-machine.c
3839 (__process_machine_rela): Likewise.
3840 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3846 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3847 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3849 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3851 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3853 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3855 * po/be.po: Add descriptive title.
3856 * po/zh_CN.po: Likewise.
3857 * po/header.pot: Likewise.
3859 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3861 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3863 (enlarge_archive): Likewise.
3865 2013-05-28 Ben North <ben@redfrontdoor.org>
3867 * manual/arith.texi (frexp): It is the magnitude of the return
3868 value which lies in [0.5, 1), not the return value itself.
3870 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3874 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3876 * stdio-common/bug26.c (main): Correct fscanf template.
3878 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3879 declare _dl_skip_args.
3881 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3884 * manual/platform.texi: Add missing @end deftypefun.
3886 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3889 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3890 bit of mantissa of 2^16382.
3891 * math/libm-test.inc (hypot_test_data): Add more tests.
3893 * math/libm-test.inc: Add drem and pow10 to list of tested
3895 (pow10_test): New function.
3896 (drem_test): Likewise.
3897 (drem_test_tonearest): Likewise.
3898 (drem_test_towardzero): Likewise.
3899 (drem_test_downward): Likewise.
3900 (drem_test_upward): Likewise.
3901 (main): Call the new functions.
3903 * math/libm-test.inc (finite_test_data): Remove.
3904 (finite_test): Run tests from isfinite_test_data.
3905 (gamma_test_data): Remove.
3906 (gamma_test): Run tests from lgamma_test_data.
3907 * sysdeps/i386/fpu/libm-test-ulps: Update.
3908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3910 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912 * manual/platform.texi: Add PowerPC PPR function set documentation.
3913 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3916 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3918 * math/libm-test.inc (MAX_EXP): Define.
3920 (ulp): New function.
3921 (check_float_internal): Use ULPDIFF.
3922 (cpow_test): Disable failing test.
3923 (check_ulp): Test ulp() implemetnation.
3924 (main): Call check_ulp before starting tests.
3926 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3928 * math/gen-libm-test.pl (generate_testfile): Do not handle
3929 START_DATA and END_DATA.
3930 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3932 (acos_tonearest_test_data): Likewise.
3933 (acos_towardzero_test_data): Likewise.
3934 (acos_downward_test_data): Likewise.
3935 (acos_upward_test_data): Likewise.
3936 (acosh_test_data): Likewise.
3937 (asin_test_data): Likewise.
3938 (asin_tonearest_test_data): Likewise.
3939 (asin_towardzero_test_data): Likewise.
3940 (asin_downward_test_data): Likewise.
3941 (asin_upward_test_data): Likewise.
3942 (asinh_test_data): Likewise.
3943 (atan_test_data): Likewise.
3944 (atanh_test_data): Likewise.
3945 (atan2_test_data): Likewise.
3946 (cabs_test_data): Likewise.
3947 (cacos_test_data): Likewise.
3948 (cacosh_test_data): Likewise.
3949 (carg_test_data): Likewise.
3950 (casin_test_data): Likewise.
3951 (casinh_test_data): Likewise.
3952 (catan_test_data): Likewise.
3953 (catanh_test_data): Likewise.
3954 (cbrt_test_data): Likewise.
3955 (ccos_test_data): Likewise.
3956 (ccosh_test_data): Likewise.
3957 (ceil_test_data): Likewise.
3958 (cexp_test_data): Likewise.
3959 (cimag_test_data): Likewise.
3960 (clog_test_data): Likewise.
3961 (clog10_test_data): Likewise.
3962 (conj_test_data): Likewise.
3963 (copysign_test_data): Likewise.
3964 (cos_test_data): Likewise.
3965 (cos_tonearest_test_data): Likewise.
3966 (cos_towardzero_test_data): Likewise.
3967 (cos_downward_test_data): Likewise.
3968 (cos_upward_test_data): Likewise.
3969 (cosh_test_data): Likewise.
3970 (cosh_tonearest_test_data): Likewise.
3971 (cosh_towardzero_test_data): Likewise.
3972 (cosh_downward_test_data): Likewise.
3973 (cosh_upward_test_data): Likewise.
3974 (cpow_test_data): Likewise.
3975 (cproj_test_data): Likewise.
3976 (creal_test_data): Likewise.
3977 (csin_test_data): Likewise.
3978 (csinh_test_data): Likewise.
3979 (csqrt_test_data): Likewise.
3980 (ctan_test_data): Likewise.
3981 (ctan_tonearest_test_data): Likewise.
3982 (ctan_towardzero_test_data): Likewise.
3983 (ctan_downward_test_data): Likewise.
3984 (ctan_upward_test_data): Likewise.
3985 (ctanh_test_data): Likewise.
3986 (ctanh_tonearest_test_data): Likewise.
3987 (ctanh_towardzero_test_data): Likewise.
3988 (ctanh_downward_test_data): Likewise.
3989 (ctanh_upward_test_data): Likewise.
3990 (erf_test_data): Likewise.
3991 (erfc_test_data): Likewise.
3992 (exp_test_data): Likewise.
3993 (exp_tonearest_test_data): Likewise.
3994 (exp_towardzero_test_data): Likewise.
3995 (exp_downward_test_data): Likewise.
3996 (exp_upward_test_data): Likewise.
3997 (exp10_test_data): Likewise.
3998 (exp2_test_data): Likewise.
3999 (expm1_test_data): Likewise.
4000 (fabs_test_data): Likewise.
4001 (fdim_test_data): Likewise.
4002 (finite_test_data): Likewise.
4003 (floor_test_data): Likewise.
4004 (fma_test_data): Likewise.
4005 (fma_towardzero_test_data): Likewise.
4006 (fma_downward_test_data): Likewise.
4007 (fma_upward_test_data): Likewise.
4008 (fmax_test_data): Likewise.
4009 (fmin_test_data): Likewise.
4010 (fmod_test_data): Likewise.
4011 (fpclassify_test_data): Likewise.
4012 (frexp_test_data): Likewise.
4013 (gamma_test_data): Likewise.
4014 (hypot_test_data): Likewise.
4015 (ilogb_test_data): Likewise.
4016 (isfinite_test_data): Likewise.
4017 (isgreater_test_data): Likewise.
4018 (isgreaterequal_test_data): Likewise.
4019 (isinf_test_data): Likewise.
4020 (isless_test_data): Likewise.
4021 (islessequal_test_data): Likewise.
4022 (islessgreater_test_data): Likewise.
4023 (isnan_test_data): Likewise.
4024 (isnormal_test_data): Likewise.
4025 (issignaling_test_data): Likewise.
4026 (isunordered_test_data): Likewise.
4027 (j0_test_data): Likewise.
4028 (j1_test_data): Likewise.
4029 (jn_test_data): Likewise.
4030 (ldexp_test_data): Likewise.
4031 (lgamma_test_data): Likewise.
4032 (lrint_test_data): Likewise.
4033 (lrint_tonearest_test_data): Likewise.
4034 (lrint_towardzero_test_data): Likewise.
4035 (lrint_downward_test_data): Likewise.
4036 (lrint_upward_test_data): Likewise.
4037 (llrint_test_data): Likewise.
4038 (llrint_tonearest_test_data): Likewise.
4039 (llrint_towardzero_test_data): Likewise.
4040 (llrint_downward_test_data): Likewise.
4041 (llrint_upward_test_data): Likewise.
4042 (log_test_data): Likewise.
4043 (log10_test_data): Likewise.
4044 (log1p_test_data): Likewise.
4045 (log2_test_data): Likewise.
4046 (logb_test_data): Likewise.
4047 (logb_downward_test_data): Likewise.
4048 (lround_test_data): Likewise.
4049 (llround_test_data): Likewise.
4050 (modf_test_data): Likewise.
4051 (nearbyint_test_data): Likewise.
4052 (nextafter_test_data): Likewise.
4053 (nexttoward_test_data): Likewise.
4054 (pow_test_data): Likewise.
4055 (pow_tonearest_test_data): Likewise.
4056 (pow_towardzero_test_data): Likewise.
4057 (pow_downward_test_data): Likewise.
4058 (pow_upward_test_data): Likewise.
4059 (remainder_test_data): Likewise.
4060 (remainder_tonearest_test_data): Likewise.
4061 (remainder_towardzero_test_data): Likewise.
4062 (remainder_downward_test_data): Likewise.
4063 (remainder_upward_test_data): Likewise.
4064 (remquo_test_data): Likewise.
4065 (rint_test_data): Likewise.
4066 (rint_tonearest_test_data): Likewise.
4067 (rint_towardzero_test_data): Likewise.
4068 (rint_downward_test_data): Likewise.
4069 (rint_upward_test_data): Likewise.
4070 (round_test_data): Likewise.
4071 (scalb_test_data): Likewise.
4072 (scalbn_test_data): Likewise.
4073 (scalbln_test_data): Likewise.
4074 (signbit_test_data): Likewise.
4075 (sin_test_data): Likewise.
4076 (sin_tonearest_test_data): Likewise.
4077 (sin_towardzero_test_data): Likewise.
4078 (sin_downward_test_data): Likewise.
4079 (sin_upward_test_data): Likewise.
4080 (sincos_test_data): Likewise.
4081 (sinh_test_data): Likewise.
4082 (sinh_tonearest_test_data): Likewise.
4083 (sinh_towardzero_test_data): Likewise.
4084 (sinh_downward_test_data): Likewise.
4085 (sinh_upward_test_data): Likewise.
4086 (sqrt_test_data): Likewise.
4087 (tan_test_data): Likewise.
4088 (tan_tonearest_test_data): Likewise.
4089 (tan_towardzero_test_data): Likewise.
4090 (tan_downward_test_data): Likewise.
4091 (tan_upward_test_data): Likewise.
4092 (tanh_test_data): Likewise.
4093 (tgamma_test_data): Likewise.
4094 (trunc_test_data): Likewise.
4095 (y0_test_data): Likewise.
4096 (y1_test_data): Likewise.
4097 (yn_test_data): Likewise.
4098 (significand_test_data): Likewise.
4100 * math/gen-libm-test.pl (@functions): Remove variable.
4101 (generate_testfile): Don't handle START and END lines.
4102 * math/libm-test.inc (START): New macro.
4104 (END_COMPLEX): Likewise.
4105 (acos_test): Use END macro without arguments.
4106 (acos_test_tonearest): Likewise.
4107 (acos_test_towardzero): Likewise.
4108 (acos_test_downward): Likewise.
4109 (acos_test_upward): Likewise.
4110 (acosh_test): Likewise.
4111 (asin_test): Likewise.
4112 (asin_test_tonearest): Likewise.
4113 (asin_test_towardzero): Likewise.
4114 (asin_test_downward): Likewise.
4115 (asin_test_upward): Likewise.
4116 (asinh_test): Likewise.
4117 (atan_test): Likewise.
4118 (atanh_test): Likewise.
4119 (atan2_test): Likewise.
4120 (cabs_test): Likewise.
4121 (cacos_test): Use END_COMPLEX macro without arguments.
4122 (cacosh_test): Likewise.
4123 (carg_test): Use END macro without arguments.
4124 (casin_test): Use END_COMPLEX macro without arguments.
4125 (casinh_test): Likewise.
4126 (catan_test): Likewise.
4127 (catanh_test): Likewise.
4128 (cbrt_test): Use END macro without arguments.
4129 (ccos_test): Use END_COMPLEX macro without arguments.
4130 (ccosh_test): Likewise.
4131 (ceil_test): Use END macro without arguments.
4132 (cexp_test): Use END_COMPLEX macro without arguments.
4133 (cimag_test): Use END macro without arguments.
4134 (clog_test): Use END_COMPLEX macro without arguments.
4135 (clog10_test): Likewise.
4136 (conj_test): Likewise.
4137 (copysign_test): Use END macro without arguments.
4138 (cos_test): Likewise.
4139 (cos_test_tonearest): Likewise.
4140 (cos_test_towardzero): Likewise.
4141 (cos_test_downward): Likewise.
4142 (cos_test_upward): Likewise.
4143 (cosh_test): Likewise.
4144 (cosh_test_tonearest): Likewise.
4145 (cosh_test_towardzero): Likewise.
4146 (cosh_test_downward): Likewise.
4147 (cosh_test_upward): Likewise.
4148 (cpow_test): Use END_COMPLEX macro without arguments.
4149 (cproj_test): Likewise.
4150 (creal_test): Use END macro without arguments.
4151 (csin_test): Use END_COMPLEX macro without arguments.
4152 (csinh_test): Likewise.
4153 (csqrt_test): Likewise.
4154 (ctan_test): Likewise.
4155 (ctan_test_tonearest): Likewise.
4156 (ctan_test_towardzero): Likewise.
4157 (ctan_test_downward): Likewise.
4158 (ctan_test_upward): Likewise.
4159 (ctanh_test): Likewise.
4160 (ctanh_test_tonearest): Likewise.
4161 (ctanh_test_towardzero): Likewise.
4162 (ctanh_test_downward): Likewise.
4163 (ctanh_test_upward): Likewise.
4164 (erf_test): Use END macro without arguments.
4165 (erfc_test): Likewise.
4166 (exp_test): Likewise.
4167 (exp_test_tonearest): Likewise.
4168 (exp_test_towardzero): Likewise.
4169 (exp_test_downward): Likewise.
4170 (exp_test_upward): Likewise.
4171 (exp10_test): Likewise.
4172 (exp2_test): Likewise.
4173 (expm1_test): Likewise.
4174 (fabs_test): Likewise.
4175 (fdim_test): Likewise.
4176 (finite_test): Likewise.
4177 (floor_test): Likewise.
4178 (fma_test): Likewise.
4179 (fma_test_towardzero): Likewise.
4180 (fma_test_downward): Likewise.
4181 (fma_test_upward): Likewise.
4182 (fmax_test): Likewise.
4183 (fmin_test): Likewise.
4184 (fmod_test): Likewise.
4185 (fpclassify_test): Likewise.
4186 (frexp_test): Likewise.
4187 (gamma_test): Likewise.
4188 (hypot_test): Likewise.
4189 (ilogb_test): Likewise.
4190 (isfinite_test): Likewise.
4191 (isgreater_test): Likewise.
4192 (isgreaterequal_test): Likewise.
4193 (isinf_test): Likewise.
4194 (isless_test): Likewise.
4195 (islessequal_test): Likewise.
4196 (islessgreater_test): Likewise.
4197 (isnan_test): Likewise.
4198 (isnormal_test): Likewise.
4199 (issignaling_test): Likewise.
4200 (isunordered_test): Likewise.
4201 (j0_test): Likewise.
4202 (j1_test): Likewise.
4203 (jn_test): Likewise.
4204 (ldexp_test): Likewise.
4205 (lgamma_test): Likewise.
4206 (lrint_test): Likewise.
4207 (lrint_test_tonearest): Likewise.
4208 (lrint_test_towardzero): Likewise.
4209 (lrint_test_downward): Likewise.
4210 (lrint_test_upward): Likewise.
4211 (llrint_test): Likewise.
4212 (llrint_test_tonearest): Likewise.
4213 (llrint_test_towardzero): Likewise.
4214 (llrint_test_downward): Likewise.
4215 (llrint_test_upward): Likewise.
4216 (log_test): Likewise.
4217 (log10_test): Likewise.
4218 (log1p_test): Likewise.
4219 (log2_test): Likewise.
4220 (logb_test): Likewise.
4221 (logb_test_downward): Likewise.
4222 (lround_test): Likewise.
4223 (llround_test): Likewise.
4224 (modf_test): Likewise.
4225 (nearbyint_test): Likewise.
4226 (nextafter_test): Likewise.
4227 (nexttoward_test): Likewise.
4228 (pow_test): Likewise.
4229 (pow_test_tonearest): Likewise.
4230 (pow_test_towardzero): Likewise.
4231 (pow_test_downward): Likewise.
4232 (pow_test_upward): Likewise.
4233 (remainder_test): Likewise.
4234 (remainder_test_tonearest): Likewise.
4235 (remainder_test_towardzero): Likewise.
4236 (remainder_test_downward): Likewise.
4237 (remainder_test_upward): Likewise.
4238 (remquo_test): Likewise.
4239 (rint_test): Likewise.
4240 (rint_test_tonearest): Likewise.
4241 (rint_test_towardzero): Likewise.
4242 (rint_test_downward): Likewise.
4243 (rint_test_upward): Likewise.
4244 (round_test): Likewise.
4245 (scalb_test): Likewise.
4246 (scalbn_test): Likewise.
4247 (scalbln_test): Likewise.
4248 (signbit_test): Likewise.
4249 (sin_test): Likewise.
4250 (sin_test_tonearest): Likewise.
4251 (sin_test_towardzero): Likewise.
4252 (sin_test_downward): Likewise.
4253 (sin_test_upward): Likewise.
4254 (sincos_test): Likewise.
4255 (sinh_test): Likewise.
4256 (sinh_test_tonearest): Likewise.
4257 (sinh_test_towardzero): Likewise.
4258 (sinh_test_downward): Likewise.
4259 (sinh_test_upward): Likewise.
4260 (sqrt_test): Likewise.
4261 (tan_test): Likewise.
4262 (tan_test_tonearest): Likewise.
4263 (tan_test_towardzero): Likewise.
4264 (tan_test_downward): Likewise.
4265 (tan_test_upward): Likewise.
4266 (tanh_test): Likewise.
4267 (tgamma_test): Likewise.
4268 (trunc_test): Likewise.
4269 (y0_test): Likewise.
4270 (y1_test): Likewise.
4271 (yn_test): Likewise.
4272 (significand_test): Likewise.
4274 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4277 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4279 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4282 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4283 __ppc_mdoio and __ppc_mdoom.
4284 * manual/platform.texi: Document new functions __ppc_yield,
4285 __ppc_mdoio and __ppc_mdoom.
4287 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4289 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4290 (main): Mention "tls" pseudo-hwcap is legacy.
4291 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4293 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4295 * math/gen-libm-test.pl (parse_args): Output only string of
4296 arguments as text for test name, not full call or descriptions of
4297 tests for extra outputs.
4298 (generate_testfile): Do not pass function name to parse_args.
4299 Generate this_func variable from START.
4300 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4302 (struct test_ff_f_data): Likewise.
4303 (test_ff_f_data_nexttoward): Likewise.
4304 (struct test_fi_f_data): Likewise.
4305 (struct test_fl_f_data): Likewise.
4306 (struct test_if_f_data): Likewise.
4307 (struct test_fff_f_data): Likewise.
4308 (struct test_c_f_data): Likewise.
4309 (struct test_f_f1_data): Likewise. Remove field extra_name.
4310 (struct test_fF_f1_data): Likewise.
4311 (struct test_ffI_f1_data): Likewise.
4312 (struct test_c_c_data): Rename test_name field to arg_str.
4313 (struct test_cc_c_data): Likewise.
4314 (struct test_f_i_data): Likewise.
4315 (struct test_ff_i_data): Likewise.
4316 (struct test_f_l_data): Likewise.
4317 (struct test_f_L_data): Likewise.
4318 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4320 (COMMON_TEST_SETUP): New macro.
4321 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4322 (COMMON_TEST_CLEANUP): Likewise.
4323 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4324 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4326 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4327 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4329 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4330 (RUN_TEST_fff_f): Take argument string. Call new setup and
4332 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4333 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4335 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4336 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4338 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4339 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4341 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4342 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4344 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4345 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4347 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4348 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4350 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4351 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4353 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4354 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4356 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4357 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4359 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4360 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4362 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4363 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4365 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4366 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4368 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4369 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4371 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4372 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4374 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4375 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4377 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4379 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4381 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4382 to _sifields.sigfault.
4383 (si_addr_lsb): Define new macro.
4384 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4385 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4386 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4388 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4391 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4393 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4395 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4398 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4400 * math/gen-libm-test.pl (parse_args): Do not include expected
4401 result in test name.
4402 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4403 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4404 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4405 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4406 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4409 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4411 * benchtests/Makefile: Sort function entries.
4413 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4414 tanh, asinh, acosh, atanh.
4415 * benchtests/acos-inputs: New file.
4416 * benchtests/acosh-inputs: New file.
4417 * benchtests/asin-inputs: New file.
4418 * benchtests/asinh-inputs: New file.
4419 * benchtests/atanh-inputs: New file.
4420 * benchtests/cosh-inputs: New file.
4421 * benchtests/log-inputs: New file.
4422 * benchtests/sinh-inputs: New file.
4423 * benchtests/tanh-inputs: New file.
4425 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4428 * posix/tst-getaddrinfo4.c: New test.
4429 * posix/Makefile (tests): Add it.
4431 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4434 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4435 when no services were used.
4436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4437 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4439 2013-05-21 Andreas Schwab <schwab@suse.de>
4442 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4443 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4445 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4446 redundant variable declarations and reallocation of buffer when
4447 parsing as IPv6 address. Always set NSS status when called from
4448 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4449 buffer too small. Correct computation of needed size.
4450 * nss/Makefile (tests): Add test-digits-dots.
4451 * nss/test-digits-dots.c: New test.
4453 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4455 * benchtests/Makefile: Remove instructions for adding
4457 * benchtests/README: New file to explain how to execute and
4458 enhance the benchmark tests.
4460 2013-05-21 Andreas Schwab <schwab@suse.de>
4463 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4464 * setjmp/tst-sigsetjmp.c: New test.
4466 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4468 * sysdeps/x86_64/memset.S (memset): New implementation.
4469 (__bzero): Likewise.
4470 (__memset_tail): New function.
4472 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4474 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4475 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4476 __memcpy_sse2_unaligned ifunc selection.
4477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4478 Add memcpy-sse2-unaligned.S.
4479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4480 Add: __memcpy_sse2_unaligned.
4482 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4485 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4486 math_force_eval before restoring floating-point envrionment.
4487 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4488 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4490 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4492 (__nearbyintl): Use math_force_eval before restoring
4493 floating-point environment.
4494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4496 * math/gen-libm-test.pl (special_functions): Remove.
4497 (parse_args): Don't handle TEST_extra. Handle functions with no
4499 * math/libm-test.inc (struct test_sincos_data): Replace with
4500 struct test_fFF_11_data.
4501 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4502 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4503 (sincos_test_data): Change element type to struct
4504 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4505 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4506 RUN_TEST_LOOP_sincos.
4507 * math/README.libm-test: Don't mention special handling of
4508 individual functions.
4509 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4510 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4511 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4512 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4513 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4516 * math/gen-libm-test.pl (get_variable): Remove function.
4517 (parse_args): Don't show pointer parameters to call in test
4518 names. Use "extra output N" in test names for extra outputs
4519 rather than naming variables.
4521 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4524 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4525 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4526 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4528 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4530 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4533 * math/gen-libm-test.pl (@tests): Remove variable.
4535 (new_test): Remove function.
4536 (show_exceptions): New function.
4537 (special_functions): Use show_exceptions instead of new_test.
4538 (parse_args): Likewise.
4539 (generate_testfile): Pass only function name in generated call to
4540 print_max_error or print_complex_max_error.
4541 (get_ulps): Do not handle complex tests specially.
4542 (output_test): Rename to ...
4543 (get_all_ulps_for_test): ... this. Return a string rather than
4544 printing to a file. Require ulps to be present.
4545 (output_ulps): Generate arrays rather than #defines.
4546 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4547 (struct ulp_data): New type.
4548 (BUILD_COMPLEX_ULP): Remove macro.
4549 (compare_ulp_data): New function.
4550 (find_ulps): Likewise.
4551 (find_test_ulps): Likewise.
4552 (find_function_ulps): Likewise.
4553 (find_complex_function_ulps): Likewise.
4554 (print_max_error): Determine allowed ulps using
4556 (print_complex_max_error): Determine allowed ulps using
4557 find_complex_function_ulps.
4558 (check_float_internal): Determine max ulps using find_test_ulps.
4559 (check_float): Do not take max_ulp parameter. Update call to
4560 check_float_internal.
4561 (check_complex): Likewise.
4562 (check_int): Do not take max_ulp parameter.
4563 (check_long): Likewise.
4564 (check_bool): Likewise.
4565 (check_longlong): Likewise.
4566 (struct test_f_f_data): Remove max_ulp field.
4567 (struct test_ff_f_data): Likewise.
4568 (struct test_ff_f_data_nexttoward): Likewise.
4569 (struct test_fi_f_data): Likewise.
4570 (struct test_fl_f_data): Likewise.
4571 (struct test_if_f_data): Likewise.
4572 (struct test_fff_f_data): Likewise.
4573 (struct test_c_f_data): Likewise.
4574 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4575 (struct test_fF_f1_data): Likewise.
4576 (struct test_ffI_f1_data): Likewise.
4577 (struct test_c_c_data): Remove max_ulp field.
4578 (struct test_cc_c_data): Likewise.
4579 (struct test_f_i_data): Likewise.
4580 (struct test_ff_i_data): Likewise.
4581 (struct test_f_l_data): Likewise.
4582 (struct test_f_L_data): Likewise.
4583 (struct test_sincos_data): Likewise.
4584 (RUN_TEST_f_f): Do not handle ulps.
4585 (RUN_TEST_LOOP_f_f): Likewise.
4586 (RUN_TEST_2_f): Likewise.
4587 (RUN_TEST_LOOP_2_f): Likewise.
4588 (RUN_TEST_fff_f): Likewise.
4589 (RUN_TEST_LOOP_fff_f): Likewise.
4590 (RUN_TEST_c_f): Likewise.
4591 (RUN_TEST_LOOP_c_f): Likewise.
4592 (RUN_TEST_f_f1): Likewise.
4593 (RUN_TEST_LOOP_f_f1): Likewise.
4594 (RUN_TEST_fF_f1): Likewise.
4595 (RUN_TEST_LOOP_fF_f1): Likewise.
4596 (RUN_TEST_fI_f1): Likewise.
4597 (RUN_TEST_LOOP_fI_f1): Likewise.
4598 (RUN_TEST_ffI_f1): Likewise.
4599 (RUN_TEST_LOOP_ffI_f1): Likewise.
4600 (RUN_TEST_c_c): Likewise.
4601 (RUN_TEST_LOOP_c_c): Likewise.
4602 (RUN_TEST_cc_c): Likewise.
4603 (RUN_TEST_LOOP_cc_c): Likewise.
4604 (RUN_TEST_f_i): Likewise.
4605 (RUN_TEST_LOOP_f_i): Likewise.
4606 (RUN_TEST_f_i_tg): Likewise.
4607 (RUN_TEST_LOOP_f_i_tg): Likewise.
4608 (RUN_TEST_ff_i_tg): Likewise.
4609 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4610 (RUN_TEST_f_b): Likewise.
4611 (RUN_TEST_LOOP_f_b): Likewise.
4612 (RUN_TEST_f_b_tg): Likewise.
4613 (RUN_TEST_LOOP_f_b_tg): Likewise.
4614 (RUN_TEST_f_l): Likewise.
4615 (RUN_TEST_LOOP_f_l): Likewise.
4616 (RUN_TEST_f_L): Likewise.
4617 (RUN_TEST_LOOP_f_L): Likewise.
4618 (RUN_TEST_sincos): Likewise.
4619 (RUN_TEST_LOOP_sincos): Likewise.
4621 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4625 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4626 main case of finite arguments, set rounding mode to FE_TONEAREST
4627 and discard exceptions.
4628 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4630 (remainder_tonearest_test_data): New variable.
4631 (remainder_test_tonearest): New function.
4632 (remainder_towardzero_test_data): New variable.
4633 (remainder_test_towardzero): New function.
4634 (remainder_downward_test_data): New variable.
4635 (remainder_test_downward): New function.
4636 (remainder_upward_test_data): New variable.
4637 (remainder_test_upward): New function.
4638 (main): Call the new test functions.
4640 * math/libm-test.inc (struct test_f_f1_data): Remove field
4642 (struct test_fF_f1_data): Likewise.
4643 (struct test_ffI_f1_data): Likewise.
4644 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4645 based on value of EXTRA_EXPECTED.
4646 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4647 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4648 EXTRA_VAR based on value of EXTRA_EXPECTED.
4649 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4650 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4651 EXTRA_VAR based on value of EXTRA_EXPECTED.
4652 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4653 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4654 EXTRA_VAR based on value of EXTRA_EXPECTED.
4655 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4656 * math/gen-libm-test.pl (parse_args): Don't output initializers
4657 for extra output values.
4659 * math/libm-test.inc (check_int): Expect result to be exactly
4660 equal to expected value and do not handle ulps.
4661 (check_long): Likewise.
4662 (check_longlong): Likewise.
4664 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4666 (cimag_test_data): Likewise.
4667 (conj_test_data): Likewise.
4668 (copysign_test_data): Likewise.
4669 (cproj_test_data): Likewise.
4670 (creal_test_data): Likewise.
4671 (fabs_test_data): Likewise.
4672 (fdim_test_data): Likewise.
4673 (finite_test_data): Likewise.
4674 (floor_test_data): Likewise.
4675 (fmax_test_data): Likewise.
4676 (fmin_test_data): Likewise.
4677 (fmod_test_data): Likewise.
4678 (fpclassify_test_data): Likewise.
4679 (frexp_test_data): Likewise.
4680 (ilogb_test_data): Likewise.
4681 (isfinite_test_data): Likewise.
4682 (isgreater_test_data): Likewise.
4683 (isgreaterequal_test_data): Likewise.
4684 (isinf_test_data): Likewise.
4685 (isless_test_data): Likewise.
4686 (islessequal_test_data): Likewise.
4687 (islessgreater_test_data): Likewise.
4688 (isnan_test_data): Likewise.
4689 (isnormal_test_data): Likewise.
4690 (issignaling_test_data): Likewise.
4691 (isunordered_test_data): Likewise.
4692 (ldexp_test_data): Likewise.
4693 (lrint_test_data): Likewise.
4694 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4695 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4696 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4697 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4698 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4699 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4701 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4702 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4703 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4704 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4706 (lrint_downward_test_data): Test for "inexact" exceptions.
4707 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4708 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4709 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4711 (lrint_upward_test_data): Test for "inexact" exceptions.
4712 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4714 (llrint_test_data): Test for "inexact" exceptions.
4715 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4716 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4717 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4718 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4719 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4720 (llrint_downward_test_data): Test for "inexact" exceptions.
4721 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4722 (llrint_upward_test_data): Test for "inexact" exceptions.
4723 (logb_test_data): Likewise.
4724 (logb_downward_test_data): Likewise.
4725 (nextafter_test_data): Likewise.
4726 (nexttoward_test_data): Likewise.
4727 (remainder_test_data): Likewise.
4728 (remquo_test_data): Likewise.
4729 (scalbn_test_data): Likewise.
4730 (scalbln_test_data): Likewise.
4731 (signbit_test_data): Likewise.
4732 (sqrt_test_data): Likewise.
4733 (significand_test_data): Likewise.
4735 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4738 * benchtests/bench-modf.c (struct args): Mark arg0 as
4740 * scripts/bench.pl: Mark members of struct args as volatile.
4742 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4745 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4746 negative infinity on POWER6 or lower.
4747 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4749 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4752 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4753 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4754 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4755 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4756 (_FP_SETQNAN): New macro.
4757 (_FP_SETQNAN_SEMIRAW): Likewise.
4758 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4759 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4760 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4761 (FP_EXTEND): Use _FP_FRAC_SNANP.
4762 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4763 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4765 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4767 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4770 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4772 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4773 with DIVIDE_BY_ZERO_EXCEPTION.
4774 (gamma_test_data): Likewise.
4775 (lgamma_test_data): Likewise.
4776 (log_test_data): Likewise.
4777 (log10_test_data): Likewise.
4778 (log2_test_data): Likewise.
4779 (tgamma_test_data): Likewise.
4781 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4782 (acos_test_tonearest): Likewise.
4783 (acos_test_towardzero): Likewise.
4784 (acos_test_downward): Likewise.
4785 (acos_test_upward): Likewise.
4786 (acosh_test): Likewise.
4787 (asin_test): Likewise.
4788 (asin_test_tonearest): Likewise.
4789 (asin_test_towardzero): Likewise.
4790 (asin_test_downward): Likewise.
4791 (asin_test_upward): Likewise.
4792 (asinh_test): Likewise.
4793 (atan_test): Likewise.
4794 (atanh_test): Likewise.
4795 (atan2_test): Likewise.
4796 (cabs_test): Likewise.
4797 (cacos_test): Likewise.
4798 (cacosh_test): Likewise.
4799 (casin_test): Likewise.
4800 (casinh_test): Likewise.
4801 (catan_test): Likewise.
4802 (catanh_test): Likewise.
4803 (cbrt_test): Likewise.
4804 (ccos_test): Likewise.
4805 (ccosh_test): Likewise.
4806 (cexp_test): Likewise.
4807 (clog_test): Likewise.
4808 (clog10_test): Likewise.
4809 (cos_test): Likewise.
4810 (cos_test_tonearest): Likewise.
4811 (cos_test_towardzero): Likewise.
4812 (cos_test_downward): Likewise.
4813 (cos_test_upward): Likewise.
4814 (cosh_test): Likewise.
4815 (cosh_test_tonearest): Likewise.
4816 (cosh_test_towardzero): Likewise.
4817 (cosh_test_downward): Likewise.
4818 (cosh_test_upward): Likewise.
4819 (cpow_test): Likewise.
4820 (csin_test): Likewise.
4821 (csinh_test): Likewise.
4822 (csqrt_test): Likewise.
4823 (ctan_test): Likewise.
4824 (ctan_test_tonearest): Likewise.
4825 (ctan_test_towardzero): Likewise.
4826 (ctan_test_downward): Likewise.
4827 (ctan_test_upward): Likewise.
4828 (ctanh_test): Likewise.
4829 (ctanh_test_tonearest): Likewise.
4830 (ctanh_test_towardzero): Likewise.
4831 (ctanh_test_downward): Likewise.
4832 (ctanh_test_upward): Likewise.
4833 (erf_test): Likewise.
4834 (erfc_test): Likewise.
4835 (exp_test): Likewise.
4836 (exp_test_tonearest): Likewise.
4837 (exp_test_towardzero): Likewise.
4838 (exp_test_downward): Likewise.
4839 (exp_test_upward): Likewise.
4840 (exp10_test): Likewise.
4841 (exp2_test): Likewise.
4842 (expm1_test): Likewise.
4843 (fmod_test): Likewise.
4844 (gamma_test): Likewise.
4845 (hypot_test): Likewise.
4846 (j0_test): Likewise.
4847 (j1_test): Likewise.
4848 (jn_test): Likewise.
4849 (lgamma_test): Likewise.
4850 (log_test): Likewise.
4851 (log10_test): Likewise.
4852 (log1p_test): Likewise.
4853 (log2_test): Likewise.
4854 (logb_test_downward): Likewise.
4855 (pow_test): Likewise.
4856 (pow_test_tonearest): Likewise.
4857 (pow_test_towardzero): Likewise.
4858 (pow_test_downward): Likewise.
4859 (pow_test_upward): Likewise.
4860 (remainder_test): Likewise.
4861 (remquo_test): Likewise.
4862 (sin_test): Likewise.
4863 (sin_test_tonearest): Likewise.
4864 (sin_test_towardzero): Likewise.
4865 (sin_test_downward): Likewise.
4866 (sin_test_upward): Likewise.
4867 (sincos_test): Likewise.
4868 (sinh_test): Likewise.
4869 (sinh_test_tonearest): Likewise.
4870 (sinh_test_towardzero): Likewise.
4871 (sinh_test_downward): Likewise.
4872 (sinh_test_upward): Likewise.
4873 (sqrt_test): Likewise.
4874 (tan_test): Likewise.
4875 (tan_test_tonearest): Likewise.
4876 (tan_test_towardzero): Likewise.
4877 (tan_test_downward): Likewise.
4878 (tan_test_upward): Likewise.
4879 (tanh_test): Likewise.
4880 (tgamma_test): Likewise.
4881 (y0_test): Likewise.
4882 (y1_test): Likewise.
4883 (yn_test): Likewise.
4885 * math/gen-libm-test.pl (adjust_arg): Remove function.
4886 (special_function): Remove argument $in_func. Only handle
4887 generating output for tables of tests, not inside functions.
4888 (parse_args): Likewise.
4889 (generate_testfile): Remove variable $in_func. Update call to
4891 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4892 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4893 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4894 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4895 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4896 (MAX_VALUE_INIT): Rename macro to max_value.
4897 (MIN_VALUE_INIT): Rename macro to min_value.
4898 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4899 (plus_zero): Remove variable.
4900 (minus_zero): Likewise.
4901 (plus_infty): Likewise.
4902 (minus_infty): Likewise.
4903 (qnan_value): Likewise.
4904 (max_value): Likewise.
4905 (min_value): Likewise.
4906 (min_subnorm_value): Likewise.
4908 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4910 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4911 uint64_t or uint32_t usage.
4912 * crypt/sha256-block.c: Likewise.
4913 * crypt/sha256-crypt.c: Likewise.
4914 * crypt/sha256.c: Likewise.
4915 * crypt/sha512-block.c: Likewise.
4916 * crypt/sha512-crypt.c: Likewise.
4917 * crypt/sha512.c: Likewise.
4918 * debug/backtrace-tst.c: Likewise.
4919 * debug/pcprofiledump.c: Likewise.
4920 * elf/cache.c: Likewise.
4921 * elf/dl-cache.c: Likewise.
4922 * elf/dl-misc.c: Likewise.
4923 * elf/dl-profile.c: Likewise.
4924 * elf/dl-support.c: Likewise.
4925 * elf/ldconfig.c: Likewise.
4926 * elf/sprof.c: Likewise.
4927 * iconv/dummy-repertoire.c: Likewise.
4928 * iconv/iconv_charmap.c: Likewise.
4929 * iconv/skeleton.c: Likewise.
4930 * iconvdata/8bit-generic.c: Likewise.
4931 * iconvdata/cp737.h: Likewise.
4932 * iconvdata/cp775.h: Likewise.
4933 * iconvdata/ibm1008.h: Likewise.
4934 * iconvdata/ibm1025.h: Likewise.
4935 * iconvdata/ibm1046.h: Likewise.
4936 * iconvdata/ibm1097.h: Likewise.
4937 * iconvdata/ibm1112.h: Likewise.
4938 * iconvdata/ibm1122.h: Likewise.
4939 * iconvdata/ibm1123.h: Likewise.
4940 * iconvdata/ibm1124.h: Likewise.
4941 * iconvdata/ibm1129.h: Likewise.
4942 * iconvdata/ibm1130.h: Likewise.
4943 * iconvdata/ibm1132.h: Likewise.
4944 * iconvdata/ibm1133.h: Likewise.
4945 * iconvdata/ibm1137.h: Likewise.
4946 * iconvdata/ibm1140.h: Likewise.
4947 * iconvdata/ibm1141.h: Likewise.
4948 * iconvdata/ibm1142.h: Likewise.
4949 * iconvdata/ibm1143.h: Likewise.
4950 * iconvdata/ibm1144.h: Likewise.
4951 * iconvdata/ibm1145.h: Likewise.
4952 * iconvdata/ibm1146.h: Likewise.
4953 * iconvdata/ibm1147.h: Likewise.
4954 * iconvdata/ibm1148.h: Likewise.
4955 * iconvdata/ibm1149.h: Likewise.
4956 * iconvdata/ibm1153.h: Likewise.
4957 * iconvdata/ibm1154.h: Likewise.
4958 * iconvdata/ibm1155.h: Likewise.
4959 * iconvdata/ibm1156.h: Likewise.
4960 * iconvdata/ibm1157.h: Likewise.
4961 * iconvdata/ibm1158.h: Likewise.
4962 * iconvdata/ibm1160.h: Likewise.
4963 * iconvdata/ibm1161.h: Likewise.
4964 * iconvdata/ibm1162.h: Likewise.
4965 * iconvdata/ibm1163.h: Likewise.
4966 * iconvdata/ibm1164.h: Likewise.
4967 * iconvdata/ibm1166.h: Likewise.
4968 * iconvdata/ibm1167.h: Likewise.
4969 * iconvdata/ibm12712.h: Likewise.
4970 * iconvdata/ibm1390.h: Likewise.
4971 * iconvdata/ibm1399.h: Likewise.
4972 * iconvdata/ibm16804.h: Likewise.
4973 * iconvdata/ibm4517.h: Likewise.
4974 * iconvdata/ibm4899.h: Likewise.
4975 * iconvdata/ibm4909.h: Likewise.
4976 * iconvdata/ibm4971.h: Likewise.
4977 * iconvdata/ibm5347.h: Likewise.
4978 * iconvdata/ibm803.h: Likewise.
4979 * iconvdata/ibm856.h: Likewise.
4980 * iconvdata/ibm901.h: Likewise.
4981 * iconvdata/ibm902.h: Likewise.
4982 * iconvdata/ibm9030.h: Likewise.
4983 * iconvdata/ibm9066.h: Likewise.
4984 * iconvdata/ibm921.h: Likewise.
4985 * iconvdata/ibm922.h: Likewise.
4986 * iconvdata/ibm9448.h: Likewise.
4987 * iconvdata/isiri-3342.h: Likewise.
4988 * iconvdata/jis0201.h: Likewise.
4989 * include/link.h: Likewise.
4990 * include/netdb.h: Likewise.
4991 * inet/check_native.c: Likewise.
4992 * inet/check_pf.c: Likewise.
4993 * inet/getipv4sourcefilter.c: Likewise.
4994 * inet/getnameinfo.c: Likewise.
4995 * inet/getsourcefilter.c: Likewise.
4996 * inet/htonl.c: Likewise.
4997 * inet/setipv4sourcefilter.c: Likewise.
4998 * inet/setsourcefilter.c: Likewise.
4999 * inet/test-inet6_opt.c: Likewise.
5000 * inet/tst-network.c: Likewise.
5001 * locale/C-collate.c: Likewise.
5002 * locale/C-ctype.c: Likewise.
5003 * locale/C-time.c: Likewise.
5004 * locale/C-translit.h: Likewise.
5005 * locale/loadarchive.c: Likewise.
5006 * locale/programs/3level.h: Likewise.
5007 * locale/programs/charmap.c: Likewise.
5008 * locale/programs/charmap.h: Likewise.
5009 * locale/programs/ld-address.c: Likewise.
5010 * locale/programs/ld-collate.c: Likewise.
5011 * locale/programs/ld-ctype.c: Likewise.
5012 * locale/programs/ld-identification.c: Likewise.
5013 * locale/programs/ld-measurement.c: Likewise.
5014 * locale/programs/ld-messages.c: Likewise.
5015 * locale/programs/ld-monetary.c: Likewise.
5016 * locale/programs/ld-name.c: Likewise.
5017 * locale/programs/ld-numeric.c: Likewise.
5018 * locale/programs/ld-paper.c: Likewise.
5019 * locale/programs/ld-telephone.c: Likewise.
5020 * locale/programs/ld-time.c: Likewise.
5021 * locale/programs/linereader.c: Likewise.
5022 * locale/programs/locale.c: Likewise.
5023 * locale/programs/locarchive.c: Likewise.
5024 * locale/programs/locfile.h: Likewise.
5025 * locale/programs/repertoire.c: Likewise.
5026 * locale/programs/simple-hash.c: Likewise.
5027 * locale/programs/simple-hash.h: Likewise.
5028 * malloc/memusage.c: Likewise.
5029 * malloc/memusagestat.c: Likewise.
5030 * nis/nis_defaults.c: Likewise.
5031 * nis/nis_hash.c: Likewise.
5032 * nis/nis_print.c: Likewise.
5033 * nis/nis_xdr.c: Likewise.
5034 * nscd/connections.c: Likewise.
5035 * nscd/hstcache.c: Likewise.
5036 * nscd/nscd_gethst_r.c: Likewise.
5037 * nscd/nscd_getserv_r.c: Likewise.
5038 * nscd/nscd_helper.c: Likewise.
5039 * nscd/servicescache.c: Likewise.
5040 * nss/makedb.c: Likewise.
5041 * nss/nss_db/db-XXX.c: Likewise.
5042 * nss/nss_db/db-initgroups.c: Likewise.
5043 * nss/nss_db/db-netgrp.c: Likewise.
5044 * nss/nss_files/files-network.c: Likewise.
5045 * nss/nss_files/files-parse.c: Likewise.
5046 * posix/bug-regex5.c: Likewise.
5047 * posix/fnmatch_loop.c: Likewise.
5048 * posix/regcomp.c: Likewise.
5049 * posix/regexec.c: Likewise.
5050 * posix/tst-rfc3484-2.c: Likewise.
5051 * posix/tst-rfc3484-3.c: Likewise.
5052 * posix/tst-rfc3484.c: Likewise.
5053 * resolv/nss_dns/dns-canon.c: Likewise.
5054 * resolv/nss_dns/dns-network.c: Likewise.
5055 * resolv/res_init.c: Likewise.
5056 * resolv/res_mkquery.c: Likewise.
5057 * resolv/tst-aton.c: Likewise.
5058 * stdlib/cxa_atexit.c: Likewise.
5059 * stdlib/cxa_finalize.c: Likewise.
5060 * stdlib/gen-fpioconst.c: Likewise.
5061 * stdlib/strtol_l.c: Likewise.
5062 * string/tst-endian.c: Likewise.
5063 * sunrpc/auth_des.c: Likewise.
5064 * sunrpc/clnt_udp.c: Likewise.
5065 * sunrpc/rtime.c: Likewise.
5066 * sunrpc/svcauth_des.c: Likewise.
5067 * sunrpc/xdr.c: Likewise.
5068 * sunrpc/xdr_intXX_t.c: Likewise.
5069 * sunrpc/xdr_rec.c: Likewise.
5070 * sysdeps/generic/ldconfig.h: Likewise.
5071 * sysdeps/generic/ldsodefs.h: Likewise.
5072 * sysdeps/generic/memusage.h: Likewise.
5073 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5074 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5075 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5077 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5081 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5083 * sysdeps/posix/getaddrinfo.c: Likewise.
5084 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5085 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5086 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5087 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5088 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5089 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5090 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5091 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5092 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5093 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5094 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5095 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5096 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5097 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5098 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5099 * sysdeps/x86_64/dl-tls.h: Likewise.
5100 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5101 * time/alt_digit.c: Likewise.
5102 * time/era.c: Likewise.
5103 * wcsmbs/tst-c16c32-1.c: Likewise.
5105 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5107 * math/libm-test.inc (struct test_sincos_data): New type.
5108 (RUN_TEST_LOOP_sincos): New macro.
5109 (sincos_test_data): New variable.
5110 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5112 2013-05-16 Richard Henderson <rth@redhat.com>
5114 * math/atest-exp2.c (LIMB64): New macro.
5115 (CONSTSZ): New macro.
5116 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5118 (print_mpn_fp): ... to function scope.
5119 (read_mpn_hex): Remove.
5121 (exp2_mpn): Use mp_log2.
5122 (main): Use mp_exp1.
5124 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5126 * math/libm-test.inc: Remove comment about not testing "inexact"
5128 (INEXACT_EXCEPTION): New macro.
5129 (NO_INEXACT_EXCEPTION): Likewise.
5130 (INVALID_EXCEPTION_OK): Update value.
5131 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5132 (OVERFLOW_EXCEPTION_OK): Likewise.
5133 (UNDERFLOW_EXCEPTION_OK): Likewise.
5134 (IGNORE_ZERO_INF_SIGN): Likewise.
5135 (ERRNO_UNCHANGED): Likewise.
5136 (ERRNO_EDOM): Likewise.
5137 (ERRNO_ERANGE): Likewise.
5138 (test_exceptions): Handle testing "inexact" exceptions.
5139 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5140 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5141 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5142 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5144 (rint_towardzero_test_data): Likewise.
5145 (rint_downward_test_data): Likewise.
5146 (rint_upward_test_data): Likewise.
5148 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5149 with OVERFLOW_EXCEPTION.
5150 (exp10_test_data): Likewise.
5151 (exp2_test_data): Likewise.
5152 (expm1_test_data): Likewise.
5153 (lgamma_test_data): Likewise.
5154 (pow_test_data): Likewise.
5155 (tgamma_test_data): Likewise.
5156 (yn_test_data): Remove duplicate test of overflow.
5158 * math/libm-test.inc (struct test_cc_c_data): New type.
5159 (RUN_TEST_LOOP_cc_c): New macro.
5160 (cpow_test_data): New variable.
5161 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5163 * math/libm-test.inc (struct test_f_L_data): New type.
5164 (RUN_TEST_LOOP_f_L): New macro.
5165 (llrint_test_data): New variable.
5166 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5167 (llrint_tonearest_test_data): New variable.
5168 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5169 (llrint_towardzero_test_data): New variable.
5170 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5171 (llrint_downward_test_data): New variable.
5172 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5173 (llrint_upward_test_data): New variable.
5174 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5175 (llround_test_data): New variable.
5176 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5178 2013-05-13 Peter Collingbourne <pcc@google.com>
5180 * math/atest-exp2.c (get_log2): Remove const attribute.
5182 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5184 * math/libm-test.inc (struct test_f_l_data): New type.
5185 (RUN_TEST_LOOP_f_l): New macro.
5186 (lrint_test_data): New variable.
5187 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5188 (lrint_tonearest_test_data): New variable.
5189 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5190 (lrint_towardzero_test_data): New variable.
5191 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5192 (lrint_downward_test_data): New variable.
5193 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5194 (lrint_upward_test_data): New variable.
5195 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5196 (lround_test_data): New variable.
5197 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5199 2013-05-15 Peter Collingbourne <pcc@google.com>
5201 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5202 (EXTRACT_WORDS64) Use where appropriate.
5203 (INSERT_WORDS64) Likewise.
5205 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5206 constraints with x constraints.
5207 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5209 * malloc/obstack.c (_obstack_compat): Add initializer.
5211 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5213 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5214 si_trapno and add si_addr_lsb to _sifields.sigfault.
5215 (si_trapno): Remove macro.
5216 (si_addr_lsb): Define new macro.
5217 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5219 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5221 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5222 instead of TEST_f_l.
5223 (llrint_test_tonearest): Likewise.
5224 (llrint_test_towardzero): Likewise.
5225 (llrint_test_downward): Likewise.
5226 (llrint_test_upward): Likewise.
5227 (llround_test): Likewise.
5229 * math/libm-test.inc (struct test_f_i_data): Add comment.
5230 (RUN_TEST_LOOP_f_b): New macro.
5231 (RUN_TEST_LOOP_f_b_tg): Likewise.
5232 (finite_test_data): New variable.
5233 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5234 (isfinite_test_data): New variable.
5235 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5236 (isinf_test_data): New variable.
5237 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5238 (isnan_test_data): New variable.
5239 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5240 (isnormal_test_data): New variable.
5241 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5242 (issignaling_test_data): New variable.
5243 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5244 (signbit_test_data): New variable.
5245 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5247 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5248 with INVALID_EXCEPTION.
5249 (acosh_test_data): Likewise.
5250 (asin_test_data): Likewise.
5251 (atanh_test_data): Likewise.
5252 (fmod_test_data): Likewise.
5253 (log_test_data): Likewise.
5254 (log10_test_data): Likewise.
5255 (log2_test_data): Likewise.
5256 (pow_test_data): Likewise.
5257 (sqrt_test_data): Likewise.
5258 (y0_test_data): Likewise.
5259 (y1_test_data): Likewise.
5260 (yn_test_data): Likewise.
5262 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5265 * math/libm-test.inc (struct test_ff_i_data): New type.
5266 (RUN_TEST_LOOP_ff_i_tg): New macro.
5267 (isgreater_test_data): New variable.
5268 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5269 (isgreaterequal_test_data): New variable.
5270 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5271 (isless_test_data): New variable.
5272 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5273 (islessequal_test_data): New variable.
5274 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5275 (islessgreater_test_data): New variable.
5276 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5277 (isunordered_test_data): New variable.
5278 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5280 2013-05-14 David S. Miller <davem@davemloft.net>
5282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5284 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5286 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5288 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5290 (struct test_f_i_data): Change type of max_ulp to int.
5292 * math/libm-test.inc (test_ffI_f1_data): New type.
5293 (RUN_TEST_LOOP_ffI_f1): New macro.
5294 (remquo_test_data): New variable.
5295 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5297 * setjmp/tst-setjmp-fp.c: New file.
5298 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5299 (link-libm): New variable.
5300 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5302 * math/libm-test.inc (struct test_f_i_data): New type.
5303 (RUN_TEST_LOOP_f_i): New macro.
5304 (RUN_TEST_LOOP_f_i_tg): Likewise.
5305 (fpclassify_test_data): New variable.
5306 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5307 (ilogb_test_data): New variable.
5308 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5310 * math/libm-test.inc (scalbln_test): Correct function name in END
5313 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5314 (RUN_TEST_LOOP_fI_f1): New macro.
5315 (frexp_test_data): New variable.
5316 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5318 * math/libm-test.inc (struct test_fF_f1_data): New type.
5319 (RUN_TEST_LOOP_fF_f1): New macro.
5320 (modf_test_data): New variable.
5321 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5323 * math/libm-test.inc (struct test_f_f1_data): New type.
5324 (RUN_TEST_LOOP_f_f1): New macro.
5325 (gamma_test_data): New variable.
5326 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5327 (lgamma_test_data): New variable.
5328 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5330 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5332 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5333 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5334 (main): Comment "tls" pseudo-hwcap.
5336 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5338 * math/libm-test.inc (struct test_fl_f_data): New type.
5339 (RUN_TEST_LOOP_fl_f): New variable.
5340 (scalbln_test_data): New variable.
5341 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5343 * math/libm-test.inc (struct test_fi_f_data): New type.
5344 (RUN_TEST_LOOP_fi_f): New macro.
5345 (ldexp_test_data): New variable.
5346 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5347 (scalbn_test_data): New variable.
5348 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5350 * math/libm-test.inc (struct test_c_f_data): New type.
5351 (RUN_TEST_LOOP_c_f): New macro.
5352 (cabs_test_data): New variable.
5353 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5354 (carg_test_data): New variable.
5355 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5356 (cimag_test_data): New variable.
5357 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5358 (creal_test_data): New variable.
5359 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5361 * math/libm-test.inc (struct test_if_f_data): New type.
5362 (RUN_TEST_LOOP_if_f): New macro.
5363 (jn_test_data): New variable.
5364 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5365 (yn_test_data): New variable.
5366 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5368 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5370 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5372 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5373 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5375 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5377 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5378 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5379 (bench-deps): Add bench-timing.h.
5380 * benchtests-bench-skeleton.c: Include bench-timing.h.
5381 (main): Use TIMING_* macros instead of clock_gettime.
5382 * benchtests/bench-timing.h: New file.
5385 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5386 Renamed from _LIB_VERSION.
5387 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5389 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5391 * math/libm-test.inc (struct test_fff_f_data): New type.
5392 (RUN_TEST_LOOP_fff_f): New macro.
5393 (fma_test_data): New variable.
5394 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5395 (fma_towardzero_test_data): New variable.
5396 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5397 (fma_downward_test_data): New variable.
5398 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5399 (fma_upward_test_data): New variable.
5400 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5402 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5403 (struct test_c_c_data): New type.
5404 (RUN_TEST_LOOP_c_c): New macro.
5405 (cacos_test_data): New variable.
5406 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5407 (cacosh_test_data): New variable.
5408 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5409 (casin_test_data): New variable.
5410 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5411 (casinh_test_data): New variable.
5412 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5413 (catan_test_data): New variable.
5414 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5415 (catanh_test_data): New variable.
5416 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5417 (ccos_test_data): New variable.
5418 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5419 (ccosh_test_data): New variable.
5420 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5421 (cexp_test_data): New variable.
5422 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5423 (clog_test_data): New variable.
5424 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5425 (clog10_test_data): New variable.
5426 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5427 (conj_test_data): New variable.
5428 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5429 (cproj_test_data): New variable.
5430 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5431 (csin_test_data): New variable.
5432 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5433 (csinh_test_data): New variable.
5434 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5435 (csqrt_test_data): New variable.
5436 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5437 (ctan_test_data): New variable.
5438 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5439 (ctan_tonearest_test_data): New variable.
5440 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5441 (ctan_towardzero_test_data): New variable.
5442 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5443 (ctan_downward_test_data): New variable.
5444 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5445 (ctan_upward_test_data): New variable.
5446 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5447 (ctanh_test_data): New variable.
5448 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5449 (ctanh_tonearest_test_data): New variable.
5450 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5451 (ctanh_towardzero_test_data): New variable.
5452 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5453 (ctanh_downward_test_data): New variable.
5454 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5455 (ctanh_upward_test_data): New variable.
5456 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5457 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5460 * math/libm-test.inc (struct test_ff_f_data): New type.
5461 (struct test_ff_f_data_nexttoward): Likewise.
5462 (RUN_TEST_LOOP_2_f): New macro.
5463 (RUN_TEST_LOOP_ff_f): Likewise.
5464 (atan2_test_data): New variable.
5465 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5466 (copysign_test_data): New variable.
5467 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5468 (fdim_test_data): New variable.
5469 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5470 (fmax_test_data): New variable.
5471 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5472 (fmin_test_data): New variable.
5473 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5474 (fmod_test_data): New variable.
5475 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5476 (hypot_test_data): New variable.
5477 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5478 (nextafter_test_data): New variable.
5479 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5480 (nexttoward_test_data): New variable.
5481 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5482 (pow_test_data): New variable.
5483 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5484 (pow_tonearest_test_data): New variable.
5485 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5486 (pow_towardzero_test_data): New variable.
5487 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5488 (pow_downward_test_data): New variable.
5489 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5490 (pow_upward_test_data): New variable.
5491 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5492 (remainder_test_data): New variable.
5493 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5494 (scalb_test_data): New variable.
5495 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5496 * sysdeps/i386/fpu/libm-test-ulps: Update.
5498 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5500 * math/libm-test.inc (fma_test): Use max_value instead of local
5502 (nextafter_test): Likewise.
5504 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5505 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5506 (acos_downward_test_data): New variable.
5507 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5508 (acos_upward_test_data): New variable.
5509 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5510 (acosh_test_data): New variable.
5511 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5512 (asin_test_data): New variable.
5513 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5514 (asin_tonearest_test_data): New variable.
5515 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5516 (asin_towardzero_test_data): New variable.
5517 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5518 (asin_downward_test_data): New variable.
5519 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5520 (asin_upward_test_data): New variable.
5521 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5522 (asinh_test_data): New variable.
5523 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5524 (atan_test_data): New variable.
5525 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5526 (atanh_test_data): New variable.
5527 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5528 (cbrt_test_data): New variable.
5529 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5530 (ceil_test_data): New variable.
5531 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5532 (cos_test_data): New variable.
5533 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5534 (cos_tonearest_test_data): New variable.
5535 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5536 (cos_towardzero_test_data): New variable.
5537 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5538 (cos_downward_test_data): New variable.
5539 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5540 (cos_upward_test_data): New variable.
5541 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5542 (cosh_test_data): New variable.
5543 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5544 (cosh_tonearest_test_data): New variable.
5545 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5546 (cosh_towardzero_test_data): New variable.
5547 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5548 (cosh_downward_test_data): New variable.
5549 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5550 (cosh_upward_test_data): New variable.
5551 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5552 (erf_test_data): New variable.
5553 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5554 (erfc_test_data): New variable.
5555 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5556 (exp_test_data): New variable.
5557 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5558 (exp_tonearest_test_data): New variable.
5559 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5560 (exp_towardzero_test_data): New variable.
5561 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5562 (exp_downward_test_data): New variable.
5563 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5564 (exp_upward_test_data): New variable.
5565 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5566 (exp10_test_data): New variable.
5567 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5568 (exp2_test_data): New variable.
5569 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5570 (expm1_test_data): New variable.
5571 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5572 (fabs_test_data): New variable.
5573 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5574 (floor_test_data): New variable.
5575 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5576 (j0_test_data): New variable.
5577 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5578 (j1_test_data): New variable.
5579 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5580 (log_test_data): New variable.
5581 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5582 (log10_test_data): New variable.
5583 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5584 (log1p_test_data): New variable.
5585 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5586 (log2_test_data): New variable.
5587 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5588 (logb_test_data): New variable.
5589 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5590 (logb_downward_test_data): New variable.
5591 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5592 (nearbyint_test_data): New variable.
5593 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5594 (rint_test_data): New variable.
5595 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5596 (rint_tonearest_test_data): New variable.
5597 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5598 (rint_towardzero_test_data): New variable.
5599 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5600 (rint_downward_test_data): New variable.
5601 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5602 (rint_upward_test_data): New variable.
5603 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5604 (round_test_data): New variable.
5605 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5606 (sin_test_data): New variable.
5607 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5608 (sin_tonearest_test_data): New variable.
5609 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5610 (sin_towardzero_test_data): New variable.
5611 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5612 (sin_downward_test_data): New variable.
5613 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5614 (sin_upward_test_data): New variable.
5615 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5616 (sinh_test_data): New variable.
5617 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5618 (sinh_tonearest_test_data): New variable.
5619 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5620 (sinh_towardzero_test_data): New variable.
5621 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5622 (sinh_downward_test_data): New variable.
5623 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5624 (sinh_upward_test_data): New variable.
5625 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5626 (sqrt_test_data): New variable.
5627 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5628 (tan_test_data): New variable.
5629 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5630 (tan_tonearest_test_data): New variable.
5631 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5632 (tan_towardzero_test_data): New variable.
5633 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5634 (tan_downward_test_data): New variable.
5635 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5636 (tan_upward_test_data): New variable.
5637 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5638 (tanh_test_data): New variable.
5639 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5640 (tgamma_test_data): New variable.
5641 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5642 (trunc_test_data): New variable.
5643 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5644 (y0_test_data): New variable.
5645 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5646 (y1_test_data): New variable.
5647 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5648 (significand_test_data): New variable.
5649 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5651 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5654 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5656 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5658 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5660 2013-05-10 Andreas Jaeger <aj@suse.de>
5663 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5664 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5666 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5668 * math/gen-libm-test.pl (adjust_arg): New function.
5669 (special_functions): Handle generating output in both functions
5671 (parse_args): Likewise.
5672 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5673 $in_func argument to parse_args.
5674 * math/libm-test.inc (struct test_f_f_data): New type.
5675 (IF_ROUND_INIT_): New macro.
5676 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5677 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5678 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5679 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5680 (ROUND_RESTORE_): Likewise.
5681 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5682 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5683 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5684 (ROUND_RESTORE_FE_UPWARD): Likewise.
5685 (RUN_TEST_LOOP_f_f): New macro.
5686 (acos_test_data): New variable.
5687 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5688 (acos_tonearest_test_data): New variable.
5689 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5691 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5693 * benchtests/bench-skeleton.c (startup): Fix coding style.
5695 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5698 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5699 negative infinity argument.
5700 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5701 negative infinity argument.
5702 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5703 negative infinity argument.
5704 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5707 2013-05-10 Florian Weimer <fweimer@redhat.com>
5709 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5710 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5711 * iconv/iconv_prog.c (main): Likewise.
5712 * locale/programs/charmap-dir.c (charmap_readdir)
5713 (fopen_uncompressed): Likewise.
5714 * locale/programs/locfile.c (siblings_uncached)
5715 (write_locale_data): Use lstat64 instead of lstat.
5716 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5719 2013-05-10 Andreas Jaeger <aj@suse.de>
5722 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5726 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5728 * elf/dl-close.c (_dl_close_worker): Add comments.
5730 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5733 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5735 (__ieee754_rem_pio2l): Update comments.
5738 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5740 (__ieee754_rem_pio2l): Update comments.
5742 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5743 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5745 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5748 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5749 (M_PI_34_LOG10El): Likewise.
5750 (M_PI2_LOG10El): Likewise.
5751 (M_PI4_LOG10El): Likewise.
5752 (M_PI_LOG10El): Likewise.
5754 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5758 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5760 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5761 (MINUS_ZERO_INIT): Likewise.
5762 (PLUS_INFTY_INIT): Likewise.
5763 (MINUS_INFTY_INIT): Likewise.
5764 (QNAN_VALUE_INIT): Likewise.
5765 (MAX_VALUE_INIT): Likewise.
5766 (MIN_VALUE_INIT): Likewise.
5767 (MIN_SUBNORM_VALUE_INIT): Likewise.
5768 (plus_zero): Initialize with PLUS_ZERO_INIT.
5769 (minus_zero): Initialize with MINUS_ZERO_INIT.
5770 (plus_infty): Initialize with PLUS_INFTY_INIT.
5771 (minus_infty): Initialize with MINUS_INFTY_INIT.
5772 (qnan_value): Initialize with QNAN_VALUE_INIT.
5773 (max_value): Initialize with MAX_VALUE_INIT.
5774 (min_value): Initialize with MIN_VALUE_INIT.
5775 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5777 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5778 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5779 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5780 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5782 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5783 (RUN_TEST_2_f): Likewise.
5784 (RUN_TEST_ff_f): Likewise.
5785 (RUN_TEST_fi_f): Likewise.
5786 (RUN_TEST_fl_f): Likewise.
5787 (RUN_TEST_fff_f): Likewise.
5788 (RUN_TEST_c_f): Likewise.
5789 (RUN_TEST_f_f1): Likewise.
5790 (RUN_TEST_fF_f1): Likewise.
5791 (RUN_TEST_fI_f1): Likewise.
5792 (RUN_TEST_ffI_f1): Likewise.
5793 (RUN_TEST_c_c): Likewise.
5794 (RUN_TEST_cc_c): Likewise.
5795 (RUN_TEST_f_i): Likewise.
5796 (RUN_TEST_f_i_tg): Likewise.
5797 (RUN_TEST_ff_i_tg): Likewise.
5798 (RUN_TEST_f_b): Likewise.
5799 (RUN_TEST_f_b_tg): Likewise.
5800 (RUN_TEST_f_l): Likewise.
5801 (RUN_TEST_f_L): Likewise.
5802 (RUN_TEST_sincos): Likewise.
5803 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5804 whether to show exceptions. Do not include ");\n" in return
5806 (special_functions): Output call to RUN_TEST_sincos instead of
5807 check_float calls. Update calls to new_test.
5808 (parse_args): Output call to single RUN_TEST_* macro instead of
5809 check_* calls and other assignments. Update calls to new_test.
5815 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5816 input to result for tgamma overflow.
5817 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5818 (gamma_coeff): New variable.
5819 (NCOEFF): New macro.
5820 (gamma_positive): New function.
5821 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5822 underflow here. Use gamma_positive instead of exp (lgamma) for
5824 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5825 (gamma_coeff): New variable.
5826 (NCOEFF): New macro.
5827 (gammaf_positive): New function.
5828 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5829 underflow here. Use gamma_positive instead of exp (lgamma) for
5831 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5832 (gamma_coeff): New variable.
5833 (NCOEFF): New macro.
5834 (gammal_positive): New function.
5835 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5836 underflow here. Use gamma_positive instead of exp (lgamma) for
5838 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5839 (gamma_coeff): New variable.
5840 (NCOEFF): New macro.
5841 (gammal_positive): New function.
5842 (__ieee754_gammal_r): Handle positive infinity, overflow and
5843 underflow here. Handle NaN the same as positive infinity. Remove
5844 check x < 0xffffffff for negative integers. Use gamma_positive
5845 instead of exp (lgamma) for other arguments.
5846 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5847 (gamma_coeff): New variable.
5848 (NCOEFF): New macro.
5849 (gammal_positive): New function.
5850 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5851 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5852 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5853 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5854 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5855 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5856 * sysdeps/generic/math_private.h (__gamma_productf): New
5858 (__gamma_product): Likewise.
5859 (__gamma_productl): Likewise.
5860 * math/Makefile (libm-calls): Add gamma_product.
5861 * math/libm-test.inc (tgamma_test): Add more tests.
5862 * sysdeps/i386/fpu/libm-test-ulps: Update.
5863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5865 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5867 * benchtests/bench-skeleton.c (main): Preheat CPU.
5869 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5871 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5873 2013-05-07 Roland McGrath <roland@hack.frob.com>
5875 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5876 and _dl_skip_args_internal.
5878 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5880 * manual/message.texi (Message Translation): Talk about users.
5881 Message to key mapping impacts design.
5883 2013-05-06 Roland McGrath <roland@hack.frob.com>
5885 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5887 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5889 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5890 * sysdeps/wordsize-64/glob64.c: ... here.
5892 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5893 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5896 * debug/getlogin_r_chk.c: Moved to ...
5897 * login/getlogin_r_chk.c: ... here.
5898 * debug/Makefile (routines): Move getlogin_r_chk to ...
5899 * login/Makefile (routines): ... here.
5900 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5901 * login/Versions (libc: GLIBC_2.4): ... here.
5903 * io/poll.c (__poll): Renamed from poll.
5904 Add libc_hidden_def.
5905 (poll): Define as weak alias.
5907 * debug/ptsname_r_chk.c: Moved to ...
5908 * login/ptsname_r_chk.c: ... here.
5909 * debug/Makefile (routines): Move ptsname_r_chk to ...
5910 * login/Makefile (routines): ... here.
5911 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5912 * login/Versions (libc: GLIBC_2.4): ... here.
5914 * posix/getlogin.c: Moved to ...
5915 * login/getlogin.c: ... here.
5916 * posix/getlogin_r.c: Moved to ...
5917 * login/getlogin_r.c: ... here.
5918 * posix/getlogin_r.c: Moved to ...
5919 * login/getlogin_r.c: ... here.
5920 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5921 * login/Makefile (routines): ... here.
5922 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5923 * login/Versions (libc: GLIBC_2.0): ... here.
5925 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5926 (setrlimit): Define as weak alias.
5928 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5929 Call __ names for open, ftruncate, and close.
5930 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5931 (truncate): Define as weak alias.
5933 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5935 * math/gen-libm-test.pl (parse_args): Initialize x before each
5936 test of frexp, modf and remquo.
5938 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5941 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5945 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5947 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5949 2013-05-06 Roland McGrath <roland@hack.frob.com>
5951 * elf/dl-writev.h: New file.
5952 * elf/dl-misc.c: Include it.
5953 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5954 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5956 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5958 * math/libm-test.inc (noXFails): Remove variable.
5959 (noXPasses): Likewise.
5960 (BUILD_COMPLEX_INT): Remove macro.
5961 (print_screen): Remove xfail argument.
5962 (print_screen_max_error): Likewise.
5963 (update_stats): Likewise.
5964 (print_max_error): Likewise. Update calls to other affected
5966 (print_complex_max_error): Likewise.
5967 (test_single_exception): Update calls to print_screen.
5968 (test_single_errno): Likewise.
5969 (check_float_internal): Remove xfail argument. Update calls to
5970 other affected functions.
5971 (check_float): Likewise.
5972 (check_complex): Likewise.
5973 (check_int): Likewise.
5974 (check_long): Likewise.
5975 (check_bool): Likewise.
5976 (check_longlong): Likewise.
5977 (main): Don't print noXFails and noXPasses.
5978 * math/gen-libm-test.pl (top level): Don't mention expected
5979 failure handling in comment.
5980 (new_test): Don't handle expected failures.
5981 (parse_args): Don't mention expected failure handling in comment.
5982 (generate_testfile): Don't handle expected failures.
5983 (parse_ulps): Likewise.
5984 (print_ulps_file): Likewise.
5985 (get_failure): Remove function.
5986 (output_test): Don't handle expected failures.
5987 * make/README.libm-test: Don't mention expected failure handling.
5989 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5990 (minus_zero): Likewise.
5991 (plus_infty): Likewise.
5992 (minus_infty): Likewise.
5993 (qnan_value): Likewise.
5994 (max_value): Likewise.
5995 (min_value): Likewise.
5996 (min_subnorm_value): Likewise.
5997 (initialize): Do not initialize those variables dynamically.
5999 2013-05-03 Roland McGrath <roland@hack.frob.com>
6001 * io/open.c (__open_2): Moved to ...
6002 * io/open_2.c: ... this new file.
6003 * io/open64.c (__open64_2): Moved to ...
6004 * io/open64_2.c: ... this new file.
6005 * io/openat.c (__openat_2): Moved to ...
6006 * io/openat_2.c: ... this new file.
6007 * io/openat64.c (__openat64_2): Moved to ...
6008 * io/openat64_2.c: ... this new file.
6009 * io/Makefile (routines): Add them.
6010 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6011 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6012 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6013 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6014 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6015 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6016 (__openat64): Add hidden_ver.
6017 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6018 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6020 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6021 Separately conditionalize setting of GLRO(dl_sysinfo) so
6022 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6023 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6025 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6027 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6028 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6030 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6031 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6032 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6033 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6034 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6036 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6038 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6041 * math/libm-test.inc (hypot_test): Do not use
6042 IGNORE_ZERO_INF_SIGN.
6044 2013-05-03 Andreas Jaeger <aj@suse.de>
6046 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6048 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6049 (PF_MAX): Adjust for VSOCK change.
6051 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6055 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6058 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6059 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6060 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6062 2013-05-02 David S. Miller <davem@davemloft.net>
6064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6066 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6068 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6070 2013-05-01 Roland McGrath <roland@hack.frob.com>
6072 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6074 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6077 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6078 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6079 Use __attribute__ ((__gnu_inline__)).
6080 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6081 Don't use __attribute__ ((__gnu_inline__)).
6083 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6086 * math/s_catan.c (__catan): Handle small real or imaginary part of
6087 input specially to avoid spurious underflow.
6088 * math/s_catanf.c (__catanf): Likewise.
6089 * math/s_catanh.c (__catanh): Likewise.
6090 * math/s_catanhf.c (__catanhf): Likewise.
6091 * math/s_catanhl.c (__catanhl): Likewise.
6092 * math/s_catanl.c (__catanl): Likewise.
6093 * math/libm-test.inc (catan_test): Add more tests.
6094 (catanh_test): Likewise.
6095 * sysdeps/i386/fpu/libm-test-ulps: Update.
6096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6098 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6102 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6105 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6106 accurately for denominator in atan2.
6107 * math/s_catanf.c (__catanf): Likewise.
6108 * math/s_catanh.c (__catanh): Likewise.
6109 * math/s_catanhf.c (__catanhf): Likewise.
6110 * math/s_catanhl.c (__catanhl): Likewise.
6111 * math/s_catanl.c (__catanl): Likewise.
6112 * math/libm-test.inc (catan_test): Add more tests.
6113 (catanh_test): Likewise.
6114 * sysdeps/i386/fpu/libm-test-ulps: Update.
6115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6117 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6119 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6121 * benchtests/Makefile (bench): Remove slow benchmarks.
6122 * benchtests/atan-inputs: Add slow benchmark inputs.
6123 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6124 (BENCH_FUNC): Accept variant offset.
6126 * benchtests/bench-skeleton.c (main): Run benchmark for each
6128 * benchtests/cos-inputs: Add slow benchmark inputs.
6129 * benchtests/exp-inputs: Likewise.
6130 * benchtests/pow-inputs: Likewise.
6131 * benchtests/sin-inputs: Likewise.
6132 * benchtests/slowatan-inputs: Remove.
6133 * benchtests/slowatan.c: Remove.
6134 * benchtests/slowcos-inputs: Remove.
6135 * benchtests/slowcos.c: Remove.
6136 * benchtests/slowexp-inputs: Remove.
6137 * benchtests/slowexp.c: Remove.
6138 * benchtests/slowpow-inputs: Remove.
6139 * benchtests/slowpow.c: Remove.
6140 * benchtests/slowsin-inputs: Remove.
6141 * benchtests/slowsin.c: Remove.
6142 * benchtests/slowtan-inputs: Remove.
6143 * benchtests/slowtan.c: Remove.
6144 * benchtests/tan-inputs: Add slow benchmark inputs.
6145 * scripts/bench.pl: Parse comments and directives.
6147 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6149 ($(objpfx)bench-%.c): Remove *-ITER.
6150 * benchtests/bench-modf.c: Remove definition of ITER.
6151 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6152 (main): Loop for DURATION seconds instead of fixed number of
6154 * scripts/bench.pl: Don't expect iterations in parameters.
6156 2013-04-29 Roland McGrath <roland@hack.frob.com>
6158 * io/fchdir.c (__fchdir): Renamed from fchdir.
6159 (fchdir): Define as weak alias.
6161 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6163 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6164 (ERRNO_EDOM): Likewise.
6165 (ERRNO_ERANGE): Likewise.
6166 (noErrnoTests): New variable.
6167 (init_max_error): Set errno to 0.
6168 (test_single_errno): New function.
6169 (test_errno): Likewise.
6170 (check_float_internal): Call test_errno. Set errno to 0.
6171 (check_complex): Refer to errno tests in comment.
6172 (check_int): Call test_errno. Set errno to 0.
6173 (check_long): Likewise.
6174 (check_bool): Likewise.
6175 (check_longlong): Likewise.
6176 (cos_test): Use ERRNO_* flags for errno tests instead of
6178 (expm1_test): Likewise.
6179 (fmod_test): Likewise.
6180 (ilogb_test): Likewise.
6181 (lgamma_test): Likewise.
6182 (pow_test): Likewise.
6183 (remainder_test): Likewise.
6184 (sin_test): Likewise.
6185 (tan_test): Likewise.
6186 (yn_test): Likewise.
6187 (initialize): Set errno to 0.
6188 (main): Print number of errno tests.
6189 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6191 2013-04-29 Andreas Jaeger <aj@suse.de>
6194 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6198 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6199 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6203 * stdlib/random.c (__initstate): Return NULL if
6207 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6208 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6211 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6215 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6217 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6218 of individual tests.
6219 (casin_test): Likewise.
6220 (casinh_test): Likewise.
6222 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6225 * math/s_catan.c (__catan): Handle arguments with large real or
6226 imaginary part separately without squaring.
6227 * math/s_catanf.c (__catanf): Likewise.
6228 * math/s_catanh.c (__catanh): Likewise.
6229 * math/s_catanhf.c (__catanhf): Likewise.
6230 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6232 (__catanhl): Handle arguments with large real or imaginary part
6233 separately without squaring.
6234 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6236 (__catanl): Handle arguments with large real or imaginary part
6237 separately without squaring.
6238 * math/libm-test.inc (catan_test): Add more tests.
6239 (catanh_test): Likewise.
6240 * sysdeps/i386/fpu/libm-test-ulps: Update.
6241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6243 2013-04-27 Andreas Jaeger <aj@suse.de>
6246 * stdlib/stdlib.h: Update guards for qecvt.
6247 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6250 2013-04-27 Allan McRae <allan@archlinux.org>
6252 * sysdeps/i386/fpu/libm-test-ulps: Update.
6254 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6257 * math/s_catan.c: Include <float.h>.
6258 (__catan): Ensure underflow exception occurs for underflowed
6260 * math/s_catanf.c: Include <float.h>.
6261 (__catanf): Ensure underflow exception occurs for underflowed
6263 * math/s_catanh.c: Include <float.h>.
6264 (__catanh): Ensure underflow exception occurs for underflowed
6266 * math/s_catanhf.c: Include <float.h>.
6267 (__catanhf): Ensure underflow exception occurs for underflowed
6269 * math/s_catanhl.c: Include <float.h>.
6270 (__catanhl): Ensure underflow exception occurs for underflowed
6272 * math/s_catanl.c: Include <float.h>.
6273 (__catanl): Ensure underflow exception occurs for underflowed
6275 * math/libm-test.inc (catan_test): Add more tests.
6276 (catanh_test): Likewise.
6279 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6281 * math/s_ccoshf.c (__ccoshf): Likewise.
6282 * math/s_ccoshl.c (__ccoshl): Likewise.
6283 * math/s_csin.c (__csin): Likewise.
6284 * math/s_csinf.c (__csinf): Likewise.
6285 * math/s_csinh.c (__csinh): Likewise.
6286 * math/s_csinhf.c (__csinhf): Likewise.
6287 * math/s_csinhl.c (__csinhl): Likewise.
6288 * math/s_csinl.c (__csinl): Likewise.
6289 * math/libm-test.inc (ccos_test): Add more tests.
6290 (ccosh_test): Likewise.
6291 (csin_test): Likewise.
6292 (csinh_test): Likewise.
6294 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6296 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6297 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6298 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6299 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6300 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6301 powerpc/power5+/fpu folders.
6302 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6305 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6309 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6311 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6312 additions to variable.
6313 [$(config-machine) = x86_64] (modules-names): Likewise.
6314 ($(objpfx)tst-audit3): Remove dependency.
6315 ($(objpfx)tst-audit3.out): Likewise.
6316 ($(objpfx)tst-audit4): Likewise.
6317 ($(objpfx)tst-audit4.out): Likewise.
6318 ($(objpfx)tst-audit5): Likewise.
6319 ($(objpfx)tst-audit5.out): Likewise.
6320 ($(objpfx)tst-audit6): Likewise.
6321 ($(objpfx)tst-audit6.out): Likewise.
6322 ($(objpfx)tst-audit7): Likewise.
6323 ($(objpfx)tst-audit7.out): Likewise.
6324 (tst-audit3-ENV): Remove variable.
6325 (tst-audit4-ENV): Likewise.
6326 (tst-audit5-ENV): Likewise.
6327 (tst-audit6-ENV): Likewise.
6328 (tst-audit7-ENV): Likewise.
6329 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6330 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6331 addition to variable.
6332 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6333 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6334 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6335 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6336 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6337 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6338 tst-audit3, tst-audit4 and tst-audit5.
6339 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6340 tst-audit6 and tst-audit7.
6341 [$(subdir) = elf] (modules-names): Add audit modules for those
6343 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6344 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6345 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6346 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6347 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6348 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6349 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6350 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6351 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6352 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6353 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6354 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6355 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6356 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6357 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6358 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6360 [$(subdir) = elf && $(config-cflags-avx) = yes]
6361 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6362 [$(subdir) = elf && $(config-cflags-avx) = yes]
6363 (CFLAGS-tst-auditmod4a.c): Likewise.
6364 [$(subdir) = elf && $(config-cflags-avx) = yes]
6365 (CFLAGS-tst-auditmod4b.c): Likewise.
6366 [$(subdir) = elf && $(config-cflags-avx) = yes]
6367 (CFLAGS-tst-auditmod6b.c): Likewise.
6368 [$(subdir) = elf && $(config-cflags-avx) = yes]
6369 (CFLAGS-tst-auditmod6c.c): Likewise.
6370 [$(subdir) = elf && $(config-cflags-avx) = yes]
6371 (CFLAGS-tst-auditmod7b.c): Likewise.
6372 * elf/tst-audit3.c: Move to ...
6373 * sysdeps/x86_64/tst-audit3.c: ... here.
6374 * elf/tst-audit4.c: Move to ...
6375 * sysdeps/x86_64/tst-audit4.c: ... here.
6376 * elf/tst-audit5.c: Move to ...
6377 * sysdeps/x86_64/tst-audit5.c: ... here.
6378 * elf/tst-audit6.c: Move to ...
6379 * sysdeps/x86_64/tst-audit6.c: ... here.
6380 * elf/tst-audit7.c: Move to ...
6381 * sysdeps/x86_64/tst-audit7.c: ... here.
6382 * elf/tst-auditmod3a.c: Move to ...
6383 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6384 * elf/tst-auditmod3b.c: Move to ...
6385 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6386 * elf/tst-auditmod4a.c: Move to ...
6387 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6388 * elf/tst-auditmod4b.c: Move to ...
6389 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6390 * elf/tst-auditmod5a.c: Move to ...
6391 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6392 * elf/tst-auditmod5b.c: Move to ...
6393 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6394 * elf/tst-auditmod6a.c: Move to ...
6395 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6396 * elf/tst-auditmod6b.c: Move to ...
6397 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6398 * elf/tst-auditmod6c.c: Move to ...
6399 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6400 * elf/tst-auditmod7a.c: Move to ...
6401 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6402 * elf/tst-auditmod7b.c: Move to ...
6403 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6405 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6408 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6409 define unconditionally.
6410 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6411 define unconditionally.
6412 (INT8_C, INT16_C, etc.): Likewise.
6414 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6416 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6417 __ehdr_start with hidden visibility.
6419 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6421 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6423 * math/libm-test.inc (cos_test): Use accurate hex constants.
6424 (sincost_test): Likewise.
6426 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6428 * math/libm-test.inc (catan_test): Add more tests.
6429 (catanh_test): Likewise.
6431 * math/s_catanf.c (__catanf): Use suffixed floating-point
6433 * math/s_catanhf.c (__catanhf): Likewise.
6434 * math/s_catanhl.c (__catanhl): Likewise.
6435 * math/s_catanl.c (__catanl): Likewise.
6438 * math/s_catan.c (__catan): Calculate imaginary part of result
6439 with log1p not log unless computing log of number close to 0.
6440 * math/s_catanf.c (__catanf): Likewise.
6441 * math/s_catanl.c (__catanl): Likewise.
6442 * math/s_catanh.c (__catanh): Calculate real part of result with
6443 log1p not log unless computing log of number close to 0.
6444 * math/s_catanhf.c (__catanhf): Likewise.
6445 * math/s_catanhl.c (__catanhl): Likewise.
6446 * math/libm-test.inc (catan_test): Add more tests.
6447 (catanh_test): Likewise.
6448 * sysdeps/i386/fpu/libm-test-ulps: Update.
6449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6451 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6453 * benchtests/Makefile: Mention files in which fast and slow
6454 paths of math functions are implemented.
6456 2013-04-23 Roland McGrath <roland@hack.frob.com>
6458 * sysdeps/posix/timespec_get.c: New file.
6460 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6462 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6464 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6466 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6467 powerpc/power5/fpu folders.
6468 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6469 * benchtests/Makefile: Add modf testcase.
6470 * benchtests/bench-modf.c: New file: Benchmark test for mo
6472 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6475 * time/Makefile (tests): Add tst-strptime-whitespace.
6476 * time/strptime_l.c (get_number): Use ISSPACE.
6477 (__strptime_internal): Likewise.
6478 * time/tst-strptime-whitespace.c: New test case.
6480 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6482 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6484 (_nss_files_init): Set it here.
6486 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6488 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6489 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6492 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6494 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6496 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6498 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6501 2013-04-21 David S. Miller <davem@davemloft.net>
6503 * po/ru.po: Update Russion translation from translation project.
6505 2013-04-17 Adam Conrad <adconrad@0c3.net>
6507 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6510 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6512 * configure.in: Remove i386 configure warning. Remove i386 case.
6513 * configure: Regenerate.
6514 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6515 Add example to error message.
6516 * sysdeps/i386/configure: Regenerate.
6518 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6520 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6522 * benchtests/cos-inputs: New file.
6523 * benchtests/slowcos-inputs: New file.
6524 * benchtests/slowcos.c: New file.
6525 * benchtests/slowtan-inputs: New file.
6526 * benchtests/slowtan.c: New file.
6527 * benchtests/tan-inputs: New file.
6529 2013-04-16 Roland McGrath <roland@hack.frob.com>
6531 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6534 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6536 * benchtests/Makefile: Include cppflags-iterator.mk to add
6537 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6539 * Makefile.in (bench-clean): New target.
6540 * benchtests/Makefile (bench-clean): Likewise.
6542 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6544 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6546 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6548 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6550 2013-04-15 Andreas Schwab <schwab@suse.de>
6552 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6553 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6554 * nscd/pwdcache.c (cache_addpw): Likewise.
6555 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6558 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6560 * benchtests/Makefile (bench): Write all output to
6561 bench-out.tmp together.
6563 2013-04-15 Andreas Schwab <schwab@suse.de>
6565 * nscd/nscd.c (main): Don't fork again after closing files.
6567 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6569 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6571 * benchtests/Rules (bench-deps): Collect dependencies into a
6572 single variable. Add Makefile to dependencies.
6573 ($(objpfx)bench-%.c): Depend on bench-deps.
6575 2013-04-12 Roland McGrath <roland@hack.frob.com>
6576 Xavier Roche <roche+kml2@exalead.com>
6579 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6580 just that it's a file descriptor.
6581 * manual/llio.texi (Synchronizing AIO Operations): Update description
6582 for EBADF error from aio_fsync.
6584 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6586 * Rules (bench): Move target definition...
6587 * benchtests/Makefile: ... here.
6589 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6591 * math/libm-test.inc (cos_test): Fix PI/2 test.
6592 (sincos_test): Likewise.
6593 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6594 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6596 2013-04-11 Andreas Schwab <schwab@suse.de>
6599 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6600 accept exponent character only when digits were seen.
6601 * stdio-common/Makefile (tests): Add bug26.
6602 * stdio-common/bug26.c: New file.
6605 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6608 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6610 * Makeconfig (rtld-prefix): Define built linker prefix.
6611 * Rules (run-bench): Use it.
6612 * math/Makefile (run-regen-ulps): Likewise.
6614 * Rules (bench): Remove eval.
6616 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6617 Roland McGrath <roland@hack.frob.com>
6618 Ondrej Bilka <neleai@seznam.cz>
6621 * time/getdate.c: Include ctype.h and alloca.h.
6622 (__getdate_r): Trim leading and trailing spaces of input.
6623 * time/tst-getdate.c (tests): Add tests with leading and
6626 2013-04-08 Roland McGrath <roland@hack.frob.com>
6629 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6630 when computing value.
6632 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6634 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6635 Use testrun.sh to run libm tests.
6638 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6640 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6643 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6645 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6647 * Makefile.in (regen-ulps): New target.
6648 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6649 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6650 [ifneq (no,$(PERL)] (regen-ulps): New target.
6651 [ifeq (no,$(PERL)] (regen-ulps): New target.
6652 * math/libm-test.inc (ulps_file_name): Define.
6653 (output_dir): New variable.
6654 (options): Add "output-dir" option.
6655 (parse_opt): Handle 'o' case.
6656 (main): If output_dir is non-NULL use it as a prefix
6658 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6660 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6663 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6664 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6665 fail configure if __sync_val_compare_and_swap is not inlined.
6666 * sysdeps/i386/configure: Regenerate.
6667 * configure.in: Build for i686 when configured for i386.
6668 * configure: Regenerate.
6669 * README: Remove i386 reference.
6671 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6673 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6674 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6676 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6678 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6679 (lmsnanval): New variables.
6680 (F): Add conversion tests.
6681 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6682 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6684 * stdio-common/tstdiomisc.c (F): Properly collect individual
6688 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6689 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6690 Instead, use input NaN values or generate a qNaN by arithmetic
6691 operation. Also fix bugs to comply with the standard.
6692 * math/libm-test.inc (remainder_test): Add more tests.
6695 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6697 input NaN values or generate a qNaN by arithmetic operation.
6699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6702 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6705 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6708 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6710 * math/s_cexpf.c (__cexpf): Likewise.
6711 * math/s_cexpl.c (__cexpl): Likewise.
6712 * math/libm-test.inc (cexp_test): Add more tests.
6714 2013-04-03 Andreas Schwab <schwab@suse.de>
6717 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6718 order arrays from heap if bigger than alloca cutoff.
6720 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6722 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6723 (SNAN_TESTS_double): Refer to GCC PR56831.
6724 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6727 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6729 * Rules (bench): Move bench.out after the run is complete.
6731 * Rules (bench): Echo currently running benchmark.
6733 * benchtests/Makefile (bench): Add atan and slowatan.
6734 * benchtests/atan-inputs: New file.
6735 * benchtests/slowatan-inputs: New file.
6736 * benchtests/slowatan.c: New file.
6738 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6739 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6743 * sysdeps/unix/sysv/linux/kernel-features.h
6744 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6745 __ASSUME_XFS_RESTRICTED_CHOWN.
6746 * sysdeps/unix/sysv/linux/pathconf.c
6747 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6748 Save and restore errno.
6750 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6753 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6754 arguments using __kernel_casinh.
6755 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6756 arguments using __kernel_casinhf.
6757 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6758 arguments using __kernel_casinhl.
6759 * math/libm-test.inc (cacosh_test): Add more tests.
6760 * sysdeps/i386/fpu/libm-test-ulps: Update.
6761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6763 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6765 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6768 * bench/Makefile (bench): Add sin and slowsin.
6769 * benchtests/sin-inputs: New file.
6770 * benchtests/slowsin-inputs: New file.
6771 * benchtests/slowsin.c: New file.
6773 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6774 (bench): Add slowexp and slowpow.
6775 (exp-ITER): Increase iterations.
6776 (pow-ITER): Likewise.
6777 * benchtests/exp-inputs: Change input.
6778 * benchtests/pow-inputs: Likewise.
6779 * benchtests/slowexp-inputs: New file.
6780 * benchtests/slowexp.c: New file.
6781 * benchtests/slowpow-inputs: New file.
6782 * benchtests/slowpow.c: New file.
6784 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6786 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6788 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6789 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6790 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6791 * benchtests/Makefile: Add rint benchtest.
6792 * benchtests/rint-inputs: Input for rint benchtest.
6794 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6796 * Versions.def (libm): Add GLIBC_2.18.
6797 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6798 hidden libm prototypes.
6799 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6800 * math/Makefile (libm-calls): Add s_issignaling.
6801 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6802 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6803 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6805 * math/math.h [__USE_GNU] (issignaling): New macro.
6806 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6807 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6809 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6812 * manual/arith.texi (issignaling): New section.
6813 * manual/libm-err-tab.pl (@all_functions): Update comment.
6814 * math/gen-libm-test.pl (parse_args): Apply special handling for
6816 * math/libm-test.inc (print_float, issignaling_test): New
6818 (check_float_internal): Add issignaling checks.
6819 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6821 * sysdeps/powerpc/math-tests.h: New file.
6822 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6824 * math/test-snan.c (TEST_FUNC): Likewise.
6826 2013-03-30 David S. Miller <davem@davemloft.net>
6828 * po/de.po: Update from translation team.
6830 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6833 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6834 imaginary part less than 1.0 and real part less than 0.5
6836 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6837 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6838 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6839 (cacos_test): Add more tests.
6840 (casin_test): Likewise.
6841 (casinh_test): Likewise.
6842 * sysdeps/i386/fpu/libm-test-ulps: Update.
6843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6845 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6847 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6850 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6851 (__pow_mp): Replace ONE and MONE with their values.
6852 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6853 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6854 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6855 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6856 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6857 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6859 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6861 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6862 (__pow_mp): Replace ZERO and MZERO with their values.
6863 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6864 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6865 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6867 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6868 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6871 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6873 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6875 2013-03-28 Roland McGrath <roland@hack.frob.com>
6877 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6878 Declare with __attribute__ ((weak)).
6879 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6880 Call __call_tls_dtors only if it's not NULL.
6882 2013-03-28 Roland McGrath <roland@hack.frob.com>
6884 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6885 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6886 magic __ehdr_start linker symbol if it's defined.
6887 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6888 them up here if it was already done.
6890 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6891 (_dl_aux_init): Use const in cast when setting it.
6892 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6893 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6894 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6896 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6898 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6899 * csu/libc-tls.c: Nor here.
6900 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6902 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6903 (__libc_message): Never call vsyslog.
6905 2013-03-28 Alan Modra <amodra@gmail.com>
6907 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6909 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6912 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6915 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6919 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6922 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6923 Don't add gid passed as argument.
6925 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6927 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6930 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6931 imaginary part between 1.0 and 1.5 and real part less than 0.5
6933 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6934 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6935 * math/libm-test.inc (cacos_test): Add more tests.
6936 (casin_test): Likewise.
6937 (casinh_test): Likewise.
6938 * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6941 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6943 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6947 (__dbl_mp): Likewise.
6948 (add_magnitudes): Likewise.
6949 (sub_magnitudes): Likewise.
6957 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6959 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6960 (__dubcos): Likewise.
6961 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6962 (__ieee754_acos): Likewise.
6963 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6964 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6966 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6969 (my_log2): Likewise.
6970 (checkint): Likewise.
6971 * sysdeps/ieee754/dbl-64/e_remainder.c
6972 (__ieee754_remainder): Likewise.
6973 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6974 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6976 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6978 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6979 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6980 MANTISSA_STORE_T to store computations on mantissa. Use
6981 macros for rounding and division.
6983 (__dbl_mp): Likewise.
6984 (add_magnitudes): Likewise.
6985 (sub_magnitudes): Likewise.
6988 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6989 powers of two in terms of TWOPOW macro.
6990 (mp_no): Make type of mantissa as MANTISSA_T.
6991 [!RADIXI]: Define RADIXI.
6992 [!TWO52]: Define TWO52.
6993 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6995 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6997 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6998 llroundl symbol when building for PPC32.
7000 2013-03-24 Mark H Weaver <mhw@netris.org>
7002 * manual/arith.texi (Normalization Functions): Fix prototypes for
7003 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7005 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7008 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7009 high value to check if expl overflow.
7010 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7011 to check for underflow and overflow.
7012 * math/libm-test.inc: Add exp test.
7014 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7017 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7020 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7022 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7025 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7027 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7028 wrap blocks consisting of several statements.
7030 * sysdeps/generic/math-tests.h: New file.
7031 * sysdeps/i386/fpu/math-tests.h: Likewise.
7032 * math/test-snan.c: Include it.
7033 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7035 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7038 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7039 (__ieee754_j0l): Do not improve calculations using cos of twice
7040 input for inputs above LDBL_MAX / 2.0L.
7041 (__ieee754_y0l): Likewise.
7042 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7043 (__ieee754_j1l): Do not improve calculations using cos of twice
7044 input for inputs above LDBL_MAX / 2.0L.
7045 (__ieee754_y1l): Likewise.
7046 * math/libm-test.inc (j0_test): Add another test.
7047 (j1_test): Likewise.
7048 (y0_test): Likewise.
7049 (y1_test): Likewise.
7050 * sysdeps/i386/fpu/libm-test-ulps: Update.
7052 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7054 * Rules ($(objpfx)bench-%.c): Include code from a C source
7057 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7060 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7061 imaginary part 1.0 and real part less than 0.5 specially.
7062 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7063 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7064 * math/libm-test.inc (cacos_test): Add more tests.
7065 (casin_test): Likewise.
7066 (casinh_test): Likewise.
7067 * sysdeps/i386/fpu/libm-test-ulps: Update.
7068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7070 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7072 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7073 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7075 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7077 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7078 * config.make.in (config-cflags-sse4): Remove variable.
7079 (config-cflags-avx): Likewise.
7080 (config-cflags-sse2avx): Likewise.
7081 (config-cflags-novzeroupper): Likewise.
7082 (config-asflags-i686): Likewise.
7083 (have-mfma4): Likewise.
7084 (have-as-vis3): Likewise.
7086 * configure.in (MIG): Do not AC_SUBST.
7087 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7088 (libc_cv_cc_sse4): Do not AC_SUBST.
7089 (libc_cv_cc_avx): Likewise.
7090 (libc_cv_cc_sse2avx): Likewise.
7091 (libc_cv_cc_novzeroupper): Likewise.
7092 (libc_cv_cc_fma4): Likewise.
7093 (libc_cv_as_i686): Likewise.
7094 (libc_cv_sparc_as_vis3): Likewise.
7095 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7097 (config-asflags-i686): Likewise.
7098 (config-cflags-avx): Likewise.
7099 (config-cflags-sse2avx): Likewise.
7100 (have-mfma4): Likewise.
7101 (config-cflags-novzeroupper): Likewise.
7102 * sysdeps/mach/configure.in (MIG): Likewise.
7103 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7104 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7106 (config-cflags-avx): Likewise.
7107 (config-cflags-sse2avx): Likewise.
7108 (have-mfma4): Likewise.
7109 (config-cflags-novzeroupper): Likewise.
7110 * configure: Regenerated.
7111 * sysdeps/i386/configure: Likewise.
7112 * sysdeps/mach/configure: Likewise.
7113 * sysdeps/sparc/configure: Likewise.
7114 * sysdeps/x86_64/configure: Likewise.
7116 2013-03-20 Roland McGrath <roland@hack.frob.com>
7119 * locale/programs/localedef.c (options): Put N_ translation marker
7120 on argument names, not just descriptions.
7122 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7124 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7126 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7129 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7131 2013-03-19 Roland McGrath <roland@hack.frob.com>
7133 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7134 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7135 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7136 [!BEFORE_ABORT] (before_abort): New function.
7137 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7138 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7139 (writev_for_fatal): New function.
7140 (WRITEV_FOR_FATAL): New macro; call that.
7141 (backtrace_and_maps): New function.
7142 (BEFORE_ABORT): New macro; call that.
7143 (struct str_list): Type removed.
7144 (__libc_message, __libc_fatal): Functions removed.
7145 Include <sysdeps/posix/libc_fatal.c> instead.
7147 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7149 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7151 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7154 2013-03-19 Andreas Schwab <schwab@suse.de>
7156 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7157 * sysdeps/gnu/configure: Regenerate.
7159 * configure.in: Substitute libc_cv_rtlddir.
7160 * configure: Regenerate.
7161 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7162 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7163 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7164 * elf/Makefile (install-others, CFLAGS-interp.c)
7165 (ldso_install, common-ldd-rewrite): Likewise.
7166 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7167 $(inst_slibdir)/$(rtld-installed-name).
7168 * scripts/rellns-sh: Add -p option.
7169 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7172 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7174 * manual/nptl.texi: Renamed to ...
7175 * manual/threads.texi: ... this.
7176 * manual/Makefile (chapters): Update.
7178 2013-03-18 Roland McGrath <roland@hack.frob.com>
7181 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7182 on argument names, not just descriptions.
7183 * malloc/memusagestat.c (options): Likewise.
7184 * nss/getent.c (options): Likewise.
7186 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7189 * iconv/iconv_prog.c (options): Put N_ translation marker
7190 on argument names, not just descriptions.
7191 * iconv/iconvconfig.c (options): Likewise.
7193 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7195 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7196 implementation which is faster on all x86_64 architectures.
7197 Tested on AMD, Intel Nehalem, SNB, IVB.
7198 * sysdeps/x86_64/strnlen.S: Likewise.
7200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7201 Remove all multiarch strlen and strnlen versions.
7202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7203 Remove strlen and strnlen related parts.
7205 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7207 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7209 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7210 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7211 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7212 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7213 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7214 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7216 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7218 * manual/memory.texi (Malloc Tunable Parameters):
7219 Sort parameters alphabetically. Add comments for missing entries.
7221 2013-03-17 David S. Miller <davem@davemloft.net>
7223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7225 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7228 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7229 for arguments at most half maximum finite value.
7230 * math/libm-test.inc (j0_test): Add more tests.
7231 (j1_test): Likewise.
7232 (y0_test): Likewise.
7233 (y1_test): Likewise.
7234 * sysdeps/i386/fpu/libm-test-ulps: Update.
7235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7238 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7239 1 / x and functions P and Q for arguments above 0x1p256L.
7240 (__ieee754_y0l): Likewise.
7241 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7242 (__ieee754_y1l): Likewise.
7243 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7244 (j1_test): Likewise.
7245 (y0_test): Likewise.
7246 (y1_test): Likewise.
7248 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7250 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7253 2013-03-15 Roland McGrath <roland@hack.frob.com>
7255 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7256 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7257 zero since it's initialized to EXEC_PAGESIZE.
7259 * sysdeps/unix/sysv/linux/ldsodefs.h
7260 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7261 * sysdeps/generic/ldsodefs.h: ... here.
7263 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7265 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7267 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7269 * math/test-snan.c: Renamed from
7270 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7271 * math/Makefile (tests): Add test-snan.
7272 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7275 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7276 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7278 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7279 __builtin_nan family of functions.
7280 * math/libm-test.inc (initialize): Initialize qnan_value with
7281 __builtin_nan family of functions.
7282 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7284 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7286 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7287 storage class. Initialize qNaN_var and sNaN_var with
7288 __builtin_nan and __builtin_nans families of functions,
7291 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7292 (sqrt_test): Remove duplicate test with qNaN input.
7293 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7294 (round_test, signbit_test, significand_test): Note missing +/-Inf
7295 as well as qNaN tests.
7297 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7298 qNaN_var. Fix a few strings, too.
7299 * math/libm-test.inc (nan_value): Rename to qnan_value.
7300 * math/gen-libm-test.pl (%beautify): Adjust to that.
7301 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7302 * math/test-misc.c (main): Likewise.
7303 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7304 to __qnan_bytes, and __qnan_union, respectively.
7305 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7307 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7308 and lqnanval, respectively.
7309 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7310 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7311 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7312 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7314 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7315 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7318 * math/test-misc.c (main): Fix copy'n'pastos.
7319 * misc/tst-efgcvt.c (special): Likewise.
7321 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7322 Remove declarations.
7324 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7326 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7327 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7328 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7329 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7331 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7333 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7334 macro to return vdso values correctly in IFUNC implementations.
7335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7336 Optimization by using IFUNC.
7338 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7339 Richard Henderson <rth@redhat.com>
7340 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7342 * Makefile.in (bench): New target.
7343 * NEWS: Mention the benchmark framework.
7344 * Rules (bench): Likewise.
7345 (binaries-bench): Generate binaries for functions to
7347 * benchtests/Makefile: New makefile for benchmark tests.
7348 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7350 * benchtests/exp-inputs: New input file for EXP function.
7351 * benchtests/pow-inputs: New input file for POW function.
7352 * scripts/bench.pl: New script to generate source files for
7355 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7357 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7358 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7359 computations on mantissa. Use macros for rounding and
7362 (__dbl_mp): Likewise.
7363 (add_magnitudes): Likewise.
7364 (sub_magnitudes): Likewise.
7367 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7368 powers of two in terms of TWOPOW macro.
7369 (mp_no): Make type of mantissa as MANTISSA_T.
7370 [!RADIXI]: Define RADIXI.
7371 [!TWO52]: Define TWO52.
7372 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7374 * manual/nptl.texi (cindex): Modify threads to pthreads.
7376 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7378 * sysdeps/x86_64/preconfigure: Regenerated.
7380 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7383 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7385 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7386 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7388 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7389 * math/libm-test.inc (j0_test): Do not allow one spurious
7390 underflow exception.
7391 (y1_test): Likewise.
7393 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7395 * manual/Makefile (chapters): Add nptl.
7396 * manual/debug.texi (Debugging Support): Add link to Threads
7398 * manual/nptl.texi: New file.
7400 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7402 2013-03-14 Petr Baudis <pasky@ucw.cz>
7404 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7405 for non-NULL pointer before the memory validity test. Pointed
7406 out by Holger Brunck <holger.brunck@keymile.com>.
7408 2013-03-13 Andreas Schwab <schwab@suse.de>
7410 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7413 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7415 * timezone/zic.c: Update from tzcode 2013b.
7417 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7419 * manual/install.texi (Configuring and compiling):
7420 Mention i686 and i586.
7421 * INSTALL: Regenerate.
7423 2013-03-12 Roland McGrath <roland@hack.frob.com>
7425 * sysdeps/init_array/elf-init.c: New file.
7427 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7428 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7430 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7431 __gmon_start__ as global, but as static with a .preinit_array pointer.
7432 * sysdeps/init_array/gmon-start.c: New file. Use that.
7433 * sysdeps/init_array/crti.S: New file, empty except for comments.
7434 * sysdeps/init_array/crtn.S: Likewise.
7436 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7438 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7441 Remove Prefer_SSE_for_memop.
7442 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7443 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7444 HAS_PREFER_SSE_FOR_MEMOP.
7445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7448 Remove bzero, memset ifunc support.
7449 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7450 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7451 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7452 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7454 2013-03-11 Andreas Schwab <schwab@suse.de>
7457 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7460 (GLIBC_2.16): Remove pthread_atfork.
7462 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7464 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7465 (ptestcases.h): Likewise.
7467 2013-03-08 Roland McGrath <roland@hack.frob.com>
7469 * Makeconfig ($(common-objpfx)config.status): Depend on
7470 sysdeps/*/preconfigure{,.in} too.
7472 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7474 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7475 (__free_hook): Use void * instead of __malloc_ptr_t.
7476 (__malloc_hook): Likewise.
7477 (__realloc_hook): Likewise.
7478 (__memalign_hook): Likewise.
7479 (__after_morecore_hook): Likewise.
7480 * malloc/arena.c (save_malloc_hook): Likewise.
7481 (save_free_hook): Likewise.
7482 * malloc/hooks.c (malloc_hook_ini): Likewise.
7483 (realloc_hook_ini): Likewise.
7484 (memalign_hook_ini): Likewise.
7485 * malloc/malloc.c (malloc_hook_ini): Likewise.
7486 (realloc_hook_ini): Likewise.
7487 (memalign_hook_ini): Likewise.
7488 (__free_hook): Likewise.
7489 (__malloc_hook): Likewise.
7490 (__realloc_hook): Likewise.
7491 (__memalign_hook): Likewise.
7492 (__libc_malloc): Likewise.
7493 (__libc_free): Likewise.
7494 (__libc_realloc): Likewise.
7495 (__libc_memalign): Likewise.
7496 (__libc_valloc): Likewise.
7497 (__libc_pvalloc): Likewise.
7498 (__libc_calloc): Likewise.
7499 (__posix_memalign): Likewise.
7500 * malloc/morecore.c (__sbrk): Likewise.
7501 (__default_morecore): Likewise.
7503 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7505 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7506 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7509 * malloc/malloc.h (__malloc_size_t): Remove macro.
7510 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7512 (old_memalign_hook): Likewise.
7513 (old_realloc_hook): Likewise.
7514 (struct hdr): Likewise.
7516 (mallochook): Likewise.
7517 (memalignhook): Likewise.
7518 (reallochook): Likewise.
7519 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7520 (tr_old_realloc_hook): Likewise.
7521 (tr_old_memalign_hook): Likewise.
7522 (tr_mallochook): Likewise.
7523 (tr_reallochook): Likewise.
7524 (tr_memalignhook): Likewise.
7526 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7529 default_ldbl_pack and using as default implementation.
7530 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7532 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7533 redundant definition.
7534 (ldbl_insert_mantissa): Likewise.
7535 (ldbl_canonicalize): Likewise.
7536 (ldbl_nearbyint): Likewise.
7537 (ldbl_pack): Rename to ldbl_pack_ppc.
7538 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7539 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7540 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7542 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7545 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7546 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7547 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7549 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7550 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7551 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7553 2013-03-07 Andreas Jaeger <aj@suse.de>
7555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7558 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7560 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7561 Include mpa.h and declare __MPEXP.
7562 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7563 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7564 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7565 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7566 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7567 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7568 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7570 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7571 (__slowpow): Use long double EXPL and LOGL functions to
7573 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7574 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7575 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7576 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7577 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7578 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7581 intermediate variable to calculate exponent.
7583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7587 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7588 [!NO__SQR]: Define __sqr.
7589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7590 and NO__SQR. Remove all code except __mul and __sqr. Include
7591 sysdeps/ieee754/dbl-64/mpa.c.
7592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7595 * posix/Makefile (tests): Add tst-pathconf.
7596 * posix/tst-pathconf.c: New test case.
7597 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7599 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7601 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7603 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7605 2013-03-06 Andreas Jaeger <aj@suse.de>
7607 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7608 definition via __MAP_ANONYMOUS.
7610 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7611 it's not part of Linux headers.
7613 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7614 (MAP_HUGE_MASK): Define.
7616 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7618 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7619 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7621 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7622 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7624 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7625 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7627 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7629 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7630 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7631 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7632 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7633 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7634 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7636 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7639 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7640 Handle f2fs and efivarfs.
7642 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7645 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7646 (EFIVARFS_MAGIC): Add.
7647 (F2FS_LINK_MAX): Add.
7649 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7651 * stdio-common/vfprintf.c: Replace __builtin_expect with
7654 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7657 * sysdeps/generic/bp-sym.h: Remove file.
7658 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7659 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7660 <bp-sym.h> and <bp-asm.h>.
7661 (__longjmp): Don't use BP_SYM.
7662 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7664 (memcpy): Don't use BP_SYM.
7665 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7666 <bp-sym.h> and <bp-asm.h>.
7667 (memcpy): Don't use BP_SYM.
7668 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7670 (memcpy): Don't use BP_SYM.
7671 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7673 (memset): Don't use BP_SYM.
7674 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7675 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7676 (__bzero): Don't use BP_SYM.
7677 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7678 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7679 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7680 <bp-sym.h> and <bp-asm.h>.
7681 (memcmp): Don't use BP_SYM. Remove comment about bounded
7683 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7684 <bp-sym.h> and <bp-asm.h>.
7685 (memcpy): Don't use BP_SYM.
7686 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7687 <bp-sym.h> and <bp-asm.h>.
7688 (memset): Don't use BP_SYM.
7689 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7690 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7691 (__bzero): Don't use BP_SYM.
7692 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7693 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7694 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7695 <bp-sym.h> and <bp-asm.h>.
7696 (strncmp): Don't use BP_SYM. Remove comment about bounded
7698 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7699 <bp-sym.h> and <bp-asm.h>.
7700 (memcpy): Don't use BP_SYM.
7701 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7702 <bp-sym.h> and <bp-asm.h>.
7703 (memset): Don't use BP_SYM.
7704 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7705 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7706 (__bzero): Don't use BP_SYM.
7707 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7708 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7709 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7710 <bp-sym.h> and <bp-asm.h>.
7711 (__memchr): Don't use BP_SYM.
7712 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7713 <bp-sym.h> and <bp-asm.h>.
7714 (memcmp): Don't use BP_SYM. Remove comment about bounded
7716 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7717 <bp-sym.h> and <bp-asm.h>.
7718 (memcpy): Don't use BP_SYM.
7719 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7720 <bp-sym.h> and <bp-asm.h>.
7721 (__mempcpy): Don't use BP_SYM.
7722 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7723 <bp-sym.h> and <bp-asm.h>.
7724 (__memrchr): Don't use BP_SYM.
7725 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7726 <bp-sym.h> and <bp-asm.h>.
7727 (memset): Don't use BP_SYM.
7728 (__bzero): Likewise.
7729 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7730 <bp-sym.h> and <bp-asm.h>.
7731 (__rawmemchr): Don't use BP_SYM.
7732 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7733 <bp-sym.h> and <bp-asm.h>.
7734 (__STRCMP): Don't use BP_SYM.
7735 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7736 <bp-sym.h> and <bp-asm.h>.
7737 (strchr): Don't use BP_SYM.
7738 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7739 <bp-sym.h> and <bp-asm.h>.
7740 (__strchrnul): Don't use BP_SYM.
7741 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7742 <bp-sym.h> and <bp-asm.h>.
7743 (strlen): Don't use BP_SYM.
7744 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7745 <bp-sym.h> and <bp-asm.h>.
7746 (strncmp): Don't use BP_SYM. Remove comment about bounded
7748 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7749 <bp-sym.h> and <bp-asm.h>.
7750 (__strnlen): Don't use BP_SYM.
7751 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7752 <bp-sym.h> and <bp-asm.h>.
7753 (__GI__setjmp): Don't use BP_SYM.
7754 (_setjmp): Likewise.
7755 (__sigsetjmp): Likewise.
7756 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7757 (L(start_addresses)): Don't use BP_SYM.
7759 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7761 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7762 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7763 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7764 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7765 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7767 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7768 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7769 about bounded pointers.
7770 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7771 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7772 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7774 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7775 about bounded pointers. Remove GKM FIXME comments.
7776 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7777 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7779 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7780 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7781 Remove GKM FIXME comments.
7782 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7783 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7784 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7786 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7787 about bounded pointers. Remove GKM FIXME comment.
7788 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7790 (strncmp): Don't use BP_SYM. Remove comment about bounded
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7793 <bp-sym.h> and <bp-asm.h>.
7794 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7796 <bp-sym.h> and <bp-asm.h>.
7797 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7800 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7802 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7805 2013-03-05 David S. Miller <davem@davemloft.net>
7807 * po/es.po: Update from translation team.
7809 2013-03-05 Andreas Jaeger <aj@suse.de>
7811 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7812 <bits/mman-linux.h>.
7813 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7815 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7816 <bits/mman-linux.h> to end of file.
7817 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7819 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7820 <bits/mman-linux.h> to end of file.
7821 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7823 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7824 <bits/mman-linux.h> to end of file.
7826 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7827 (MCL_CURRENT, MCL_FUTURE): Define here.
7829 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7832 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7834 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7836 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7838 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7839 fourth parameter needed for rt_sigprocmask syscall.
7840 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7841 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7842 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7843 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7844 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7845 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7847 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7850 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7851 comment about bounded pointers.
7852 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7853 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7855 2013-03-04 Andreas Jaeger <aj@suse.de>
7857 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7860 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7861 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7862 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7863 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7864 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7867 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7870 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7871 __ieee754_sqrl instead of __sqrl.
7873 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7875 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7876 * sysdeps/powerpc/fpu_control.h: ... here.
7877 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7878 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7879 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7880 * sysdeps/powerpc/bits/mathinline.h: ... here.
7882 2013-03-01 Roland McGrath <roland@hack.frob.com>
7884 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7885 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7886 to just [NEED_DL_SYSINFO_DSO].
7887 * elf/dl-support.c: Likewise.
7888 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7889 * elf/rtld.c (dl_main): Likewise.
7890 * elf/setup-vdso.h (setup_vdso): Likewise.
7891 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7892 * sysdeps/unix/sysv/linux/dl-sysdep.c
7893 (_dl_discover_osversion): Likewise.
7895 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7897 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7898 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7900 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7902 * NEWS: Mention libm performance improvements and non-x86 PI
7905 * csu/libc-start.c (__pthread_initialize_minimal): Change
7907 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7909 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7912 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7913 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7914 <bp-sym.h> and <bp-asm.h>.
7915 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7916 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7918 (memcpy): Don't use BP_SYM.
7919 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7921 (__mpn_add_n): Don't use BP_SYM.
7922 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7923 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7925 (__mpn_addmul_1): Don't use BP_SYM.
7926 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7927 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7929 (_setjmp): Don't use BP_SYM.
7930 (__novmx_setjmp): Likewise.
7931 (__GI__setjmp): Likewise.
7932 (__vmx_setjmp): Likewise.
7933 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7935 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7936 (__bzero): Don't use BP_SYM.
7937 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7938 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7939 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7940 <bp-sym.h> and <bp-asm.h>.
7941 (memcpy): Don't use BP_SYM.
7942 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7943 <bp-sym.h> and <bp-asm.h>.
7944 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7945 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7946 <bp-sym.h> and <bp-asm.h>.
7947 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7948 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7950 (__mpn_lshift): Don't use BP_SYM.
7951 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7952 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7954 (memset): Don't use BP_SYM.
7955 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7956 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7957 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7959 (__mpn_mul_1): Don't use BP_SYM.
7960 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7961 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7962 <bp-sym.h> and <bp-asm.h>.
7963 (memcmp): Don't use BP_SYM.
7964 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7965 <bp-sym.h> and <bp-asm.h>.
7966 (memcpy): Don't use BP_SYM.
7967 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7968 <bp-sym.h> and <bp-asm.h>.
7969 (memset): Don't use BP_SYM.
7970 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7971 <bp-sym.h> and <bp-asm.h>.
7972 (strncmp): Don't use BP_SYM.
7973 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7974 <bp-sym.h> and <bp-asm.h>.
7975 (memcpy): Don't use BP_SYM.
7976 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7977 <bp-sym.h> and <bp-asm.h>.
7978 (memset): Don't use BP_SYM.
7979 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7980 <bp-sym.h> and <bp-asm.h>.
7981 (__memchr): Don't use BP_SYM.
7982 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7983 <bp-sym.h> and <bp-asm.h>.
7984 (memcmp): Don't use BP_SYM.
7985 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7986 <bp-sym.h> and <bp-asm.h>.
7987 (memcpy): Don't use BP_SYM.
7988 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7989 <bp-sym.h> and <bp-asm.h>.
7990 (__mempcpy): Don't use BP_SYM.
7991 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7992 <bp-sym.h> and <bp-asm.h>.
7993 (__memrchr): Don't use BP_SYM.
7994 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7995 <bp-sym.h> and <bp-asm.h>.
7996 (memset): Don't use BP_SYM.
7997 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7998 <bp-sym.h> and <bp-asm.h>.
7999 (__rawmemchr): Don't use BP_SYM.
8000 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8001 <bp-sym.h> and <bp-asm.h>.
8002 (__STRCMP): Don't use BP_SYM.
8003 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8004 <bp-sym.h> and <bp-asm.h>.
8005 (strchr): Don't use BP_SYM.
8006 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8007 <bp-sym.h> and <bp-asm.h>.
8008 (__strchrnul): Don't use BP_SYM.
8009 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8010 <bp-sym.h> and <bp-asm.h>.
8011 (strlen): Don't use BP_SYM.
8012 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8013 <bp-sym.h> and <bp-asm.h>.
8014 (strncmp): Don't use BP_SYM.
8015 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8016 <bp-sym.h> and <bp-asm.h>.
8017 (__strnlen): Don't use BP_SYM.
8018 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8020 (__mpn_rshift): Don't use BP_SYM.
8021 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8022 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8023 <bp-sym.h> and <bp-asm.h>.
8024 (__sigsetjmp): Don't use BP_SYM.
8025 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8026 (L(start_addresses)): Don't use BP_SYM.
8028 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8030 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8031 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8032 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8033 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8035 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8036 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8037 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8038 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8040 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8042 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8043 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8045 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8047 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8048 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8049 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8051 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8053 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8055 (strncmp): Don't use BP_SYM,
8056 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8058 (__mpn_sub_n): Don't use BP_SYM.
8059 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8060 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8062 (__mpn_submul_1): Don't use BP_SYM.
8063 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8065 <bp-sym.h> and <bp-asm.h>.
8066 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8068 <bp-sym.h> and <bp-asm.h>.
8069 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8072 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8075 Use ZK to minimize writes to Z.
8076 (sub_magnitudes): Simplify code a bit.
8077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8078 Use ZK to minimize writes to Z.
8079 (sub_magnitudes): Simplify code a bit.
8081 2013-02-27 Roland McGrath <roland@hack.frob.com>
8083 * csu/gmon-start.c: Add special exception to license text.
8085 2013-02-27 Richard Henderson <rth@redhat.com>
8087 * scripts/config.guess: Update from config.git.
8088 * scripts/config.sub: Likewise.
8090 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8092 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8094 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8096 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8098 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8100 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8102 2013-02-26 Roland McGrath <roland@hack.frob.com>
8104 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8105 [$(build-shared = yes].
8107 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8109 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8110 (__mul): Reduce iterations for calculating mantissa.
8112 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8114 (__mpranred): Likewise.
8117 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8118 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8120 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8122 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8123 Define __attribute__.
8125 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8127 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8129 * posix/regex_internal.h (__attribute): Remove.
8130 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8131 (re_string_context_at): Likewise.
8132 (bitset_not): Use __attribute__ and mark function as possibly
8134 (bitset_merge): Likewise.
8135 (bitset_mask): Likewise.
8136 (re_string_char_size_at): Likewise.
8137 (re_string_wchar_at): Likewise.
8138 (re_string_elem_size_at): Likewise.
8140 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8142 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8146 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8151 (__dbl_mp): Likewise.
8152 (add_magnitudes): Likewise.
8153 (sub_magnitudes): Likewise.
8157 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8160 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8163 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8167 up changes with default code.
8168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8171 2013-02-24 Allan McRae <allan@archlinux.org>
8173 * manual/socket.texi (The Internet Namespace): Order menu items
8174 to match that in the file.
8176 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8177 node listing of the info page menu.
8179 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8182 * sysdeps/i386/bp-asm.h: Remove file.
8183 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8184 (PARMS): Do not use macros from bp-asm.h.
8188 (__mpn_add_n): Do not use BP_SYM
8189 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8191 (PARMS): Do not use macros from bp-asm.h.
8194 (__mpn_addmul_1): Do not use BP_SYM
8195 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8197 (PARMS): Do not use macros from bp-asm.h.
8199 (_setjmp): Likewise. Do not use BP_SYM.
8200 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8202 (PARMS): Do not use macros from bp-asm.h.
8204 (setjmp): Likewise. Do not use BP_SYM.
8205 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8207 (PARMS): Do not use macros from bp-asm.h.
8208 (__frexp): Do not use BP_SYM.
8210 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8212 (PARMS): Do not use macros from bp-asm.h.
8213 (__frexpf): Do not use BP_SYM.
8215 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8217 (PARMS): Do not use macros from bp-asm.h.
8218 (__frexpl): Do not use BP_SYM.
8220 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8222 (PARMS): Do not use macros from bp-asm.h.
8223 (__remquo): Do not use BP_SYM.
8225 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8227 (PARMS): Do not use macros from bp-asm.h.
8228 (__remquof): Do not use BP_SYM.
8229 (remquof): Likewise.
8230 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8232 (PARMS): Do not use macros from bp-asm.h.
8233 (__remquol): Do not use BP_SYM.
8234 (remquol): Likewise.
8235 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8237 (PARMS): Do not use macros from bp-asm.h.
8240 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8241 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8243 (PARMS): Do not use macros from bp-asm.h.
8244 (strlen): Do not use BP_SYM.
8245 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8247 (PARMS): Do not use macros from bp-asm.h.
8251 (__mpn_add_n): Do not use BP_SYM.
8252 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8254 (PARMS): Do not use macros from bp-asm.h.
8257 (__mpn_addmul_1): Do not use BP_SYM.
8258 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8261 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8263 (PARMS): Do not use macros from bp-asm.h.
8266 (__mpn_lshift): Do not use BP_SYM.
8267 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8269 (PARMS): Do not use macros from bp-asm.h.
8273 (memcpy): Likewise. Do not use BP_SYM.
8274 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8275 libc_hidden_def and weak_alias.
8276 (mempcpy): Do not use BP_SYM in weak_alias.
8277 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8279 (PARMS): Do not use macros from bp-asm.h.
8282 [!BZERO_P] (CHR): Likewise.
8283 (memset): Likewise. Do not use BP_SYM.
8284 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8286 (PARMS): Do not use macros from bp-asm.h.
8289 (__mpn_mul_1): Do not use BP_SYM.
8290 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8292 (PARMS): Do not use macros from bp-asm.h.
8295 (__mpn_rshift): Do not use BP_SYM.
8296 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8298 (PARMS): Do not use macros from bp-asm.h.
8301 (strchr): Likewise. Do not use BP_SYM.
8302 (index): Do not use BP_SYM in weak_alias.
8303 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8305 (PARMS): Do not use macros from bp-asm.h.
8308 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8309 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8311 (PARMS): Do not use macros from bp-asm.h.
8312 (strlen): Do not use BP_SYM.
8313 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8315 (PARMS): Do not use macros from bp-asm.h.
8319 (__mpn_sub_n): Do not use BP_SYM.
8320 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8322 (PARMS): Do not use macros from bp-asm.h.
8325 (__mpn_submul_1): Do not use BP_SYM.
8326 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8328 (PARMS): Do not use macros from bp-asm.h.
8332 (__mpn_add_n): Do not use BP_SYM.
8333 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8336 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8338 (PARMS): Do not use macros from bp-asm.h.
8341 (memcmp): Do not use BP_SYM.
8342 (bcmp): Do not use BP_SYM in weak_alias.
8343 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8345 (PARMS): Do not use macros from bp-asm.h.
8349 (memcpy): Likewise. Do not use BP_SYM.
8350 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8352 (PARMS): Do not use macros from bp-asm.h.
8356 (memmove): Likewise. Do not use BP_SYM.
8357 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8359 (PARMS): Do not use macros from bp-asm.h.
8363 (__mempcpy): Likewise. Do not use BP_SYM.
8364 (mempcpy): Do not use BP_SYM in weak_alias.
8365 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8367 (PARMS): Do not use macros from bp-asm.h.
8370 [!BZERO_P] (CHR): Likewise.
8371 (memset): Likewise. Do not use BP_SYM.
8372 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8374 (PARMS): Do not use macros from bp-asm.h.
8376 (strcmp): Do not use BP_SYM.
8377 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8379 (PARMS): Do not use macros from bp-asm.h.
8382 [USE_AS_STRTOK_R] (SAVE): Likewise.
8383 (FUNCTION): Likewise. Do not use BP_SYM.
8384 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8386 (strtok_r): Likewise.
8387 (__GI___strtok_r): Likewise.
8388 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8389 (PARMS): Do not use macros from bp-asm.h.
8392 (__mpn_lshift): Do not use BP_SYM.
8393 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8394 (PARMS): Do not use macros from bp-asm.h.
8397 (__memchr): Do not use BP_SYM.
8398 (memchr): Do not use BP_SYM in weak_alias.
8399 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8400 (PARMS): Do not use macros from bp-asm.h.
8403 (memcmp): Do not use BP_SYM.
8404 (bcmp): Do not use BP_SYM in weak_alias.
8405 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8406 (PARMS): Do not use macros from bp-asm.h.
8409 (__mpn_mul_1): Do not use BP_SYM.
8410 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8412 (PARMS): Do not use macros from bp-asm.h.
8415 (__rawmemchr): Do not use BP_SYM.
8416 (rawmemchr): Do not use BP_SYM in weak_alias.
8417 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8418 (PARMS): Do not use macros from bp-asm.h.
8421 (__mpn_rshift): Do not use BP_SYM.
8422 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8423 (PARMS): Do not use macros from bp-asm.h.
8425 (__sigsetjmp): Likewise. Do not use BP_SYM.
8426 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8427 (_start): Do not use BP_SYM.
8428 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8429 (PARMS): Do not use macros from bp-asm.h.
8432 (__stpcpy): Likewise. Do not use BP_SYM.
8433 (stpcpy): Do not use BP_SYM in weak_alias.
8434 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8436 (PARMS): Do not use macros from bp-asm.h.
8440 (__stpncpy): Likewise. Do not use BP_SYM.
8441 (stpncpy): Do not use BP_SYM in weak_alias.
8442 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8443 (PARMS): Do not use macros from bp-asm.h.
8446 (strchr): Likewise. Do not use BP_SYM.
8447 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8449 (PARMS): Do not use macros from bp-asm.h.
8452 (__strchrnul): Likewise. Do not use BP_SYM.
8453 (strchrnul): Do not use BP_SYM in weak_alias.
8454 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8456 (PARMS): Do not use macros from bp-asm.h.
8458 (strcspn): Do not use BP_SYM.
8459 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8461 (PARMS): Do not use macros from bp-asm.h.
8464 (strpbrk): Likewise. Do not use BP_SYM.
8465 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8467 (PARMS): Do not use macros from bp-asm.h.
8470 (strrchr): Likewise. Do not use BP_SYM.
8471 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8472 (PARMS): Do not use macros from bp-asm.h.
8474 (strspn): Do not use BP_SYM.
8475 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8476 (PARMS): Do not use macros from bp-asm.h.
8480 (FUNCTION): Likewise. Do not use BP_SYM.
8481 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8483 (strtok_r): Likewise.
8484 (__GI___strtok_r): Likewise.
8485 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8486 (PARMS): Do not use macros from bp-asm.h.
8490 (__mpn_sub_n): Do not use BP_SYM.
8491 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8493 (PARMS): Do not use macros from bp-asm.h.
8496 (__mpn_submul_1): Do not use BP_SYM.
8497 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8499 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8501 (PARMS): Do not use macros from bp-asm.h.
8506 (__clone): Do not use BP_SYM.
8507 (clone): Do not use BP_SYM in weak_alias.
8508 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8510 (PARMS): Do not use macros from bp-asm.h.
8512 (__mmap64): Do not use BP_SYM.
8513 (mmap64): Do not use BP_SYM in weak_alias.
8514 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8515 <bp-sym.h> and <bp-asm.h>.
8516 (PARMS): Do not use macros from bp-asm.h.
8517 (__posix_fadvise64_l64): Do not use BP_SYM.
8518 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8519 (PARMS): Do not use macros from bp-asm.h.
8521 (semtimedop): Do not use BP_SYM.
8522 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8525 2013-02-21 Allan McRae <allan@archlinux.org>
8527 * manual/message.texi (Charset conversion in gettext):
8528 Move @end statement to beginning of line.
8530 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8537 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8542 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8544 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8545 tail-call to the resolved function if pltexit isn't needed.
8547 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8550 or Y being zero as being unlikely.
8551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8554 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8556 * manual/nss.texi (System Databases and Name Service Switch):
8557 Remove frobnicate @pxref.
8559 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8561 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8562 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8564 2013-02-20 Petr Machata <pmachata@redhat.com>
8566 * elf/elf.h (R_ARM_TARGET1): New macro.
8567 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8568 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8569 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8570 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8571 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8572 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8573 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8574 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8575 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8576 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8577 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8578 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8579 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8580 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8581 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8582 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8583 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8584 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8585 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8586 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8587 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8588 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8589 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8590 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8591 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8592 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8593 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8594 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8595 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8596 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8597 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8598 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8599 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8600 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8601 (R_ARM_THM_GOT_BREL12): Likewise.
8602 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8603 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8604 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8605 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8606 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8607 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8608 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8609 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8610 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8612 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8614 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8615 __attribute_used__ to __attribute__ ((unused)).
8617 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8619 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8625 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8628 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8630 (ENTER): Remove both macro definitions.
8632 (CHECK_BOUNDS_LOW): Likewise.
8633 (CHECK_BOUNDS_HIGH): Likewise.
8634 (CHECK_BOUNDS_BOTH): Likewise.
8635 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8636 (RETURN_BOUNDED_POINTER): Likewise.
8637 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8638 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8639 (POP_ERRNO_LOCATION_RETURN): Likewise.
8640 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8641 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8642 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8644 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8645 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8646 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8647 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8648 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8649 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8650 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8651 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8652 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8653 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8654 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8655 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8656 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8657 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8659 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8660 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8662 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8663 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8664 * sysdeps/i386/i586/memset.S (memset): Likewise.
8665 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8666 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8667 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8669 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8670 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8671 Change uses of L(2) to L(out).
8672 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8673 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8674 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8675 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8676 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8678 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8679 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8681 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8682 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8683 (RETURN): Do not use macro LEAVE.
8684 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8685 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8686 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8687 * sysdeps/i386/i686/memset.S (memset): Likewise.
8688 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8689 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8690 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8691 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8693 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8694 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8695 L(1_2) and L(1_3) into L(1).
8696 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8697 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8698 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8699 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8700 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8701 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8702 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8703 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8704 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8706 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8707 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8708 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8709 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8710 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8711 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8712 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8713 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8714 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8715 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8716 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8717 * sysdeps/i386/strspn.S (strspn): Likewise.
8718 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8720 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8721 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8722 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8723 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8725 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8726 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8727 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8729 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8731 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8733 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8736 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8738 * math/atest-exp.c (exp_mpn): Remove ROUND.
8739 * math/atest-exp2.c (exp_mpn): Likewise.
8740 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8742 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8743 * stdlib/tst-tls-atexit-lib.c: Likewise.
8744 * stdlib/tst-tls-atexit.c: Likewise.
8746 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8748 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8749 and __attribute_alloc_size__.
8751 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8753 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8754 __attribute_alloc_size__.
8755 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8756 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8758 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8760 * include/programs/xmalloc.h: New file.
8761 * catgets/gencat.c: Include it.
8762 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8763 * elf/pldd.c: Likewise.
8764 * iconv/iconv_charmap.c: Likewise.
8765 * iconv/iconvconfig.c: Likewise.
8766 * iconv/strtab.c: Likewise.
8767 * locale/programs/locale.c: Likewise.
8768 * locale/programs/localedef.h: Likewise.
8769 * locale/programs/simple-hash.c: Likewise.
8770 * nscd/nscd.h: Likewise.
8771 * nss/makedb.c: Likewise.
8772 * sysdeps/generic/ldconfig.h: Likewise.
8774 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8776 * Versions.def: Add GLIBC_2.18.
8777 * include/link.h (struct link_map): New member l_tls_dtor_count.
8778 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8779 (__call_tls_dtors): Likewise.
8780 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8781 __cxa_thread_atexit_impl.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8798 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8799 (tests): Add test case tst-tls-atexit.
8800 (modules-names): Add shared library for tst-tls-atexit.
8801 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8802 (GLIBC_PRIVATE): Add __call_tls_dtors.
8803 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8805 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8806 * stdlib/tst-tls-atexit.c: New test case.
8807 * stdlib/tst-tls-atexit-lib.c: New test case.
8809 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8811 * elf/Versions (ld): Add _dl_find_dso_for_object.
8812 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8813 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8814 (dl_open_worker): Use _dl_find_dso_for_object.
8815 * elf/dl-sym.c (do_sym): Likewise.
8816 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8818 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8820 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8821 Syntactic changes only.
8822 (_dl_runtime_profile): Do a tail-call to the resolved function.
8824 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8827 * sysdeps/x86_64/bp-asm.h: Remove file.
8828 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8829 <bp-sym.h> and <bp-asm.h>.
8830 (__clone): Do not use BP_SYM.
8831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8832 <bp-sym.h> and <bp-asm.h>.
8833 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8834 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8836 (_setjmp): Do not use BP_SYM.
8837 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8839 (setjmp): Do not use BP_SYM.
8840 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8842 (mempcpy): Do not use BP_SYM in weak_alias.
8843 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8845 (strchr): Do not use BP_SYM.
8846 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8848 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8849 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8850 (_start): Do not use BP_SYM.
8851 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8853 (strcat): Do not use BP_SYM.
8854 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8856 (STRCMP): Do not use BP_SYM.
8857 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8859 (STRCPY): Do not use BP_SYM.
8860 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8862 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8864 (FUNCTION): Do not use BP_SYM.
8865 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8867 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8869 2013-02-17 Andreas Jaeger <aj@suse.de>
8871 * time/Versions: Sort entries.
8872 * string/Versions: Likewise.
8873 * resolv/Versions: Likewise.
8874 * posix/Versions: Likewise.
8875 * iconv/Versions: Likewise.
8876 * elf/Versions: Likewise.
8877 * wcsmbs/Versions: Likewise.
8879 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8881 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8882 loop termination condition.
8884 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8885 variable to calculate EZ.
8888 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8889 the lower precision input.
8891 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8894 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8895 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8896 (run-via-rtld-prefix): Do not handle %-bp tests.
8897 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8898 (all-object-suffixes): Remove .ob.
8899 (bppfx): Remove variable.
8900 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8901 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8902 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8903 [$(build-bounded) = yes] (libtype.ob): Likewise.
8904 * Makerules (elide-routines.ob): Remove variable.
8905 (do-tests-clean): Do not handle *-bp.out.
8906 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8907 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8908 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8909 (tests): Do not include $(tests-bp.out).
8910 (xtests): Do not include $(xtests-bp.out).
8911 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8912 [$(build-bounded) = yes] ($(addprefix
8913 $(objpfx),$(binaries-bounded))): Remove rule.
8914 ($(objpfx)%-bp.out): Remove rule.
8915 * config.make.in (build-bounded): Remove variable.
8916 * crypt/Makefile [$(build-bounded) = yes]
8917 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8918 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8920 [$(build-bounded) = yes] (install-lib): Likewise.
8921 [$(build-bounded) = yes] (generated): Likewise.
8922 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8924 * intl/Makefile [$(build-bounded) = yes]
8925 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8926 * math/Makefile [$(build-bounded) = yes]
8927 ($(tests:%=$(objpfx)%-bp): Likewise.
8928 * misc/Makefile [$(build-bounded) = yes]
8929 ($(objpfx)tst-tsearch-bp): Likewise.
8930 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8931 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8933 * string/Makefile (o-objects.ob): Remove variable.
8934 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8935 (CFLAGS-.ob): Remove variable.
8936 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8937 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8938 both definitions of variable.
8939 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8940 (ASFLAGS-.ob): Remove variable.
8942 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8945 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8946 Remove __BOUNDED_POINTERS__ from condition.
8947 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8948 * string/bits/string2.h [!__NO_STRING_INLINES &&
8949 !__BOUNDED_POINTERS__]: Likewise.
8950 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8952 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8953 Remove conditional code.
8954 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8955 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8956 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8960 * csu/libc-start.c: Do not include <bp-sym.h>.
8961 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8962 * elf/dl-open.c: Do not include <bp-sym.h>.
8963 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8964 * math/fegetenv.c: Do not include <bp-sym.h>.
8965 (fegetenv): Do not use BP_SYM in versioned symbols.
8966 * nptl/sysdeps/pthread/bits/libc-lockP.h
8967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8970 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8972 (__pthread_mutex_destroy): Likewise.
8973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8974 (__pthread_mutex_lock): Likewise.
8975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8976 (__pthread_mutex_trylock): Likewise.
8977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8978 (__pthread_mutex_unlock): Likewise.
8979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8980 (__pthread_mutexattr_init): Likewise.
8981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8982 (__pthread_mutexattr_destroy): Likewise.
8983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8984 (__pthread_mutexattr_settype): Likewise.
8985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8986 (__pthread_rwlock_init): Likewise.
8987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8988 (__pthread_rwlock_destroy): Likewise.
8989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8990 (__pthread_rwlock_rdlock): Likewise.
8991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8992 (__pthread_rwlock_tryrdlock): Likewise.
8993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8994 (__pthread_rwlock_wrlock): Likewise.
8995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8996 (__pthread_rwlock_trywrlock): Likewise.
8997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8998 (__pthread_rwlock_unlock): Likewise.
8999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9000 (__pthread_key_create): Likewise.
9001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9002 (__pthread_setspecific): Likewise.
9003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9004 (__pthread_getspecific): Likewise.
9005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9008 (_pthread_cleanup_push_defer): Likewise.
9009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9010 (_pthread_cleanup_pop_restore): Likewise.
9011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9012 (pthread_setcancelstate): Likewise.
9013 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9015 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9016 (memchr): Do not use BP_SYM in weak_alias.
9017 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9018 (fegetenv): Do not use BP_SYM in versioned symbols.
9019 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9020 (fesetenv): Do not use BP_SYM in versioned symbols.
9021 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9022 (feupdateenv): Do not use BP_SYM in versioned symbols.
9023 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9024 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9025 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9026 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9027 (open64): Do not use BP_SYM in weak_alias.
9028 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9029 (fegetenv): Do not use BP_SYM in versioned symbols.
9030 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9031 (fesetenv): Do not use BP_SYM in versioned symbols.
9032 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9033 (feupdateenv): Do not use BP_SYM in versioned symbols.
9034 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9035 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9036 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9037 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9038 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9039 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9040 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9042 (__libc_start_main): Do not use BP_SYM.
9044 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9047 redundant return line.
9051 (sub_magnitudes): Likewise.
9057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9061 (sub_magnitudes): Likewise.
9068 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9070 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9071 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9074 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9075 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9077 of __mul for squares.
9078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9082 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9083 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9085 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9088 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9090 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9091 prototype or function definition. Rename ubp_* variables and
9092 parameters. Remove argv definitions conditional on
9093 [__BOUNDED_POINTERS__].
9094 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9095 * elf/dl-runtime.c (_dl_fixup): Likewise.
9096 * include/set-hooks.h (RUN_HOOK): Likewise.
9097 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9099 * string/strcpy.c (strcpy): Do not use __unbounded.
9100 * sysdeps/generic/frame.h (struct layout): Likewise.
9101 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9102 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9103 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9104 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9105 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9106 (__backtrace): Likewise.
9107 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9109 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9110 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9111 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9113 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9114 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9115 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9116 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9117 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9118 Do not use __unbounded.
9119 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9120 Rename __unboundedrlimits parameter to rlimits in prototype.
9121 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9122 Do not use __unbounded.
9123 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9125 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9126 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9127 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9128 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9129 __ptrvalue or __unbounded.
9130 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9131 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9133 (__new_msgctl): Do not use __ptrvalue.
9134 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9136 (__libc_msgrcv): Do not use __ptrvalue.
9137 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9138 startup_info): Do not use __unbounded.
9139 (__libc_start_main): Likewise. Rename ubp_* variables and
9140 parameters. Remove argv definitions conditional on
9141 [__BOUNDED_POINTERS__].
9142 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9144 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9146 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9148 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9150 (__new_shmctl): Do not use __ptrvalue.
9151 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9152 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9154 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9156 (__libc_sigaction): Likewise.
9157 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9158 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9160 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9162 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9164 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9166 * string/mempcpy.c: Implement by calling memcpy.
9168 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9170 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9176 values in the mantissa.
9178 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9179 minimize writes to Z.
9180 (sub_magnitudes): Simplify code a bit.
9182 2013-02-12 Roland McGrath <roland@hack.frob.com>
9184 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9185 from the message. The linker prefixes all warnings with that already.
9187 2013-02-12 Andreas Schwab <schwab@suse.de>
9190 * posix/regexec.c (extend_buffers): Add parameter min_len.
9191 (check_matching): Pass minimum needed length.
9192 (clean_state_log_if_needed): Likewise.
9193 (get_subexp): Likewise.
9194 * posix/Makefile (tests): Add bug-regex34.
9195 (bug-regex34-ENV): Define.
9196 * posix/bug-regex34.c: New file.
9199 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9200 elements compare against the byte sequence of it, not its name.
9201 * posix/Makefile (tests): Add bug-regex35.
9202 (bug-regex35-ENV): Define.
9203 * posix/bug-regex35.c: New file.
9205 2013-02-11 Tom de Vries <tom@codesourcery.com>
9207 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9209 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9210 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9211 (CHECK_EOL): Add undef.
9213 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9215 * bits/stdlib-bsearch.h: New file.
9216 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9217 * stdlib/stdlib.h: Likewise.
9219 2013-02-11 Roland McGrath <roland@hack.frob.com>
9221 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9222 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9224 * manual/search.texi (Array Search Function): Add missing const in
9226 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9227 declaration to use rlim_t.
9228 (Basic Scheduling Functions): Remove erroneous const from
9229 sched_getparam prototype. Remove erroneous * from
9230 sched_get_priority_max and sched_get_priority_min prototypes.
9231 (Resource Usage): Fix summary @comment on vtimes to refer to
9232 sys/vtimes.h rather than vtimes.h.
9233 Add missing *s in vtimes prototype.
9234 (Limits on Resources): Fix ulimit prototype to return long int.
9235 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9236 prototypes to use long int rather than double.
9237 (BSD Random): Fix initstate and setstate to use char *, not void *.
9238 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9239 prototype to make second argument 'struct aiocb64 *const[]'.
9240 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9241 (Status of AIO Operations): Remove erroneous const in aio_return and
9242 aio_return64 prototypes.
9243 (Synchronizing I/O): Fix sync prototype to return void.
9244 * manual/startup.texi (Suboptions): Remove an erroneous const in
9245 getsubopt prototype.
9246 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9247 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9248 use size_t rather than int.
9249 (Scanning All Users): Likewise for getpwent_r.
9250 (Setting Groups): Add missing const to setgroups prototype.
9251 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9252 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9253 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9254 'const void *' rather than 'const char *'.
9255 (Host Address Functions): Likewise for inet_ntop.
9256 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9257 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9258 ssize_t for return value.
9259 (Sending Data): Likewise for send, sendto, sendmsg.
9260 (Socket Option Functions): Add a missing const in setsockopt prototype.
9261 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9262 use wchar_t for the argument.
9263 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9264 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9266 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9267 double/float/long double for second argument.
9268 Fix return types of significand, significandf, significandl.
9269 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9270 argument in fchmod prototype.
9271 (File Owner): Use uid_t and gid_t in fchown prototype.
9272 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9273 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9274 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9275 use 'const struct dirent **' as argument types to CMP function pointer
9277 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9278 (File Times): Fix summary magic @comment for struct utimbuf and utime
9279 to refer to utime.h, not time.h.
9280 * manual/string.texi (Argz Functions): Add missing const in
9281 argz_extract and argz_next prototypes.
9282 (Finding Tokens in a String): Likewise for basename.
9283 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9284 (Copying and Concatenation): Fix typo in wmemmove prototype.
9285 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9286 (Signal Stack): Remove erroneous const in sigstack prototype.
9287 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9289 (Simple Calendar Time): Likewise for stime.
9290 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9292 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9293 say sys/sysctl.h instead.
9294 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9295 and vsyslog prototypes.
9297 2013-02-11 Tom de Vries <tom@codesourcery.com>
9299 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9302 2013-02-11 Roland McGrath <roland@hack.frob.com>
9304 * misc/sys/mman.h: Fix typo in mremap comment.
9306 2013-02-08 Roland McGrath <roland@hack.frob.com>
9308 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9309 the '\0' terminator.
9311 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9314 * debug/segfault.c: Don't include <bp-checks.h>.
9315 * sysdeps/generic/bp-checks.h: Remove file.
9316 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9317 (__GETDENTS): Don't use CHECK_N.
9318 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9319 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9320 (__getgroups): Don't use CHECK_N.
9321 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9322 (setgroups): Don't use CHECK_N.
9323 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9324 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9325 (__libc_msgrcv): Don't use CHECK_N.
9326 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9327 (__libc_msgsnd): Don't use CHECK_N.
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9330 (__libc_pread): Don't use CHECK_N.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9332 include <bp-checks.h>.
9333 (__libc_pread64): Don't use CHECK_N.
9334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9335 include <bp-checks.h>.
9336 (__libc_pwrite): Don't use CHECK_N.
9337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9338 include <bp-checks.h>.
9339 (__libc_pwrite64): Don't use CHECK_N.
9340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9342 (__libc_pread): Don't use CHECK_N.
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9344 include <bp-checks.h>.
9345 (__libc_pread64): Don't use CHECK_N.
9346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9347 include <bp-checks.h>.
9348 (__libc_pwrite): Don't use CHECK_N.
9349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9350 include <bp-checks.h>.
9351 (__libc_pwrite64): Don't use CHECK_N.
9352 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9353 (do_pread): Don't use CHECK_N.
9354 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9355 (do_pread64): Don't use CHECK_N.
9356 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9357 (do_pwrite): Don't use CHECK_N.
9358 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9359 (do_pwrite64): Don't use CHECK_N.
9360 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9361 (__libc_readv): Don't use CHECK_N.
9362 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9363 (semop): Don't use CHECK_N.
9364 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9366 (semtimedop): Don't use CHECK_N.
9367 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9368 (__libc_pread): Don't use CHECK_N.
9369 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9371 (__libc_pread64): Don't use CHECK_N.
9372 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9374 (__libc_pwrite): Don't use CHECK_N.
9375 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9377 (__libc_pwrite64): Don't use CHECK_N.
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9380 (__libc_msgrcv): Don't use CHECK_N.
9381 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9382 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9383 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9384 (__libc_writev): Don't use CHECK_N.
9386 2013-02-08 Roland McGrath <roland@hack.frob.com>
9388 * string/strcpy.c: Removed unused variable.
9390 * Makeconfig (+sysdep-includes): Define with := rather than =.
9391 Use an existing include/ subdir of each sysdeps dir before it.
9393 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9395 * nscd/connection.c (register_traced_file): Comment function.
9396 [HAVE_INOTIFY] (union __inev): Define.
9397 [HAVE_INOTIFY] (inotify_check_files): New function.
9398 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9399 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9401 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9403 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9405 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9406 loaded if not already and that a failure is permanent.
9408 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9411 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9412 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9414 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9417 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9418 (CHECK_1_NULL_OK): Likewise.
9419 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9420 (__fxstat): Do not use CHECK_1.
9421 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9423 (___fxstat64): Do not use CHECK_1.
9424 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9426 (__fxstatat): Do not use CHECK_1.
9427 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9429 (__fxstatat64): Do not use CHECK_1.
9430 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9432 (__fxstat): Do not use CHECK_1.
9433 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9435 (__fxstatat): Do not use CHECK_1.
9436 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9438 (__getresgid): Do not use CHECK_1.
9439 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9441 (__getresuid): Do not use CHECK_1.
9442 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9444 (__lxstat): Do not use CHECK_1.
9445 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9447 (__old_msgctl): Do not use CHECK_1.
9448 (__new_msgctl): Likewise.
9449 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9451 (__new_setrlimit): Do not use CHECK_1.
9452 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9454 (__old_shmctl): Do not use CHECK_1.
9455 (__new_shmctl): Likewise.
9456 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9458 (__xstat): Do not use CHECK_1.
9459 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9460 (__lxstat): Do not use CHECK_1.
9461 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9463 (___lxstat64): Do not use CHECK_1.
9464 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9465 (__old_msgctl): Do not use CHECK_1.
9466 (__new_msgctl): Likewise.
9467 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9469 (__gettimeofday): Do not use CHECK_1.
9470 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9471 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9472 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9474 (__gettimeofday): Do not use CHECK_1.
9475 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9476 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9477 (__new_shmctl): Do not use CHECK_1.
9478 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9480 (do_sigtimedwait): Do not use CHECK_1.
9481 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9483 (do_sigwaitinfo): Do not use CHECK_1.
9484 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9486 (msgctl): Do not use CHECK_1.
9487 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9489 (shmctl): Do not use CHECK_1.
9490 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9491 (ustat): Do not use CHECK_1.
9492 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9494 (__fxstat): Do not use CHECK_1.
9495 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9497 (__fxstatat): Do not use CHECK_1.
9498 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9500 (__lxstat): Do not use CHECK_1.
9501 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9503 (__xstat): Do not use CHECK_1.
9504 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9505 (__xstat): Do not use CHECK_1.
9506 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9507 (___xstat64): Do not use CHECK_1.
9510 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9512 (CHECK_BOUNDS_HIGH): Likewise.
9513 * string/strcpy.c: Do not include <bp-checks.h>.
9514 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9516 2013-02-07 Roland McGrath <roland@hack.frob.com>
9518 * nscd/nscd-client.h (__nscd_drop_map_ref):
9519 Add __attribute__ ((unused)).
9520 * nis/nss-nisplus.h (niserr2nss): Likewise.
9522 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9523 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9525 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9526 Remove inline keyword.
9527 * include/rounding-mode.h (round_away): Likewise.
9528 * libio/wfileops.c (adjust_wide_data): Likewise.
9529 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9530 (__m128i_strloadu_tolower): Likewise.
9531 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9532 (__m128i_strloadu_tolower): Likewise.
9533 * time/mktime.c (ydhms_diff): Likewise.
9534 * locale/elem-hash.h (elem_hash): Likewise.
9535 * locale/setlocale.c (setdata): Likewise.
9536 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9537 (re_string_wchar_at): Likewise.
9538 (bitset_not, bitset_merge, bitset_mask): Likewise.
9539 [!(__GNUC__ > 3)] (inline): Remove macro.
9540 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9541 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9542 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9543 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9544 * string/memcmp.c (memcmp_bytes): Likewise.
9545 * locale/programs/locarchive.c (compute_hashval): Likewise.
9546 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9547 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9548 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9549 * nss/getent.c (print_rpc, print_protocols): Likewise.
9550 (print_passwd, print_group, print_aliases): Likewise.
9551 * nis/nss-nisplus.h (niserr2nss): Likewise.
9552 * nscd/connections.c (restart_p): Likewise.
9553 Change return type to bool.
9555 2013-02-05 Roland McGrath <roland@hack.frob.com>
9557 * Makeconfig (all-Depend-files): Add existing
9558 $(sorted-subdirs:=/Depend) files.
9559 (all-subdirs): Remove nss.
9560 * sysdeps/unix/inet/Subdirs: Add it here instead.
9561 * hesiod/Depend: New file.
9563 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9564 instead of calling alloca.
9566 * io/lseek.c (__lseek): Rename to __libc_lseek.
9567 Define __lseek as an alias.
9569 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9571 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9573 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9574 else clause and remove check for non-standard endianness.
9576 2013-02-04 David S. Miller <davem@davemloft.net>
9578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9580 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9583 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9584 (__ubp_memchr): Remove prototype.
9585 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9586 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9587 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9588 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9589 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9591 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9592 (__ubp_memchr): Likewise.
9593 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9594 (__ubp_memchr): Likewise.
9595 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9596 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9597 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9598 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9600 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9601 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9602 (__getcwd): Do not use CHECK_STRING.
9603 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9605 (__real_chown): Do not use CHECK_STRING.
9606 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9608 (fchownat): Do not use CHECK_STRING.
9609 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9611 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9613 (__lchown): Do not use CHECK_STRING.
9614 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9615 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9616 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9617 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9619 include <bp-checks.h>.
9620 (truncate64): Do not use CHECK_STRING.
9621 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9623 (__real_chown): Do not use CHECK_STRING.
9624 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9626 (__lchown): Do not use CHECK_STRING.
9627 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9629 (__chown): Do not use CHECK_STRING.
9630 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9632 (truncate64): Do not use CHECK_STRING.
9633 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9635 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9636 (__xmknod): Do not use CHECK_STRING.
9637 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9639 (__xmknodat): Do not use CHECK_STRING.
9640 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9641 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9643 2013-02-04 Andreas Schwab <schwab@suse.de>
9646 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9647 * include/netdb.h: Likewise for h_errno.
9648 * elf/tst-stackguard1.c: Include <tls.h>.
9650 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9652 * elf/link.h (struct link_map): Extend the l_addr comment.
9653 * include/link.h (struct link_map): Likewise.
9655 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9658 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9659 (BOUNDED_1): Remove macro.
9660 * debug/backtrace.c: Don't include <bp-checks.h>.
9661 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9662 (__backtrace): Likewise.
9663 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9665 (__backtrace): Don't use BOUNDED_1.
9666 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9668 (__backtrace): Don't use BOUNDED_1.
9669 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9670 (__backtrace): Don't use BOUNDED_1.
9671 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9672 (shmat): Don't use BOUNDED_N.
9674 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9677 * sysdeps/generic/bp-start.h: Remove file.
9678 * csu/libc-start.c: Don't include <bp-start.h>.
9679 (LIBC_START_MAIN): Set up __environ directly instead of using
9680 INIT_ARGV_and_ENVIRON.
9681 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9685 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9687 (CHECK_FCNTL): Likewise.
9688 (CHECK_N_PAGES): Likewise.
9691 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9693 (CHECK_SIGSET_NULL_OK): Likewise.
9694 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9696 (sigpending): Don't use CHECK_SIGSET.
9697 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9699 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9700 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9702 (do_sigsuspend): Don't use CHECK_SIGSET.
9703 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9705 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9706 (do_sigwait): Don't use CHECK_SIGSET.
9707 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9710 include <bp-checks.h>.
9711 (sigpending): Don't use CHECK_SIGSET.
9712 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9713 include <bp-checks.h>.
9714 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9715 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9717 (sigpending): Don't use CHECK_SIGSET.
9718 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9720 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9723 * sysdeps/generic/bp-semctl.h: Remove file.
9724 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9725 <bp-checks.h> and <bp-semctl.h>.
9726 (__old_semctl): Don't use CHECK_SEMCTL.
9727 (__new_semctl): Likewise.
9728 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9730 (__old_semctl): Don't use CHECK_SEMCTL.
9731 (__new_semctl): Likewise.
9732 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9733 <bp-checks.h> and <bp-semctl.h>.
9734 (__old_semctl): Don't use CHECK_SEMCTL.
9735 (__new_semctl): Likewise.
9736 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9737 <bp-checks.h> and <bp-semctl.h>.
9738 (semctl): Don't use CHECK_SEMCTL.
9741 * Makerules (elide-bp-thunks): Remove variable.
9742 (elide-routines.oS): Don't use $(elide-bp-thunks).
9743 (elide-routines.os): Likewise.
9744 (elide-routines.o): Likewise.
9745 (elide-routines.op): Likewise.
9746 (elide-routines.og): Likewise.
9747 (objects): Don't use $(bp-thunks).
9748 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9750 (common-generated): Do not add s-proto-bp.d.
9751 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9754 Do not generate makefile rules for bounded-pointer thunks.
9755 * sysdeps/generic/bp-thunks.h: Remove file.
9756 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9757 * sysdeps/unix/s-proto-bp.S: Likewise.
9760 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9761 parts of result separately when argument is not close to line from
9762 -i to i and one part of argument is small.
9763 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9764 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9765 * math/libm-test.inc (cacos_test): Add more tests.
9766 (casin_test): Likewise.
9767 (casinh_test): Likewise.
9768 * sysdeps/i386/fpu/libm-test-ulps: Update.
9769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9771 2013-01-31 David S. Miller <davem@davemloft.net>
9773 * po/de.po: Update from translation team.
9775 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9777 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9779 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9781 * configure.in (_AC_PROG_CC_C89): New definition.
9782 * configure: Regenerate.
9784 * configure.in (AC_PROG_CPP): New definition.
9785 * configure: Regenerate.
9787 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9789 * debug/tst-backtrace.h: New file.
9790 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9791 (ret): Remove variable.
9793 (FAIL): Remove macro.
9794 (NO_INLINE): Likewise.
9795 (fn1): Use match function instead of strstr.
9796 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9797 (ret): Remove variable.
9799 (FAIL): Remove macro.
9800 (NO_INLINE): Likewise.
9801 (fn): Use match function instead of strstr.
9802 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9803 (ret): Remove variable.
9805 (FAIL): Remove macro.
9806 (NO_INLINE): Likewise.
9807 (handle_signal): Use match function instead of strstr.
9808 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9809 (ret): Remove variable.
9811 (FAIL): Remove macro.
9812 (NO_INLINE): Likewise.
9813 (handle_signal): Use match function instead of strstr.
9815 2013-01-23 Roland McGrath <roland@hack.frob.com>
9817 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9819 2013-01-23 David S. Miller <davem@davemloft.net>
9821 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9822 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9823 argument of CAS if possible.
9824 * sysdeps/sparc/sparc64/bits/atomic.h
9825 (__arch_compare_and_exchange_val_32_acq): Likewise.
9826 (__arch_compare_and_exchange_val_64_acq): Likewise.
9828 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9830 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9831 * sysdeps/posix/ulimit.c: ... this.
9833 * sysdeps/unix/bsd/ulimit.c: Remove file.
9835 2013-01-23 Adam Conrad <adconrad@0c3.net>
9837 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9838 (LDFLAGS-tst-array5): Likewise.
9840 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9843 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9844 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9845 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9846 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9848 2013-01-21 David S. Miller <davem@davemloft.net>
9850 * sysdeps/sparc/backtrace.c: New file.
9851 * sysdeps/sparc/sparc32/backtrace.h: New file.
9852 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9853 * sysdeps/sparc/sparc64/backtrace.h: New file.
9854 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9855 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9858 2013-01-21 Andreas Schwab <schwab@suse.de>
9861 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9864 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9870 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9871 Mark Mitchell <mark@codesourcery.com>
9872 Tom de Vries <tom@codesourcery.com>
9873 Paul Pluzhnikov <ppluzhnikov@google.com>
9875 * debug/tst-backtrace2.c: New file.
9876 * debug/tst-backtrace3.c: Likewise.
9877 * debug/tst-backtrace4.c: Likewise.
9878 * debug/tst-backtrace5.c: Likewise.
9879 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9880 (CFLAGS-tst-backtrace3.c): Likewise.
9881 (CFLAGS-tst-backtrace4.c): Likewise.
9882 (CFLAGS-tst-backtrace5.c): Likewise.
9883 (LDFLAGS-tst-backtrace2): Likewise.
9884 (LDFLAGS-tst-backtrace3): Likewise.
9885 (LDFLAGS-tst-backtrace4): Likewise.
9886 (LDFLAGS-tst-backtrace5): Likewise.
9887 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9888 tst-backtrace4 and tst-backtrace5.
9890 2013-01-18 Anton Blanchard <anton@samba.org>
9891 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9893 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9894 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9895 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9896 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9898 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9899 "+r" and remove output regs list as redundant. Add explicit inline
9900 asm to specify register of return val to work around compiler codegen
9901 bug. Remove (int) cast on return value. Add return type parameter to
9902 use in macro so that this macro does not truncate return value for
9904 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9905 pass to INTERNAL_VSYSCALL_NCS.
9906 (INLINE_VSYSCALL): Add 'long int' as return type to
9907 INTERNAL_VSYSCALL_NCS macro invocation.
9908 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9909 INTERNAL_VSYSCALL_NCS macro invocation.
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9912 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9915 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9916 Fix application of SIMD FP exception mask.
9918 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9919 mp_no from a power of two.
9920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9921 __mpexp_twomm1. Use __pow_mp.
9923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9926 2013-01-17 David S. Miller <davem@davemloft.net>
9928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9930 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9933 * include/complex.h: Condition contents on [!_COMPLEX_H].
9934 (__kernel_casinhf): New prototype.
9935 (__kernel_casinh): Likewise.
9936 (__kernel_casinhl): Likewise.
9937 * math/Makefile (libm_calls): Add k_casinh.
9938 * math/k_casinh.c: New file.
9939 * math/k_casinhf.c: Likewise.
9940 * math/k_casinhl.c: Likewise.
9941 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9942 finite nonzero arguments.
9943 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9944 finite nonzero arguments.
9945 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9946 finite nonzero arguments.
9947 * math/s_casinh.c: Do not include <float.h>.
9948 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9949 * math/s_casinhf.c: Do not include <float.h>.
9950 (__casinhf): Move code for finite nonzero arguments to
9952 * math/s_casinhl.c: Do not include <float.h>.
9953 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9955 (__casinhl): Move code for finite nonzero arguments to
9957 * math/libm-test.inc (cacos_test): Add more tests.
9958 * sysdeps/i386/fpu/libm-test-ulps: Update.
9959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9961 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9963 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9964 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9965 [!HAVE_MREMAP]: Remove [defined linux] case.
9966 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9968 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9970 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9972 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9974 * elf/elf.h (R_386_SIZE32): New relocation.
9975 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9977 (elf_machine_rela): Likewise.
9978 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9979 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9981 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9983 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9984 (FP_FAST_FMA): Do not define.
9985 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9986 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9987 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9988 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9989 !_SOFT_FLOAT]: Likewise.
9990 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9991 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9993 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9994 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9995 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9996 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9997 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9998 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10001 2013-01-16 Andreas Schwab <schwab@suse.de>
10004 * include/stdlib.h (__mktemp): Add declaration.
10005 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10006 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10008 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10010 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10012 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10013 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10014 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10016 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10017 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10019 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10021 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10022 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10023 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10025 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10026 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10028 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10030 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10032 2013-01-15 David S. Miller <davem@davemloft.net>
10034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10035 trunc{,f} to libm-sysdep_routes.
10036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10046 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10047 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10048 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10049 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10050 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10051 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10054 nearbyint{,f} to libm-sysdep_routes.
10055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10066 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10068 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10069 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10071 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10072 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10073 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10075 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10076 libc_feholdexcept and libc_fesetenv.
10078 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10080 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10082 2013-01-14 David S. Miller <davem@davemloft.net>
10084 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10085 (SPARC_ASM_VIS2_IFUNC): Likewise.
10086 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10088 use of 'siam' instruction.
10089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10120 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10122 routines to libm-sysdep_routines.
10123 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10126 fdim/fdimf to libm-sysdep_routines.
10127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10135 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10136 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10137 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10138 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10140 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10142 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10143 to optimize copies.
10145 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10150 local variable MPTWO.
10151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10154 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10156 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10159 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10161 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10163 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10165 * manual/pattern.texi (glob_t): Document gl_flags.
10166 (glob64_t): Likewise.
10168 2013-01-11 David S. Miller <davem@davemloft.net>
10170 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10171 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10172 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10173 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10174 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10175 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10176 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10177 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10178 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10179 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10180 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10181 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10182 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10184 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10185 sparc V9 rather than using V8 code.
10186 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10187 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10189 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10191 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10194 2013-01-11 Roland McGrath <roland@hack.frob.com>
10196 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10197 not in the main loop.
10198 * configure: Regenerated.
10200 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10202 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10203 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10205 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10206 [!__GLIBC_HAVE_LONG_LONG] case.
10207 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10208 condition to just #else.
10209 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10210 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10211 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10212 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10214 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10215 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10216 #elif condition to just #else.
10217 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10218 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10219 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10220 #elif condition to just #else.
10222 2013-01-11 Steve Ellcey <sellcey@mips.com>
10224 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10225 (EF_MIPS_ARCH_64): Fix value.
10226 (EF_MIPS_ARCH_32R2): New.
10227 (EF_MIPS_ARCH_64R2): New.
10229 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10231 * Makeconfig (+link-pie-before-libc): New.
10232 (+link-pie-after-libc): Likewise.
10233 (+link-pie-tests): Likewise.
10234 (+link-pie): Rewritten.
10235 (link-before-libc): Remove $(config-LDFLAGS).
10236 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10237 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10238 (config-LDFLAGS): Renamed to ...
10239 (rtld-LDFLAGS): This.
10240 (rtld-tests-LDFLAGS): New macro.
10241 (link-libc-rpath-link): Likewise.
10242 (link-libc-tests-rpath-link): Likewise.
10243 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10244 (link-libc): Prepand $(link-libc-rpath-link).
10245 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10246 (test-program-prefix): New macro.
10247 (test-via-rtld-prefix): Likewise.
10248 (test-program-cmd): Likewise.
10249 (host-test-program-cmd): Likewise.
10250 * Makefile ($(common-objpfx)testrun.sh): Replace
10251 $(run-program-prefix) with $(test-program-prefix).
10252 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10254 ($(common-objpfx)shlib.lds): Likewise.
10255 (build-module-helper): Likewise.
10256 ($(common-objpfx)format.lds): Likewise.
10257 * Rules (binaries-pie-tests): New.
10258 (binaries-pie-notests): Likewise.
10259 (binaries-pie): Rewritten.
10260 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10261 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10262 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10263 (make-test-out): Replace $(host-built-program-cmd) with
10264 $(host-test-program-cmd).
10265 * config.make.in (build-hardcoded-path-in-tests): New variable.
10266 * configure.in (--enable-hardcoded-path-in-tests): New configure
10268 (hardcoded_path_in_tests): New AC_SUBST.
10269 * configure: Regenerated.
10270 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10271 $(built-program-cmd) with $(test-program-cmd).
10272 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10273 (test_program_cmd): This.
10274 * elf/Makefile ($(objpfx)order.out): Run test with
10275 $(test-program-prefix).
10276 ($(objpfx)order2.out): Likewise.
10277 ($(objpfx)tst-initorder.out): Likewise.
10278 ($(objpfx)tst-initorder2.out): Likewise.
10279 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10280 $(test-program-cmd).
10281 ($(objpfx)tst-array1-static.out): Likewise.
10282 ($(objpfx)tst-array2.out): Likewise.
10283 ($(objpfx)tst-array3.out): Likewise.
10284 ($(objpfx)tst-array4.out): Likewise.
10285 ($(objpfx)tst-array5.out): Likewise.
10286 ($(objpfx)tst-array5-static.out): Likewise.
10287 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10288 $(test-program-cmd).
10289 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10290 $(run-program-prefix) with $(test-program-prefix).
10291 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10292 (test_program_prefix): This.
10293 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10294 $(run-program-prefix) with $(test-program-prefix).
10295 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10296 (test_program_prefix): This.
10297 * iconvdata/tst-tables.sh: Likewise.
10298 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10299 $(run-program-prefix) with $(test-program-prefix).
10300 ($(objpfx)tst-translit.out): Likewise.
10301 ($(objpfx)tst-gettext2.out): Likewise.
10302 ($(objpfx)tst-gettext4.out): Likewise.
10303 ($(objpfx)tst-gettext6.out): Likewise.
10304 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10305 (test_program_prefix): This.
10306 * intl/tst-gettext2.sh: Likewise.
10307 * intl/tst-gettext4.sh Likewise.
10308 * intl/tst-gettext6.sh: Likewise.
10309 * intl/tst-translit.sh: Likewise.
10310 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10311 with $(test-program-cmd).
10312 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10313 $(run-program-prefix) with $(test-program-prefix).
10314 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10315 (test_program_prefix): This.
10316 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10317 $(run-program-prefix) with $(test-program-prefix).
10318 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10319 (test_program_prefix): This.
10320 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10321 * posix/Makefile ($(objpfx)globtest.out): Replace
10322 $(run-via-rtld-prefix) and $(test-wrapper) with
10323 $(test-program-prefix) and $(test-via-rtld-prefix).
10324 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10325 $(test-program-prefix).
10326 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10327 $(host-test-program-cmd).
10328 (tst-spawn-ARGS): Likewise.
10329 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10330 $(test-program-prefix).
10331 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10332 (test_via_rtld_prefix): This.
10333 (test_wrapper): Renamed to ...
10334 (test_program_prefix): This.
10335 (run_program_prefix): Replaced by test_program_prefix.
10336 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10337 (test_program_prefix): This.
10338 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10339 with $(host-test-program-cmd).
10340 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10341 $(run-program-prefix) with $(test-program-prefix).
10342 ($(objpfx)tst-printf.out): Likewise.
10343 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10344 $(test-program-cmd).
10345 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10346 (test_program_prefix): This.
10347 * stdio-common/tst-unbputc.sh: Likewise.
10348 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10349 $(run-program-prefix) with $(test-program-prefix).
10350 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10351 (test_program_prefix): This.
10352 * string/Makefile ($(objpfx)tst-svc.out): Replace
10353 $(built-program-cmd) with $(test-program-cmd).
10355 2013-01-11 Andreas Jaeger <aj@suse.de>
10358 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10359 value. Sync with Linux 3.7.
10361 2013-01-10 David S. Miller <davem@davemloft.net>
10363 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10364 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10365 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10367 2013-01-10 Roland McGrath <roland@hack.frob.com>
10369 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10371 * configure: Regenerated.
10373 2013-01-10 David S. Miller <davem@davemloft.net>
10375 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10376 sparc V9 rather than using V8 code.
10377 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10378 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10380 2013-01-10 Roland McGrath <roland@hack.frob.com>
10382 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10383 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10384 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10385 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10386 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10387 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10388 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10389 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10390 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10391 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10392 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10393 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10394 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10395 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10396 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10397 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10398 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10399 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10400 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10401 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10402 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10403 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10404 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10405 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10406 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10407 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10408 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10410 2013-01-10 David S. Miller <davem@davemloft.net>
10412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10414 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10416 * posix/Makefile (tests-static): New variable.
10417 (tests): Add $(tests-static).
10418 (tst-exec-static-ARGS): New variable.
10419 (tst-spawn-static-ARGS): Likewise.
10420 * posix/tst-exec-static.c: New file.
10421 * posix/tst-spawn-static.c: Likewise.
10422 * posix/tst-exec.c: Support run directly.
10423 * posix/tst-spawn.c: Likewise.
10425 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10427 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10429 * math/bits/mathcalls.h (llrint): Likewise.
10430 (llround): Likewise.
10431 * stdlib/stdlib.h (struct drand48_data): Likewise.
10432 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10433 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10434 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10436 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10438 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10439 (elf_greg_t): Likewise.
10440 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10441 (__jmp_buf): Likewise.
10442 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10444 (llrint): Likewise, for all definitions.
10445 (llrintl): Likewise.
10447 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10448 Remove [__GNUC__] condition.
10449 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10450 condition to just [__USE_ISOC99].
10451 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10453 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10456 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10457 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10459 (_POSIX_V6_ILP32_OFF32): Likewise.
10460 (_XBS5_ILP32_OFF32): Likewise.
10461 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10462 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10464 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10466 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10469 doubles __mpexp_twomm1. Adjust usage.
10470 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10473 2013-01-10 Andreas Schwab <schwab@suse.de>
10476 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10477 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10479 2013-01-09 David S. Miller <davem@davemloft.net>
10482 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10483 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10484 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10485 TCP_FASTOPEN): Define.
10486 (tcp_repair_opt): New structure.
10487 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10489 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10490 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10491 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10492 (tcp_cookie_transactions): New structure.
10494 2013-01-09 Anton Blanchard <anton@samba.org>
10496 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10497 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10498 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10499 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10501 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10503 * include/features.h (__USE_ANSI): Remove.
10505 2013-01-09 Roland McGrath <roland@hack.frob.com>
10507 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10509 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10511 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10513 * sysdeps/s390/fpu/libm-test-ulps: Update.
10515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10517 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10521 (denorm): Likewise.
10522 (__mp_dbl): Likewise.
10523 (__dbl_mp): Likewise.
10524 (add_magnitudes): Likewise.
10525 (sub_magnitudes): Likewise.
10531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10535 (denorm): Likewise.
10536 (__mp_dbl): Likewise.
10537 (__dbl_mp): Likewise.
10538 (add_magnitudes): Likewise.
10539 (sub_magnitudes): Likewise.
10545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10549 (denorm): Likewise.
10550 (__mp_dbl): Likewise.
10551 (__dbl_mp): Likewise.
10552 (add_magnitudes): Likewise.
10553 (sub_magnitudes): Likewise.
10560 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10562 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10563 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10564 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10565 2 && __USE_EXTERN_INLINES]: Likewise.
10567 2013-01-08 Andreas Jaeger <aj@suse.de>
10570 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10572 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10573 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10575 2013-01-07 Anton Blanchard <anton@samba.org>
10577 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10578 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10579 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10580 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10581 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10582 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10583 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10584 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10586 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10587 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10588 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10589 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10590 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10591 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10592 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10593 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10594 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10595 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10596 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10597 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10598 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10599 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10600 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10601 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10602 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10603 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10604 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10605 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10606 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10607 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10609 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10610 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10611 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10612 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10613 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10614 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10615 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10616 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10617 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10618 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10619 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10621 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10623 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10624 (__MALLOC_PMT): Likewise.
10625 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10626 [__GNUC__], only on [_LIBC].
10627 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10628 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10629 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10630 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10631 forward declaration.
10632 (realloc_hook_ini): Likewise.
10633 (memalign_hook_ini): Likewise.
10634 (__libc_memalign): Do not use __MALLOC_PMT in variable
10636 (__libc_valloc): Likewise.
10637 (__libc_pvalloc): Likewise.
10638 (__libc_calloc): Likewise.
10639 (__posix_memalign): Likewise.
10642 * math/s_casinh.c: Include <float.h>.
10643 (__casinh): Do not do computation with squaring and square root
10644 for large arguments.
10645 * math/s_casinhf.c: Include <float.h>.
10646 (__casinhf): Do not do computation with squaring and square root
10647 for large arguments.
10648 * math/s_casinhl.c: Include <float.h>.
10649 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10650 (__casinhl): Do not do computation with squaring and square root
10651 for large arguments.
10652 * math/libm-test.inc (casin_test): Add more tests.
10653 (casinh_test): Likewise.
10654 * sysdeps/i386/fpu/libm-test-ulps: Update.
10655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10657 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10659 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10660 (__x86_64_raw_data_cache_size): Likewise.
10661 (__x86_64_data_cache_size_half): Likewise.
10662 (__x86_64_raw_data_cache_size_half): Likewise.
10663 (__x86_64_shared_cache_size): Likewise.
10664 (__x86_64_raw_shared_cache_size): Likewise.
10665 (__x86_64_shared_cache_size_half): Likewise.
10666 (__x86_64_raw_shared_cache_size_half): Likewise.
10667 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10669 (__x86_data_cache_size): This.
10670 (__x86_64_raw_data_cache_size): Renamed to ...
10671 (__x86_raw_data_cache_size): This.
10672 (__x86_64_data_cache_size_half): Renamed to ...
10673 (__x86_data_cache_size_half): This.
10674 (__x86_64_raw_data_cache_size_half): Renamed to ...
10675 (__x86_raw_data_cache_size_half): This.
10676 (__x86_64_shared_cache_size): Renamed to ...
10677 (__x86_shared_cache_size): This.
10678 (__x86_64_raw_shared_cache_size): Renamed to ...
10679 (__x86_raw_shared_cache_size): This.
10680 (__x86_64_shared_cache_size_half): Renamed to ...
10681 (__x86_shared_cache_size_half): This.
10682 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10683 (__x86_raw_shared_cache_size_half): This.
10684 * sysdeps/x86_64/memcpy.S: Updated.
10685 * sysdeps/x86_64/memset.S: Likewise.
10686 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10687 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10688 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10690 2013-01-04 David S. Miller <davem@davemloft.net>
10692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10694 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10696 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10697 1 to avoid redefinition warning.
10698 (__USE_GNU): Don't define.
10699 (init_signaling_nan): Protoize.
10701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10703 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10705 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10707 (__cpymn): Likewise.
10708 (norm): Remove commented code.
10709 (denorm): Likewise.
10710 (__mp_dbl): Likewise.
10712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10713 (__cpymn): Likewise.
10714 (norm): Remove commented code.
10715 (denorm): Likewise.
10716 (__mp_dbl): Likewise.
10719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10720 mp_no value for 1.0 and 2.0.
10721 (norm): Use RADIXI instead of radixi.d.
10722 (denorm): Likewise.
10723 (__mul): Use 0.0 instead of zero.d.
10724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10725 mp_no value for 1.0 and 2.0.
10726 (norm): Use RADIXI instead of radixi.d.
10727 (denorm): Likewise.
10728 (__mul): Use 0.0 instead of zero.d.
10730 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10733 * math/s_casinh.c (__casinh): Reduce finite argument to first
10734 quadrant then set signs of results at the end.
10735 * math/s_casinhf.c (__casinhf): Likewise.
10736 * math/s_casinhl.c (__casinhl): Likewise.
10737 * math/libm-test.inc (casin_test): Add more tests.
10738 (casinh_test): Likewise.
10739 * sysdeps/i386/fpu/libm-test-ulps: Update.
10740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10744 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10746 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10748 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10750 (denorm): Likewise.
10751 (__mp_dbl): Likewise.
10754 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10755 and adjust the header comment.
10757 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10758 variable name from declaration.
10760 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10763 Initialize COMMON_CPUID_INDEX_7 element.
10764 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10765 (CPUID_RTM): Likewise.
10766 (HAS_RTM): Likewise.
10767 (COMMON_CPUID_INDEX_7): New enum.
10769 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10772 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10773 size is zero, record memory as freed.
10775 2013-01-03 Andreas Jaeger <aj@suse.de>
10777 * po/ia.po: Add new Interlingua translation.
10779 2012-01-03 Allan McRae <allan@archlinux.org>
10781 * locale/programs/localedef.c: Fix description of '--posix' flag.
10783 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10785 * NEWS: Update dates in second copyright notice.
10786 * README: Update copyright dates in example.
10787 * manual/libc.texinfo: Update copyright dates.
10788 * scripts/test-installation.pl: Update copyright date in --version
10791 * hurd/ctty-input.c: Fix copyright notice formatting.
10792 * hurd/ctty-output.c: Likewise.
10793 * hurd/dtable.c: Likewise.
10794 * hurd/hurd-raise.c: Likewise.
10795 * hurd/hurdprio.c: Likewise.
10796 * hurd/msgportdemux.c: Likewise.
10797 * misc/sys/file.h: Likewise.
10798 * misc/sys/ioctl.h: Likewise.
10799 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10800 * sysdeps/mach/hurd/chdir.c: Likewise.
10801 * sysdeps/mach/hurd/fchdir.c: Likewise.
10802 * sysdeps/mach/hurd/rename.c: Likewise.
10803 * sysdeps/mach/hurd/rmdir.c: Likewise.
10804 * sysdeps/mach/hurd/seekdir.c: Likewise.
10805 * sysdeps/mach/hurd/setsid.c: Likewise.
10806 * sysdeps/posix/wait3.c: Likewise.
10808 * All files with FSF copyright notices: Update copyright dates
10809 using scripts/update-copyrights.
10810 * intl/plural.c: Regenerated.
10811 * locale/programs/charmap-kw.h: Likewise.
10812 * locale/programs/locfile-kw.h: Likewise.
10814 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10816 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10819 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10820 calculation loop and add branch prediction.
10822 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10823 check access beyond bounds of m1np.
10825 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10827 (__inv): Remove local variable MPTWO to use the global
10829 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10830 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10832 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10833 MP3HALFS static const.
10835 2013-01-01 David S. Miller <davem@davemloft.net>
10837 * po/ca.po: Update from translation team.
10839 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10841 * scripts/update-copyrights: New file.
10842 * Makeconfig: Reformat copyright notice.
10843 * ctype/ctype.h: Likewise.
10844 * debug/swprintf_chk.c: Likewise.
10845 * elf/dl-cache.c: Likewise.
10846 * elf/dl-debug.c: Likewise.
10847 * elf/dl-object.c: Likewise.
10848 * grp/initgroups.c: Likewise.
10849 * hurd/Makefile: Likewise.
10850 * hurd/hurd/signal.h: Likewise.
10851 * hurd/hurdfault.c: Likewise.
10852 * hurd/hurdioctl.c: Likewise.
10853 * hurd/hurdlookup.c: Likewise.
10854 * hurd/intr-msg.c: Likewise.
10855 * iconv/gconv_open.c: Likewise.
10856 * libio/swprintf.c: Likewise.
10857 * locale/lc-ctype.c: Likewise.
10858 * locale/nl_langinfo.c: Likewise.
10859 * mach/Machrules: Likewise.
10860 * mach/Makefile: Likewise.
10861 * malloc/obstack.h: Likewise.
10862 * manual/Makefile: Likewise.
10863 * manual/tsort.awk: Likewise.
10864 * misc/bits/stab.def: Likewise.
10865 * nis/nis_print_group_entry.c: Likewise.
10866 * nis/nis_table.c: Likewise.
10867 * nis/nss_compat/compat-pwd.c: Likewise.
10868 * nis/nss_compat/compat-spwd.c: Likewise.
10869 * po/Makefile: Likewise.
10870 * posix/fnmatch.c: Likewise.
10871 * posix/regex.h: Likewise.
10872 * resolv/Makefile: Likewise.
10873 * resolv/nss_dns/dns-network.c: Likewise.
10874 * resolv/res_hconf.c: Likewise.
10875 * scripts/gen-sorted.awk: Likewise.
10876 * soft-fp/soft-fp.h: Likewise.
10877 * stdio-common/printf.h: Likewise.
10878 * stdlib/monetary.h: Likewise.
10879 * stdlib/random.c: Likewise.
10880 * stdlib/random_r.c: Likewise.
10881 * sysdeps/generic/Makefile: Likewise.
10882 * sysdeps/gnu/Makefile: Likewise.
10883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10896 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10906 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10907 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10908 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10911 * sysdeps/mach/hurd/errnos.awk: Likewise.
10912 * sysdeps/mach/hurd/fork.c: Likewise.
10913 * sysdeps/mach/hurd/getcwd.c: Likewise.
10914 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10915 * sysdeps/mach/hurd/mmap.c: Likewise.
10916 * sysdeps/mach/hurd/utimes.c: Likewise.
10917 * sysdeps/mach/hurd/xmknod.c: Likewise.
10918 * sysdeps/posix/profil.c: Likewise.
10919 * sysdeps/posix/readdir_r.c: Likewise.
10920 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10921 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10922 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10923 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10925 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10926 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10927 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10929 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10930 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10931 * sysdeps/pthread/lio_listio.c: Likewise.
10932 * sysdeps/sparc/dl-procinfo.h: Likewise.
10933 * sysdeps/unix/i386/sysdep.S: Likewise.
10934 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10935 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10936 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10937 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10939 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10940 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10941 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10942 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10943 * sysdeps/wordsize-32/divdi3.c: Likewise.
10944 * time/sys/time.h: Likewise.
10945 * wcsmbs/Makefile: Likewise.
10947 2013-01-01 David S. Miller <davem@davemloft.net>
10949 * po/fr.po: Update from translation team.
10951 * catgets/gencat.c: Update copyright year.
10952 * csu/version.c: Likewise.
10953 * debug/catchsegv.sh: Likewise.
10954 * debug/pcprofiledump.c: Likewise.
10955 * debug/xtrace.sh: Likewise.
10956 * elf/ldconfig.c: Likewise.
10957 * elf/ldd.bash.in: Likewise.
10958 * elf/pldd.c: Likewise.
10959 * elf/sotruss.ksh: Likewise.
10960 * elf/sprof.c: Likewise.
10961 * iconv/iconv_prog.c: Likewise.
10962 * iconv/iconvconfig.c: Likewise.
10963 * locale/programs/locale.c: Likewise.
10964 * locale/programs/localedef.c: Likewise.
10965 * login/programs/pt_chown.c: Likewise.
10966 * malloc/memusage.sh: Likewise.
10967 * malloc/memusagestat.c: Likewise.
10968 * malloc/mtrace.pl: Likewise.
10969 * nscd/nscd.c: Likewise.
10970 * nss/getent.c: Likewise.
10971 * nss/makedb.c: Likewise.
10972 * posix/getconf.c: Likewise.
10974 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10976 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10979 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10981 * math/bits/mathcalls.h (modf): Use __nonnull.
10983 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10985 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10986 (split): Use macro CN instead of the bare value.
10987 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10990 instead of the bare value.
10991 (power1): Likewise.
10993 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10995 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10997 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10999 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11001 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11002 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11003 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11004 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11006 2012-12-28 Andreas Jaeger <aj@suse.de>
11008 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11009 values are from Linux 3.7.
11011 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11012 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11014 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11016 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11019 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11021 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11022 variables with preprocessor constants.
11023 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11024 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11025 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11027 2012-12-27 Bruno Haible <bruno@clisp.org>
11030 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11033 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11036 and use variable directly.
11037 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11039 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11041 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11042 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11044 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11046 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11047 include directive. Remove local variable MPONE.
11048 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11049 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11050 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11052 2012-12-25 David S. Miller <davem@davemloft.net>
11054 * version.h (RELEASE): Set to "development".
11055 (VERSION): Set to "2.17.90".
11056 * NEWS: Add 2.18 section.
11058 2012-12-21 David S. Miller <davem@davemloft.net>
11060 * po/hr.po: Update from translation team.
11062 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11064 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11066 2012-12-19 Steve Ellcey <sellcey@mips.com>
11068 * NEWS: Mention new memcpy for MIPS.
11070 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11072 * manual/contrib.texi (Contributors): Spelling correction.
11074 2012-12-15 David S. Miller <davem@davemloft.net>
11076 * po/ru.po: Update from translation team.
11078 2012-12-13 David S. Miller <davem@davemloft.net>
11080 * NEWS: Mention IFUNC testsuite enhancements.
11082 * po/pl.po: Update from translation team.
11083 * po/bg.po: Likewise.
11085 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11086 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11088 2012-12-11 David S. Miller <davem@davemloft.net>
11090 * po/sv.po: Update from translation team.
11092 * po/vi.po: Update from translation team.
11094 * po/cs.po: Update from translation team.
11096 * po/de.po: Update from translation team.
11097 * po/eo.po: Likewise.
11098 * po/nl.po: Likewise.
11100 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11103 * manual/argp.texi (Argp Helper Functions): Move node to follow
11104 Argp Parsing State.
11107 * manual/conf.texi (Limits on File System Capacity): Mention if
11108 terminating null is included in the max size.
11110 2012-12-10 Andreas Jaeger <aj@suse.de>
11112 * po/cs.po: Update from translation team.
11114 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11116 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11117 void pointer and cast to uintptr_t.
11118 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11120 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11121 * sysdeps/s390/s390-64/memset.S: Likewise.
11123 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11126 * menual/message.texi (Message Translation): Fix typos.
11127 (Helper programs for gettext): Likewise.
11129 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11132 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11135 2012-12-07 David S. Miller <davem@davemloft.net>
11137 * po/libc.pot: Update.
11139 2012-12-07 Richard Henderson <rth@redhat.com>
11142 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11143 normal/normal case to before the switch.
11144 (_FP_DIV): Likewise.
11146 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11147 Mike Frysinger <vapier@gentoo.org>
11149 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11150 check for __NR_fadvise64_64.
11152 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11154 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11155 0, not just to plain "0" as a statement.
11156 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11159 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11161 * NEWS: Use sourceware.org in Bugzilla URL.
11163 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11166 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11168 * stdio-common/tst-put-error.c (do_test): Add newline to the
11169 padded test to ensure flush.
11171 2012-12-05 Jeff Law <law@redhat.com>
11173 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11175 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11177 * README: Don't refer to ports add-on as distributed separately.
11178 Mention AArch64 in list of systems supported in the ports add-on.
11180 * LICENSES: Add more non-FSF copyright and license notices.
11182 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11185 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11187 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11188 10000 as width of padded output.
11190 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11192 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11194 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11195 variable LX with __attribute__ ((unused)).
11196 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11198 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11201 with __attribute__ ((unused)).
11203 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11205 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11207 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11209 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11210 (CFLAGS-nldbl-acos.c): New variable.
11211 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11212 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11213 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11214 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11215 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11216 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11217 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11218 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11219 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11220 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11221 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11222 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11223 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11224 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11225 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11226 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11227 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11228 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11229 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11230 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11231 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11232 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11233 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11234 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11235 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11236 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11237 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11238 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11239 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11240 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11241 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11242 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11243 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11244 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11245 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11246 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11247 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11248 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11249 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11250 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11251 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11252 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11253 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11254 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11255 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11256 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11257 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11258 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11259 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11260 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11261 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11262 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11263 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11264 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11265 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11266 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11267 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11268 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11269 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11270 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11271 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11272 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11273 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11274 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11275 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11276 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11277 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11278 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11279 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11280 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11281 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11282 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11283 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11284 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11285 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11286 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11287 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11288 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11289 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11290 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11291 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11292 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11293 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11294 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11295 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11296 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11297 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11298 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11299 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11300 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11301 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11302 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11303 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11304 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11305 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11306 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11307 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11310 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11314 whole low double instead of just low 47 bits when splitting values
11317 2012-12-03 Allan McRae <allan@archlinux.org>
11319 * manual/stdio.texi (Predefined Printf Handlers): Remove
11320 @hsep and @vsep usage.
11322 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11324 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11325 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11327 2012-12-03 Jeff Law <law@redhat.com>
11329 * time/sys/time.h (settimeofday): Do not mark TV argument
11332 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11334 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11335 when currently writing and seek to current position when not.
11336 * libio/Makefile (tests): Remove bug-fclose1.
11337 * libio/bug-fclose1.c: Delete.
11339 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11341 * manual/arith.texi (feenableexcept): Fix typo.
11342 (fedisableexcept): Likewise.
11344 2012-11-30 Roland McGrath <roland@hack.frob.com>
11346 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11347 second, differently-typed declaration, rather than a cast.
11349 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11351 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11352 * include/rpc/svc.h: ... here.
11354 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11357 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11358 depending n and resplen2 to catch cases where answer
11361 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11363 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11364 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11366 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11368 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11370 2012-11-29 Roland McGrath <roland@hack.frob.com>
11372 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11374 2012-11-28 Jeff Law <law@redhat.com>
11377 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11378 dataset_temporary. Track alloca usage into alloca_used.
11379 If dataset is large allocate and release it via malloc/free.
11381 2012-06-04 Florian Weimer <fweimer@redhat.com>
11384 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11386 2012-11-28 David S. Miller <davem@davemloft.net>
11388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11390 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11393 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11394 of pi/2 rounded to nearest to 64 bits.
11395 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11396 nearest to 64 bits.
11397 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11400 2012-11-28 Jeff Law <law@redhat.com>
11401 Martin Osvald <mosvald@redhat.com>
11404 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11405 * sunrpc/svc.c: Include time.h.
11406 (__svc_accept_failed): New function.
11407 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11408 any reason other than EINTR, call __svc_accept_failed.
11409 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11410 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11412 2012-11-28 Andreas Schwab <schwab@suse.de>
11414 * scripts/abilist.awk: Also handle indirect functions in .opd
11417 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11420 * sysdeps/x86/fpu/powl_helper.c: New file.
11421 * sysdeps/x86/fpu/Makefile: Likewise.
11422 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11424 (__ieee754_powl): Use __powl_helper for finite arguments except
11425 integer exponents below 8.
11426 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11428 (__ieee754_powl): Use __powl_helper for finite arguments except
11429 integer exponents below 8.
11430 * math/libm-test.inc (pow_test): Add more tests and enable some
11431 previously disabled tests.
11432 * sysdeps/i386/fpu/libm-test-ulps: Update.
11433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11435 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11436 Carlos O'Donell <carlos_odonell@mentor.com>
11438 * nss/makedb.c (is_prime): Assert that input is odd and greater
11439 than 4. Note that fact in a comment too.
11440 (next_prime): Add 4 to input.
11442 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11445 * libio/Makefile (tests): Add test case tst-fwrite-error.
11446 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11447 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11448 * libio/tst-fwrite-error.c: New test case.
11450 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11452 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11453 before casting to void *.
11454 * include/libc-internal.h (__pointer_type): New macro.
11455 (__integer_if_pointer_type_sub): Likewise.
11456 (__integer_if_pointer_type): Likewise.
11457 (cast_to_integer): Likewise.
11458 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11459 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11460 before casting to atomic64_t.
11461 (atomic_exchange_acq): Likewise.
11462 (__arch_exchange_and_add_body): Likewise.
11463 (__arch_add_body): Likewise.
11464 (atomic_add_negative): Likewise.
11465 (atomic_add_zero): Likewise.
11467 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11469 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11470 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11471 (add_fdes): Likewise.
11472 (linear_search_fdes): Likewise.
11473 (binary_search_unencoded_fdes): Likewise.
11475 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11477 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11479 2012-11-24 Adam Conrad <adconrad@0c3.net>
11481 * configure.in: Autodetect C++ header directories.
11482 * configure: Regenerated.
11484 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11486 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11488 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11492 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11494 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11495 LDBL_MANT_DIG == 106]: Disable some tests.
11496 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11498 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11502 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11503 input for small inputs. Return +/- pi/2 for large inputs.
11504 * math/libm-test.inc (atan_test): Add more tests.
11506 * sysdeps/generic/unwind-dw2-fde-glibc.c
11507 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11508 __attribute__ ((unused)).
11511 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11512 x * y if x and y are nonzero and z is zero.
11515 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11516 nonzero exponents with absolute value below 0x1p-117 to +/-
11520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11521 up arguments below 2**-450, not just those below 2**-500.
11522 * math/libm-test.inc (hypot_test): Add another test.
11525 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11526 Return a+b for ratio over 2**120, not 2**60.
11527 * math/libm-test.inc (hypot_test): Add another test.
11529 * math/libm-test.inc (clog_test): Use
11530 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11531 (clog10_test): Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11536 2012-11-22 Andreas Schwab <schwab@suse.de>
11538 * sysdeps/i386/fpu/libm-test-ulps: Update.
11540 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11542 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11543 printf output with newline.
11545 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11548 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11549 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11550 -z nodlopen, -z initfirst and -z execstack support.
11551 * configure: Regenerated.
11553 * elf/elf.h (DF_1_NODIRECT): New macro.
11554 (DF_1_IGNMULDEF): Likewise.
11555 (DF_1_NOKSYMS): Likewise.
11556 (DF_1_NOHDR): Likewise.
11557 (DF_1_EDITED): Likewise.
11558 (DF_1_NORELOC): Likewise.
11559 (DF_1_SYMINTPOSE): Likewise.
11560 (DF_1_GLOBAUDIT): Likewise.
11561 (DF_1_SINGLETON): Likewise.
11562 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11563 DT_1_SUPPORTED_MASK bits.
11564 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11566 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11568 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11570 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11572 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11575 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11576 (sendmmsg): Move declarations...
11577 * socket/sys/socket.h: ... here.
11578 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11579 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11581 * socket/recvmmsg.c: ... this new file.
11582 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11583 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11584 definition of __sendmmsg hidden.
11585 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11586 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11587 Move ENOSYS stub into and include it from...
11588 * socket/sendmmsg.c: ... this new file.
11589 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11590 (sysdep_routines): Move recvmmsg and sendmmsg...
11591 * socket/Makefile (routines): ... here.
11592 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11593 (GLIBC_PRIVATE): Add __sendmmsg.
11594 * include/sys/socket.h (__sendmmsg): Add declarations.
11595 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11598 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11600 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11601 variable I1 with __attribute__ ((unused)).
11602 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11604 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11606 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11607 DUMMY variables with __attribute__ ((unused)).
11609 * bits/byteswap.h: Include <bits/types.h>.
11610 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11612 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11614 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11615 string_t. Do not manually set errno.
11616 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11617 length with __strnlen. Make sure to both set errno and return it on
11620 2012-11-19 David S. Miller <davem@davemloft.net>
11622 With help from Joseph Myers.
11623 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11624 very large arguments properly.
11625 * math/libm-test.inc (atan_test): New tests.
11626 (atan2_test): New tests.
11627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11630 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11633 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11636 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11637 [POSIX] (EADDRNOTAVAIL): Likewise.
11638 [POSIX] (EAFNOSUPPORT): Likewise.
11639 [POSIX] (EALREADY): Likewise.
11640 [POSIX] (ECONNABORTED): Likewise.
11641 [POSIX] (ECONNREFUSED): Likewise.
11642 [POSIX] (ECONNRESET): Likewise.
11643 [POSIX] (EDESTADDRREQ): Likewise.
11644 [POSIX] (EDQUOT): Likewise.
11645 [POSIX] (EHOSTUNREACH): Likewise.
11646 [POSIX] (EIDRM): Likewise.
11647 [POSIX] (EISCONN): Likewise.
11648 [POSIX] (ELOOP): Likewise.
11649 [POSIX] (EMULTIHOP): Likewise.
11650 [POSIX] (ENETDOWN): Likewise.
11651 [POSIX] (ENETUNREACH): Likewise.
11652 [POSIX] (ENOBUFS): Likewise.
11653 [POSIX] (ENODATA): Likewise.
11654 [POSIX] (ENOLINK): Likewise.
11655 [POSIX] (ENOMSG): Likewise.
11656 [POSIX] (ENOPROTOOPT): Likewise.
11657 [POSIX] (ENOSR): Likewise.
11658 [POSIX] (ENOSTR): Likewise.
11659 [POSIX] (ENOTCONN): Likewise.
11660 [POSIX] (ENOTSOCK): Likewise.
11661 [POSIX] (EOPNOTSUPP): Likewise.
11662 [POSIX] (EOVERFLOW): Likewise.
11663 [POSIX] (EPROTO): Likewise.
11664 [POSIX] (EPROTONOSUPPORT): Likewise.
11665 [POSIX] (EPROTOTYPE): Likewise.
11666 [POSIX] (ESTALE): Likewise.
11667 [POSIX] (ETIME): Likewise.
11668 [POSIX] (ETXTBSY): Likewise.
11669 [POSIX] (EWOULDBLOCK): Likewise.
11670 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11671 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11672 [POSIX] (SEEK_CUR): Likewise.
11673 [POSIX] (SEEK_END): Likewise.
11674 [POSIX || UNIX98] (mode_t): Do not require.
11675 [POSIX] (off_t): Likewise.
11676 [POSIX] (pid_t): Likewise.
11677 [POSIX] (sys/stat.h): Do not allow header.
11678 [POSIX] (unistd.h): Likewise.
11679 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11680 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11681 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11682 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11684 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11685 sigevent): Specify elements.
11686 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11688 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11689 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11691 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11692 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11693 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11694 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11695 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11696 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11697 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11698 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11699 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11700 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11701 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11702 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11703 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11704 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11706 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11708 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11710 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11712 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11713 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11714 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11715 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11716 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11717 Specify lower bound on value.
11718 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11719 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11720 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11721 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11722 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11723 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11724 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11725 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11727 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11729 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11730 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11731 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11732 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11733 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11734 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11735 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11736 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11737 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11738 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11739 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11740 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11741 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11742 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11743 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11744 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11746 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11748 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11749 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11750 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11751 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11752 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11753 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11755 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11756 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11757 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11758 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11759 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11760 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11761 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11763 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11764 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11765 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11766 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11767 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11768 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11769 specify as optional.
11770 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11771 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11772 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11773 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11774 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11775 [XPG3] (NL_LANGMAX): Likewise.
11776 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11777 [POSIX || XPG3] (NL_NMAX): Likewise.
11778 [POSIX || XPG3] (NL_SETMAX): Likewise.
11779 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11780 [XPG3] (NZERO): Likewise.
11781 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11782 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11783 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11784 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11785 (REG_ERANGE): Expect.
11786 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11788 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11789 Use (void) in prototype.
11790 [POSIX] (*_t): Allow.
11791 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11792 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11793 (WRDE_BADVAL): Expect.
11795 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11797 [XPG3 || XPG4] (O_RSYNC): Likewise.
11798 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11800 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11801 [XPG3 || XPG4] (sigqueue): Likewise.
11802 [XPG3 || XPG4] (sigtimedwait): Likewise.
11803 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11804 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11805 [XPG3 || XPG4] (vsnprintf): Likewise.
11806 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11808 [XPG3 || XPG4] (blksize_t): Likewise.
11809 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11811 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11812 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11813 [XPG3 || XPG4] (struct itimerspec): Likewise.
11814 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11815 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11816 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11817 [XPG3 || XPG4] (clockid_t): Likewise.
11818 [XPG3 || XPG4] (timer_t): Likewise.
11819 [XPG3 || XPG4] (clock_getres): Likewise.
11820 [XPG3 || XPG4] (clock_gettime): Likewise.
11821 [XPG3 || XPG4] (clock_settime): Likewise.
11822 [XPG3 || XPG4] (nanosleep): Likewise.
11823 [XPG3 || XPG4] (timer_create): Likewise.
11824 [XPG3 || XPG4] (timer_delete): Likewise.
11825 [XPG3 || XPG4] (timer_gettime): Likewise.
11826 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11827 [XPG3 || XPG4] (timer_settime): Likewise.
11828 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11829 [XPG3 || XPG4] (getlogin_r): Likewise.
11830 [XPG3 || XPG4] (pread): Likewise.
11831 [XPG3 || XPG4] (pthread_atfork): Likewise.
11832 [XPG3 || XPG4] (pwrite): Likewise.
11835 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11838 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11840 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11841 finalizing MALLSTREAM.
11843 * sysdeps/mach/hurd/syncfs.c: New file.
11845 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11848 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11849 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11850 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11851 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11852 (_nss_dns_gethostbyname4_r): Likewise.
11853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11854 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11856 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11859 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11861 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11863 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11864 * elf/cache.c (print_entry): Print ",AArch64" for
11867 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11868 * elf/cache.c (print_entry): Print ",hard-float" for
11871 2012-11-18 David S. Miller <davem@davemloft.net>
11873 With help from Joseph Myers.
11874 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11876 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11878 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11879 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11881 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11882 * math/libm-test.inc (y0_test): New tests.
11883 (y1_test): New tests.
11884 * sysdeps/i386/fpu/libm-test-ulps: Update.
11885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11888 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11890 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11892 * configure: Regenerated.
11894 2012-11-17 David S. Miller <davem@davemloft.net>
11897 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11898 nonzero exponents with absolute value below 0x1p-128 to +/-
11901 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11903 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11905 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11907 * posix/getconf-speclist.c: New file.
11908 * posix/posix-envs.def: Likewise.
11909 * posix/confstr.c (START_ENV_GROUP): New macro.
11910 (END_ENV_GROUP): Likewise.
11911 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11912 (KNOWN_PRESENT_ENV_STRING): Likewise.
11913 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11914 (UNKNOWN_ENVIRONMENT): Likewise.
11915 (confstr): Include posix-envs.def instead of handling
11916 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11917 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11918 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11919 (END_ENV_GROUP): Likewise.
11920 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11921 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11922 (UNKNOWN_ENVIRONMENT): Likewise.
11923 (__sysconf): Include posix-envs.def instead of handling associated
11924 cases directly here.
11925 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11926 preprocessing getconf-speclist.c rather than running getconf or
11927 generating empty file.
11929 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11931 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11933 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11936 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11938 2012-11-16 David S. Miller <davem@davemloft.net>
11940 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11941 smaller than LDBL_EPSILON/2.0L, just return xm1.
11943 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11945 * elf/tst-array1.c (init): Set constructor priority to 1000.
11946 (fini): Set destructor priority to 1000.
11947 * elf/tst-array2dep.c: Likewise.
11949 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11952 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11953 (_IO_new_file_xsputn): Also return EOF if none of the input
11954 data was written when overflow failed.
11955 * libio/iopadn.c (_IO_padn): Likewise.
11956 * libio/iowpadn.c (_IO_wpadn): Likewise.
11957 * stdio-common/tst-put-error.c: Add copyright notice.
11958 (do_test): Add case for printing padded string.
11959 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11960 _IO_padn returned error.
11961 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11962 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11965 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11967 * libio/libioP.h: Add comment note that the references to C++
11968 bits are now obsolete.
11970 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11972 * math/libm-test.inc (check_complex): Use asprintf.
11974 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11976 * debug/pcprofiledump.c (print_version): Update copyright year.
11977 * malloc/memusagestat.c (print_version): Likewise.
11979 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11982 * elf/Makefile (tests): Add tst-audit8.
11983 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11984 ($(objpfx)tst-audit8.out): New target.
11985 (tst-audit8-ENV): New variable.
11986 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11987 audit if l_reloc_result is NULL.
11988 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11989 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11990 * elf/tst-audit8.c: New file.
11992 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11994 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11995 * misc/Makefile (CFLAGS-select.c): Define.
11996 * posix/Makefile (CFLAGS-pause.c): Define.
11998 2012-11-13 David S. Miller <davem@davemloft.net>
12000 * crypt/Makefile: Move test targets after toplevel Rules
12001 inclusion. Grab any necessary sysdep routines when linking.
12002 * crypt/md5.c (md5_process_block): Remove define, we will always
12003 name it __md5_process_block.
12004 (md5_finish_ctx): Update md5_process_block call.
12005 (md5_stream): Likewise.
12006 (md5_process_bytes): Likewise.
12007 (md5_process_block): Rename to __md5_process_block and move to ...
12008 * crypt/md5-block.c: ... here.
12009 * crypt/sha256.c (sha256_process_block): Move to ...
12010 * crypt/sha256-block.c: ... here.
12011 * crypt/sha512.c (sha512_process_block): Move to ...
12012 * crypt/sha512-block.c: ... here.
12013 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12015 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12016 * sysdeps/sparc/sparc64/multiarch/Makefile
12017 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12019 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12020 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12022 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12023 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12024 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12025 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12026 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12027 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12028 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12029 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12030 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12032 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12033 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12035 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12037 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12039 * timezone/tzselect.ksh: Update from tzcode git revision
12040 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12041 * timezone/zdump.c: Likewise.
12042 * timezone/zic.c: Likewise.
12043 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12044 in TZVERSION setting, not $(PKGVERSION).
12045 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12046 REPORT_BUGS_TO settings.
12049 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12052 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12054 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12055 detection to immediately after _FP_ROUND().
12056 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12059 2012-11-11 David S. Miller <davem@davemloft.net>
12061 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12063 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12064 __close rather than their public counterparts.
12066 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12068 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12070 [UNIX98] (sem_timedwait): Do not expect.
12071 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12072 [XPG4 || UNIX98] (sockatmark): Do not expect.
12073 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12074 (clock_getcpuclockid): Do not expect.
12075 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12076 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12078 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12079 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12080 [UNIX98] (vwscanf): Likewise.
12081 [UNIX98] (vswscanf): Likewise.
12083 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12085 * timezone/version.h: Remove file.
12086 * timezone/README: Do not refer to version.h.
12087 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12088 $(objpfx)version.h.
12089 ($(objpfx)zdump.o): Likewise.
12090 ($(objpfx)version.h): New target.
12092 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12094 * timezone/README: Don't mention modification to tzselect.ksh.
12095 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12096 work on unmodified tzselect.ksh. Substitute version numbers in
12099 * Makefile (format-me): Remove.
12100 (INSTALL): Adjust indentation. Use commands directly instead of
12101 using $(format-me).
12103 * aclocal.m4 (ACX_PKGVERSION): New macro.
12104 (ACX_BUGURL): Likewise.
12105 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12106 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12107 (REPORT_BUGS_TO): Likewise.
12108 * configure: Regenerated.
12109 * config.h.in (PKGVERSION): New macro.
12110 (REPORT_BUGS_TO): Likewise.
12111 * config.make.in (PKGVERSION): New variable.
12112 (PKGVERSION_TEXI): Likewise.
12113 (REPORT_BUGS_TO): Likewise.
12114 (REPORT_BUGS_TEXI): Likewise.
12115 * Makefile (format-me): Use -I$(common-objpfx)manual.
12116 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12117 ($(common-objpfx)manual/%): New target.
12118 (manual/%): Remove target.
12119 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12120 (print_version): Use PKGVERSION.
12121 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12122 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12123 and REPORT_BUGS_TO.
12124 ($(objpfx)xtrace): Likewise.
12125 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12126 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12127 (print_version): Use PKGVERSION.
12128 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12129 (do_version): Use PKGVERSION.
12130 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12132 (common-ldd-rewrite): Likewise.
12133 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12134 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12135 (print_version): Use PKGVERSION.
12136 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12137 * elf/pldd.c (argp_program_bug_address): Remove variable.
12138 (more_help): New function.
12139 (argp): Use more_help.
12140 (print_version): Use PKGVERSION.
12141 * elf/sln.c (main): Use PKGVERSION.
12142 (usage): Use REPORT_BUGS_TO.
12143 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12144 (top level): Use PKGVERSION.
12145 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12146 (print_version): Use PKGVERSION.
12147 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12148 (print_version): Use PKGVERSION.
12149 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12150 (print_version): Use PKGVERSION.
12151 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12152 (print_version): Use PKGVERSION.
12153 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12154 (print_version): Use PKGVERSION.
12155 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12156 (print_version): Use PKGVERSION.
12157 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12159 ($(objpfx)memusage): Likewise.
12160 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12161 (do_version): Use PKGVERSION.
12162 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12163 (print_version): Use PKGVERSION.
12164 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12165 ($PKGVERSION): New variable.
12166 ($REPORT_BUGS_TO): Likewise.
12167 (usage): Use $REPORT_BUGS_TO.
12168 (top level): Use $PKGVERSION.
12169 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12170 ($(objpfx)pkgvers.texi): New rule.
12171 ($(objpfx)stamp-pkgvers): Likewise.
12172 * manual/install.texi: Include pkgvers.texi.
12173 (--with-pkgversion): Document new configure option.
12174 (--with-bugurl): Likewise.
12175 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12176 than necessarily for this particular distribution. Use
12177 REPORT_BUGS_TO for where to report bugs.
12178 * INSTALL: Regenerated.
12179 * manual/libc.texinfo: Include pkgvers.texi.
12180 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12181 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12182 (print_version): Use PKGVERSION.
12183 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12184 (print_version): Use PKGVERSION.
12185 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12186 (print_version): Use PKGVERSION.
12187 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12188 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12190 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12191 (print_version): Use PKGVERSION.
12192 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12193 (print_version): Use PKGVERSION.
12194 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12197 * timezone/checktab.awk: Update from tzcode 2012i.
12198 * timezone/ialloc.c: Likewise.
12199 * timezone/private.h: Likewise.
12200 * timezone/scheck.c: Likewise.
12201 * timezone/tzfile.h: Likewise.
12202 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12203 (TZVERSION): Hardcode tzcode version number.
12204 * timezone/zdump.c: Update from tzcode 2012i.
12205 * timezone/zic.c: Likewise.
12206 * timezone/version.h: New file.
12207 * timezone/README: Describe version.h. Update upstream location.
12210 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12211 (mktemp): Enable declaration.
12212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12213 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12215 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12217 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12219 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12221 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12223 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12229 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12230 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12231 for copies of such integer values.
12232 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12233 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12235 2012-11-09 Andreas Jaeger <aj@suse.de>
12237 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12238 definitions and declarations that are provided by
12239 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12241 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12243 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12244 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12245 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12248 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12250 * elf/elf.h: Update comment before AArch64 relocations.
12252 2012-11-07 David S. Miller <davem@davemloft.net>
12254 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12255 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12256 (__start_context): Declare.
12257 (__makecontext_ret): Delete.
12258 (__makecontext): Hook up __start_context instead of
12260 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12261 (sysdep_routines): Add __start_context when in stdlib.
12263 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12265 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12266 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12267 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12269 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12270 (READELF): New variable. Use it instead of hardcoded "readelf".
12272 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12274 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12275 * sysdeps/x86/Makefile: Here.
12276 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12277 * sysdeps/x86/tst-xmmymm.sh: This.
12279 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12281 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12283 [UNIX98] (pthread_barrier_t): Do not expect.
12284 [UNIX98] (pthread_barrierattr_t): Likewise.
12285 [UNIX98] (pthread_spinlock_t): Likewise.
12286 [UNIX98] (pthread_barrier_destroy): Likewise.
12287 [UNIX98] (pthread_barrier_init): Likewise.
12288 [UNIX98] (pthread_barrier_wait): Likewise.
12289 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12290 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12291 [UNIX98] (pthread_barrierattr_init): Likewise.
12292 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12293 [UNIX98] (pthread_getcpuclockid): Likewise.
12294 [UNIX98] (pthread_mutex_timedlock): Likewise.
12295 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12296 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12297 [UNIX98] (pthread_sigmask): Likewise.
12298 [UNIX98] (pthread_spin_destroy): Likewise.
12299 [UNIX98] (pthread_spin_init): Likewise.
12300 [UNIX98] (pthread_spin_lock): Likewise.
12301 [UNIX98] (pthread_spin_trylock): Likewise.
12302 [UNIX98] (pthread_spin_unlock): Likewise.
12303 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12305 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12306 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12307 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12308 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12309 [XPG3 || XPG4] (pthread_key_t): Likewise.
12310 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12311 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12312 [XPG3 || XPG4] (pthread_once_t): Likewise.
12313 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12314 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12315 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12316 [XPG3 || XPG4] (pthread_t): Likewise.
12318 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12320 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12322 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12323 Change function return type to int.
12325 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12326 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12327 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12328 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12329 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12330 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12331 [!POSIX] (posix_madvise): Likewise.
12332 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12334 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12335 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12336 (mode_t): Likewise.
12337 (posix_mem_offset): Likewise.
12338 (posix_typed_mem_get_info): Likewise.
12339 (posix_typed_mem_open): Likewise.
12341 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12342 Change condition to [XOPEN2K8].
12344 * conform/conformtest.pl: Preprocess allow-header data with -x c
12345 instead of from stdin.
12346 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12347 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12348 [C99-based standards] (cerfc): Likewise.
12349 [C99-based standards] (cexp2): Likewise.
12350 [C99-based standards] (cexpm1): Likewise.
12351 [C99-based standards] (clog10): Likewise.
12352 [C99-based standards] (clog1p): Likewise.
12353 [C99-based standards] (clog2): Likewise.
12354 [C99-based standards] (clgamma): Likewise.
12355 [C99-based standards] (ctgamma): Likewise.
12356 [C99-based standards] (cerff): Likewise.
12357 [C99-based standards] (cerfcf): Likewise.
12358 [C99-based standards] (cexp2f): Likewise.
12359 [C99-based standards] (cexpm1f): Likewise.
12360 [C99-based standards] (clog10f): Likewise.
12361 [C99-based standards] (clog1pf): Likewise.
12362 [C99-based standards] (clog2f): Likewise.
12363 [C99-based standards] (clgammaf): Likewise.
12364 [C99-based standards] (ctgammaf): Likewise.
12365 [C99-based standards] (cerfl): Likewise.
12366 [C99-based standards] (cerfcl): Likewise.
12367 [C99-based standards] (cexp2l): Likewise.
12368 [C99-based standards] (cexpm1l): Likewise.
12369 [C99-based standards] (clog10l): Likewise.
12370 [C99-based standards] (clog1pl): Likewise.
12371 [C99-based standards] (clog2l): Likewise.
12372 [C99-based standards] (clgammal): Likewise.
12373 [C99-based standards] (ctgammal): Likewise.
12374 * conform/data/inttypes.h-data [C99-based standards]: Include
12375 stdint.h-data. Remove all expectations for stdint.h contents.
12376 [C99-based standards] (PRI*): Do not allow.
12377 [C99-based standards] (SCN*): Likewise.
12378 [C99-based standards] (*_t): Likewise.
12379 [C99-based-standards] (PRId8): Expect macro.
12380 [C99-based-standards] (PRIi8): Likewise.
12381 [C99-based-standards] (PRIo8): Likewise.
12382 [C99-based-standards] (PRIu8): Likewise.
12383 [C99-based-standards] (PRIx8): Likewise.
12384 [C99-based-standards] (PRIX8): Likewise.
12385 [C99-based-standards] (SCNd8): Likewise.
12386 [C99-based-standards] (SCNi8): Likewise.
12387 [C99-based-standards] (SCNo8): Likewise.
12388 [C99-based-standards] (SCNu8): Likewise.
12389 [C99-based-standards] (SCNx8): Likewise.
12390 [C99-based-standards] (PRIdLEAST8): Likewise.
12391 [C99-based-standards] (PRIiLEAST8): Likewise.
12392 [C99-based-standards] (PRIoLEAST8): Likewise.
12393 [C99-based-standards] (PRIuLEAST8): Likewise.
12394 [C99-based-standards] (PRIxLEAST8): Likewise.
12395 [C99-based-standards] (PRIXLEAST8): Likewise.
12396 [C99-based-standards] (SCNdLEAST8): Likewise.
12397 [C99-based-standards] (SCNiLEAST8): Likewise.
12398 [C99-based-standards] (SCNoLEAST8): Likewise.
12399 [C99-based-standards] (SCNuLEAST8): Likewise.
12400 [C99-based-standards] (SCNxLEAST8): Likewise.
12401 [C99-based-standards] (PRIdFAST8): Likewise.
12402 [C99-based-standards] (PRIiFAST8): Likewise.
12403 [C99-based-standards] (PRIoFAST8): Likewise.
12404 [C99-based-standards] (PRIuFAST8): Likewise.
12405 [C99-based-standards] (PRIxFAST8): Likewise.
12406 [C99-based-standards] (PRIXFAST8): Likewise.
12407 [C99-based-standards] (SCNdFAST8): Likewise.
12408 [C99-based-standards] (SCNiFAST8): Likewise.
12409 [C99-based-standards] (SCNoFAST8): Likewise.
12410 [C99-based-standards] (SCNuFAST8): Likewise.
12411 [C99-based-standards] (SCNxFAST8): Likewise.
12412 [C99-based-standards] (PRId16): Likewise.
12413 [C99-based-standards] (PRIi16): Likewise.
12414 [C99-based-standards] (PRIo16): Likewise.
12415 [C99-based-standards] (PRIu16): Likewise.
12416 [C99-based-standards] (PRIx16): Likewise.
12417 [C99-based-standards] (PRIX16): Likewise.
12418 [C99-based-standards] (SCNd16): Likewise.
12419 [C99-based-standards] (SCNi16): Likewise.
12420 [C99-based-standards] (SCNo16): Likewise.
12421 [C99-based-standards] (SCNu16): Likewise.
12422 [C99-based-standards] (SCNx16): Likewise.
12423 [C99-based-standards] (PRIdLEAST16): Likewise.
12424 [C99-based-standards] (PRIiLEAST16): Likewise.
12425 [C99-based-standards] (PRIoLEAST16): Likewise.
12426 [C99-based-standards] (PRIuLEAST16): Likewise.
12427 [C99-based-standards] (PRIxLEAST16): Likewise.
12428 [C99-based-standards] (PRIXLEAST16): Likewise.
12429 [C99-based-standards] (SCNdLEAST16): Likewise.
12430 [C99-based-standards] (SCNiLEAST16): Likewise.
12431 [C99-based-standards] (SCNoLEAST16): Likewise.
12432 [C99-based-standards] (SCNuLEAST16): Likewise.
12433 [C99-based-standards] (SCNxLEAST16): Likewise.
12434 [C99-based-standards] (PRIdFAST16): Likewise.
12435 [C99-based-standards] (PRIiFAST16): Likewise.
12436 [C99-based-standards] (PRIoFAST16): Likewise.
12437 [C99-based-standards] (PRIuFAST16): Likewise.
12438 [C99-based-standards] (PRIxFAST16): Likewise.
12439 [C99-based-standards] (PRIXFAST16): Likewise.
12440 [C99-based-standards] (SCNdFAST16): Likewise.
12441 [C99-based-standards] (SCNiFAST16): Likewise.
12442 [C99-based-standards] (SCNoFAST16): Likewise.
12443 [C99-based-standards] (SCNuFAST16): Likewise.
12444 [C99-based-standards] (SCNxFAST16): Likewise.
12445 [C99-based-standards] (PRId32): Likewise.
12446 [C99-based-standards] (PRIi32): Likewise.
12447 [C99-based-standards] (PRIo32): Likewise.
12448 [C99-based-standards] (PRIu32): Likewise.
12449 [C99-based-standards] (PRIx32): Likewise.
12450 [C99-based-standards] (PRIX32): Likewise.
12451 [C99-based-standards] (SCNd32): Likewise.
12452 [C99-based-standards] (SCNi32): Likewise.
12453 [C99-based-standards] (SCNo32): Likewise.
12454 [C99-based-standards] (SCNu32): Likewise.
12455 [C99-based-standards] (SCNx32): Likewise.
12456 [C99-based-standards] (PRIdLEAST32): Likewise.
12457 [C99-based-standards] (PRIiLEAST32): Likewise.
12458 [C99-based-standards] (PRIoLEAST32): Likewise.
12459 [C99-based-standards] (PRIuLEAST32): Likewise.
12460 [C99-based-standards] (PRIxLEAST32): Likewise.
12461 [C99-based-standards] (PRIXLEAST32): Likewise.
12462 [C99-based-standards] (SCNdLEAST32): Likewise.
12463 [C99-based-standards] (SCNiLEAST32): Likewise.
12464 [C99-based-standards] (SCNoLEAST32): Likewise.
12465 [C99-based-standards] (SCNuLEAST32): Likewise.
12466 [C99-based-standards] (SCNxLEAST32): Likewise.
12467 [C99-based-standards] (PRIdFAST32): Likewise.
12468 [C99-based-standards] (PRIiFAST32): Likewise.
12469 [C99-based-standards] (PRIoFAST32): Likewise.
12470 [C99-based-standards] (PRIuFAST32): Likewise.
12471 [C99-based-standards] (PRIxFAST32): Likewise.
12472 [C99-based-standards] (PRIXFAST32): Likewise.
12473 [C99-based-standards] (SCNdFAST32): Likewise.
12474 [C99-based-standards] (SCNiFAST32): Likewise.
12475 [C99-based-standards] (SCNoFAST32): Likewise.
12476 [C99-based-standards] (SCNuFAST32): Likewise.
12477 [C99-based-standards] (SCNxFAST32): Likewise.
12478 [C99-based-standards] (PRId64): Likewise.
12479 [C99-based-standards] (PRIi64): Likewise.
12480 [C99-based-standards] (PRIo64): Likewise.
12481 [C99-based-standards] (PRIu64): Likewise.
12482 [C99-based-standards] (PRIx64): Likewise.
12483 [C99-based-standards] (PRIX64): Likewise.
12484 [C99-based-standards] (SCNd64): Likewise.
12485 [C99-based-standards] (SCNi64): Likewise.
12486 [C99-based-standards] (SCNo64): Likewise.
12487 [C99-based-standards] (SCNu64): Likewise.
12488 [C99-based-standards] (SCNx64): Likewise.
12489 [C99-based-standards] (PRIdLEAST64): Likewise.
12490 [C99-based-standards] (PRIiLEAST64): Likewise.
12491 [C99-based-standards] (PRIoLEAST64): Likewise.
12492 [C99-based-standards] (PRIuLEAST64): Likewise.
12493 [C99-based-standards] (PRIxLEAST64): Likewise.
12494 [C99-based-standards] (PRIXLEAST64): Likewise.
12495 [C99-based-standards] (SCNdLEAST64): Likewise.
12496 [C99-based-standards] (SCNiLEAST64): Likewise.
12497 [C99-based-standards] (SCNoLEAST64): Likewise.
12498 [C99-based-standards] (SCNuLEAST64): Likewise.
12499 [C99-based-standards] (SCNxLEAST64): Likewise.
12500 [C99-based-standards] (PRIdFAST64): Likewise.
12501 [C99-based-standards] (PRIiFAST64): Likewise.
12502 [C99-based-standards] (PRIoFAST64): Likewise.
12503 [C99-based-standards] (PRIuFAST64): Likewise.
12504 [C99-based-standards] (PRIxFAST64): Likewise.
12505 [C99-based-standards] (PRIXFAST64): Likewise.
12506 [C99-based-standards] (SCNdFAST64): Likewise.
12507 [C99-based-standards] (SCNiFAST64): Likewise.
12508 [C99-based-standards] (SCNoFAST64): Likewise.
12509 [C99-based-standards] (SCNuFAST64): Likewise.
12510 [C99-based-standards] (SCNxFAST64): Likewise.
12511 [C99-based-standards] (PRIdMAX): Likewise.
12512 [C99-based-standards] (PRIiMAX): Likewise.
12513 [C99-based-standards] (PRIoMAX): Likewise.
12514 [C99-based-standards] (PRIuMAX): Likewise.
12515 [C99-based-standards] (PRIxMAX): Likewise.
12516 [C99-based-standards] (PRIXMAX): Likewise.
12517 [C99-based-standards] (SCNdMAX): Likewise.
12518 [C99-based-standards] (SCNiMAX): Likewise.
12519 [C99-based-standards] (SCNoMAX): Likewise.
12520 [C99-based-standards] (SCNuMAX): Likewise.
12521 [C99-based-standards] (SCNxMAX): Likewise.
12522 [C99-based-standards] (PRIdPTR): Likewise.
12523 [C99-based-standards] (PRIiPTR): Likewise.
12524 [C99-based-standards] (PRIoPTR): Likewise.
12525 [C99-based-standards] (PRIuPTR): Likewise.
12526 [C99-based-standards] (PRIxPTR): Likewise.
12527 [C99-based-standards] (PRIXPTR): Likewise.
12528 [C99-based-standards] (SCNdPTR): Likewise.
12529 [C99-based-standards] (SCNiPTR): Likewise.
12530 [C99-based-standards] (SCNoPTR): Likewise.
12531 [C99-based-standards] (SCNuPTR): Likewise.
12532 [C99-based-standards] (SCNxPTR): Likewise.
12533 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12535 * conform/data/stdint.h-data: Update comments to clarify
12537 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12539 [C99-based standards] (INT8_MAX): Likewise.
12540 [C99-based standards] (INT16_MIN): Likewise.
12541 [C99-based standards] (INT16_MAX): Likewise.
12542 [C99-based standards] (INT32_MIN): Likewise.
12543 [C99-based standards] (INT32_MAX): Likewise.
12544 [C99-based standards] (INT64_MIN): Likewise.
12545 [C99-based standards] (INT64_MAX): Likewise.
12546 [C99-based standards] (UINT8_MAX): Likewise.
12547 [C99-based standards] (UINT16_MAX): Likewise.
12548 [C99-based standards] (UINT32_MAX): Likewise.
12549 [C99-based standards] (UINT64_MAX): Likewise.
12550 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12551 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12552 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12553 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12554 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12555 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12556 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12557 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12558 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12559 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12560 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12561 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12562 [C99-based standards] (INT_FAST8_MIN): Likewise.
12563 [C99-based standards] (INT_FAST8_MAX): Likewise.
12564 [C99-based standards] (INT_FAST16_MIN): Likewise.
12565 [C99-based standards] (INT_FAST16_MAX): Likewise.
12566 [C99-based standards] (INT_FAST32_MIN): Likewise.
12567 [C99-based standards] (INT_FAST32_MAX): Likewise.
12568 [C99-based standards] (INT_FAST64_MIN): Likewise.
12569 [C99-based standards] (INT_FAST64_MAX): Likewise.
12570 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12571 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12572 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12573 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12574 [C99-based standards] (INTPTR_MIN): Likewise.
12575 [C99-based standards] (INTPTR_MAX): Likewise.
12576 [C99-based standards] (UINTPTR_MAX): Likewise.
12577 [C99-based standards] (INTMAX_MIN): Likewise.
12578 [C99-based standards] (INTMAX_MAX): Likewise.
12579 [C99-based standards] (UINTMAX_MAX): Likewise.
12580 [C99-based standards] (PTRDIFF_MIN): Likewise.
12581 [C99-based standards] (PTRDIFF_MAX): Likewise.
12582 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12583 [C99-based standards] (SIZE_MAX): Likewise.
12584 [C99-based standards] (WCHAR_MAX): Likewise.
12585 [C99-based standards] (WINT_MAX): Likewise.
12586 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12587 constraint on value.
12588 [C99-based standards] (WCHAR_MIN): Likewise.
12589 [C99-based standards] (WINT_MIN): Likewise.
12590 [C99-based standards] (*_t): Allow.
12591 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12592 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12593 Include math.h-data and complex.h-data. Remove all expectations
12594 of math.h and complex.h contents.
12595 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12597 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12598 (struct tm): Expect tag.
12599 [C99-based-standards] (wcstof): Expect function.
12600 [C99-based-standards] (wcstold): Likewise.
12601 [C99-based-standards] (wcstoll): Likewise.
12602 [C99-based-standards] (wcstoull): Likewise.
12603 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12604 macro-int-constant. Specify type.
12605 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12606 constraint on value.
12607 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12609 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12611 [ISO C standards]: Do not allow headers.
12612 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12613 wcs[abcdefghijklmnopqrstuvwxyz]*.
12614 [ISO C standards] (*_t): Do not allow.
12615 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12617 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12618 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12620 [ISO C standards]: Do not allow headers.
12621 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12622 is[abcdefghijklmnopqrstuvwxyz]*.
12623 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12624 to[abcdefghijklmnopqrstuvwxyz]*.
12625 [ISO C standards] (*_t): Do not allow.
12626 * conform/data/stdalign.h-data: New file.
12627 * conform/data/stdbool.h-data: Likewise.
12628 * conform/data/stdnoreturn.h-data: Likewise.
12630 2012-11-07 Roland McGrath <roland@hack.frob.com>
12633 * manual/filesys.texi (Directory Entries): Typo fix.
12634 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12636 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12638 * elf/elf.h (EM_AARCH64): New macro.
12639 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12640 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12641 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12642 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12643 (R_AARCH64_TLSDESC): Likewise.
12644 (NT_ARM_TLS): Likewise.
12645 (NT_ARM_HW_BREAK): Likewise.
12646 (NT_ARM_HW_WATCH): Likewise.
12648 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12651 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12652 (__ieee754_powl): Saturate nonzero exponents with absolute value
12653 below 0x1p-79 to +/- 0x1p-79.
12654 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12655 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12656 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12657 nonzero exponents with absolute value below 0x1p-32 to +/-
12659 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12660 (__ieee754_powl): Saturate nonzero exponents with absolute value
12661 below 0x1p-79 to +/- 0x1p-79.
12662 * math/libm-test.inc (pow_test): Add more tests.
12664 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12666 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12667 _dl_s390_cap_flags with kernel. Increase string length.
12668 (_dl_s390_platforms): Add z196 and zEC12.
12670 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12672 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12673 Change XOPEN21K to XOPEN2K.
12675 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12677 * string/memmove.c: Use memcpy when possible.
12679 2012-11-06 Andreas Jaeger <aj@suse.de>
12681 * po/eo.po: Update from translation team.
12683 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12687 exponent and small x and y exponents, scale x or y up. Increase
12688 by 2 the exponent used in scaling up.
12689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12691 * math/libm-test.inc (fma_test): Add more tests.
12692 (fma_test_towardzero): Likewise.
12693 (fma_test_downward): Likewise.
12694 (fma_test_upward): Likewise.
12696 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12699 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12703 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12704 namespace for names of struct fields.
12705 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12707 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12708 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12710 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12713 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12715 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12717 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12721 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12724 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12728 definitely overflow as x * y not x * y + z.
12729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12731 * math/libm-test.inc (fma_test): Add more tests.
12732 (fma_test_towardzero): Likewise.
12733 (fma_test_downward): Likewise.
12734 (fma_test_upward): Likewise.
12736 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12740 * include/stub-tag.h: Remove file.
12741 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12743 * manual/maint.texi (Porting): Don't reference it.
12744 * Makerules ($(objpfx)stubs): Likewise.
12745 * dirent/closedir.c: Don't include <stub-tag.h>.
12746 * dirent/dirfd.c: Likewise.
12747 * dirent/fdopendir.c: Likewise.
12748 * dirent/getdents.c: Likewise.
12749 * dirent/getdents64.c: Likewise.
12750 * dirent/opendir.c: Likewise.
12751 * dirent/readdir.c: Likewise.
12752 * dirent/readdir64.c: Likewise.
12753 * dirent/readdir64_r.c: Likewise.
12754 * dirent/readdir_r.c: Likewise.
12755 * dirent/rewinddir.c: Likewise.
12756 * dirent/seekdir.c: Likewise.
12757 * dirent/telldir.c: Likewise.
12758 * gmon/profil.c: Likewise.
12759 * grp/setgroups.c: Likewise.
12760 * inet/if_index.c: Likewise.
12761 * io/access.c: Likewise.
12762 * io/chdir.c: Likewise.
12763 * io/chmod.c: Likewise.
12764 * io/chown.c: Likewise.
12765 * io/close.c: Likewise.
12766 * io/dup.c: Likewise.
12767 * io/dup2.c: Likewise.
12768 * io/dup3.c: Likewise.
12769 * io/euidaccess.c: Likewise.
12770 * io/faccessat.c: Likewise.
12771 * io/fchdir.c: Likewise.
12772 * io/fchmod.c: Likewise.
12773 * io/fchmodat.c: Likewise.
12774 * io/fchown.c: Likewise.
12775 * io/fchownat.c: Likewise.
12776 * io/fcntl.c: Likewise.
12777 * io/flock.c: Likewise.
12778 * io/fstatfs.c: Likewise.
12779 * io/fstatfs64.c: Likewise.
12780 * io/fstatvfs.c: Likewise.
12781 * io/fstatvfs64.c: Likewise.
12782 * io/futimens.c: Likewise.
12783 * io/fxstat.c: Likewise.
12784 * io/fxstat64.c: Likewise.
12785 * io/fxstatat.c: Likewise.
12786 * io/fxstatat64.c: Likewise.
12787 * io/getcwd.c: Likewise.
12788 * io/isatty.c: Likewise.
12789 * io/lchmod.c: Likewise.
12790 * io/lchown.c: Likewise.
12791 * io/link.c: Likewise.
12792 * io/linkat.c: Likewise.
12793 * io/lseek.c: Likewise.
12794 * io/lseek64.c: Likewise.
12795 * io/lxstat64.c: Likewise.
12796 * io/mkdir.c: Likewise.
12797 * io/mkdirat.c: Likewise.
12798 * io/mkfifo.c: Likewise.
12799 * io/mkfifoat.c: Likewise.
12800 * io/open.c: Likewise.
12801 * io/open64.c: Likewise.
12802 * io/openat.c: Likewise.
12803 * io/openat64.c: Likewise.
12804 * io/pipe.c: Likewise.
12805 * io/pipe2.c: Likewise.
12806 * io/poll.c: Likewise.
12807 * io/posix_fadvise.c: Likewise.
12808 * io/posix_fadvise64.c: Likewise.
12809 * io/posix_fallocate.c: Likewise.
12810 * io/posix_fallocate64.c: Likewise.
12811 * io/read.c: Likewise.
12812 * io/readlink.c: Likewise.
12813 * io/readlinkat.c: Likewise.
12814 * io/rmdir.c: Likewise.
12815 * io/sendfile.c: Likewise.
12816 * io/sendfile64.c: Likewise.
12817 * io/statfs.c: Likewise.
12818 * io/statfs64.c: Likewise.
12819 * io/statvfs.c: Likewise.
12820 * io/statvfs64.c: Likewise.
12821 * io/symlink.c: Likewise.
12822 * io/symlinkat.c: Likewise.
12823 * io/ttyname.c: Likewise.
12824 * io/ttyname_r.c: Likewise.
12825 * io/umask.c: Likewise.
12826 * io/unlink.c: Likewise.
12827 * io/unlinkat.c: Likewise.
12828 * io/utime.c: Likewise.
12829 * io/utimensat.c: Likewise.
12830 * io/write.c: Likewise.
12831 * io/xmknod.c: Likewise.
12832 * io/xmknodat.c: Likewise.
12833 * io/xstat.c: Likewise.
12834 * io/xstat64.c: Likewise.
12835 * login/getpt.c: Likewise.
12836 * login/grantpt.c: Likewise.
12837 * login/unlockpt.c: Likewise.
12838 * math/e_acoshl.c: Likewise.
12839 * math/e_acosl.c: Likewise.
12840 * math/e_asinl.c: Likewise.
12841 * math/e_atan2l.c: Likewise.
12842 * math/e_atanhl.c: Likewise.
12843 * math/e_coshl.c: Likewise.
12844 * math/e_expl.c: Likewise.
12845 * math/e_fmodl.c: Likewise.
12846 * math/e_gammal_r.c: Likewise.
12847 * math/e_hypotl.c: Likewise.
12848 * math/e_j0l.c: Likewise.
12849 * math/e_j1l.c: Likewise.
12850 * math/e_jnl.c: Likewise.
12851 * math/e_lgammal_r.c: Likewise.
12852 * math/e_log10l.c: Likewise.
12853 * math/e_log2l.c: Likewise.
12854 * math/e_logl.c: Likewise.
12855 * math/e_powl.c: Likewise.
12856 * math/e_rem_pio2l.c: Likewise.
12857 * math/e_sinhl.c: Likewise.
12858 * math/e_sqrtl.c: Likewise.
12859 * math/fclrexcpt.c: Likewise.
12860 * math/fedisblxcpt.c: Likewise.
12861 * math/feenablxcpt.c: Likewise.
12862 * math/fegetenv.c: Likewise.
12863 * math/fegetexcept.c: Likewise.
12864 * math/fegetround.c: Likewise.
12865 * math/feholdexcpt.c: Likewise.
12866 * math/fesetenv.c: Likewise.
12867 * math/fesetround.c: Likewise.
12868 * math/feupdateenv.c: Likewise.
12869 * math/fgetexcptflg.c: Likewise.
12870 * math/fraiseexcpt.c: Likewise.
12871 * math/fsetexcptflg.c: Likewise.
12872 * math/ftestexcept.c: Likewise.
12873 * math/k_cosl.c: Likewise.
12874 * math/k_rem_pio2l.c: Likewise.
12875 * math/k_sinl.c: Likewise.
12876 * math/k_tanl.c: Likewise.
12877 * math/s_asinhl.c: Likewise.
12878 * math/s_atanl.c: Likewise.
12879 * math/s_cbrtl.c: Likewise.
12880 * math/s_erfl.c: Likewise.
12881 * math/s_expm1l.c: Likewise.
12882 * math/s_log1pl.c: Likewise.
12883 * math/s_tanhl.c: Likewise.
12884 * misc/acct.c: Likewise.
12885 * misc/brk.c: Likewise.
12886 * misc/chflags.c: Likewise.
12887 * misc/chroot.c: Likewise.
12888 * misc/fchflags.c: Likewise.
12889 * misc/fgetxattr.c: Likewise.
12890 * misc/flistxattr.c: Likewise.
12891 * misc/fremovexattr.c: Likewise.
12892 * misc/fsetxattr.c: Likewise.
12893 * misc/fsync.c: Likewise.
12894 * misc/ftruncate.c: Likewise.
12895 * misc/futimes.c: Likewise.
12896 * misc/futimesat.c: Likewise.
12897 * misc/getdomain.c: Likewise.
12898 * misc/getdtsz.c: Likewise.
12899 * misc/gethostid.c: Likewise.
12900 * misc/gethostname.c: Likewise.
12901 * misc/getloadavg.c: Likewise.
12902 * misc/getpagesize.c: Likewise.
12903 * misc/getsysstats.c: Likewise.
12904 * misc/getxattr.c: Likewise.
12905 * misc/gtty.c: Likewise.
12906 * misc/ioctl.c: Likewise.
12907 * misc/lgetxattr.c: Likewise.
12908 * misc/listxattr.c: Likewise.
12909 * misc/llistxattr.c: Likewise.
12910 * misc/lremovexattr.c: Likewise.
12911 * misc/lsetxattr.c: Likewise.
12912 * misc/lutimes.c: Likewise.
12913 * misc/madvise.c: Likewise.
12914 * misc/mincore.c: Likewise.
12915 * misc/mlock.c: Likewise.
12916 * misc/mlockall.c: Likewise.
12917 * misc/mmap.c: Likewise.
12918 * misc/mprotect.c: Likewise.
12919 * misc/msync.c: Likewise.
12920 * misc/munlock.c: Likewise.
12921 * misc/munlockall.c: Likewise.
12922 * misc/munmap.c: Likewise.
12923 * misc/preadv.c: Likewise.
12924 * misc/preadv64.c: Likewise.
12925 * misc/ptrace.c: Likewise.
12926 * misc/pwritev.c: Likewise.
12927 * misc/pwritev64.c: Likewise.
12928 * misc/readv.c: Likewise.
12929 * misc/reboot.c: Likewise.
12930 * misc/remap_file_pages.c: Likewise.
12931 * misc/removexattr.c: Likewise.
12932 * misc/revoke.c: Likewise.
12933 * misc/select.c: Likewise.
12934 * misc/setdomain.c: Likewise.
12935 * misc/setegid.c: Likewise.
12936 * misc/seteuid.c: Likewise.
12937 * misc/sethostid.c: Likewise.
12938 * misc/sethostname.c: Likewise.
12939 * misc/setregid.c: Likewise.
12940 * misc/setreuid.c: Likewise.
12941 * misc/setxattr.c: Likewise.
12942 * misc/sstk.c: Likewise.
12943 * misc/stty.c: Likewise.
12944 * misc/swapoff.c: Likewise.
12945 * misc/swapon.c: Likewise.
12946 * misc/sync.c: Likewise.
12947 * misc/syncfs.c: Likewise.
12948 * misc/syscall.c: Likewise.
12949 * misc/truncate.c: Likewise.
12950 * misc/ualarm.c: Likewise.
12951 * misc/usleep.c: Likewise.
12952 * misc/ustat.c: Likewise.
12953 * misc/utimes.c: Likewise.
12954 * misc/vhangup.c: Likewise.
12955 * misc/writev.c: Likewise.
12956 * posix/_exit.c: Likewise.
12957 * posix/alarm.c: Likewise.
12958 * posix/execve.c: Likewise.
12959 * posix/fexecve.c: Likewise.
12960 * posix/fork.c: Likewise.
12961 * posix/fpathconf.c: Likewise.
12962 * posix/getaddrinfo.c: Likewise.
12963 * posix/getegid.c: Likewise.
12964 * posix/geteuid.c: Likewise.
12965 * posix/getgid.c: Likewise.
12966 * posix/getgroups.c: Likewise.
12967 * posix/getlogin.c: Likewise.
12968 * posix/getlogin_r.c: Likewise.
12969 * posix/getpgid.c: Likewise.
12970 * posix/getpid.c: Likewise.
12971 * posix/getppid.c: Likewise.
12972 * posix/getresgid.c: Likewise.
12973 * posix/getresuid.c: Likewise.
12974 * posix/getsid.c: Likewise.
12975 * posix/getuid.c: Likewise.
12976 * posix/glob64.c: Likewise.
12977 * posix/nanosleep.c: Likewise.
12978 * posix/pathconf.c: Likewise.
12979 * posix/pause.c: Likewise.
12980 * posix/posix_madvise.c: Likewise.
12981 * posix/pread.c: Likewise.
12982 * posix/pread64.c: Likewise.
12983 * posix/pwrite.c: Likewise.
12984 * posix/pwrite64.c: Likewise.
12985 * posix/sched_getaffinity.c: Likewise.
12986 * posix/sched_getp.c: Likewise.
12987 * posix/sched_gets.c: Likewise.
12988 * posix/sched_primax.c: Likewise.
12989 * posix/sched_primin.c: Likewise.
12990 * posix/sched_rr_gi.c: Likewise.
12991 * posix/sched_setaffinity.c: Likewise.
12992 * posix/sched_setp.c: Likewise.
12993 * posix/sched_sets.c: Likewise.
12994 * posix/sched_yield.c: Likewise.
12995 * posix/setgid.c: Likewise.
12996 * posix/setlogin.c: Likewise.
12997 * posix/setpgid.c: Likewise.
12998 * posix/setresgid.c: Likewise.
12999 * posix/setresuid.c: Likewise.
13000 * posix/setsid.c: Likewise.
13001 * posix/setuid.c: Likewise.
13002 * posix/sleep.c: Likewise.
13003 * posix/spawni.c: Likewise.
13004 * posix/sysconf.c: Likewise.
13005 * posix/times.c: Likewise.
13006 * posix/wait.c: Likewise.
13007 * posix/wait3.c: Likewise.
13008 * posix/wait4.c: Likewise.
13009 * posix/waitpid.c: Likewise.
13010 * resolv/gai_sigqueue.c: Likewise.
13011 * resource/getpriority.c: Likewise.
13012 * resource/getrlimit.c: Likewise.
13013 * resource/getrusage.c: Likewise.
13014 * resource/nice.c: Likewise.
13015 * resource/setpriority.c: Likewise.
13016 * resource/setrlimit.c: Likewise.
13017 * resource/ulimit.c: Likewise.
13018 * rt/aio_cancel.c: Likewise.
13019 * rt/aio_fsync.c: Likewise.
13020 * rt/aio_read.c: Likewise.
13021 * rt/aio_sigqueue.c: Likewise.
13022 * rt/aio_suspend.c: Likewise.
13023 * rt/aio_write.c: Likewise.
13024 * rt/clock_getres.c: Likewise.
13025 * rt/clock_gettime.c: Likewise.
13026 * rt/clock_nanosleep.c: Likewise.
13027 * rt/clock_settime.c: Likewise.
13028 * rt/lio_listio.c: Likewise.
13029 * rt/mq_close.c: Likewise.
13030 * rt/mq_getattr.c: Likewise.
13031 * rt/mq_notify.c: Likewise.
13032 * rt/mq_open.c: Likewise.
13033 * rt/mq_receive.c: Likewise.
13034 * rt/mq_send.c: Likewise.
13035 * rt/mq_setattr.c: Likewise.
13036 * rt/mq_timedreceive.c: Likewise.
13037 * rt/mq_timedsend.c: Likewise.
13038 * rt/mq_unlink.c: Likewise.
13039 * rt/shm_open.c: Likewise.
13040 * rt/shm_unlink.c: Likewise.
13041 * rt/timer_create.c: Likewise.
13042 * rt/timer_delete.c: Likewise.
13043 * rt/timer_getoverr.c: Likewise.
13044 * rt/timer_gettime.c: Likewise.
13045 * rt/timer_settime.c: Likewise.
13046 * setjmp/__longjmp.c: Likewise.
13047 * setjmp/setjmp.c: Likewise.
13048 * signal/kill.c: Likewise.
13049 * signal/killpg.c: Likewise.
13050 * signal/raise.c: Likewise.
13051 * signal/sigaction.c: Likewise.
13052 * signal/sigaltstack.c: Likewise.
13053 * signal/sigblock.c: Likewise.
13054 * signal/sigignore.c: Likewise.
13055 * signal/sigintr.c: Likewise.
13056 * signal/signal.c: Likewise.
13057 * signal/sigpause.c: Likewise.
13058 * signal/sigpending.c: Likewise.
13059 * signal/sigqueue.c: Likewise.
13060 * signal/sigreturn.c: Likewise.
13061 * signal/sigset.c: Likewise.
13062 * signal/sigsetmask.c: Likewise.
13063 * signal/sigstack.c: Likewise.
13064 * signal/sigsuspend.c: Likewise.
13065 * signal/sigtimedwait.c: Likewise.
13066 * signal/sigvec.c: Likewise.
13067 * signal/sigwait.c: Likewise.
13068 * signal/sigwaitinfo.c: Likewise.
13069 * signal/sysv_signal.c: Likewise.
13070 * socket/accept.c: Likewise.
13071 * socket/accept4.c: Likewise.
13072 * socket/bind.c: Likewise.
13073 * socket/connect.c: Likewise.
13074 * socket/getpeername.c: Likewise.
13075 * socket/getsockname.c: Likewise.
13076 * socket/getsockopt.c: Likewise.
13077 * socket/isfdtype.c: Likewise.
13078 * socket/listen.c: Likewise.
13079 * socket/recv.c: Likewise.
13080 * socket/recvfrom.c: Likewise.
13081 * socket/recvmsg.c: Likewise.
13082 * socket/send.c: Likewise.
13083 * socket/sendmsg.c: Likewise.
13084 * socket/sendto.c: Likewise.
13085 * socket/setsockopt.c: Likewise.
13086 * socket/shutdown.c: Likewise.
13087 * socket/sockatmark.c: Likewise.
13088 * socket/socket.c: Likewise.
13089 * socket/socketpair.c: Likewise.
13090 * stdio-common/ctermid.c: Likewise.
13091 * stdio-common/cuserid.c: Likewise.
13092 * stdio-common/remove.c: Likewise.
13093 * stdio-common/rename.c: Likewise.
13094 * stdio-common/renameat.c: Likewise.
13095 * stdio-common/tempname.c: Likewise.
13096 * stdlib/getcontext.c: Likewise.
13097 * stdlib/makecontext.c: Likewise.
13098 * stdlib/setcontext.c: Likewise.
13099 * stdlib/swapcontext.c: Likewise.
13100 * stdlib/system.c: Likewise.
13101 * streams/fattach.c: Likewise.
13102 * streams/fdetach.c: Likewise.
13103 * streams/getmsg.c: Likewise.
13104 * streams/getpmsg.c: Likewise.
13105 * streams/putmsg.c: Likewise.
13106 * streams/putpmsg.c: Likewise.
13107 * sysdeps/unix/bsd/getpt.c: Likewise.
13108 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13109 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13110 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13113 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13114 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13115 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13116 * sysvipc/msgctl.c: Likewise.
13117 * sysvipc/msgget.c: Likewise.
13118 * sysvipc/msgrcv.c: Likewise.
13119 * sysvipc/msgsnd.c: Likewise.
13120 * sysvipc/semctl.c: Likewise.
13121 * sysvipc/semget.c: Likewise.
13122 * sysvipc/semop.c: Likewise.
13123 * sysvipc/semtimedop.c: Likewise.
13124 * sysvipc/shmat.c: Likewise.
13125 * sysvipc/shmctl.c: Likewise.
13126 * sysvipc/shmdt.c: Likewise.
13127 * sysvipc/shmget.c: Likewise.
13128 * termios/tcdrain.c: Likewise.
13129 * termios/tcflow.c: Likewise.
13130 * termios/tcflush.c: Likewise.
13131 * termios/tcgetattr.c: Likewise.
13132 * termios/tcgetpgrp.c: Likewise.
13133 * termios/tcsendbrk.c: Likewise.
13134 * termios/tcsetattr.c: Likewise.
13135 * termios/tcsetpgrp.c: Likewise.
13136 * time/adjtime.c: Likewise.
13137 * time/clock.c: Likewise.
13138 * time/getitimer.c: Likewise.
13139 * time/gettimeofday.c: Likewise.
13140 * time/setitimer.c: Likewise.
13141 * time/settimeofday.c: Likewise.
13142 * time/stime.c: Likewise.
13143 * time/time.c: Likewise.
13145 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13147 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13150 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13152 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13154 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13158 FE_TONEAREST before applying Dekker multiplication and Knuth
13159 addition. Clear inexact exceptions and check for exact zero
13160 results afterwards.
13161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13162 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13163 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13164 * math/libm-test.inc (fma_test): Add more tests.
13165 (fma_test_towardzero): Likewise.
13166 (fma_test_downward): Likewise.
13167 (fma_test_upward): Likewise.
13168 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13170 (libc_fesetround): New macro.
13171 (libc_fesetroundf): Likewise.
13172 (libc_fesetroundl): Likewise.
13173 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13175 (libc_fesetround_387): Likewise.
13176 (libc_fesetroundf): New macro.
13177 (libc_fesetround): Likewise.
13178 (libc_fesetroundl): Likewise.
13179 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13181 (libc_fesetroundf): New macro.
13182 (libc_fesetround): Likewise.
13183 (libc_fesetroundl): Likewise.
13184 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13185 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13186 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13188 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13189 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13191 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13192 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13194 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13198 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13199 integer constant usable in #if and use that to give value to enum
13201 (FE_DIVBYZERO): Likewise.
13202 (FE_UNDERFLOW): Likewise.
13203 (FE_OVERFLOW): Likewise.
13204 (FE_INVALID): Likewise.
13205 (FE_INVALID_SNAN): Likewise.
13206 (FE_INVALID_ISI): Likewise.
13207 (FE_INVALID_IDI): Likewise.
13208 (FE_INVALID_ZDZ): Likewise.
13209 (FE_INVALID_IMZ): Likewise.
13210 (FE_INVALID_COMPARE): Likewise.
13211 (FE_INVALID_SOFTWARE): Likewise.
13212 (FE_INVALID_SQRT): Likewise.
13213 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13214 (FE_TONEAREST): Likewise.
13215 (FE_TOWARDZERO): Likewise.
13216 (FE_UPWARD): Likewise.
13217 (FE_DOWNWARD): Likewise.
13218 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13219 (FE_DIVBYZERO): Likewise.
13220 (FE_OVERFLOW): Likewise.
13221 (FE_UNDERFLOW): Likewise.
13222 (FE_INEXACT): Likewise.
13223 (FE_TONEAREST): Likewise.
13224 (FE_DOWNWARD): Likewise.
13225 (FE_UPWARD): Likewise.
13226 (FE_TOWARDZERO): Likewise.
13227 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13228 (FE_UNDERFLOW): Likewise.
13229 (FE_OVERFLOW): Likewise.
13230 (FE_DIVBYZERO): Likewise.
13231 (FE_INVALID): Likewise.
13232 (FE_TONEAREST): Likewise.
13233 (FE_TOWARDZERO): Likewise.
13234 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13235 (FE_OVERFLOW): Likewise.
13236 (FE_UNDERFLOW): Likewise.
13237 (FE_DIVBYZERO): Likewise.
13238 (FE_INEXACT): Likewise.
13239 (FE_TONEAREST): Likewise.
13240 (FE_TOWARDZERO): Likewise.
13241 (FE_UPWARD): Likewise.
13242 (FE_DOWNWARD): Likewise.
13243 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13244 (FE_DIVBYZERO): Likewise.
13245 (FE_OVERFLOW): Likewise.
13246 (FE_UNDERFLOW): Likewise.
13247 (FE_INEXACT): Likewise.
13248 (FE_TONEAREST): Likewise.
13249 (FE_DOWNWARD): Likewise.
13250 (FE_UPWARD): Likewise.
13251 (FE_TOWARDZERO): Likewise.
13253 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13255 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13257 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13259 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13260 commands. Quote $PWD.
13261 (blacklist_exports): Don't use remove_newlines. Replace "declare
13263 (remove_newlines): Remove.
13265 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13267 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13268 * stdlib/stdlib.h (atof): Moved to ...
13269 * include/bits/stdlib-float.h: Here. New file.
13270 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13271 * stdlib/bits/stdlib-float.h: New file.
13272 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13274 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13277 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13279 * conform/conformtest.pl (@headers): Add fenv.h.
13280 * conform/data/fenv.h-data: New file.
13281 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13282 include of <math/fenv.h>.
13284 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13285 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13286 && !UNIX98]. Enables tests for XOPEN2K8.
13287 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13288 POSIX2008]: Likewise.
13290 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13291 (struct rusage): Do not expect type or its members.
13294 * math/math.h (FP_NAN): Define macro to integer constant usable in
13295 #if and use that to give value to enum constant.
13296 (FP_INFINITE): Likewise.
13297 (FP_ZERO): Likewise.
13298 (FP_SUBNORMAL): Likewise.
13299 (FP_NORMAL): Likewise.
13301 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13303 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13304 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13307 2012-11-02 Roland McGrath <roland@hack.frob.com>
13309 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13310 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13311 autoconf-time if not.
13312 * configure.in: Remove AC_PREREQ.
13314 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13316 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13317 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13318 of the internal implementation.
13320 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13322 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13323 except include of <misc/sys/syslog.h>.
13325 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13328 function returns with a NULL context exit with zero.
13330 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13332 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13334 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13336 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13337 (run_program_cmd): This.
13338 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13339 (tst_langinfo): New variable. Use it.
13341 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13343 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13344 floating point opcodes.
13346 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13348 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13351 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13353 * sysdeps/mach/hurd/powerpc: Remove directory.
13354 * sysdeps/mach/powerpc: Likewise.
13356 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13358 * scripts/check-local-headers.sh: Ignore c++ headers.
13360 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13362 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13363 __libc_cleanup_region_start argument.
13365 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13370 x * y using scaling, not as x * y + z.
13371 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13372 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13373 * math/libm-test.inc (fma_test): Add more tests.
13374 (fma_test_towardzero): Likewise.
13375 (fma_test_downward): Likewise.
13376 (fma_test_upward): Likewise.
13378 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13380 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13382 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13384 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13387 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13389 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13391 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13398 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13401 Fix the order of the list for glibc 2.17.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13405 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13409 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13412 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13413 for low part of x being zero before using __atanl (y).
13414 * math/libm-test.inc (atan2_test): Add another test.
13416 * manual/install.texi (Configuring and compiling): Document
13417 general use of test-wrapper and test-wrapper-env.
13418 * INSTALL: Regenerated.
13420 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13421 (__fma): Do not extract and scale down low bits on after-rounding
13422 systems when result rounded to normal precision would have normal
13424 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13425 (__fmal): Do not extract and scale down low bits on after-rounding
13426 systems when result rounded to normal precision would have normal
13428 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13429 (__fmal): Do not extract and scale down low bits on after-rounding
13430 systems when result rounded to normal precision would have normal
13432 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13434 (fma_test): Add more tests.
13435 (fma_test_towardzero): Likewise.
13436 (fma_test_downward): Likewise.
13437 (fma_test_upward): Likewise.
13439 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13441 * sysdeps/i386/tininess.h: Renamed to ...
13442 * sysdeps/x86/tininess.h: This.
13443 * sysdeps/x86_64/tininess.h: Removed.
13445 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13447 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13448 input. Use $(build-program-cmd).
13449 ($(objpfx)tst-array1-static.out): Likewise.
13450 ($(objpfx)tst-array2.out): Likewise.
13451 ($(objpfx)tst-array3.out): Likewise.
13452 ($(objpfx)tst-array4.out): Likewise.
13453 ($(objpfx)tst-array5.out): Likewise.
13454 ($(objpfx)tst-array5-static.out): Likewise.
13456 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13458 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13461 * nss/nsswitch.h (nss_interface_function): Provide new
13462 macro for use with NSS functions.
13463 * grp/initgroups.c: Use new macro.
13464 * nss/getXXbyYY.c: Likewise.
13465 * nss/getXXbyYY_r.c: Likewise.
13466 * nss/getXXent.c: Likewise.
13467 * nss/getXXent_r.c: Likewise.
13468 * sysdeps/posix/getaddrinfo.c: Likewise.
13470 2012-10-30 Andreas Jaeger <aj@suse.de>
13472 * po/ru.po: Update Russion translation from translation project.
13474 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13479 result and shift together with sticky bit instead of replicating
13480 round-to-nearest rounding.
13481 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13482 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13483 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13484 missing underflow exceptions.
13485 (fma_test_towardzero): Add more tests.
13486 (fma_test_downward): Likewise.
13487 (fma_test_upward): Likewise.
13490 * sysdeps/generic/tininess.h: New file.
13491 * sysdeps/i386/tininess.h: Likewise.
13492 * sysdeps/sh/tininess.h: Likewise.
13493 * sysdeps/x86_64/tininess.h: Likewise.
13494 * stdlib/tst-strtod-underflow.c: Likewise.
13495 * stdlib/tst-tininess.c: Likewise.
13496 * stdlib/strtod_l.c: Include <tininess.h>.
13497 (round_and_return): Do not set errno for exact underflow cases.
13498 Force an underflow exception when setting errno for underflow.
13499 Determine underflow based on rounding to normal precision if
13500 TININESS_AFTER_ROUNDING.
13501 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13502 ERANGE for exact underflow cases.
13503 * stdlib/Makefile (tests): Add tst-tininess and
13504 tst-strtod-underflow.
13505 ($(objpfx)tst-tininess): Use $(link-libm).
13506 ($(objpfx)tst-strtod-underflow): Likewise.
13508 2012-10-30 Andreas Jaeger <aj@suse.de>
13511 * elf/Makefile (tests): Remove conditional for have-initfini-array
13512 since this is now always required and the variable does not exist
13514 (tests-static): Likewise.
13515 (modules-names): Likewise.
13517 * po/eo.po: Add Esperanto translation from translation project.
13519 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13520 merged with constructor/destructor.
13521 (init_array): Likewise.
13522 * elf/tst-array2dep.c (fini_array): Likewise.
13523 (init_array): Likewise.
13525 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13527 * manual/message.texi: Delete @cartouche tags.
13529 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13531 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13533 * sysdeps/mach/hurd/fsync.c: Likewise.
13535 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13536 [_POSIX_REALTIME_SIGNALS]: Change condition to
13537 [_POSIX_REALTIME_SIGNALS > 0].
13539 2012-10-27 Andreas Jaeger <aj@suse.de>
13541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13542 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13544 [__WORDSIZE != 64]: Likewise.
13546 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13548 * iconvdata/tst-table.sh: Remove ${SHELL}.
13549 * iconvdata/tst-tables.sh: Likewise.
13551 2012-10-25 David S. Miller <davem@davemloft.net>
13553 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13554 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13557 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13559 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13560 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13561 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13564 2012-10-25 Roland McGrath <roland@hack.frob.com>
13566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13567 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13570 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13571 Jim Blandy <jimb@codesourcery.com>
13573 * scripts/cross-test-ssh.sh: New file.
13574 * manual/install.texi (Configuring and compiling): Document use of
13576 * INSTALL: Regenerated.
13578 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13580 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13583 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13585 * Makeconfig (run-program-prefix): Fix comment.
13587 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13588 Jim Blandy <jimb@codesourcery.com>
13590 * Makeconfig (test-wrapper): New variable,
13591 (test-wrapper-env): Likewise.
13592 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13593 (run-built-tests): Define to yes.
13594 (run-program-prefix): Use $(test-wrapper).
13595 (built-program-cmd): Likewise.
13596 * Rules (make-test-out): Use $(test-wrapper-env) and
13597 $(host-built-program-cmd).
13598 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13599 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13601 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13602 $(test-wrapper-env) to tst-rtld-load-self.sh.
13603 ($(objpfx)order2.out): Use $(test-wrapper).
13604 ($(objpfx)tst-initorder.out): Likewise.
13605 ($(objpfx)tst-initorder2.out): Likewise.
13606 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13607 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13608 (test_wrapper_env): New variable. Use it to run ld.so.
13609 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13610 Use it to run ld.so.
13611 (test_wrapper_env): Likewise.
13612 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13613 $(test-wrapper) to run-iconv-test.sh.
13614 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13615 (ICONV): Use $test_wrapper.
13616 * posix/Makefile ($(objpfx)globtest.out): Pass
13617 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13618 globtest.sh, not $(run-program-prefix).
13619 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13620 (test_wrapper): Likewise.
13621 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13622 set together with run_via_rtld_prefix.
13623 (run_program_prefix): Define in terms of test_wrapper and
13624 run_via_rtld_prefix.
13626 2012-10-24 Roland McGrath <roland@hack.frob.com>
13628 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13629 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13633 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13634 Declare __clock_getres, __clock_gettime, __clock_settime,
13635 __clock_nanosleep, and __clock_getcpuclockid.
13636 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13637 Remove librt_hidden_def (clock_gettime).
13638 * sysdeps/unix/clock_gettime.c: Likewise.
13639 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13640 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13641 * rt/clock_getres.c: Define __clock_getres as an alias.
13642 * sysdeps/posix/clock_getres.c: Likewise.
13643 * rt/clock_settime.c: Define __clock_settime as an alias.
13644 * sysdeps/unix/clock_settime.c: Likewise.
13645 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13646 * sysdeps/unix/clock_nanosleep.c: Likewise.
13647 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13648 * rt/clock-compat.c: New file.
13649 * rt/Makefile (librt-routines): Add clock-compat and move
13650 $(clock-routines) to ...
13651 (routines): ... here, new variable.
13652 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13653 Don't add get_clockfreq here.
13654 * rt/Versions (libc: GLIBC_2.17): New version set.
13655 Add clock_* symbols here.
13656 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13657 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13658 (GLIBC_2.17): Add clock_* symbols.
13659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13661 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13670 * NEWS: Mention the move.
13672 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13673 Use __open, __read, __close rather than their public counterparts.
13674 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13675 (__get_clockfreq_via_cpuinfo): Likewise.
13676 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13677 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13679 * config.h.in (HAVE_IFUNC): New #undef.
13680 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13682 * configure: Regenerated.
13684 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13686 * configure.in: Move READELF check to start of file.
13687 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13688 libc_cv_asm_gnu_indirect_function in the process.
13689 * configure: Regenerated.
13691 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13693 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13694 send the output to /dev/null.
13695 (libc_cv_cc_with_libunwind): Likewise.
13696 (libc_cv_as_noexecstack): Likewise.
13697 * configure: Regenerate.
13699 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13701 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13703 * posix/globtest.sh (TMPDIR): Do not set.
13704 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13705 (testout): Likewise.
13707 2012-10-24 Andreas Jaeger <aj@suse.de>
13709 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13710 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13711 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13712 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13713 posix_fadvise64, posix_fallocate64.
13715 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13716 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13717 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13719 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13721 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13724 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13725 <bits/fcntl-linux.h>.
13726 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13729 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13730 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13731 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13732 [__WORDSIZE != 64]: Likewise.
13734 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13736 * Makeconfig (run-built-tests): New variable.
13737 * Rules [$(cross-compiling) = yes]: Change condition to
13738 [$(run-built-tests) = no].
13739 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13740 to [$(run-built-tests) = yes].
13741 * elf/Makefile [$(cross-compiling) = no]: Likewise
13742 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13743 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13744 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13745 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13746 * io/Makefile [$(cross-compiling) = no]: Likewise.
13747 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13748 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13749 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13750 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13751 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13752 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13753 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13754 * string/Makefile [$(cross-compiling) = no]: Likewise.
13756 * posix/Makefile ($(objpfx)globtest.out): Pass
13757 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13758 $(rtld-installed-name).
13759 * posix/globtest.sh (elf_objpfx): Remove variable.
13760 (rtld_installed_name): Likewise.
13761 (library_path): Likewise.
13762 (run_program_prefix): New variable. Use for running globtest
13765 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13766 Joseph Myers <joseph@codesourcery.com>
13768 * Makeconfig (host-built-program-cmd): New variable.
13769 * elf/Makefile (tst-stackguard1-ARGS): Use
13770 $(host-built-program-cmd).
13771 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13772 (tst-spawn-ARGS): Likewise.
13773 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13775 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13776 Jim Blandy <jimb@codesourcery.com>
13778 * Makeconfig (run-via-rtld-prefix): New variable.
13779 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13780 (built-program-cmd): Likewise.
13782 2012-10-22 Andreas Jaeger <aj@suse.de>
13784 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13785 __O_RSYNC if it exists, otherwise to O_SYNC.
13787 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13788 Joseph Myers <joseph@codesourcery.com>
13790 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13792 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13794 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13797 2012-10-22 Andreas Jaeger <aj@suse.de>
13799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13804 bits/fcntl-linux.h.
13806 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13807 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13814 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13815 Joseph Myers <joseph@codesourcery.com>
13817 * config.make.in (NM): New variable.
13819 2012-10-21 Andreas Jaeger <aj@suse.de>
13821 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13822 definitions and declarations that are provided by
13823 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13825 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13828 * elf/Makefile (tests-static): Add tst-leaks1-static.
13829 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13830 ($(objpfx)tst-leaks1-static): New rule.
13831 ($(objpfx)tst-leaks1-static-mem): Likewise.
13832 (tst-leaks1-static-ENV): New macro.
13833 * elf/dl-open.c (dl_open_worker): Check the main application
13834 only if SHARED is defined.
13835 * elf/tst-leaks1-static.c: New file.
13837 2012-10-20 Andreas Jaeger <aj@suse.de>
13839 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13840 generic values for Linux.
13841 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13842 and declarations that are provided by <bits/fcntl-linux.h> and
13843 include <bits/fcntl-linux.h>.
13844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13847 2012-10-20 Roland McGrath <roland@hack.frob.com>
13849 * io/fcntl.h: Move include of <bits/types.h> to the top and
13850 include it unconditionally.
13852 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13854 * wcsmbs/Makefile (tests-ifunc): New variable.
13855 (tests): Add $(tests-ifunc).
13856 * wcsmbs/test-wcschr-ifunc.c: New file.
13857 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13858 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13859 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13860 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13861 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13863 * string/Makefile (tests-ifunc): New variable.
13864 (tests): Add $(tests-ifunc).
13865 * string/test-memccpy.c (TEST_NAME): New macro.
13866 * string/test-memchr.c (TEST_NAME): Likewise.
13867 * string/test-memcmp.c (TEST_NAME): Likewise.
13868 * string/test-memcpy.c (TEST_NAME): Likewise.
13869 * string/test-memmem.c (TEST_NAME): Likewise.
13870 * string/test-memmove.c (TEST_NAME): Likewise.
13871 * string/test-memset.c (TEST_NAME): Likewise.
13872 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13873 * string/test-stpcpy.c (TEST_NAME): Likewise.
13874 * string/test-stpncpy.c (TEST_NAME): Likewise.
13875 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13876 * string/test-strcasestr.c (TEST_NAME): Likewise.
13877 * string/test-strcat.c (TEST_NAME): Likewise.
13878 * string/test-strchr.c (TEST_NAME): Likewise.
13879 * string/test-strcmp.c(TEST_NAME): Likewise.
13880 * string/test-strcpy.c (TEST_NAME): Likewise.
13881 * string/test-strcspn.c (TEST_NAME): Likewise.
13882 * string/test-strlen.c (TEST_NAME): Likewise.
13883 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13884 * string/test-strncmp.c (TEST_NAME): Likewise.
13885 * string/test-strncpy.c (TEST_NAME): Likewise.
13886 * string/test-strnlen.c (TEST_NAME): Likewise.
13887 * string/test-strpbrk.c (TEST_NAME): Likewise.
13888 * string/test-strrchr.c (TEST_NAME): Likewise.
13889 * string/test-strspn.c (TEST_NAME): Likewise.
13890 * string/test-strstr.c (TEST_NAME): Likewise.
13891 * string/test-bcopy-ifunc.c: New file.
13892 * string/test-bzero-ifunc.c: Likewise.
13893 * string/test-memccpy-ifunc.c: Likewise.
13894 * string/test-memchr-ifunc.c: Likewise.
13895 * string/test-memcmp-ifunc.c: Likewise.
13896 * string/test-memcpy-ifunc.c: Likewise.
13897 * string/test-memmem-ifunc.c: Likewise.
13898 * string/test-memmove-ifunc.c: Likewise.
13899 * string/test-mempcpy-ifunc.c: Likewise.
13900 * string/test-memset-ifunc.c: Likewise.
13901 * string/test-rawmemchr-ifunc.c: Likewise.
13902 * string/test-stpcpy-ifunc.c: Likewise.
13903 * string/test-stpncpy-ifunc.c: Likewise.
13904 * string/test-strcasecmp-ifunc.c: Likewise.
13905 * string/test-strcasestr-ifunc.c: Likewise.
13906 * string/test-strcat-ifunc.c: Likewise.
13907 * string/test-strchr-ifunc.c: Likewise.
13908 * string/test-strchrnul-ifunc.c: Likewise.
13909 * string/test-strcmp-ifunc.c: Likewise.
13910 * string/test-strcpy-ifunc.c: Likewise.
13911 * string/test-strcspn-ifunc.c: Likewise.
13912 * string/test-strlen-ifunc.c: Likewise.
13913 * string/test-strncasecmp-ifunc.c: Likewise.
13914 * string/test-strncat-ifunc.c: Likewise.
13915 * string/test-strncmp-ifunc.c: Likewise.
13916 * string/test-strncpy-ifunc.c: Likewise.
13917 * string/test-strnlen-ifunc.c: Likewise.
13918 * string/test-strpbrk-ifunc.c: Likewise.
13919 * string/test-strrchr-ifunc.c: Likewise.
13920 * string/test-strspn-ifunc.c: Likewise.
13921 * string/test-strstr-ifunc.c: Likewise.
13923 * debug/Makefile (tests-ifunc): New variable.
13924 (tests): Add $(tests-ifunc).
13925 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13926 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13927 * debug/test-stpcpy_chk-ifunc.c: New file.
13928 * debug/test-strcpy_chk-ifunc.c: Likewise.
13930 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13933 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13934 header is not read in.
13936 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13938 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13939 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13940 directly. Pass built executable to script as
13941 $(built-program-cmd).
13942 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13943 $testprogram without using LD_LIBRARY_PATH and $ldso.
13945 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13946 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13947 $(rtld-installed-name).
13948 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13949 (rtld_installed_name): Likewise.
13950 (library_path): Likewise.
13951 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13952 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13953 $(run-program-prefix) to tst-tables.sh.
13954 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13955 it to run tst-table-from and tst-table-to.
13956 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13957 Pass it to tst-table.sh.
13958 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13959 $(run-program-prefix) to tst-gettext.sh.
13960 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13962 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13964 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13965 to run tst-gettext.
13966 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13967 to run tst-gettext2.
13968 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13969 to run tst-translit.
13970 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13971 $(run-program-prefix) to tst-mtrace.sh.
13972 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13974 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13975 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13976 $(rtld-installed-name).
13977 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13978 (rtld_installed_name): Likewise.
13979 (run_program_prefix): New variable. Use it to run wordexp-test.
13981 * Makeconfig (ARCH): Remove all definitions.
13982 (machine): Likewise.
13983 [ARCH]: Remove conditional code.
13984 [!objdir]: Give error.
13985 [!objdir] (objpfx): Remove.
13986 [!objdir] (common-objpfx): Likewise.
13987 [!objdir] (common-objdir): Likewise.
13988 * configure.in (config_makefile): Remove. Hardcode Makefile in
13989 AC_CONFIG_FILES call.
13990 * configure: Regenerated.
13993 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13995 (testout): Likewise.
13997 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13998 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13999 $(rtld-installed-name).
14000 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14001 (rtld_installed_name): Likwise.
14002 (runit): Remove function.
14003 (run_getconf): New variable, Use it for running getconf binary.
14005 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14008 * string/test-memmem.c (check_result): New function.
14009 (do_one_test): Use it.
14010 (check1): New function.
14011 (test_main): Use it.
14013 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14015 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14017 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14019 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14020 (_G_LSEEK64): Likewise.
14021 (_G_MMAP64): Likewise.
14022 (_G_FSTAT64): Likewise.
14023 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14024 (_G_LSEEK64): Likewise.
14025 (_G_MMAP64): Likewise.
14026 (_G_FSTAT64): Likewise.
14027 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14028 unconditional. Call __mmap64 directly.
14029 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14030 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14031 __lseek64 directly.
14032 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14033 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14035 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14036 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14037 __lseek64 directly.
14038 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14039 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14040 __lseek64 directly.
14041 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14042 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14043 __lseek64 directly.
14044 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14045 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14046 __fxstat64 directly.
14047 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14048 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14050 (freopen64) [!_G_OPEN64]: Remove conditional code.
14051 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14053 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14054 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14056 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14057 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14059 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14060 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14062 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14063 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14065 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14066 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14068 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14069 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14071 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14073 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14076 * manual/memory.texi (Malloc Tunable Parameters): Add note
14077 about free list pointers overwriting some perturb bytes.
14078 Wording suggested by Roland McGrath.
14080 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14082 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14083 (lgamma_test): Likewise.
14084 (tgamma_test): Likewise.
14086 2012-10-16 Florian Weimer <fweimer@redhat.com>
14089 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14090 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14092 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14094 * NEWS: Mention BZ #14716.
14095 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14096 when removing AVAILABLE1_USES_J macro.
14098 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14100 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14101 (__bswap_64): __uint64_t for unsigned 64-bit int.
14103 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14105 * include/string.h (memmem): Declare libc hidden alias.
14106 * string/memmem.c (memmem): Define libc hidden alias.
14107 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14108 __read, __close instead of open, read, close.
14110 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14113 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14115 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14116 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14117 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14119 (__rawmemchr_sse2): Likewise.
14120 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14121 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14122 (__strchr_sse2): Likewise.
14123 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14124 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14125 (__strcasecmp_sse2): Likewise.
14126 (__strncasecmp_sse2): Likewise.
14127 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14128 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14129 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14130 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14131 (__strrchr_sse2): Likewise.
14132 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14134 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14135 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14136 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14137 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14138 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14139 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14140 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14141 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14142 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14143 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14144 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14145 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14146 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14147 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14148 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14149 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14150 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14151 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14152 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14153 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14154 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14155 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14156 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14157 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14158 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14159 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14160 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14161 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14162 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14163 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14165 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14167 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14168 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14169 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14170 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14172 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14174 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14175 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14176 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14177 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14179 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14180 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14181 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14182 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14183 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14184 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14185 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14186 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14187 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14188 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14189 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14190 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14191 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14192 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14193 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14194 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14195 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14196 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14197 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14198 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14199 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14200 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14201 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14202 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14203 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14204 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14205 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14206 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14207 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14208 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14209 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14210 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14211 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14212 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14213 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14214 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14215 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14216 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14217 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14218 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14219 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14221 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14222 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14223 * include/ifunc-impl-list.h: New file.
14224 * misc/ifunc-impl-list.c: Likewise.
14225 * misc/Makefile (routines): Add ifunc-impl-list.
14226 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14227 * string/test-string.h: Include <ifunc-impl-list.h>.
14228 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14229 impl_array): New variables.
14230 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14232 (test_init): Call __libc_ifunc_impl_list to initialize
14233 func_list if TEST_IFUNC and TEST_NAME are defined.
14235 * string/Makefile (strop-tests): Add bcopy and bzero.
14236 * string/test-bcopy.c: New file.
14237 * string/test-bzero.c: Likewise.
14238 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14240 * string/test-memset.c: Support bzero test if TEST_BZERO is
14242 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14244 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14246 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14249 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14251 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14252 * configure: Regenerated.
14254 * Makeconfig (+link-static-before-libc): Don't include
14255 $(link-static-libc).
14257 * libio/libio.h (_IO_pos_t): Remove.
14259 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14261 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14264 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14266 * crypt/crypt-entry.c: Include fips-private.h.
14267 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14268 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14269 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14270 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14272 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14274 * crypt/crypt-private.h: Include stdbool.h.
14275 (_ufc_setup_salt_r): Return bool.
14276 * crypt/crypt-entry.c: Include errno.h.
14277 (__crypt_r): Return NULL with EINVAL for bad salt.
14278 * crypt/crypt_util.c (bad_for_salt): New.
14279 (_ufc_setup_salt_r): Check that salt is long enough and within
14280 the specified alphabet.
14281 * crypt/badsalttest.c: New file.
14282 * crypt/Makefile (tests): Add it.
14283 ($(objpfx)badsalttest): New.
14285 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14287 * NEWS: Add entry for BZ #14602.
14289 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14291 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14293 * math/libm-test.inc: Update comment listing what functions and
14295 (isgreater_test): New function.
14296 (isgreaterequal_test): Likewise.
14297 (isless_test): Likewise.
14298 (islessequal_test): Likewise.
14299 (islessgreater_test): Likewise.
14300 (isunordered_test): Likewise.
14301 (main): Call the new functions.
14303 2012-10-09 Roland McGrath <roland@hack.frob.com>
14305 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14306 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14307 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14308 * sysdeps/i386/configure: Regenerated.
14309 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14310 * sysdeps/mach/configure: Regenerated.
14311 * sysdeps/mach/hurd/configure: Regenerated.
14312 * sysdeps/powerpc/configure: Regenerated.
14313 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14314 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14315 * sysdeps/s390/s390-32/configure: Regenerated.
14316 * sysdeps/s390/s390-64/configure: Regenerated.
14317 * sysdeps/sh/configure: Regenerated.
14318 * sysdeps/sparc/configure: Regenerated.
14319 * sysdeps/unix/sysv/linux/configure: Regenerated.
14320 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14321 * sysdeps/x86_64/configure: Regenerated.
14323 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14324 defined. Don't check if MAP is NULL.
14326 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14328 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14329 (_G_stat64): Likewise.
14330 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14331 (_G_stat64): Likewise.
14332 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14333 instead of struct _G_stat64.
14334 * libio/fileops.c (mmap_remap_check): Likewise.
14335 (decide_maybe_mmap): Likewise.
14336 (_IO_new_file_seekoff): Likewise.
14337 (_IO_file_stat): Likewise.
14338 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14340 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14341 instead of struct _G_stat64.
14342 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14344 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14347 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14349 (CHECK_EOL): New macro.
14350 (two_way_short_needle): Check beginning of haystack for EOL. Use
14352 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14353 Replace with CHECK_EOL.
14354 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14355 Replace with CHECK_EOL.
14357 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14359 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14361 * math/libm-test.inc: Update comment listing what functions and
14363 (finite_test): New function.
14364 (isinf_test): Likewise.
14365 (isnan_test): Likewise.
14366 (fpclassify_test): Test subnormal input.
14367 (isfinite_test): Likewise.
14368 (isnormal_test): Likewise.
14369 (main): Call the new functions.
14371 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14374 * Makerules (%.dynsym): Force C locale when running
14375 $(OBJDUMP) --dynamic-syms.
14377 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14379 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14382 2012-10-06 David S. Miller <davem@davemloft.net>
14384 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14385 upper 32-bits of the length value in %o2 since we use branch-on-register
14386 tests which consider the entire 64-bit register.
14388 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14390 * string/test-strstr.c (check2): Add a test for page boundary.
14392 2012-10-05 David S. Miller <davem@davemloft.net>
14394 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14395 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14397 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14399 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14400 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14401 and bzero when HWCAP_SPARC_CRYPTO is present.
14403 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14406 * string/test-strstr.c (check2): New function.
14407 (test_main): Call check2.
14409 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14411 * string/bug-strcasestr1.c (do_test): Moved to ...
14412 * string/test-strcasestr.c (check1): Here. New function.
14413 (do_one_test): Break out result checking code into ...
14414 (check_result): This. New function.
14415 (do_one_test): Call check_result.
14416 (test_main): Call check1.
14417 * string/bug-strchr1.c (do_test): Moved to ...
14418 * string/test-strchr.c (check1): Here. New function.
14419 (do_one_test): Break out result checking code into ...
14420 (check_result): This. New function.
14421 (do_one_test): Call check_result.
14422 (test_main): Call check1.
14423 * string/bug-strstr1.c (main): Moved to ...
14424 * string/test-strstr.c (check1): Here. New function.
14425 (do_one_test): Break out result checking code into ...
14426 (check_result): This. New function.
14427 (do_one_test): Call check_result.
14428 (test_main): Call check1.
14429 * string/bug-strcasestr1.c: Removed.
14430 * string/bug-strchr1.c: Likewise.
14431 * string/bug-strstr1.c: Likewise.
14433 * elf/Makefile (dl-routines): Add hwcaps.
14434 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14435 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14436 (_dl_important_hwcaps): Moved to ...
14437 * elf/dl-hwcaps.c: Here. New file.
14438 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14441 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14442 if IS_IN_rtld isn't defined.
14444 * elf/dl-support.c (_dl_sysinfo_map): New.
14445 Include "get-dynamic-info.h" and "setup-vdso.h".
14446 (_dl_non_dynamic_init): Call setup_vdso.
14447 * elf/dynamic-link.h: Don't include <assert.h>.
14448 (elf_get_dynamic_info): Moved to ...
14449 * elf/get-dynamic-info.h: Here. New file.
14450 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14451 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14452 * elf/setup-vdso.h: Here. New file.
14453 * elf/rtld.c: Include "setup-vdso.h".
14454 (dl_main): Call setup_vdso.
14456 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14458 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14459 creal in comment listing functions tested. List finite, isinf,
14460 isnan, isless, islessequal, isgreater, isgreaterequal,
14461 islessgreater, isunordered, lgamma_r and pow10 as functions and
14462 macros not tested. Mention which functions not tested are aliases
14463 for other functions. Fix typo. Note that signs of NaNs are not
14466 * scripts/config.guess: Update from config.git.
14467 * scripts/config.sub: Likewise.
14469 2012-10-04 Roland McGrath <roland@hack.frob.com>
14471 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14472 * misc/madvise.c (madvise): Renamed to __madvise.
14473 Make madvise a weak alias.
14474 * include/sys/mman.h: Declare __madvise.
14475 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14476 * sysdeps/unix/syscalls.list
14477 (madvise): Make __madvise the strong name, and madvise a weak alias.
14478 * sysdeps/unix/sysv/linux/syscalls.list
14479 (madvise, mmap): Remove redundant entries.
14480 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14481 * malloc/malloc.c (mtrim): Likewise.
14482 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14484 2012-10-03 Roland McGrath <roland@hack.frob.com>
14486 * sysdeps/mach/hurd/dl-cache.c: File removed.
14487 * config.h.in (USE_LDCONFIG): New #undef.
14488 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14489 * configure: Regenerated.
14490 * elf/Makefile (dl-routines): Add dl-cache only under
14491 [$(use-ldconfig) = yes].
14492 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14493 cache on [USE_LDCONFIG].
14494 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14496 * elf/rtld.c (dl_main): Likewise.
14498 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14500 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14501 _SC_LEVEL4_CACHE_LINESIZE.
14503 2012-10-03 Roland McGrath <roland@hack.frob.com>
14505 * sysdeps/unix/bsd/confstr.h: File removed.
14507 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14509 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14512 2012-10-02 Roland McGrath <roland@hack.frob.com>
14514 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14515 Make 'mapoff' field ElfW(Off) rather than off_t.
14517 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14519 * nscd/Makefile: Remove nscd-cflags and all its users.
14520 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14521 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14524 * malloc.c (malloc_printerr): Clarify error message.
14526 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14530 Set bit_FMA_Usable if FMA is supported.
14531 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14533 (bit_FMA4_Usable): Updated.
14534 (index_FMA_Usable): New macro.
14535 (CPUID_FMA): Likewise
14536 (HAS_FMA): Defined with bit_FMA_Usable.
14538 2012-10-01 Roland McGrath <roland@hack.frob.com>
14540 * bits/types.h (__swblk_t): Type removed.
14541 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14542 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14544 (__SWBLK_T_TYPE): Likewise.
14545 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14546 (__SWBLK_T_TYPE): Likewise.
14547 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14548 (__SWBLK_T_TYPE): Likewise.
14549 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14550 (__SWBLK_T_TYPE): Likewise.
14552 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14553 Honza Horak <hhorak@redhat.com>
14555 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14556 (xdr_mapname): Use YPMAXMAP as maxsize.
14557 (xdr_peername): Use YPMAXPEER as maxsize.
14558 (xdr_keydat): Use YPAXRECORD as maxsize.
14559 (xdr_valdat): Use YPMAXRECORD as maxsize.
14561 2012-10-01 Roland McGrath <roland@hack.frob.com>
14563 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14565 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14566 * csu/init-first.c: ... here.
14567 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14568 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14569 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14570 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14571 * sysdeps/i386/init-first.c: File removed.
14572 * sysdeps/sh/init-first.c: File removed.
14574 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14578 if x * y might underflow to zero and z is zero.
14579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14580 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14581 * math/libm-test.inc (min_subnorm_value): New variable.
14582 (fma_test): Add more tests.
14583 (fma_test_towardzero): Likewise.
14584 (fma_test_downward): Likewise
14585 (fma_test_upward): Likewise.
14586 (initialize): Set min_subnorm_value.
14588 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14593 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14594 mode for addition resulting in exact zero.
14595 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14598 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14600 * math/libm-test.inc (fma_test): Add more tests.
14601 (fma_test_towardzero): New function.
14602 (fma_test_downward): Likewise.
14603 (fma_test_upward): Likewise.
14604 (main): Call the new functions.
14606 2012-09-28 David S. Miller <davem@davemloft.net>
14608 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14610 2012-09-28 Roland McGrath <roland@hack.frob.com>
14612 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14613 instead of SIGALRM.
14615 * sysdeps/gnu/_G_config.h: Moved to ...
14616 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14617 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14618 * sysdeps/generic/_G_config.h: ... here.
14620 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14622 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14624 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14625 Conditionalize target on [libnss_test1.so-version].
14627 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14629 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14630 (elfobjdir): Move out of conditionals.
14632 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14633 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14634 (__nss_lookup_function): Conditionalize label remove_from_tree on
14635 [!DO_STATIC_NSS || SHARED], matching its only use.
14637 2012-09-28 David S. Miller <davem@davemloft.net>
14639 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14640 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14642 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14644 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14645 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14646 when HWCAP_SPARC_CRYPTO is present.
14648 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14650 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14652 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14655 * stdio-common/vfprintf.c (process_string_arg): Revert
14658 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14660 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14662 * stdio-common/tst-sprintf.c: Include <locale.h>
14663 (main): Test sprintf's handling of incomplete multibyte
14666 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14668 * elf/dl-runtime.c (VERSYMIDX): Removed.
14669 * elf/dl-version.c (VERSYMIDX): Likewise.
14670 * elf/do-rel.h (VERSYMIDX): Likewise.
14671 (VALIDX): Likewise.
14672 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14673 * elf/rtld.c (VALIDX): Likewise.
14674 (ADDRIDX): Likewise.
14675 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14676 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14677 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14678 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14679 (VALIDX): Likewise.
14680 (ADDRIDX): Likewise.
14682 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14684 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14686 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14689 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14691 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14692 addresses are in the same scope as 192.0.2/24.
14693 * posix/gai.conf: Document new scope table defaults.
14695 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14698 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14699 for ftell. Compute offsets from write pointers instead.
14700 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14702 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14705 * libio/Makefile (tests): New test case tst-fseek.
14706 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14707 combination works in wide mode.
14708 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14709 state when the external buffer state changes.
14711 2012-09-27 David S. Miller <davem@davemloft.net>
14714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14715 pass reloc->r_addend in as the 'high' argument to
14716 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14720 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14722 * rt/tst-aio2.c: Include <pthread.h>.
14723 * rt/tst-aio3.c: Likewise.
14725 2012-09-27 Steve Ellcey <sellcey@mips.com>
14727 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14729 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14731 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14732 contents on [SHARED].
14734 2012-09-26 Marek Polacek <polacek@redhat.com>
14738 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14739 for C++ and GCC <4.3 as well as for non GCC compilers.
14741 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14745 2012-09-25 Roland McGrath <roland@hack.frob.com>
14747 * Makefile.in (all, install): Declare with .PHONY.
14748 Reported by Michael Hope <michael.hope@linaro.org>.
14750 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14752 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14753 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14755 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14757 (sydep_routines): Add the new and the internal functions.
14758 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14759 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14761 (GLIBC_2.17): Add the new function.
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14763 (GLIBC_2.17): Likewise.
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14765 (GLIBC_2.17): Likewise.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14767 (GLIBC_2.17): Likewise.
14768 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14770 2012-09-25 Alan Modra <amodra@gmail.com>
14772 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14773 Add release barrier before setting once_control to say
14774 initialisation is done. Add hints on lwarx. Use macro in
14776 (clear_once_control): Add release barrier.
14778 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14781 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14783 * math/s_clog10.c (__clog10): Likewise.
14784 * math/s_clog10f.c (__clog10f): Likewise.
14785 * math/s_clog10l.c (__clog10l): Likewise.
14786 * math/s_clogf.c (__clogf): Likewise.
14787 * math/s_clogl.c (__clogl): Likewise.
14788 * math/Makefile (libm-calls): Add x2y2m1.
14789 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14790 (__x2y2m1): Likewise.
14791 (__x2y2m1l): Likewise.
14792 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14793 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14795 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14796 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14797 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14798 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14799 * sysdeps/i386/fpu/libm-test-ulps: Update.
14800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14803 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14804 int as type of variable DEPTH.
14805 (glob): Use size_t instead of int as type of variables NEWCOUNT
14808 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14810 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14811 Add s_sincosf-sse2.
14812 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14813 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14814 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14815 macros for using routine as __sincosf_ia32.
14816 Use macro for function declaration and weak_alias.
14817 * sysdeps/i386/fpu/libm-test-ulps: Update.
14819 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14822 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14823 subnormal argument.
14824 * math/s_cexpf.c (__cexpf): Likewise.
14825 * math/s_csinf.c (__csinf): Likewise.
14826 * math/s_csinhf.c (__csinhf): Likewise.
14827 * math/s_ctanf.c (__ctanf): Likewise.
14828 * math/s_ctanhf.c (__ctanhf): Likewise.
14829 * math/s_ccosh.c (__ccoshf): Likewise.
14830 * math/s_cexp.c (__cexpl): Likewise.
14831 * math/s_csin.c (__csin): Likewise.
14832 * math/s_csinh.c (__csinh): Likewise.
14833 * math/s_ctan.c (__ctan): Likewise.
14834 * math/s_ctanh.c (ctanh): Likewise.
14835 * math/s_ccoshl.c (__ccoshl): Likewise.
14836 * math/s_cexpl.c (__cexpl): Likewise.
14837 * math/s_csinl.c (__csinl): Likewise.
14838 * math/s_csinhl.c (__csinhl): Likewise.
14839 * math/s_ctanl.c (__ctanl): Likewise.
14840 * math/s_ctanhl.c (__ctanhl): Likewise.
14842 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14844 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14845 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14846 (_IO_off_t): Define to __off_t, not _G_off_t.
14847 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14848 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14849 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14850 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14851 type of __dummy and __dummy2 fields.
14852 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14853 (_G_ssize_t): Likewise.
14854 (_G_off_t): Likewise.
14855 (_G_pid_t): Likewise.
14856 (_G_uid_t): Likewise.
14857 (_G_wchar_t): Likewise.
14858 (_G_wint_t): Likewise.
14859 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14860 (_G_ssize_t): Likewise.
14861 (_G_off_t): Likewise.
14862 (_G_pid_t): Likewise.
14863 (_G_uid_t): Likewise.
14864 (_G_wchar_t): Likewise.
14865 (_G_wint_t): Likewise.
14866 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14867 (_G_ssize_t): Likewise.
14868 (_G_off_t): Likewise.
14869 (_G_pid_t): Likewise.
14870 (_G_uid_t): Likewise.
14871 (_G_wchar_t): Likewise.
14872 (_G_wint_t): Likewise.
14874 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14876 * malloc/arena.c: Include malloc-sysdep.h.
14877 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14878 is sufficient to shrink the heap or an unmap is needed.
14879 * sysdeps/generic/malloc-sysdep.h: New file. Define
14880 new function check_may_shrink_heap.
14881 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14882 new function check_may_shrink_heap.
14884 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14886 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14889 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14891 * catgets/test-gencat.sh: Add "set -e".
14892 * elf/tst-pathopt.sh: Likewise.
14893 * grp/tst_fgetgrent.sh: Likewise.
14894 * iconvdata/run-iconv-test.sh: Likewise.
14895 * intl/tst-gettext.sh: Likewise.
14896 * intl/tst-gettext2.sh: Likewise.
14897 * intl/tst-gettext4.sh: Likewise.
14898 * intl/tst-gettext6.sh: Likewise.
14899 * intl/tst-translit.sh: Likewise.
14900 * io/ftwtest-sh: Likewise.
14901 * libio/test-freopen.sh: Likewise.
14902 * malloc/tst-mtrace.sh: Likewise.
14903 * posix/globtest.sh: Likewise.
14904 * posix/tst-getconf.sh: Likewise.
14905 * posix/wordexp-tst.sh: Likewise.
14906 * stdio-common/tst-printf.sh: Likewise.
14907 * stdio-common/tst-unbputc.sh: Likewise.
14908 * stdlib/tst-fmtmsg.sh: Likewise.
14909 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14910 * catgets/Makefile: Do not specify -e option when running
14911 testsuite shell scripts.
14912 * elf/Makefile: Likewise.
14913 * grp/Makefile: Likewise.
14914 * iconvdata/Makefile: Likewise.
14915 * intl/Makefile: Likewise.
14916 * io/Makefile: Likewise.
14917 * libio/Makefile: Likewise.
14918 * malloc/Makefile: Likewise.
14919 * posix/Makefile: Likewise.
14920 * stdio-common/Makefile: Likewise.
14921 * stdlib/Makefile: Likewise.
14922 * sysdeps/x86_64/Makefile: Likewise.
14924 * io/ftwtest-sh: Add copyright header.
14925 * posix/globtest.sh: Likewise.
14926 * posix/tst-getconf.sh: Likewise.
14927 * posix/wordexp-tst.sh: Likewise.
14928 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14930 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14933 * Makeconfig (+link): Defined as $(+link-static) if
14934 $(build-shared) isn't yes.
14935 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14937 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14939 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14942 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14943 new chunk size with MALLOC_ALIGN_MASK.
14945 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14948 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14950 (__printf_fphex): Determine rounding using get_rounding_mode and
14952 * stdio-common/tst-printf-round.c (struct hex_test): New
14954 (hex_tests): New variable.
14955 (test_hex_in_one_mode): New function.
14956 (do_test): Also run tests for hex float output.
14958 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14960 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14961 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14962 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14963 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14964 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14965 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14966 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14967 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14969 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14971 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14972 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14973 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14974 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14976 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14979 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14981 * elf/tst-rtld-load-self.sh: New test.
14982 * elf/Makefile: Run it.
14984 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14986 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14987 (tst-writev-ENV): Remove.
14988 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14990 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14992 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14994 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14996 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14998 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15000 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15001 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15002 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15005 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15008 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15009 * config.make.in (have-cpp-asm-debuginfo): Removed.
15010 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15011 * configure: Regenerated.
15013 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15016 * stdio-common/printf_fp.c: Include <stdbool.h> and
15018 (___printf_fp): Determine rounding using get_rounding_mode and
15020 * stdio-common/tst-printf-round.c: New file.
15021 * stdio-common/Makefile (tests): Add tst-printf-round.
15022 (link-libm): New variable.
15023 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15025 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15028 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15029 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15031 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15034 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15036 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15037 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15038 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15039 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15041 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15044 * include/rounding-mode.h: New file.
15045 * sysdeps/generic/get-rounding-mode.h: Likewise.
15046 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15047 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15048 (MAX_VALUE): New macro.
15049 (MIN_VALUE): Likewise.
15050 (overflow_value): New function.
15051 (underflow_value): Likewise.
15052 (round_and_return): Use overflow_value and underflow_value to
15053 determine return values in overflow and underflow cases. Use
15054 round_away to determine rounding depending on rounding mode.
15055 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15056 determine return values in overflow and underflow cases.
15057 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15058 (struct test_results): New structure.
15059 (struct test): Use struct test_results to store expected results
15060 for all rounding modes.
15061 (TEST): Include expected results for all rounding modes.
15062 (test_in_one_mode): New function.
15063 (do_test): Use test_in_one_mode to compute and check results.
15064 Check results for all rounding modes.
15065 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15068 2012-12-09 Allan McRae <allan@archlinux.org>
15070 * sysdeps/i386/fpu/libm-test-ulps: Update
15072 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15074 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15075 (_G_int32_t): Likewise.
15076 (_G_uint16_t): Likewise.
15077 (_G_uint32_t): Likewise.
15078 (_G_HAVE_BOOL): Likewise.
15079 (_G_HAVE_ATEXIT): Likewise.
15080 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15081 (_G_HAVE_IO_FILE_OPEN): Likewise.
15082 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15083 (_G_int32_t): Likewise.
15084 (_G_uint16_t): Likewise.
15085 (_G_uint32_t): Likewise.
15086 (_G_HAVE_BOOL): Likewise.
15087 (_G_HAVE_ATEXIT): Likewise.
15088 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15089 (_G_HAVE_IO_FILE_OPEN): Likewise.
15090 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15091 (_G_int32_t): Likewise.
15092 (_G_uint16_t): Likewise.
15093 (_G_uint32_t): Likewise.
15094 (_G_HAVE_BOOL): Likewise.
15095 (_G_HAVE_ATEXIT): Likewise.
15096 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15097 (_G_HAVE_IO_FILE_OPEN): Likewise.
15099 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15101 * csu/libc-tls.c: Update copyright years.
15103 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15105 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15106 [!_G_USING_THUNKS]: Remove conditional code.
15107 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15108 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15110 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15111 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15112 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15113 (_G_VTABLE_LABEL_PREFIX): Likewise.
15114 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15115 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15116 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15117 (_G_VTABLE_LABEL_PREFIX): Likewise.
15118 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15119 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15120 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15121 (_G_VTABLE_LABEL_PREFIX): Likewise.
15122 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15124 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15126 * libio/Makefile: Include ../Makeconfig before tests.
15127 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15128 only if $(build-shared) is yes.
15130 * iconv/gconv_db.c: Update copyright years.
15132 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15134 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15135 unwind info if defined PIC. Fix special cases description.
15136 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15138 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15140 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15142 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15144 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15146 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15149 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15150 (LDLIBS-tst-chk4): This.
15151 (LDFLAGS-tst-chk5): Renamed to ...
15152 (LDLIBS-tst-chk5): This.
15153 (LDFLAGS-tst-chk6): Renamed to ...
15154 (LDLIBS-tst-chk6): This.
15155 (LDFLAGS-tst-lfschk4): Renamed to ...
15156 (LDLIBS-tst-lfschk4): This.
15157 (LDFLAGS-tst-lfschk5): Renamed to ...
15158 (LDLIBS-tst-lfschk5): This.
15159 (LDFLAGS-tst-lfschk6): Renamed to ...
15160 (LDLIBS-tst-lfschk6): This.
15162 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15163 on $(common-objpfx)soversions.mk.
15165 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15168 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15171 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15173 * malloc/arena.c (arena_get_retry): New function that gets
15174 another arena for the caller to try its request on.
15175 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15176 current arena cannot fulfill the request.
15177 (__libc_memalign): Likewise.
15178 (__libc_memalign): Likewise.
15179 (__libc_pvalloc): Likewise.
15180 (__libc_calloc): Likewise.
15182 2012-09-05 John Tobey <john.tobey@gmail.com>
15185 * manual/arith.texi (Operations on Complex): Fix description
15186 of carg branch cut.
15188 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15191 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15195 * manual/memory.texi (Memory): Make order of menu items match
15198 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15200 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15201 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15202 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15204 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15206 * csu/libc-tls.c (static_dtv): Renamed to ...
15207 (_dl_static_dtv): This. Make it global.
15208 (_dl_initial_dtv): Removed.
15209 (__libc_setup_tls): Updated.
15210 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15211 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15214 2012-09-06 Petr Machata <pmachata@redhat.com>
15216 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15217 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15218 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15219 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15221 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15224 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15225 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15228 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15231 * Makeconfig (link-static-before-libc): Replace $(+prector)
15233 (link-static-after-libc): Replace $(+postctor) with
15235 (link-bounded): Replace $(+prector)/$(+postctor) with
15236 $(+prectorT)/$(+postctorT).
15237 (+prectorT): New macro.
15238 (+postctorT): Likewise.
15240 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15242 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15243 (round_str): Handle values above the maximum for IBM long double
15245 * stdlib/tst-strtod-round.c (tests): Regenerated.
15247 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15249 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15251 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15252 zarch_nohighgprs around the zarch optimized routines.
15253 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15254 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15255 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15258 2012-09-05 David S. Miller <davem@davemloft.net>
15260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15262 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15263 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15264 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15265 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15268 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15270 * malloc/arena.c: Fold copyright years.
15271 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15273 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15275 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15277 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15279 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15281 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15283 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15284 change internal state upon failure.
15286 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15288 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15289 * malloc/memusage.c (mmap): Likewise.
15290 (mmap64, mremap): Likewise. Adjust name in comment.
15292 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15294 * libio/fileops.c: Fix typos in comments.
15295 * libio/oldfileops.c: Likewise.
15296 * libio/wfileops.c: Likewise.
15298 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15301 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15302 (tst-malloc-usable-ENV): Set environment for test case.
15303 * malloc/hooks.c (malloc_check_get_size): New function to get
15305 * malloc/malloc.c (musable): Use malloc_check_get_size.
15306 * malloc/tst-malloc-usable.c: New test case.
15308 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15310 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15312 2012-09-05 Allan McRae <allan@archlinux.org>
15315 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15316 determine header location.
15317 * configure: Regenerated.
15319 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15321 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15323 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15324 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15326 (test): Regenerate.
15328 2012-09-04 David S. Miller <davem@davemloft.net>
15330 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15331 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15332 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15334 2012-09-04 Florian Weimer <fweimer@redhat.com>
15336 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15339 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15341 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15344 * libio/iogetdelim.c: Include <limits.h>.
15345 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15346 + len + 1 would overflow.
15348 2012-09-03 Andreas Jaeger <aj@suse.de>
15350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15351 * sysdeps/i386/fpu/libm-test-ulps: Update.
15353 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15355 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15356 Add s_sinf-sse2, s_conf-sse2.
15358 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15359 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15360 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15361 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15363 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15364 for using routine as __sinf_ia32.
15365 Use macro for function declaration and weak_alias.
15366 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15367 for using routine as __cosf_ia32.
15368 Use macro for function declaration and weak_alias.
15370 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15371 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15373 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15374 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15377 * math/libm-test.inc (cos_test): Add more test cases.
15378 (sin_test): Likewise.
15379 (sincos_test): Likewise.
15381 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15383 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15384 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15386 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15388 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15391 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15392 first element of the GOT.
15393 (elf_machine_load_address): Return the difference between
15394 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15396 2012-09-01 Allan McRae <allan@archlinux.org>
15399 * configure.in (AWK): Require gawk version 3.0 or later.
15400 * configure: Regenerated.
15402 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15404 * sysdeps/unix/sysv/linux/kernel-features.h
15405 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15406 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15407 [__NR_clock_getres]: Make code unconditional.
15408 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15409 (clock_getcpuclockid): Remove code left unreachable by removal of
15411 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15412 code unconditional.
15413 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15414 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15415 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15416 Make code unconditional.
15417 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15418 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15419 * sysdeps/unix/sysv/linux/clock_settime.c
15420 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15422 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15423 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15425 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15428 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15429 scripts/test-installation.pl.
15431 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15432 and $ld_so_version if it is set.
15434 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15437 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15438 failure if reading from procfs failed.
15439 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15441 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15443 * sysdeps/unix/sysv/linux/kernel-features.h
15444 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15445 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15446 Remove conditional code.
15447 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15448 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15449 Remove conditional code.
15450 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15451 * sysdeps/unix/sysv/linux/i386/fxstat.c
15452 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15454 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15455 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15457 * sysdeps/unix/sysv/linux/i386/lxstat.c
15458 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15460 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15461 Remove conditional code.
15462 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15463 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15464 Remove conditional code.
15465 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15466 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15467 <kernel-features.h>.
15468 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15470 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15471 Remove conditional code.
15472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15473 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15474 Remove conditional.
15476 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15479 * NEWS: Add fixed bug number.
15481 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15484 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15485 underflowing exponent in case of negative sign.
15486 * stdlib/tst-strtod-round-data: Add more tests.
15487 * stdlib/tst-strtod-round.c (tests): Regenerated.
15490 * stdlib/strtod_l.c (NDIG): Remove.
15491 (HEXNDIG): Likewise.
15492 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15493 smallest representable value.
15494 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15495 lie within an exact representation of 1/2 ulp of the result.
15496 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15498 (TENS_P9_IDX): Define unconditionally.
15499 (TENS_P9_SIZE): Likewise.
15500 (TENS_P10_IDX): Likewise.
15501 (TENS_P10_SIZE): Likewise.
15502 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15503 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15504 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15505 entries for 10^2^13 and 10^2^14.
15506 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15507 (TENS_P13_IDX): Define.
15508 (TENS_P13_SIZE): Likewise.
15509 (TENS_P14_IDX): Likewise.
15510 (TENS_P14_SIZE): Likewise.
15511 (_fpioconst_pow10): Change array size to
15512 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15514 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15515 1024]: Add entries for 10^2^13 and 10^2^14.
15516 [LAST_POW10 > _LAST_POW10]: Remove #error.
15517 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15518 (_fpioconst_pow10): Change array size to
15519 FPIOCONST_POW10_ARRAY_SIZE.
15520 * stdlib/gen-fpioconst.c: New file.
15521 * stdlib/gen-tst-strtod-round.c: Likewise.
15522 * stdlib/tst-strtod-round-data: Likewise.
15523 * stdlib/tst-strtod-round.c: Likewise.
15524 * stdlib/Makefile (tests): Add tst-strtod-round.
15527 * stdlib/strtod_l.c: Include <stdint.h>.
15528 (NDEBUG): Do not define.
15529 (round_and_return): Change EXPONENT parameter to type intmax_t.
15530 Rearrange calculations to avoid internal overflow possibilities.
15531 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15532 Rearrange calculations to avoid internal overflow possibilities.
15533 Assert that number fits inside MPNSIZE limbs.
15534 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15535 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15536 calculations and add assertions to avoid internal overflow
15537 possibilities. Add casts to avoid signed/unsigned operations.
15538 * stdlib/tst-strtod-overflow.c: New file.
15539 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15541 2012-08-25 Marek Polacek <polacek@redhat.com>
15543 * time/time.h: Fix some typos in comments.
15545 2012-08-23 Roland McGrath <roland@hack.frob.com>
15547 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15548 * posix/tst-rfc3484-2.c: Likewise.
15549 * posix/tst-rfc3484-3.c: Likewise.
15551 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15553 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15554 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15556 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15558 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15559 #include of fxstatat64.c.
15561 2012-08-22 Roland McGrath <roland@hack.frob.com>
15563 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15564 * shadow/getspent_r.c: Likewise.
15565 * shadow/getspnam.c: Likewise.
15566 * shadow/getspnam_r.c: Likewise.
15567 * gshadow/getsgent.c: Likewise.
15568 * gshadow/getsgent_r.c: Likewise.
15569 * gshadow/getsgnam.c: Likewise.
15570 * gshadow/getsgnam_r.c: Likewise.
15571 * inet/getnetbyad.c: Likewise.
15572 * inet/getnetbyad_r.c: Likewise.
15573 * inet/getnetbynm.c: Likewise.
15574 * inet/getnetbynm_r.c: Likewise.
15575 * inet/getnetent.c: Likewise.
15576 * inet/getnetent_r.c: Likewise.
15577 * inet/getproto.c: Likewise.
15578 * inet/getproto_r.c: Likewise.
15579 * inet/getprtent.c: Likewise.
15580 * inet/getprtent_r.c: Likewise.
15581 * inet/getprtname.c: Likewise.
15582 * inet/getprtname_r.c: Likewise.
15583 * inet/getrpcbyname.c: Likewise.
15584 * inet/getrpcbyname_r.c: Likewise.
15585 * inet/getrpcbynumber.c: Likewise.
15586 * inet/getrpcbynumber_r.c: Likewise.
15587 * inet/getrpcent.c: Likewise.
15588 * inet/getrpcent_r.c: Likewise.
15589 * inet/getaliasent.c: Likewise.
15590 * inet/getaliasent_r.c: Likewise.
15591 * inet/getaliasname.c: Likewise.
15592 * inet/getaliasname_r.c: Likewise.
15593 * nscd/getgrgid_r.c: Likewise.
15594 * nscd/getgrnam_r.c: Likewise.
15595 * nscd/gethstbyad_r.c: Likewise.
15596 * nscd/gethstbynm3_r.c: Likewise.
15597 * nscd/getpwnam_r.c: Likewise.
15598 * nscd/getpwuid_r.c: Likewise.
15599 * nscd/getsrvbynm_r.c: Likewise.
15600 * nscd/getsrvbypt_r.c: Likewise.
15601 * nscd/gai.c: Likewise.
15603 * configure.in (build_nscd): New substituted variable, set
15604 by --disable-build-nscd and defaults to $use_nscd.
15605 * configure: Regenerated.
15606 * config.make.in (build-nscd): New substituted variable.
15607 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15608 Change conditional to require [$(build-nscd) = yes] as well.
15609 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15612 * configure.in (use_nscd): New substituted variable, set by
15613 --disable-nscd. If enabled, define USE_NSCD.
15614 * configure: Regenerated.
15615 * config.h.in: Add USE_NSCD.
15616 * config.make.in (use-nscd): New substituted variable.
15617 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15618 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15619 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15620 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15621 (CFLAGS-getgrnam_r.c): Likewise.
15622 (CFLAGS-initgroups.c): Likewise.
15623 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15624 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15626 * inet/getnetgrent_r.c
15627 (nscd_setnetgrent): New function, broken out of ...
15628 (setnetgrent): ... here. Call it.
15629 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15630 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15631 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15632 * nscd/Makefile (routines, aux): Move definitions after include of
15633 Makeconfig. Conditionalize on [$(use-nscd) != no].
15634 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15635 Conditionalize on [USE_NSCD].
15636 (is_nscd, nscd_init_cb): Likewise.
15637 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15638 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15639 * nss/nss_db/db-init.c: Likewise.
15640 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15642 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15643 (make_request): Use it.
15644 (cache_valid_p): New function.
15645 (__check_pf): Use it.
15646 * NEWS: Add item for --disable-nscd.
15648 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15650 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15651 to support sed >= 4.2.1-20-ga9bf076.
15652 * configure: Regenerated.
15654 2012-08-22 Roland McGrath <roland@hack.frob.com>
15656 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15657 Conditionalize whole body on [IREL].
15659 2012-08-22 Jeff Law <law@redhat.com>
15662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15663 if the family is PF_UNSPEC.
15665 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15667 * Makerules (lib-version): Rename from V.
15668 (install-lib-nosubdir): Change V to lib-version.
15670 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15673 * powerpc32/power6/wcschr.c: New file.
15674 * powerpc32/power6/wcscpy.c: New file.
15675 * powerpc32/power6/wcsrchr.c: New file.
15676 * powerpc64/power6/wcschr.c: New file.
15677 * powerpc64/power6/wcscpy.c: New file.
15678 * powerpc64/power6/wcsrchr.c: New file.
15680 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15682 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15683 (two_way_short_needle): Use it.
15684 * string/strstr.c (AVAILABLE1_USES_J): Define.
15685 * string/strcasestr.c: Likewise.
15687 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15689 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15692 * NEWS: Add an entry.
15693 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15694 define their defaults.
15695 (two_way_short_needle): Detect end-of-string on-the-fly.
15696 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15697 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15698 * string/bug-strcasestr1.c: New test.
15699 * string/Makefile: Run it.
15701 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15704 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15705 the first character.
15707 2012-08-21 Roland McGrath <roland@hack.frob.com>
15709 * csu/elf-init.c (__libc_csu_irel): Function removed.
15710 * csu/libc-start.c (apply_irel): New function.
15711 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15713 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15715 * sysdeps/unix/sysv/linux/kernel-features.h
15716 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15717 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15718 <kernel-features.h>.
15719 [__NR_fadvise64_64]: Make code unconditional.
15720 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15721 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15722 !__NR_fadvise64_64)]: Likewise.
15723 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15724 !__NR_fadvise64_64))]: Likewise.
15725 [__NR_fadvise64]: Make code unconditional.
15726 [!__NR_fadvise64]: Remove conditional code.
15727 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15728 <kernel-features.h>.
15729 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15731 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15734 not include <kernel-features.h>.
15735 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15737 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15739 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15740 include <kernel-features.h>.
15741 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15743 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15746 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15748 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15749 slight instruction rearrangements per scrollpipe analysis.
15750 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15752 2012-08-20 Roland McGrath <roland@hack.frob.com>
15754 * manual/syslog.texi (syslog; vsyslog, closelog):
15755 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15756 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15758 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15759 DSOCAPS to match condition on defining it.
15761 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15763 * sysdeps/unix/sysv/linux/kernel-features.h
15764 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15766 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15767 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15769 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15770 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15772 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15773 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15775 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15776 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15778 * sysdeps/unix/sysv/linux/kernel-features.h
15779 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15780 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15782 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15783 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15784 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15785 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15786 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15787 Make code unconditional.
15788 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15789 (__mmap64) [!__NR_mmap2]: Likewise.
15790 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15791 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15792 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15793 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15794 [__NR_mmap2]: Make code unconditional.
15795 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15796 (__mmap64) [!__NR_mmap2]: Likewise.
15798 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15800 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15802 2012-08-18 Andreas Jaeger <aj@suse.de>
15804 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15806 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15808 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15809 * include/unistd.h (__have_sock_cloexec): Likewise.
15810 (__have_pipe2): Likewise.
15811 (__have_dup3): Likewise.
15813 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15816 * include/unistd.h (__have_pipe2): Change define into an extern int.
15817 (__have_dup3): Likewise.
15818 * socket/have_sock_cloexec.c: Include fcntl.h.
15819 (__have_pipe2): New variable.
15820 (__have_dup3): Likewise.
15822 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15824 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15826 2012-08-17 Marek Polacek <polacek@redhat.com>
15828 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15829 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15831 2012-08-17 Roland McGrath <roland@hack.frob.com>
15833 * configure.in: Add AC_SUBST for sysheaders.
15834 * configure: Regenerated.
15835 * config.make.in (sysheaders): New substituted variable.
15837 * sysdeps/unix/mkfifo.c: Moved ...
15838 * sysdeps/posix/mkfifo.c: ... here.
15839 * sysdeps/unix/mkfifoat.c: Moved ...
15840 * sysdeps/posix/mkfifoat.c: ... here.
15842 * sysdeps/unix/utime.c: Moved ...
15843 * sysdeps/posix/utime.c: ... here.
15845 * sysdeps/unix/time.c: Moved ...
15846 * sysdeps/posix/time.c: ... here.
15847 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15848 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15850 * sysdeps/unix/nice.c: Moved ...
15851 * sysdeps/posix/nice.c: ... here.
15853 * sysdeps/unix/alarm.c: Moved ...
15854 * sysdeps/posix/alarm.c: ... here.
15856 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15858 2012-08-17 Jeff Law <law@redhat.com>
15860 * intl/Makefile (codeset_mo): New variable.
15861 ($(codeset_mo)): New target.
15862 (tst-codeset.out): Depend on that. Remove explicit rule.
15863 (tst-gettext3.out, tst-gettext5.out): Likewise.
15864 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15865 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15866 * intl/tst-codeset.sh: Remove.
15867 * intl/tst-gettext3.sh: Likewise.
15868 * intl/tst-gettext5.sh: Likewise.
15870 2012-08-17 Roland McGrath <roland@hack.frob.com>
15872 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15873 * sysdeps/unix/syscalls.list: ... here.
15875 * sysdeps/posix/getaddrinfo.c
15876 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15877 (gaiconf_init, gaiconf_reload): Use them.
15878 [!_STATBUF_ST_NSEC]
15879 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15880 Define using time_t rather than struct timespec.
15882 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15883 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15885 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15887 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15888 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15891 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15892 __libc_cleanup_push argument.
15894 * bits/param.h: New file.
15895 * misc/sys/param.h: New file.
15896 * include/sys/param.h: New file.
15897 * misc/Makefile (headers): Add bits/param.h.
15898 * sysdeps/generic/sys/param.h: File removed.
15899 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15900 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15901 * sysdeps/mach/hurd/bits/param.h: New file.
15902 * sysdeps/mach/hurd/sys/param.h: File removed.
15904 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15907 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15909 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15910 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15913 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15914 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15915 rather than -D_IO_MTSAFE_IO conditionally.
15916 * stdio-common/Makefile (CPPFLAGS): Likewise.
15917 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15918 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15919 Use $(libio-mtsafe).
15920 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15921 of -D_IO_MTSAFE_IO.
15922 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15923 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15924 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15925 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15926 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15927 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15928 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15929 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15930 (CFLAGS-fread_u_chk.c): Likewise.
15931 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15932 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15933 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15934 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15935 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15936 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15937 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15938 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15939 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15941 * libio/Makefile: Test [$(libc-reentrant) = yes]
15942 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15945 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15946 * sysdeps/pthread/configure: File removed.
15947 * sysdeps/pthread/Makeconfig: New file.
15948 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15949 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15951 2012-08-16 Gary Benson <gbenson@redhat.com>
15953 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15954 unmapping the first object in a namespace.
15956 2012-08-16 Roland McGrath <roland@hack.frob.com>
15958 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15959 (__internal_setnetgrent): ... this. Add internal_function to
15960 definition. Add libc_hidden_def.
15961 (setnetgrent): Update caller.
15962 (internal_endnetgrent): Renamed to ...
15963 (__internal_endnetgrent): ... this. Add internal_function to
15964 definition. Add libc_hidden_def.
15965 (endnetgrent): Update caller.
15966 (internal_getnetgrent_r): Renamed to ...
15967 (__internal_getnetgrent_r): ... this. Add internal_function to
15968 definition. Add libc_hidden_def.
15969 (__getnetgrent_r): Update caller.
15970 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15972 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15974 * stdlib/longlong.h: Update from GCC.
15976 2012-08-16 Roland McGrath <roland@hack.frob.com>
15978 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15979 on _QL, which is set by umul_ppmm but never used.
15980 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15981 variables, which are set by GMP macros but never used.
15982 * stdio-common/_itowa.c (_itowa): Likewise.
15983 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15984 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15986 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15988 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15989 struct La_sh_regs is not constant.
15990 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15991 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15992 and struct La_sparc64_regs are not constant.
15994 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15996 * sysdeps/unix/sysv/linux/kernel-features.h
15997 (__ASSUME_POSIX_TIMERS): Remove.
15998 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15999 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16000 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16001 Make code unconditional.
16002 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16003 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16004 Make code unconditional.
16005 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16006 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16007 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16008 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16009 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16010 Make code unconditional.
16011 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16012 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16013 (__libc_missing_posix_timers): Remove.
16015 2012-08-15 Roland McGrath <roland@hack.frob.com>
16017 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16018 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16020 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16022 * elf/dl-sym.c: Include <stdlib.h>.
16024 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16025 constants, which avoids warnings in 32-bit builds.
16027 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16028 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16030 * misc/lseek.c: File moved to ...
16031 * io/lseek.c: ... here.
16033 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16035 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16036 shifting LEN more than 31 bits at once.
16038 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16041 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16042 segmentation fault for a case of two empty input strings.
16043 * string/test-strncasecmp.c (check1): Renamed to...
16044 (bz12205): ...this.
16045 (bz14195): Add new testcase for two empty input strings and N > 0.
16046 (test_main): Call new testcase, adapt for renamed function.
16048 2012-08-15 Andreas Jaeger <aj@suse.de>
16051 * crypt/md5test2.c: New test, based on test supplied by Serge
16052 Belyshev <belyshev@depni.sinp.msu.ru>.
16053 * crypt/Makefile (xtests): Add md5test-giant..
16054 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16056 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16059 * crypt/md5.c (md5_process_block): Don't assume the buffer
16060 length is less than 2**32.
16061 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16062 length is less than 2**64.
16064 2012-08-15 Roland McGrath <roland@hack.frob.com>
16066 * string/str-two-way.h: Include <sys/param.h>.
16067 (MAX): Macro removed.
16069 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16070 Move #define and #undef of memmove to just before and after
16071 including <string.h>.
16073 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16074 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16075 and after including <string.h>. Move declarations of
16076 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16077 to before #include "string/memmove.c".
16079 * include/dirent.h: Declare __getdirentries.
16081 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16082 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16084 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16086 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16087 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16088 * sysdeps/i386/configure: Regenerated.
16089 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16090 STABS_CURRENT_FILE, and STABS_FUN.
16091 (END): Remove call to STABS_FUN_END.
16092 (STABS_CURRENT_FILE1): Delete.
16093 (STABS_CURRENT_FILE): Likewise.
16094 (STABS_FUN): Likewise.
16095 (STABS_FUN_END): Likewise.
16096 (STABS_FUN2): Likewise.
16097 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16098 * sysdeps/x86_64/configure: Regenerated.
16100 2012-08-14 Roland McGrath <roland@hack.frob.com>
16102 * elf/dl-open.c: Include <atomic.h>.
16103 * elf/dl-lookup.c: Likewise.
16105 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16107 * sysdeps/unix/sysv/linux/kernel-features.h
16108 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16109 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16111 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16113 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16114 condition on __ASSUME_CLONE_THREAD_FLAGS.
16116 2012-08-14 Andreas Jaeger <aj@suse.de>
16118 * sysdeps/i386/fpu/libm-test-ulps: Update.
16120 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16122 * include/atomic.h (atomic_exchange_and_add): Split into ...
16123 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16126 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16130 2012-08-13 Jeff Law <law@redhat.com>
16132 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16133 null byte in the output string.
16135 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16137 * sysdeps/unix/sysv/linux/kernel-features.h
16138 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16139 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16140 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16141 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16142 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16143 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16144 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16146 2012-08-09 Jeff Law <law@redhat.com>
16149 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16150 When avoid_arena is set, don't retry in the that arena. Pick the
16151 next one, whatever it might be.
16152 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16153 (arena_lock): Pass in new parameter to arena_get2.
16154 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16156 (__libc_malloc): Unify retrying after main arena failure with
16157 __libc_memalign version.
16158 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16160 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16163 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16164 to __redirect_strstr.
16165 (__strstr_sse42): Use typeof __redirect_strstr.
16166 (__strstr_ia32): Likewise.
16167 (__libc_strstr): New prototype.
16168 (strstr): Renamed to ...
16169 (__libc_strstr): This.
16170 (strstr): New strong alias of __libc_strstr.
16171 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16172 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16175 (__libc_time): New prototype.
16176 (time_ifunc): Replace time with __libc_time.
16177 (time): New strong alias and hidden definition of __libc_time.
16178 (__GI_time): Remove strong alias.
16179 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16180 Include <stddef.h>.
16181 (memmove): Redefined to __redirect_memmove.
16182 (__memmove_sse2): Use typeof __redirect_memmove.
16183 (__memmove_ssse3): Likewise.
16184 (__memmove_ssse3_back): Likewise.
16185 (__libc_memmove): New prototype.
16186 (memmove): Renamed to ...
16187 (__libc_memmove): This.
16188 (memmove): New strong alias of __libc_memmove.
16190 2012-08-08 Mark Salter <msalter@redhat.com>
16193 (R_MN10300_TLS_GD): Define.
16194 (R_MN10300_TLS_LD): Likewise.
16195 (R_MN10300_TLS_LDO): Likewise.
16196 (R_MN10300_TLS_GOTIE): Likewise.
16197 (R_MN10300_TLS_IE): Likewise.
16198 (R_MN10300_TLS_LE): Likewise.
16199 (R_MN10300_TLS_DTPMOD): Likewise.
16200 (R_MN10300_TLS_DTPOFF): Likewise.
16201 (R_MN10300_TLS_TPOFF): Likewise.
16202 (R_MN10300_SYM_DIFF): Likewise.
16203 (R_MN10300_ALIGN): Likewise.
16204 (R_MN10300_NUM): Update.
16206 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16208 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16211 2012-08-08 Roland McGrath <roland@hack.frob.com>
16213 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16215 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16216 sysdeps/unix -> sysdeps/posix move.
16217 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16219 2012-08-07 Allan McRae <allan@archlinux.org>
16222 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16223 (SUNOS_CPP): Likewise.
16224 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16226 (open_input): Call CPP using execvp.
16228 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16230 * sysdeps/unix/sysv/linux/kernel-features.h
16231 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16232 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16233 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16234 (__ASSUME_WAITID_SYSCALL): Likewise.
16235 * sysdeps/unix/sysv/linux/dl-execstack.c
16236 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16237 code unconditional.
16238 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16240 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16241 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16242 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16244 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16246 [__ASSUME_WAITID_SYSCALL]: Likewise.
16247 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16249 2012-08-07 Roland McGrath <roland@hack.frob.com>
16251 * sysdeps/unix/closedir.c: Renamed to ...
16252 * sysdeps/posix/closedir.c: ... here.
16253 * sysdeps/unix/dirfd.c: Renamed to ...
16254 * sysdeps/posix/dirfd.c: ... here.
16255 * sysdeps/unix/dirstream.h: Renamed to ...
16256 * sysdeps/posix/dirstream.h: ... here.
16257 * sysdeps/unix/fdopendir.c: Renamed to ...
16258 * sysdeps/posix/fdopendir.c: ... here.
16259 * sysdeps/unix/opendir.c: Renamed to ...
16260 * sysdeps/posix/opendir.c: ... here.
16261 * sysdeps/unix/readdir.c: Renamed to ...
16262 * sysdeps/posix/readdir.c: ... here.
16263 * sysdeps/unix/readdir_r.c: Renamed to ...
16264 * sysdeps/posix/readdir_r.c: ... here.
16265 * sysdeps/unix/rewinddir.c: Renamed to ...
16266 * sysdeps/posix/rewinddir.c: ... here.
16267 * sysdeps/unix/seekdir.c: Renamed to ...
16268 * sysdeps/posix/seekdir.c: ... here.
16269 * sysdeps/unix/telldir.c: Renamed to ...
16270 * sysdeps/posix/telldir.c: ... here.
16271 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16272 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16273 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16274 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16276 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16277 * bits/fcntl.h: ... here.
16279 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16281 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16282 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16283 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16284 (struct flock): Move l_start, l_len to the beginning.
16285 Use __pid_t for l_pid.
16286 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16287 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16288 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16289 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16290 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16291 [__USE_LARGEFILE64] (struct flock64): New type.
16292 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16294 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16295 * bits/dirent.h: ... here.
16297 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16298 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16300 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16303 Change from 2.6.0 to 2.6.16.
16304 * sysdeps/unix/sysv/linux/configure: Regenerated.
16305 * sysdeps/unix/sysv/linux/kernel-features.h
16306 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16307 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16309 (__ASSUME_UTIMES): Likewise.
16310 (__ASSUME_CLONE_STOPPED): Remove.
16311 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16312 architectures, not kernel version.
16313 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16314 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16315 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16316 (__ASSUME_WAITID_SYSCALL): Likewise.
16317 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16318 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16319 * README: State 2.6.16 as minimum Linux kernel version. Do not
16320 refer to older versions.
16322 2012-08-06 Roland McGrath <roland@hack.frob.com>
16324 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16325 Define alphasort64 as an alias.
16326 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16327 Define versionsort64 as an alias.
16328 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16329 Define scandir64 as an alias.
16330 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16331 Define scandirat64 as an alias.
16332 * dirent/alphasort64.c (alphasort64):
16333 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16334 * dirent/versionsort64.c: Likewise.
16335 * dirent/scandir64.c: Likewise.
16336 * dirent/scandirat64.c: Likewise.
16337 * sysdeps/wordsize-64/alphasort.c: File removed.
16338 * sysdeps/wordsize-64/alphasort64.c: File removed.
16339 * sysdeps/wordsize-64/scandir.c: File removed.
16340 * sysdeps/wordsize-64/scandir64.c: File removed.
16341 * sysdeps/wordsize-64/scandirat.c: File removed.
16342 * sysdeps/wordsize-64/scandirat64.c: File removed.
16343 * sysdeps/wordsize-64/versionsort.c: File removed.
16344 * sysdeps/wordsize-64/versionsort64.c: File removed.
16345 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16346 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16347 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16348 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16349 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16350 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16351 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16352 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16354 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16356 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16358 [defined __arch64__ || defined __sparcv9]
16359 (__INO_T_MATCHES_INO64_T): New macro.
16360 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16361 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16362 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16363 * sysdeps/unix/sysv/linux/bits/dirent.h
16364 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16365 (_DIRENT_MATCHES_DIRENT64): New macro.
16367 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16368 Define lockf64 as an alias.
16369 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16370 Define fseeko64 as an alias.
16371 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16372 Define ftello64 as an alias.
16373 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16374 Define _IO_fgetpos64 and fgetpos64 as aliases.
16375 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16376 Define _IO_fsetpos64 and fsetpos64 as aliases.
16377 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16378 Conditionalize body on this.
16379 * libio/fseeko64.c: Likewise.
16380 * libio/ftello64.c: Likewise.
16381 * libio/iofgetpos64.c: Likewise.
16382 * libio/iofsetpos64.c: Likewise.
16383 * sysdeps/wordsize-64/lockf.c: File removed.
16384 * sysdeps/wordsize-64/lockf64.c: File removed.
16385 * sysdeps/wordsize-64/fseeko.c: File removed.
16386 * sysdeps/wordsize-64/fseeko64.c: File removed.
16387 * sysdeps/wordsize-64/ftello.c: File removed.
16388 * sysdeps/wordsize-64/ftello64.c: File removed.
16389 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16390 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16391 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16392 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16393 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16394 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16395 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16396 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16397 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16398 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16399 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16400 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16401 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16402 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16404 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16406 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16407 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16408 [defined __arch64__ || defined __sparcv9]
16409 (__OFF_T_MATCHES_OFF64_T): New macro.
16410 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16411 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16413 (__OFF_T_MATCHES_OFF64_T): New macro.
16415 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16417 * stdlib/secure-getenv.c (__secure_getenv): Replace
16418 GLIBC_2_16 with GLIBC_2_17.
16420 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16422 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16423 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16425 2012-08-03 David S. Miller <davem@davemloft.net>
16427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16429 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16431 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16433 (__ASSUME_CORRECT_SI_PID): Likewise.
16434 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16435 (__ASSUME_TMPFS_NAME): Likewise.
16436 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16437 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16438 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16439 (HAVE_AUX_SECURE): Make definition unconditional.
16440 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16441 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16443 2012-08-03 Roland McGrath <roland@hack.frob.com>
16445 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16446 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16447 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16448 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16449 __eloop_threshold instead of SYMLOOP_MAX.
16451 * sysdeps/generic/eloop-threshold.h: New file.
16452 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16454 * elf/chroot_canon.c (chroot_canon): Likewise.
16456 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16459 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16460 Change to 2.6.0 everywhere.
16461 * sysdeps/unix/sysv/linux/configure: Regenerated.
16462 * sysdeps/unix/sysv/linux/kernel-features.h
16463 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16464 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16466 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16467 (__ASSUME_FUTEX_REQUEUE): Remove.
16468 (__ASSUME_STATFS64): Define unconditionally.
16469 (__ASSUME_AT_SECURE): Likewise.
16470 (__ASSUME_CORRECT_SI_PID): Likewise.
16471 (__ASSUME_TGKILL): Define without depending on kernel version for
16473 (__ASSUME_UTIMES): Likewise.
16474 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16476 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16477 (__ASSUME_TMPFS_NAME): Likewise.
16478 * README: Update reference to Linux kernel versions.
16480 2012-08-02 Marek Polacek <polacek@redhat.com>
16483 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16484 libc_cv_asm_type_prefix with %.
16485 * configure: Regenerated.
16486 * include/libc-symbols.h: Remove comment about
16487 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16488 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16489 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16490 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16491 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16492 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16493 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16494 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16495 * elf/tst-unique2mod1.c: Likewise.
16496 * elf/tst-unique1mod2.c: Likewise.
16497 * elf/tst-unique1mod1.c: Likewise.
16498 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16499 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16500 Replace ASM_TYPE_DIRECTIVE with .type.
16501 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16502 * sysdeps/i386/sysdep.h: Likewise.
16503 * sysdeps/x86_64/sysdep.h: Likewise.
16504 * sysdeps/sh/sysdep.h: Likewise.
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16506 Do not define ASM_TYPE_DIRECTIVE.
16507 * sysdeps/powerpc/sysdep.h: Likewise.
16508 * sysdeps/powerpc/powerpc32/sysdep.h:
16509 Replace ASM_TYPE_DIRECTIVE with .type.
16510 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16511 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16512 * sysdeps/i386/fpu/e_powf.S: Likewise.
16513 * sysdeps/i386/fpu/e_expl.S: Likewise.
16514 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16515 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16516 * sysdeps/i386/fpu/e_pow.S: Likewise.
16517 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16518 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16519 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16520 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16521 * sysdeps/i386/fpu/e_log2.S: Likewise.
16522 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16523 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16524 * sysdeps/i386/fpu/e_powl.S: Likewise.
16525 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16526 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16527 * sysdeps/i386/fpu/e_logl.S: Likewise.
16528 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16529 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16530 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16531 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16532 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16533 * sysdeps/i386/fpu/e_log.S: Likewise.
16534 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16535 * sysdeps/i386/fpu/e_logf.S: Likewise.
16536 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16537 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16538 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16539 * sysdeps/i386/fpu/e_log10.S: Likewise.
16540 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16541 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16542 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16543 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16544 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16545 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16546 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16547 * sysdeps/i386/i686/strtok.S: Likewise.
16548 * sysdeps/i386/i386-mcount.S: Likewise.
16549 * sysdeps/i386/strtok.S: Likewise.
16550 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16551 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16552 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16553 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16554 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16555 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16556 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16557 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16558 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16559 * sysdeps/x86_64/_mcount.S: Likewise.
16560 * sysdeps/x86_64/strtok.S: Likewise.
16561 * sysdeps/sh/_mcount.S: Likewise.
16563 2012-08-01 Roland McGrath <roland@hack.frob.com>
16565 * libio/iofopen.c: Include <fcntl.h>.
16566 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16567 (_IO_fopen64, fopen64): Define as aliases.
16568 * libio/iofopen64.c: Include <fcntl.h>.
16569 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16570 Conditionalize body on this.
16571 * sysdeps/wordsize-64/iofopen.c: File removed.
16572 * sysdeps/wordsize-64/iofopen64.c: File removed.
16574 2012-08-01 Marek Polacek <polacek@redhat.com>
16576 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16577 Use dlfcn directly instead of a variable.
16578 (binfmt-subdir): Do not define.
16581 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16583 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16584 Remove all definitions.
16585 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16586 <kernel-features.h>.
16587 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16588 (miss_F_GETOWN_EX): Remove all definitions.
16589 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16591 [!__ASSUME_FCNTL64]: Remove conditional code.
16592 [__ASSUME_FCNTL64]: Make code unconditional.
16593 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16594 <kernel-features.h>.
16595 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16596 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16597 (lockf64) [__NR_fcntl64]: Make code unconditional.
16598 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16600 * sysdeps/unix/sysv/linux/kernel-features.h
16601 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16602 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16603 Make code unconditional.
16604 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16605 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16607 [__NR_vfork]: Make code unconditional.
16608 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16609 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16611 [__NR_vfork]: Make code unconditional.
16612 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16613 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16615 2012-08-01 Roland McGrath <roland@hack.frob.com>
16617 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16618 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16620 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16621 Define mkstemp64 as an alias.
16622 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16623 Define mkstemps64 as an alias.
16624 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16625 Define mkostemp64 as an alias.
16626 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16627 Define mkostemps64 as an alias.
16628 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16629 Conditionalize body on this.
16630 * misc/mkostemp64.c: Likewise.
16631 * misc/mkostemps64.c: Likewise.
16632 * misc/mkstemps64.c: Likewise.
16633 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16634 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16635 * sysdeps/wordsize-64/mkostemp.c: File removed.
16636 * sysdeps/wordsize-64/mkstemp.c: File removed.
16637 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16638 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16639 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16640 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16643 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16644 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16645 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16646 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16648 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16649 compat_symbol macros from <shlib-compat.h> rather than the underlying
16650 default_symbol_version and symbol_version macros, so that DEFAULT
16651 lines in shlib-versions are respected.
16652 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16654 2012-08-01 Florian Weimer <fweimer@redhat.com>
16656 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16657 Declare with warn_unused_result.
16658 (setgid, setregid, setegid, setresgid): Likewise.
16659 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16661 * WUR-REPORT: Remove set*id functions.
16663 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16665 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16667 2012-07-31 Roland McGrath <roland@hack.frob.com>
16670 * include/sys/socket.h (__libc_accept, __libc_accept4):
16671 Add attribute_hidden.
16672 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16674 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16676 * inet/getnetgrent_r.c (setup): Likewise.
16678 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16680 2012-07-31 David S. Miller <davem@davemloft.net>
16682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16684 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16687 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16688 value between 1.0 and 2.0 and smaller part has absolute value less
16690 * math/s_clog10.c (__clog10): Likewise.
16691 * math/s_clog10f.c (__clog10f): Likewise.
16692 * math/s_clog10l.c (__clog10l): Likewise.
16693 * math/s_clogf.c (__clogf): Likewise.
16694 * math/s_clogl.c (__clogl): Likewise.
16695 * math/libm-test.inc (clog_test): Add more tests.
16696 (clog10_test): Likewise.
16697 * sysdeps/i386/fpu/libm-test-ulps: Update.
16698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16700 2012-07-31 Florian Weimer <fweimer@redhat.com>
16702 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16703 Exit with zero in case no suitable GID is found, and write a
16704 message to standard error.
16706 2012-07-30 Roland McGrath <roland@hack.frob.com>
16708 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16710 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16711 (MAXPATHLEN): Removed.
16712 (NOGROUP, NODEV): New macros.
16713 (setbit, clrbit, isset, isclr): New macros.
16714 (howmany, roundup, powerof2): New macros.
16715 (DEV_BSIZE): New macro.
16717 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16718 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16720 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16721 definition on [!__NO_LONG_DOUBLE_MATH].
16723 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16724 PTR_MANGLE and PTR_DEMANGLE.
16726 * socket/accept4.c (accept4): Rename to __libc_accept4.
16727 Define accept4 as a weak alias.
16729 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16730 on [_DIRENT_HAVE_D_TYPE].
16731 * io/ftw.c (ftw_dir): Likewise.
16733 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16735 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16737 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16738 Use the BSD numbers rather than the arbitrary ones we had.
16739 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16740 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16741 (SIGXCPU, SIGXFSZ): New macros.
16744 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16745 initializer on [_LIBC_REENTRANT].
16747 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16748 definitions inside [_POSIX_MAPPED_FILES].
16750 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16752 * dirent/opendir.c: Include <fcntl.h>.
16754 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16755 (__libc_getspecific): Likewise.
16756 (__libc_key_create): Likewise.
16758 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16759 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16760 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16761 (tmpfile64): Define as alias.
16762 * sysdeps/wordsize-64/tmpfile.c: File removed.
16763 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16764 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16765 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16767 * stdio-common/vfscanf.c: Include <stdbool.h>.
16768 * nss/makedb.c: Likewise.
16769 * stdio-common/_i18n_number.h: Likewise.
16770 * argp/argp-help.c: Likewise.
16771 * posix/wordexp.c: Likewise.
16772 * sysdeps/posix/spawni.c: Likewise.
16773 * nss/nss_files/files-initgroups.c: Likewise.
16774 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16775 * nss/nss_files/files-initgroups.c: Likewise.
16776 * nss/nss_db/db-netgrp.c: Likewise.
16777 * nss/nss_db/db-initgroups.c: Likewise.
16778 * io/fchmodat.c: Include <sys/stat.h>.
16780 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16781 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16783 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16786 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16787 Add multiple inclusion protection.
16789 2012-07-27 David S. Miller <davem@davemloft.net>
16791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16793 2012-07-27 Gary Benson <gbenson@redhat.com>
16796 * elf/rtld.c: Include <stap-probe.h>.
16797 (dl_main): Added static probes "init_start" and "init_complete".
16798 * elf/dl-load.c: Include <stap-probe.h>.
16799 (lose): Take new parameter "nsid".
16800 Added static probe "map_failed".
16801 (_dl_map_object_from_fd): Pass namespace id to lose.
16802 Added static probe "map_start".
16803 (open_verify): Pass namespace id to lose.
16804 * elf/dl-open.c: Include <stap-probe.h>.
16805 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16806 and "reloc_complete".
16807 * elf/dl-close.c: Include <stap-probe.h>.
16808 (_dl_close_worker): Added static probes "unmap_start" and
16810 * elf/rtld-debugger-interface.txt: New file documenting the above.
16812 2012-07-26 Roland McGrath <roland@hack.frob.com>
16814 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16815 rather than a string variable.
16816 * sunrpc/rpc_main.c (h_output): Likewise.
16817 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16819 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16821 * inet/check_native.c: New file.
16823 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16826 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16827 if larger part has absolute value 1.0.
16828 * math/s_clog10.c (__clog10): Likewise.
16829 * math/s_clog10f.c (__clog10f): Likewise.
16830 * math/s_clog10l.c (__clog10l): Likewise.
16831 * math/s_clogf.c (__clogf): Likewise.
16832 * math/s_clogl.c (__clogl): Likewise.
16833 * math/libm-test.inc (clog_test): Add more tests.
16834 (clog10_test): Likewise.
16835 * sysdeps/i386/fpu/libm-test-ulps: Update.
16836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16838 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16839 (pltexit): Likewise.
16840 (La_regs): Likewise.
16841 (La_retval): Likewise.
16842 (int_retval): Likewise.
16843 Update #error for removed macros to refer only to definitions in
16845 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16847 (pltexit): Likewise.
16848 (La_regs): Likewise.
16849 (La_retval): Likewise.
16850 (int_retval): Likewise.
16851 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16853 (pltexit): Likewise.
16854 (La_regs): Likewise.
16855 (La_retval): Likewise.
16856 (int_retval): Likewise.
16857 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16859 (pltexit): Likewise.
16860 (La_regs): Likewise.
16861 (La_retval): Likewise.
16862 (int_retval): Likewise.
16863 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16865 (pltexit): Likewise.
16866 (La_regs): Likewise.
16867 (La_retval): Likewise.
16868 (int_retval): Likewise.
16869 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16871 (pltexit): Likewise.
16872 (La_regs): Likewise.
16873 (La_retval): Likewise.
16874 (int_retval): Likewise.
16875 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16877 (pltexit): Likewise.
16878 (La_regs): Likewise.
16879 (La_retval): Likewise.
16880 (int_retval): Likewise.
16881 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16882 macro definitions in tst-audit.h.
16883 * sysdeps/i386/tst-audit.h: New file.
16884 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16885 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16886 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16887 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16888 * sysdeps/sh/tst-audit.h: Likewise.
16889 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16890 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16891 * sysdeps/x86_64/tst-audit.h: Likewise.
16893 2012-07-26 Andreas Jaeger <aj@suse.de>
16895 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16898 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16899 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16900 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16902 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16903 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16904 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16906 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16909 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16911 (si_call_addr, si_syscall, si_arch): Define new macro.
16912 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16914 (si_call_addr, si_syscall, si_arch): Define new marcro.
16915 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16917 (si_call_addr, si_syscall, si_arch): Define new macro.
16918 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16920 (si_call_addr, si_syscall, si_arch): Define new macro.
16922 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16925 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16926 Change to 2.4.21 where previously 2.4.1.
16927 * sysdeps/unix/sysv/linux/configure: Regenerated.
16928 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16929 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16930 Linux kernel version.
16931 (__ASSUME_STD_AUXV): Remove.
16932 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16934 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16935 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16936 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16937 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16938 (__ASSUME_NETLINK_SUPPORT): Likewise.
16939 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16940 (__no_netlink_support): Remove conditional definition.
16941 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16943 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16944 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16945 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16946 (if_nameindex_ioctl): Remove.
16947 (if_nameindex_netlink): Do not handle __no_netlink_support.
16948 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16950 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16951 Remove conditional code.
16952 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16954 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16956 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16957 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16958 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16960 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16961 [!__ASSUME_STD_AUXV]: Remove conditional code.
16962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16963 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16964 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16966 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16967 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16969 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16971 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16972 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16974 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16976 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16979 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16982 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16983 code unconditional.
16984 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16986 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16988 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16991 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16993 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16996 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16997 code unconditional.
16998 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17000 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17002 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17005 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17006 code unconditional.
17007 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17009 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17011 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17014 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17016 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17017 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17018 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17019 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17020 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17021 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17022 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17023 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17024 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17025 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17026 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17027 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17028 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17029 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17030 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17031 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17032 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17033 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17034 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17036 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17037 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17038 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17040 2012-07-25 Florian Weimer <fweimer@redhat.com>
17042 * Versions.def: Add GLIBC_2.17.
17043 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17044 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17045 Introduce __libc_secure_getenv.
17046 * stdlib/Versions (2.17): Add secure_getenv
17047 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17048 * stdlib/secure-getenv.c: Rename __secure_getenv to
17049 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17050 symbol __secure_getenv for GLIBC_2.0.
17051 * stdlib/tst-secure-getenv.c: New.
17052 * stdlib/Makefile (tests): Add testcase.
17053 * manual/startup.texi (Environment Access): Document
17055 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17056 __libc_secure_getenv.
17057 * inet/ruserpass.c (ruserpass): Likewise.
17058 * malloc/mtrace.c (mtrace): Likewise.
17059 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17060 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17061 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17062 * sysdeps/posix/tempname.c: Likewise. Evaluate
17063 HAVE_SECURE_GETENV.
17064 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17065 __secure_getenv to __libc_secure_getenv.
17066 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17079 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17081 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17082 (struct La_i86_retval): Likewise.
17083 (struct La_x86_64_regs): Likewise.
17084 (struct La_x86_64_retval): Likewise.
17085 (struct La_x32_regs): Likewise.
17086 (struct La_x32_retval): Likewise.
17087 (struct La_ppc32_regs): Likewise.
17088 (struct La_ppc32_retval): Likewise.
17089 (struct La_ppc64_regs): Likewise.
17090 (struct La_ppc64_retval): Likewise.
17091 (struct La_sh_regs): Likewise.
17092 (struct La_sh_retval): Likewise.
17093 (struct La_s390_32_regs): Likewise.
17094 (struct La_s390_32_retval): Likewise.
17095 (struct La_s390_64_regs): Likewise.
17096 (struct La_s390_64_retval): Likewise.
17097 (struct La_sparc32_regs): Likewise.
17098 (struct La_sparc32_retval): Likewise.
17099 (struct La_sparc64_regs): Likewise.
17100 (struct La_sparc64_retval): Likewise.
17101 (struct audit_ifaces): Remove architecture-specific pltenter and
17103 * sysdeps/i386/ldsodefs.h: New file.
17104 * sysdeps/powerpc/ldsodefs.h: Likewise.
17105 * sysdeps/s390/ldsodefs.h: Likewise.
17106 * sysdeps/sh/ldsodefs.h: Likewise.
17107 * sysdeps/sparc/ldsodefs.h: Likewise.
17108 * sysdeps/x86_64/ldsodefs.h: Likewise.
17110 2012-07-25 Marek Polacek <polacek@redhat.com>
17113 * math/libm-test.inc (yn_test): Add another test.
17114 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17115 to ERANGE when the result is +-Inf.
17116 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17117 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17118 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17119 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17121 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17123 * conform/data/time.h-data (NULL): Use macro-constant. Require
17125 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17127 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17129 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17131 * configure.in <sysdeps resolving>: Correct printing
17133 * configure: Regenerate.
17135 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17137 * math/w_ilogb.c: Include <limits.h>.
17138 * math/w_ilogbl.c: Likewise.
17140 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17142 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17143 va_copy. Document allowing for unavailable va_copy only as
17144 pre-C99 compatibility.
17145 * manual/string.texi (Copying and Concatenation): Use va_copy
17146 instead of __va_copy in concat example.
17148 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17150 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17151 (__sendto): Use create_address_port. Initialize APORT and deallocate
17154 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17155 with O_NOLINK passed to __file_name_lookup.
17157 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17158 with O_NOLINK passed to __file_name_lookup.
17160 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17161 negative N or less than NGIDS.
17163 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17164 type to string_t. Set ERANGE as errno and return it if NAME is not big
17165 enough. Use memcpy instead of strncpy.
17167 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17169 * elf/Makefile (check-data): Remove.
17170 (localplt.data): New vpath directive.
17171 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17172 instead of $(check-data).
17173 * scripts/data/localplt-generic.data: Move to ...
17174 * sysdeps/generic/localplt.data: ... here.
17175 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17176 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17177 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17180 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17183 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17186 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17189 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17192 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17196 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17198 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17199 PPC32 and PPC64 files.
17200 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17201 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17203 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17205 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17206 __makecontext_ret to ...
17207 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17208 ... here and call exit if uc_link is NULL. New file.
17209 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17210 __makecontext_ret.S.
17211 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17212 __makecontext_ret to ...
17213 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17214 ... here and call exit if uc_link is NULL. New file.
17215 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17216 __makecontext_ret.S.
17218 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17220 * elf/elf.h (R_390_IRELATIVE): New definition.
17221 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17222 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17223 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17224 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17225 (elf_machine_lazy_rel): Likewise.
17226 * sysdeps/s390/dl-irel.h: New file.
17227 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17228 * sysdeps/s390/s390-64/memset.S: New asm code.
17229 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17230 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17231 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17232 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17233 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17234 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17235 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17236 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17237 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17238 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17239 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17240 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17241 * sysdeps/s390/s390-32/memset.S: New asm code.
17242 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17244 2012-07-17 Marek Polacek <polacek@redhat.com>
17247 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17248 * sysdeps/s390/s390-64/configure.in: Likewise.
17249 * sysdeps/sparc/configure.in: Likewise.
17250 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17251 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17252 * sysdeps/i386/configure.in: Likewise.
17253 * sysdeps/x86_64/configure.in: Likewise.
17254 * sysdeps/sh/configure.in: Likewise.
17255 * sysdeps/s390/s390-32/configure: Regenerated.
17256 * sysdeps/s390/s390-64/configure: Likewise.
17257 * sysdeps/x86_64/configure: Likewise.
17258 * sysdeps/sh/configure: Likewise.
17259 * sysdeps/powerpc/powerpc64/configure: Likewise.
17260 * sysdeps/powerpc/powerpc32/configure: Likewise.
17261 * sysdeps/sparc/configure: Likwise.
17262 * sysdeps/i386/configure: Likewise.
17264 * elf/dl-open.c: Comment fixes.
17266 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17268 * Makefile [CXX] (check-data): Remove.
17269 [CXX] (c++-types.data): New vpath directive.
17270 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17271 vpath. Do not allow for C++ type data being missing.
17272 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17273 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17274 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17275 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17276 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17277 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17278 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17281 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17284 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17287 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17290 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17293 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17296 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17299 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17302 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17303 definitions to architecture-specific files.
17304 (TLS_IE): Likewise.
17305 (TLS_LD): Likewise.
17306 (TLS_GD): Likewise.
17307 * sysdeps/i386/tls-macros.h: New file.
17308 * sysdeps/powerpc/tls-macros.h: Likewise.
17309 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17310 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17311 * sysdeps/sh/tls-macros.h: Likewise.
17312 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17313 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17314 * sysdeps/x86_64/tls-macros.h: Likewise.
17316 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17318 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17319 zero value for regular exit case.
17321 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17322 (__start_context): Preserve zero value for regular exit case.
17324 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17325 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17327 * manual/setjmp.texi (setcontext): Clarify normal process
17328 termination when uc_link is the null pointer.
17329 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17332 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17334 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17335 preprocessor. Test for each exception mask separately.
17337 2012-07-16 Andreas Jaeger <aj@suse.de>
17339 * po/ru.po: Update from translation team.
17341 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17343 * conform/data/string.h-data (NULL): Use macro-constant. Require
17345 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17346 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17347 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17348 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17351 2012-07-13 Andreas Jaeger <aj@suse.de>
17353 * po/fr.po: Update from translation team.
17355 2012-07-12 Marek Polacek <polacek@redhat.com>
17358 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17359 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17362 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17366 Change to 2.4.1 where previously 2.4.0.
17367 * sysdeps/unix/sysv/linux/configure: Regenerated.
17368 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17369 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17371 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17372 (__ASSUME_AT_CLKTCK): Remove.
17373 (__ASSUME_AT_PAGESIZE): Likewise.
17374 (__ASSUME_AT_XID): Likewise.
17375 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17376 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17377 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17379 (HAVE_AUX_PAGESIZE): Likewise.
17380 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17381 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17382 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17384 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17388 the temporary buffer used to invoke __gethostbyname2_r,
17389 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17390 host_data / struct gaih_addrtuple.
17391 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17392 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17393 header file nss/nsswitch.h.
17394 * nss/nsswitch.h (global scope): Add definition of implementation
17395 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17396 resolv/nss_dns/dns-host.c).
17398 2012-07-11 Andreas Jaeger <aj@suse.de>
17400 * po/fr.po: Update from translation team.
17402 * po/sv.po: Update from translation team
17403 * po/fr.po: Another update from translation team.
17405 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17407 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17408 for subnormals or multiply small sinh result by itself.
17409 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17412 2012-07-11 David S. Miller <davem@davemloft.net>
17414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17416 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17419 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17420 (INTERNAL_MARK): Shift it here.
17422 2012-07-10 Marek Polacek <polacek@redhat.com>
17425 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17426 libc_cv_asm_global_directive with .globl.
17427 * configure: Regenerated.
17428 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17430 * sysdeps/i386/configure: Regenerated.
17431 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17433 * sysdeps/x86_64/configure: Regenerated.
17434 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17435 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17436 * elf/tst-unique2mod2.c: Likewise.
17437 * elf/tst-unique2mod1.c: Likewise.
17438 * elf/tst-unique1mod2.c: Likewise.
17439 * elf/tst-unique1mod1.c: Likewise.
17440 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17441 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17442 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17443 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17444 * sysdeps/mach/sysdep.h: Likewise.
17445 * sysdeps/i386/sysdep.h: Likewise.
17446 * sysdeps/i386/i386-mcount.S: Likewise.
17447 * sysdeps/x86_64/_mcount.S: Likewise.
17448 * sysdeps/x86_64/sysdep.h: Likewise.
17449 * sysdeps/sh/_mcount.S: Likewise.
17450 * sysdeps/sh/sysdep.h: Likewise.
17451 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17452 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17453 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17454 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17455 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17456 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17457 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17458 * locale/localeinfo.h: Likewise.
17459 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17460 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17462 2012-07-09 Roland McGrath <roland@hack.frob.com>
17465 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17467 * manual/message.texi (The Uniforum approach): Likewise.
17468 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17469 (glibc iconv Implementation): Likewise.
17471 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17474 * math/s_clog.c (__clog): Avoid scaling a value down where that
17475 could result in underflow.
17476 * math/s_clog10.c (__clog10): Likewise.
17477 * math/s_clog10f.c (__clog10f): Likewise.
17478 * math/s_clog10l.c (__clog10l): Likewise.
17479 * math/s_clogf.c (__clogf): Likewise.
17480 * math/s_clogl.c (__clogl): Likewise.
17481 * math/libm-test.inc (clog_test): Add more tests.
17482 (clog10_test): Likewise.
17483 * sysdeps/i386/fpu/libm-test-ulps: Update.
17484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17486 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17489 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17490 by 7 not 8 to examine high bit of fractional part.
17493 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17494 for call to __mcount_internal.
17495 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17496 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17497 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17499 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17502 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17503 approximation for values within 0x1p-13f of an odd multiple of
17505 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17506 exception. Add more tests.
17507 * sysdeps/i386/fpu/libm-test-ulps: Update.
17510 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17511 inputs and return -1 for them. Do not check for +Inf in case not
17512 reachable for +Inf.
17513 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17514 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17515 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17516 and return -1 for them. Do not check for +Inf in case not
17517 reachable for +Inf.
17518 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17520 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17521 and return -1 for them. Do not check for +Inf in case not
17522 reachable for +Inf.
17523 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17524 spurious underflow.
17525 * sysdeps/i386/fpu/libm-test-ulps: Update.
17526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17528 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17530 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17532 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17536 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17537 could result in spurious underflow. Scale down values above
17538 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17539 * math/s_csqrtf.c (__csqrtf): Likewise.
17540 * math/s_csqrtl.c (__csqrtl): Likewise.
17541 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17542 spurious underflow.
17543 * sysdeps/i386/fpu/libm-test-ulps: Update.
17544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17546 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17548 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17550 * catgets/xopen-msg.awk: New file.
17551 * catgets/xopen-msg.sed: Removed.
17553 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17555 * intl/po2test.awk: New file.
17556 * intl/po2test.sed: Removed.
17558 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17561 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17562 or multiply small sinh result by itself.
17563 * math/s_ctanf.c (__ctanf): Likewise.
17564 * math/s_ctanh.c (__ctanh): Likewise.
17565 * math/s_ctanhf.c (__ctanhf): Likewise.
17566 * math/s_ctanhl.c (__ctanhl): Likewise.
17567 * math/s_ctanl.c (__ctanl): Likewise.
17568 * math/libm-test.inc (ctan_test_tonearest): New function.
17569 (ctan_test_towardzero): Likewise.
17570 (ctan_test_downward): Likewise.
17571 (ctan_test_upward): Likewise.
17572 (ctanh_test_tonearest): Likewise.
17573 (ctanh_test_towardzero): Likewise.
17574 (ctanh_test_downward): Likewise.
17575 (ctanh_test_upward): Likewise.
17576 (main): Call these new functions.
17577 * sysdeps/i386/fpu/libm-test-ulps: Update.
17578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17580 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17582 * .gitignore: Delete /ports entry.
17584 2012-07-03 Andreas Jaeger <aj@suse.de>
17586 * po/bg.po: Update from translation team.
17587 * po/cs.po: Likewise.
17588 * po/de.po: Likewise.
17589 * po/hr.po: Likewise.
17590 * po/nl.pl: Likewise.
17591 * po/pl.po: Likewise.
17592 * po/vi.po: Likewise.
17594 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17596 * Makeconfig [!+link] (+link-before-libc): New variable.
17597 [!+link] (+link-after-libc): Likewise.
17598 [!+link] (+link-tests): Likewise.
17599 [!+link] (+link): Define in terms of $(+link-before-libc) and
17600 $(+link-after-libc).
17601 [!+link-static] (+link-static-before-libc): New variable.
17602 [!+link-static] (+link-static-after-libc): Likewise.
17603 [!+link-static] (+link-static-tests): Likewise.
17604 [!+link-static] (+link-static): Define in terms of
17605 $(+link-static-before-libc) and $(+link-static-after-libc).
17606 [build-shared] (link-libc-before-gnulib): New variable.
17607 [build-shared] (link-libc-tests): Likewise.
17608 [build-shared] (link-libc): Define in terms of
17609 $(link-libc-before-gnulib).
17610 [!build-shared] (link-libc-tests): New variable.
17611 (link-libc-static-tests): New variable.
17612 [!gnulib] (gnulib-arch): New variable.
17613 [!gnulib] (gnulib-tests): Likewise.
17614 [!gnulib] (static-gnulib-arch): Likewise.
17615 [!gnulib] (static-gnulib-tests): Likewise.
17616 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17617 Define with "=" instead of ":=".
17618 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17619 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17620 * Rules (binaries-all-notests): New variable.
17621 (binaries-all-tests): Likewise.
17622 (binaries-static-notests): Likewise.
17623 (binaries-static-tests): Likewise.
17624 (binaries-all): Define using $(binaries-all-notests) and
17625 $(binaries-all-tests).
17626 (binaries-static): Define using $(binaries-static-notests) and
17627 $(binaries-static-tests).
17628 (binaries-shared-tests): New variable.
17629 (binaries-shared-notests): Likewise.
17630 (binaries-shared): Remove variable.
17631 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17632 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17633 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17634 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17635 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17636 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17637 * elf/Makefile (sln-modules): New variable.
17638 (extra-objs): Add $(sln-modules:=.o).
17639 (ldconfig-modules): Add static-stubs.
17640 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17641 * elf/static-stubs.c: New file.
17644 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17645 by 7 not 8 to examine high bit of fractional part. Use volatile
17646 variables when splitting into final array of floats if
17647 __FLT_EVAL_METHOD__ != 0.
17648 * math/libm-test.inc (cos_test): Add another test.
17649 (sin_test): Likewise.
17650 * sysdeps/i386/fpu/libm-test-ulps: Update.
17653 * math/libm-test.inc (cosh_test): Add more tests.
17655 * version.h (RELEASE): Set to "development".
17656 (VERSION): Set to "2.16.90".
17658 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17660 * NEWS: Update copyright. Remove last-updated date.
17661 Mention math library bug fixes and timezone data changes.
17662 * README: Mention GNU/Hurd, x32, and HPPA support status.
17664 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17666 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17668 2012-06-27 Andreas Jaeger <aj@suse.de>
17670 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17672 2012-06-25 Andreas Jaeger <aj@suse.de>
17674 * sysdeps/s390/fpu/libm-test-ulps: Update.
17676 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17677 Thomas Schwinge <thomas@codesourcery.com>
17679 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17680 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17681 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17684 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17686 * sysdeps/mach/start.c: Remove file.
17687 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17688 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17689 * sysdeps/sh/init-first.c: Likewise.
17691 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17692 registers for frame unwinding purposes, add CFI directives.
17693 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17694 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17695 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17698 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17699 __fortify_fail returning.
17700 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17702 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17703 sysdeps/sh/____longjmp_chk.S.
17704 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17705 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17706 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17707 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17709 * sysdeps/sh/abort-instr.h: New file.
17710 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17711 process in case exit returns.
17713 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17714 initialize the GOT register before use.
17716 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17717 calculation of ARGC > 4.
17719 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17720 meaningful names to some local labels.
17722 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17723 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17725 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17726 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17727 (__arch_compare_and_exchange_val_16_acq): Likewise.
17728 (__arch_compare_and_exchange_val_32_acq): Likewise.
17729 (atomic_exchange_and_add): Fix gUSA sequence.
17730 (atomic_add): Likewise.
17731 (atomic_add_negative): Likewise.
17732 (atomic_add_zero): Likewise.
17733 (atomic_bit_test_set): Likewise.
17735 2012-06-22 Andreas Schwab <schwab@redhat.com>
17738 * include/link.h (struct link_map): Add l_free_initfini.
17739 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17741 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17742 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17743 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17746 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17748 * configure.in: Use AC_LANG_SOURCE.
17749 * configure: Regenerate.
17751 2012-06-22 Roland McGrath <roland@hack.frob.com>
17753 * configure.in (libc_cv_localstatedir): New substituted variable.
17754 * configure: Regenerated.
17755 * config.make.in (localstatedir): New variable, substituted from
17756 libc_cv_localstatedir.
17757 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17758 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17759 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17760 * sysdeps/gnu/configure: Regenerated.
17762 2012-06-21 Jeff Law <law@redhat.com>
17765 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17766 free. Simplify list management for _LIBC case.
17768 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17771 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17772 Clear sign bit of 64-bit integer value before comparing against
17775 * sysdeps/mach/configure: Regenerated.
17777 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17780 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17782 2012-06-21 Jeff Law <law@redhat.com>
17785 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17786 uint16_t for elements in the "seen" array to avoid char overflows.
17787 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17788 * elf/dl-open.c (dl_open_worker): Likewise.
17790 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17792 * scripts/list-sources.sh: Scan PORTS for translations.
17793 * po/libc.pot: Regenerated.
17795 2012-06-21 Andreas Jaeger <aj@suse.de>
17798 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17800 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17801 * bits/byteswap-16.h (__bswap_16): Likewise.
17802 * bits/byteswap.h (__bswap_constant_16): Likewise.
17804 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17807 * sysdeps/i386/fpu_control.h: Removed.
17808 * sysdeps/x86_64/fpu_control.h: Moved to ...
17809 * sysdeps/x86/fpu_control.h: Here.
17811 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17812 (_FPU_SETCW): Likewise.
17814 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17817 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17818 * sysdeps/x86/fpu/bits/mathinline.h: This.
17819 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17823 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17824 functions if __x86_64__ is defined.
17826 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17828 * string/endian.h: Add !__ASSEMBLER__ condition for including
17829 conversion interfaces.
17831 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17835 of ABS(x) in calculating zero to negative powers other than odd
17837 * math/libm-test.inc (pow_test): Add more tests.
17839 2012-06-15 Andreas Jaeger <aj@suse.de>
17841 * manual/contrib.texi (Contributors): Update entry of Liubov
17842 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17845 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17847 * string/string.h: Add __wur to GNU version of strerror_r.
17849 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17852 * string/Makefile (tests): Add tst-strtok_r.
17853 * string/tst-strtok_r.c: New file.
17854 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17855 RAX_LP/RDX_LP on SAVE_PTR.
17857 2012-06-14 Roland McGrath <roland@hack.frob.com>
17859 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17861 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17863 * libm_test.inc (csqrt_test): Allow more spurious underflow
17865 (j0_test): Likewise.
17866 (j1_test): Likewise.
17867 (y0_test): Likewise.
17868 (y1_test): Likewise.
17870 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17872 * po/Makefile (libc.pot): Use UTF-8 charset.
17874 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17877 Suppress sign-conversion warning from FD_SET.
17878 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17879 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17880 not unsigned long int.
17881 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17883 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17887 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17888 __extern_always_inline instead of __extern_inline.
17889 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17890 (__signbit): Likewise.
17891 (__signbitl): Support C++ namespace.
17892 (lrintf): New inline function.
17894 (llrintf): Likewise.
17895 (llrint): Likewise.
17905 (floorf): Likewise.
17906 (nearbyint): Likewise.
17907 (nearbyintf): Likewise.
17909 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17911 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17912 non-default versions.
17914 2012-06-11 Roland McGrath <roland@hack.frob.com>
17917 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17919 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17921 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17922 (FE_UPWARD, FE_DOWNWARD): Don't define.
17923 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17924 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17926 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17928 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17929 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17931 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17933 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17935 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17936 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17938 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17941 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17942 * sysdeps/i386/fpu/Implies: New file.
17943 * sysdeps/x86_64/fpu/Implies: Likewise.
17944 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17945 * sysdeps/x86/fpu/bits/fenv.h: This.
17947 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17950 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17953 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17954 character 0xffff that matches the last element of the
17957 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17959 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17962 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17964 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17965 values higher than 25.6283.
17967 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17969 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17970 subnormal exponent extraction and add some __builtin_expect.
17971 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17972 Fix for subnormal mantissa calculation.
17974 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17976 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17977 cpu2 is -1 and errno is not ENOSYS.
17979 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17982 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17983 * sysdeps/x86/bits/string.h: This.
17984 * sysdeps/x86_64/bits/string.h: Removed.
17986 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17987 if not compiling for x86-64, but compiling for >= i486.
17989 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17990 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17992 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17993 New macro from Linux kernel 3.4.0.
17994 (FP_XSTATE_MAGIC2): Likewise.
17995 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17996 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17997 (struct _fpx_sw_bytes): New struct.
17998 (struct _xsave_hdr): Likewise.
17999 (struct _ymmh_state): Likewise.
18000 (struct _xstate): Likewise.
18002 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18003 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18004 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18005 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18006 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18007 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18009 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18010 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18011 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18012 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18013 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18014 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18016 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18019 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18020 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18021 (sysdep_headers): Include sys/platform/ppc.h.
18022 * sysdeps/powerpc/test-gettimebase.c: Test for
18023 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18024 * manual/Makefile (appendices): Include platform.texi.
18025 * manual/contrib.texi (Contributors): Update @node pointers.
18026 * manual/maint.texi (Maintenance): Likewise.
18027 (Platform): New node.
18028 * manual/platform.texi: New file. Document the new features.
18030 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18031 Jakub Jelinek <jakub@redhat.com>
18034 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18035 where __builtin_expect is unavailable.
18037 2012-06-03 David S. Miller <davem@davemloft.net>
18039 * stdlib/longlong.h: Updated from GCC.
18041 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18044 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18045 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18048 (GLIBC_2.16): Likewise.
18050 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18052 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18054 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18057 (default-abi): New variable.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18059 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18061 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18063 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18065 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18068 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18069 definition. Document in comment.
18071 2012-06-01 David S. Miller <davem@davemloft.net>
18073 * stdlib/longlong.h: Updated from GCC.
18075 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18078 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18079 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18080 sys/debugreg.h sys/io.h here.
18081 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18082 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18084 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18085 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18086 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18087 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18088 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18089 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18091 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18092 Define only if __x86_64__ is defined.
18094 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18097 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18098 Use int64_t for variable i.
18099 * math/libm-test.inc (fmod_test): Add more tests.
18101 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18102 z computation is not scheduled after fetestexcept.
18103 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18104 Use math_force_eval instead of asm to ensure calculation scheduled
18105 before exception test.
18106 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18107 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18109 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18112 computation is not scheduled after fetestexcept.
18114 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18117 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18118 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18120 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18122 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18123 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18125 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18128 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18130 (__WCHAR_MIN): Support __WORDSIZE == 64.
18131 (__WCHAR_MAX): Likewise.
18133 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18134 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18137 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18138 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18141 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18142 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18144 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18145 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18147 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18148 Defined to 1 if __x86_64__ isn't defined.
18149 (_STAT_VER_LINUX_OLD): New.
18150 (st_atime): Remove duplicate.
18151 (st_mtime): Likewise.
18152 (st_ctime): Likewise.
18154 2012-05-31 David S. Miller <davem@davemloft.net>
18156 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18159 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18161 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18165 * elf/dl-reloc.c: Include <_itoa.h>.
18166 (_dl_reloc_bad_type): Remove use of INTUSE.
18167 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18168 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18169 * stdio-common/psiginfo.c (psiginfo): Likewise.
18170 * stdio-common/psignal.c (psignal): Likewise.
18171 * string/strsignal.c (strsignal): Likewise.
18172 * include/signal.h (_sys_siglist): Declare hidden proto.
18173 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18174 INTVARDEF with libc_hidden_data_def.
18175 * stdio-common/itoa-udigits.c: Likewise.
18176 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18177 (_itoa_lower_digits_internal): Remove declaration.
18178 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18179 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18180 (_sys_sigabbrev_internal): Remove aliases.
18181 (_sys_siglist): Define hidden alias.
18183 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18188 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18191 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18192 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18194 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18195 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18196 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18197 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18199 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18201 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18202 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18203 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18205 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18213 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18214 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18215 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18217 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18218 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18219 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18220 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18221 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18222 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18224 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18225 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18227 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18228 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18232 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18234 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18235 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18237 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18239 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18240 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18241 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18243 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18245 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18247 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18249 * math/math.h (M_El): Use two more decimal places.
18250 (M_LOG2El): Likewise.
18251 (M_LOG10El): Likewise.
18252 (M_LN2l): Likewise.
18253 (M_LN10l): Likewise.
18255 (M_PI_2l): Likewise.
18256 (M_PI_4l): Likewise.
18257 (M_1_PIl): Likewise.
18258 (M_2_PIl): Likewise.
18259 (M_2_SQRTPIl): Likewise.
18260 (M_SQRT2l): Likewise.
18261 (M_SQRT1_2l): Likewise.
18263 2012-05-31 David S. Miller <davem@davemloft.net>
18265 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18266 values between float registers.
18267 * sysdeps/sparc/sparc64/memset.S: Likewise.
18268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18270 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18272 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18273 -D_FORTIFY_SOURCE=1.
18274 (CPPFLAGS-tst-longjmp_chk.c): Define.
18275 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18276 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18277 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18278 CFLAGS-tst-wchar-h.c.
18280 2012-05-31 Marek Polacek <polacek@redhat.com>
18283 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18284 __endmntent_internal): Remove declaration.
18285 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18286 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18287 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18289 2012-05-30 David S. Miller <davem@davemloft.net>
18291 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18292 (___Q_simulate_exceptions): Use real FP ops rather than writing
18294 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18297 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18300 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18301 * sysdeps/x86/bits/xtitypes.h: This.
18303 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18304 * sysdeps/x86/bits/wordsize.h: This.
18306 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18307 * sysdeps/x86/bits/huge_vall.h: This.
18309 * sysdeps/i386/bits/select.h: Removed.
18310 * sysdeps/x86_64/bits/select.h: Renamed to ...
18311 * sysdeps/x86/bits/select.h: This.
18313 * sysdeps/i386/bits/setjmp.h: Removed.
18314 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18315 * sysdeps/x86/bits/setjmp.h: This.
18317 * sysdeps/i386/bits/mathdef.h: Removed.
18318 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18319 * sysdeps/x86/bits/mathdef.h: This.
18321 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18324 * include/sys/socket.h (__connect_internal)
18325 (__libc_sa_len_internal): Remove declaration.
18326 (__connect, __libc_sa_len): Declare hidden_proto.
18327 (SA_LEN): Remove use of INTUSE.
18328 * socket/connect.c: Add libc_hidden_def.
18329 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18330 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18331 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18333 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18334 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18335 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18336 of adding _internal alias.
18338 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18341 * sysdeps/i386/bits/link.h: Removed.
18342 * sysdeps/i386/bits/linkmap.h: Likewise.
18343 * sysdeps/x86_64/bits/link.h: Renamed to ...
18344 * sysdeps/x86/bits/link.h: This.
18345 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18346 * sysdeps/x86/bits/linkmap.h: This.
18348 * sysdeps/i386/bits/endian.h: Removed.
18349 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18350 * sysdeps/x86/bits/endian.h: This.
18352 * sysdeps/i386/bits/byteswap.h: Removed.
18353 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18354 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18355 * sysdeps/x86/bits/byteswap.h: This.
18356 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18357 * sysdeps/x86/bits/byteswap-16.h: This.
18358 * sysdeps/i386/Implies: Add x86.
18359 * sysdeps/x86_64/Implies: Likewise.
18361 2012-05-30 David S. Miller <davem@davemloft.net>
18363 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18364 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18365 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18366 (FP_TRAPPING_EXCEPTIONS): Define.
18367 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18368 (FP_TRAPPING_EXCEPTIONS): Define.
18369 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18370 subnormals only when inexact has been signalled or underflow
18371 exceptions are enabled.
18372 (_FP_PACK_CANONICAL): Likewise.
18374 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18377 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18378 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18380 2012-05-30 Richard Henderson <rth@twiddle.net>
18382 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18383 with #ifndef NOT_IN_libc.
18385 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18386 marked to avoid plt entry.
18388 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18391 * Makeconfig (default-abi): New macro.
18392 (abi-includes): Likewise.
18393 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18394 $(abi-$(default-abi)-lib-soname) for soname if defined.
18395 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18397 * Makefile (installed-stubs): Likewise.
18398 * include/stubs-biarch.h: Removed.
18399 * scripts/lib-names.awk: Only handle one library at a time.
18400 * scripts/soversions.awk: Remove WORDSIZE support.
18401 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18403 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18405 (syscall-list-default-condition): Likewise.
18406 (syscall-list-default-condition): Likewise.
18407 (syscall-list-includes): Likewise.
18408 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18409 syscall-list-* with abi-*. Handle undefined abi-variants.
18410 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18411 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18412 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18413 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18414 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18415 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18417 (syscall-list-32-options): Likewise.
18418 (syscall-list-32-condition): Likewise.
18419 (syscall-list-64-options): Likewise.
18420 (syscall-list-64-condition): Likewise.
18421 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18423 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18426 (abi-64-ld-soname): New macro.
18427 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18428 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18431 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18432 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18434 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18436 * sysdeps/unix/sysv/linux/kernel-features.h
18437 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18438 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18439 include <kernel-features.h>.
18440 [!__NR_ftruncate64]: Remove conditional code.
18441 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18442 [__NR_ftruncate64]: Make code unconditional.
18443 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18444 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18445 include <kernel-features.h>.
18446 [!__NR_ftruncate64]: Remove conditional code.
18447 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18448 [__NR_ftruncate64]: Make code unconditional.
18449 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18451 include <kernel-features.h>.
18452 [!__NR_ftruncate64]: Remove conditional code.
18453 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18454 [__NR_ftruncate64]: Make code unconditional.
18455 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18457 include <kernel-features.h>.
18458 [!__NR_ftruncate64]: Remove conditional code.
18459 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18460 [__NR_ftruncate64]: Make code unconditional.
18461 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18463 * configure.in (libc_cv_fpie): Weaken to a compile test using
18464 LIBC_TRY_CC_OPTION.
18465 * configure: Regenerated.
18467 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18482 2012-05-27 David S. Miller <davem@davemloft.net>
18484 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18486 (__Q_simulate_exceptions): Return void. Change to simulate
18487 exceptions by writing into the %fsr.
18488 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18489 (__Qp_handle_exceptions): Likewise.
18491 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18492 __Qp_handle_exceptions.
18493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18494 __Qp_handle_exceptions.
18495 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18496 as unused and give dummy FP_RND_NEAREST initializer.
18497 (FP_INHIBIT_RESULTS): Define.
18498 (___Q_simulate_exceptions): Update declaration.
18499 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18501 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18502 as unused and give dummy FP_RND_NEAREST initializer.
18503 (__Qp_handle_exceptions): Update declaration.
18504 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18507 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18509 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18510 the temporary FPU control word.
18511 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18512 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18513 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18514 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18515 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18516 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18517 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18518 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18519 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18520 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18521 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18523 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18525 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18528 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18530 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18531 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18532 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18533 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18535 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18536 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18539 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18541 * po/h.po: Update from translation team.
18543 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18545 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18547 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18548 handling of denormals.
18549 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18550 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18551 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18552 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18554 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18558 2012-05-26 Marek Polacek <polacek@redhat.com>
18561 * math/libm-test.inc (fma_test): Don't always expect underflow
18564 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18567 * elf/tst-execstack.c: Include stackinfo.h.
18568 (do_test): Adjust test case to ensure that pthread_getattr_np
18569 behaviour remains the same after marking stack executable.
18571 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18573 * sysdeps/unix/sysv/linux/kernel-features.h
18574 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18575 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18577 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18578 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18579 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18581 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18582 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18584 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18586 * configure.in: Define the default includes to being none.
18587 * configure: Regenerated.
18589 2012-05-25 Roland McGrath <roland@hack.frob.com>
18591 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18592 * sysdeps/x86_64/setjmp.S: Likewise.
18593 * sysdeps/i386/bsd-setjmp.S: Likewise.
18594 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18595 * sysdeps/i386/setjmp.S: Likewise.
18596 * sysdeps/i386/__longjmp.S: Likewise.
18597 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18598 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18600 * include/stap-probe.h: New file.
18601 * configure.in: Handle --enable-systemtap.
18602 * configure: Regenerated.
18603 * config.h.in (USE_STAP_PROBE): New #undef.
18604 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18605 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18606 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18608 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18612 to 2.4.0 where earlier.
18613 * sysdeps/unix/sysv/linux/configure: Regenerated.
18614 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18615 <kernel-features.h>.
18616 [__ASSUME_32BITUIDS]: Make code unconditional.
18617 [!__ASSUME_32BITUIDS]: Remove conditional code.
18618 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18619 <kernel-features.h>.
18620 [__ASSUME_32BITUIDS]: Make code unconditional.
18621 [!__ASSUME_32BITUIDS]: Remove conditional code.
18622 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18623 [__ASSUME_32BITUIDS]: Make code unconditional.
18624 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18625 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18626 <kernel-features.h>.
18627 [__ASSUME_32BITUIDS]: Make code unconditional.
18628 [!__ASSUME_32BITUIDS]: Remove conditional code.
18629 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18630 <kernel-features.h>.
18631 [__ASSUME_32BITUIDS]: Make code unconditional.
18632 [!__ASSUME_32BITUIDS]: Remove conditional code.
18633 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18634 <kernel-features.h>.
18635 [__ASSUME_32BITUIDS]: Make code unconditional.
18636 [!__ASSUME_32BITUIDS]: Remove conditional code.
18637 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18638 <kernel-features.h>.
18639 [__ASSUME_32BITUIDS]: Make code unconditional.
18640 [!__ASSUME_32BITUIDS]: Remove conditional code.
18641 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18642 <kernel-features.h>.
18643 [__ASSUME_32BITUIDS]: Make code unconditional.
18644 [!__ASSUME_32BITUIDS]: Remove conditional code.
18645 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18646 <kernel-features.h>.
18647 [__ASSUME_32BITUIDS]: Make code unconditional.
18648 [!__ASSUME_32BITUIDS]: Remove conditional code.
18649 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18650 <kernel-features.h>.
18651 [__ASSUME_32BITUIDS]: Make code unconditional.
18652 [!__ASSUME_32BITUIDS]: Remove conditional code.
18653 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18654 <kernel-features.h>.
18655 [__ASSUME_32BITUIDS]: Make code unconditional.
18656 [!__ASSUME_32BITUIDS]: Remove conditional code.
18657 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18658 <kernel-features.h>.
18659 [__ASSUME_32BITUIDS]: Make code unconditional.
18660 [!__ASSUME_32BITUIDS]: Remove conditional code.
18661 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18662 <kernel-features.h>.
18663 [__ASSUME_32BITUIDS]: Make code unconditional.
18664 [!__ASSUME_32BITUIDS]: Remove conditional code.
18665 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18666 <kernel-features.h>.
18667 [__NR_setresgid] (__setresgid): Do not declare.
18668 [__ASSUME_32BITUIDS]: Make code unconditional.
18669 [!__ASSUME_32BITUIDS]: Remove conditional code.
18670 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18671 <kernel-features.h>.
18672 [__NR_setresuid] (__setresuid): Do not declare.
18673 [__ASSUME_32BITUIDS]: Make code unconditional.
18674 [!__ASSUME_32BITUIDS]: Remove conditional code.
18675 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18676 <kernel-features.h>.
18677 [__ASSUME_32BITUIDS]: Make code unconditional.
18678 [!__ASSUME_32BITUIDS]: Remove conditional code.
18679 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18680 <kernel-features.h>.
18681 [__ASSUME_32BITUIDS]: Make code unconditional.
18682 [!__ASSUME_32BITUIDS]: Remove conditional code.
18683 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18684 <kernel-features.h>.
18685 [__ASSUME_32BITUIDS]: Make code unconditional.
18686 [!__ASSUME_32BITUIDS]: Remove conditional code.
18687 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18688 <kernel-features.h>.
18689 [__ASSUME_32BITUIDS]: Make code unconditional.
18690 [!__ASSUME_32BITUIDS]: Remove conditional code.
18691 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18692 <kernel-features.h>.
18693 [__ASSUME_32BITUIDS]: Make code unconditional.
18694 [!__ASSUME_32BITUIDS]: Remove conditional code.
18695 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18696 <kernel-features.h>.
18697 [__ASSUME_32BITUIDS]: Make code unconditional.
18698 [!__ASSUME_32BITUIDS]: Remove conditional code.
18699 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18700 <kernel-features.h>.
18701 [__ASSUME_32BITUIDS]: Make code unconditional.
18702 [!__ASSUME_32BITUIDS]: Remove conditional code.
18703 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18704 <kernel-features.h>.
18705 [__ASSUME_32BITUIDS]: Make code unconditional.
18706 [!__ASSUME_32BITUIDS]: Remove conditional code.
18707 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18708 <kernel-features.h>.
18709 [__ASSUME_32BITUIDS]: Make code unconditional.
18710 [!__ASSUME_32BITUIDS]: Remove conditional code.
18711 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18712 <kernel-features.h>.
18713 [__ASSUME_32BITUIDS]: Make code unconditional.
18714 [!__ASSUME_32BITUIDS]: Remove conditional code.
18715 * sysdeps/unix/sysv/linux/kernel-features.h
18716 (__ASSUME_SETRESUID_SYSCALL): Remove.
18717 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18718 (__ASSUME_32BITUIDS): Likewise.
18719 (__ASSUME_LDT_WORKS): Likewise.
18720 (__ASSUME_O_DIRECTORY): Likewise.
18721 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18722 architecture but not kernel version.
18723 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18724 (__ASSUME_MMAP2_SYSCALL): Likewise.
18725 (__ASSUME_STAT64_SYSCALL): Likewise.
18726 (__ASSUME_IPC64): Likewise.
18727 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18728 <kernel-features.h>.
18729 [__ASSUME_32BITUIDS]: Make code unconditional.
18730 [!__ASSUME_32BITUIDS]: Remove conditional code.
18731 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18732 <kernel-features.h>.
18733 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18734 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18735 132096]: Remove conditional code.
18736 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18737 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18738 <kernel-features.h>.
18739 [__ASSUME_32BITUIDS]: Make code unconditional.
18740 [!__ASSUME_32BITUIDS]: Remove conditional code.
18741 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18742 <kernel-features.h>.
18743 [__ASSUME_32BITUIDS]: Make code unconditional.
18744 [!__ASSUME_32BITUIDS]: Remove conditional code.
18745 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18746 <kernel-features.h>.
18747 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18749 (__setresgid): Do not declare.
18750 [__ASSUME_32BITUIDS]: Make code unconditional.
18751 [!__ASSUME_32BITUIDS]: Remove conditional code.
18752 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18753 <kernel-features.h>.
18754 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18756 (__setresuid): Do not declare.
18757 [__ASSUME_32BITUIDS]: Make code unconditional.
18758 [!__ASSUME_32BITUIDS]: Remove conditional code.
18759 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18760 <kernel-features.h>.
18761 [__ASSUME_32BITUIDS]: Make code unconditional.
18762 [!__ASSUME_32BITUIDS]: Remove conditional code.
18763 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18764 <kernel-features.h>.
18765 [__ASSUME_32BITUIDS]: Make code unconditional.
18766 [!__ASSUME_32BITUIDS]: Remove conditional code.
18768 2012-05-25 Richard Henderson <rth@twiddle.net>
18770 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18771 dl_hwcap to ifunc resolver.
18772 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18774 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18775 dl_hwcap to ifunc resolver.
18776 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18778 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18781 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18782 for |x| <= 2**-26, not 2**-57.
18783 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18786 2012-05-24 Jeff Law <law@redhat.com>
18788 * stdio-common/Makefile (tests): Add bug25.
18789 * stdio-common/bug25.c: New test.
18791 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18794 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18795 multiple of MALLOC_ALIGNMENT in size.
18796 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18798 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18800 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18802 (FILENAME_MAX): Use macro-int-constant.
18803 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18804 (_IOFBF): Use macro-int-constant.
18805 (_IOLBF): Likewise.
18806 (_IONBF): Likewise.
18807 (SEEK_CUR): Likewise.
18808 (SEEK_END): Likewise.
18809 (SEEK_SET): Likewise.
18810 (TMP_MAX): Likewise.
18811 (EOF): Use macro-int-constant. Require < 0.
18812 (NULL): Use macro-constant. Require == 0.
18813 (stdin): Require type to be FILE *.
18814 (stdout): Likewise.
18815 (stderr): Likewise.
18816 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18817 macro-int-constant.
18818 (EXIT_SUCCESS): Likewise.
18819 (NULL): Use macro-constant. Require == 0.
18820 (RAND_MAX): Use macro-int-constant.
18821 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18822 [C99-based standards] (strtof): Require function.
18823 [C99-based standards] (strtold): Likewise.
18824 [C99-based standards] (strtoll): Likewise.
18825 [C99-based standards] (strtoull): Likewise.
18826 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18827 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18828 [ISO || ISO99 || ISO11] (math.h): Likewise.
18829 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18830 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18831 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18833 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18836 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18837 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18838 * intl/dgettext.c (DCGETTEXT): Likewise.
18839 * intl/gettext.c (DCGETTEXT): Likewise.
18840 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18841 * posix/regex_internal.h (gettext): Likewise.
18842 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18843 Remove declaration.
18844 * include/argz.h (__argz_count_internal)
18845 (__argz_stringify_internal): Remove declaration.
18846 (__argz_count, __argz_stringify): Declare hidden proto.
18847 * intl/dcgettext.c: Remove use of INTDEF.
18848 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18849 * string/argz-stringify.c: Likewise.
18850 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18851 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18852 Declare hidden proto.
18853 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18854 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18855 Declare hidden proto.
18856 * include/stdio.h (__asprintf_internal): Don't declare.
18857 (__asprintf): Don't define as macro. Declare hidden proto.
18858 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18859 (__fsetlocking): Declare hidden proto.
18860 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18861 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18863 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18864 (_IO_setlinebuf): Remove use of INTUSE.
18865 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18866 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18867 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18868 Remove declaration.
18869 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18870 (_IO_do_flush): Remove use of INTUSE.
18871 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18872 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18873 (_IO_adjust_column, _IO_least_wmarker)
18874 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18875 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18876 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18877 (_IO_default_doallocate, _IO_wdefault_doallocate)
18878 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18879 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18880 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18881 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18882 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18883 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18884 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18885 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18886 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18887 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18888 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18889 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18890 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18892 (_IO_flush_all_internal, _IO_adjust_column_internal)
18893 (_IO_default_uflow_internal, _IO_default_finish_internal)
18894 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18895 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18896 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18897 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18898 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18899 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18900 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18901 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18902 (_IO_file_close_internal, _IO_file_close_it_internal)
18903 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18904 (_IO_file_init_internal, _IO_file_attach_internal)
18905 (_IO_file_fopen_internal, _IO_file_read_internal)
18906 (_IO_file_sync_internal, _IO_file_seek_internal)
18907 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18908 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18909 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18910 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18911 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18912 (_IO_list_all_internal, _IO_link_in_internal)
18913 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18914 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18915 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18916 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18917 (_IO_do_write_internal, _IO_padn_internal)
18918 (_IO_getline_info_internal, _IO_getline_internal)
18919 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18920 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18921 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18922 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18923 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18924 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18925 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18926 with libc_hidden_ver, remove use of INTUSE.
18927 * libio/genops.c: Likewise.
18928 * libio/freopen.c: Likewise.
18929 * libio/freopen64.c: Likewise.
18930 * libio/iofclose.c: Likewise.
18931 * libio/iofdopen.c: Likewise.
18932 * libio/iofflush.c: Likewise.
18933 * libio/iofflush_u.c: Likewise.
18934 * libio/iofgets.c: Likewise.
18935 * libio/iofgets_u.c: Likewise.
18936 * libio/iofopen.c: Likewise.
18937 * libio/iofopncook.c: Likewise.
18938 * libio/iofread.c: Likewise.
18939 * libio/iofread_u.c: Likewise.
18940 * libio/ioftell.c: Likewise.
18941 * libio/iofwrite.c: Likewise.
18942 * libio/iogetline.c: Likewise.
18943 * libio/iogets.c: Likewise.
18944 * libio/iogetwline.c: Likewise.
18945 * libio/iopadn.c: Likewise.
18946 * libio/iopopen.c: Likewise.
18947 * libio/ioseekoff.c: Likewise.
18948 * libio/ioseekpos.c: Likewise.
18949 * libio/iosetbuffer.c: Likewise.
18950 * libio/iosetvbuf.c: Likewise.
18951 * libio/ioungetc.c: Likewise.
18952 * libio/ioungetwc.c: Likewise.
18953 * libio/iovdprintf.c: Likewise.
18954 * libio/iovsprintf.c: Likewise.
18955 * libio/iovsscanf.c: Likewise.
18956 * libio/memstream.c: Likewise.
18957 * libio/obprintf.c: Likewise.
18958 * libio/oldfileops.c: Likewise.
18959 * libio/oldiofclose.c: Likewise.
18960 * libio/oldiofdopen.c: Likewise.
18961 * libio/oldiofopen.c: Likewise.
18962 * libio/oldiopopen.c: Likewise.
18963 * libio/oldstdfiles.c: Likewise.
18964 * libio/putc.c: Likewise.
18965 * libio/setbuf.c: Likewise.
18966 * libio/setlinebuf.c: Likewise.
18967 * libio/stdfiles.c: Likewise.
18968 * libio/strops.c: Likewise.
18969 * libio/vasprintf.c: Likewise.
18970 * libio/vscanf.c: Likewise.
18971 * libio/vsnprintf.c: Likewise.
18972 * libio/vswprintf.c: Likewise.
18973 * libio/wfiledoalloc.c: Likewise.
18974 * libio/wfileops.c: Likewise.
18975 * libio/wgenops.c: Likewise.
18976 * libio/wmemstream.c: Likewise.
18977 * libio/wstrops.c: Likewise.
18978 * libio/__fpurge.c: Likewise.
18979 * libio/__fsetlocking.c: Likewise.
18980 * assert/assert.c: Likewise.
18981 * debug/fgets_chk.c: Likewise.
18982 * debug/fgets_u_chk.c: Likewise.
18983 * debug/fread_chk.c: Likewise.
18984 * debug/fread_u_chk.c: Likewise.
18985 * debug/gets_chk.c: Likewise.
18986 * debug/obprintf_chk.c: Likewise.
18987 * debug/vasprintf_chk.c: Likewise.
18988 * debug/vdprintf_chk.c: Likewise.
18989 * debug/vsnprintf_chk.c: Likewise.
18990 * debug/vsprintf_chk.c: Likewise.
18991 * malloc/mtrace.c: Likewise.
18992 * misc/error.c: Likewise.
18993 * misc/syslog.c: Likewise.
18994 * stdio-common/asprintf.c: Likewise.
18995 * stdio-common/fxprintf.c: Likewise.
18996 * stdio-common/getw.c: Likewise.
18997 * stdio-common/isoc99_fscanf.c: Likewise.
18998 * stdio-common/isoc99_scanf.c: Likewise.
18999 * stdio-common/isoc99_vfscanf.c: Likewise.
19000 * stdio-common/isoc99_vscanf.c: Likewise.
19001 * stdio-common/isoc99_vsscanf.c: Likewise.
19002 * stdio-common/printf-prs.c: Likewise.
19003 * stdio-common/printf_fp.c: Likewise.
19004 * stdio-common/printf_fphex.c: Likewise.
19005 * stdio-common/printf_size.c: Likewise.
19006 * stdio-common/putw.c: Likewise.
19007 * stdio-common/scanf.c: Likewise.
19008 * stdio-common/sprintf.c: Likewise.
19009 * stdio-common/tmpfile.c: Likewise.
19010 * stdio-common/vfprintf.c: Likewise.
19011 * stdio-common/vfscanf.c: Likewise.
19012 * stdlib/strfmon_l.c: Likewise.
19013 * sunrpc/openchild.c: Likewise.
19014 * sunrpc/xdr_stdio.c: Likewise.
19015 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19016 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19018 2012-05-24 Roland McGrath <roland@hack.frob.com>
19020 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19022 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19023 in the third column, to generate for the shared library an IFUNC
19024 that uses _dl_vdso_vsym.
19025 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19026 * Makeconfig (object-suffixes-noshared): New variable.
19028 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19029 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19030 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19031 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19034 * include/sys/time.h (__gettimeofday): Remove macro.
19035 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19036 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19038 (__gettimeofday): Add libc_hidden_def.
19039 (gettimeofday): Add libc_hidden_weak.
19040 * sysdeps/mach/gettimeofday.c: Likewise.
19041 * sysdeps/posix/gettimeofday.c: Likewise.
19042 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19043 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19045 (__gettimeofday_internal): Remove strong_alias.
19046 (__gettimeofday): Add libc_hidden_def.
19047 (gettimeofday): Add libc_hidden_weak.
19048 * sysdeps/unix/syscalls.list (gettimeofday):
19049 Remove __gettimeofday_internal alias.
19051 2012-05-24 Daniel Jacobowitz <drow@false.org>
19052 H.J. Lu <hongjiu.lu@intel.com>
19055 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19056 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19057 (largebin_index_32_big): New.
19058 (largebin_index): Use it for 16-byte alignment.
19059 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19060 correction with front_misalign.
19062 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19090 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19091 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19093 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19097 * math/libm-test.inc (exp_test): Add test from bug 14036.
19098 (pow_test): Add test from bug 10846.
19100 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19102 (special_function): Do not include flags in test name.
19103 (parse_args): Likewise.
19104 * sysdeps/i386/fpu/libm-test-ulps: Update.
19105 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19106 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19107 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19110 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19112 * math/libm-test.inc ("Philosophy"): Update comment about
19114 (UNDERFLOW_EXCEPTION): New macro.
19115 (UNDERFLOW_EXCEPTION_OK): Likewise.
19116 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19117 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19118 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19119 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19120 (INVALID_EXCEPTION_OK): Update value.
19121 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19122 (OVERFLOW_EXCEPTION_OK): Likewise.
19123 (IGNORE_ZERO_INF_SIGN): Likewise.
19124 (test_exceptions): Handle underflow exceptions.
19125 (acos_test): Update for underflow exception expectations.
19126 (cexp_test): Likewise.
19127 (clog_test): Likewise.
19128 (clog10_test): Likewise.
19129 (csqrt_test): Likewise.
19130 (ctan_test): Likewise.
19131 (ctanh_test): Likewise.
19132 (exp_test): Likewise.
19133 (exp10_test): Likewise.
19134 (exp2_test): Likewise.
19135 (expm1_test): Likewise.
19136 (fma_test): Likewise.
19137 (j0_test): Likewise.
19138 (jn_test): Likewise.
19139 (nexttoward_test): Likewise.
19140 (pow_test): Likewise.
19141 (scalbn_test): Likewise.
19142 (scalbln_test): Likewise.
19143 (tan_test): Likewise.
19144 (y1_test): Likewise.
19145 * sysdeps/i386/fpu/libm-test-ulps: Update.
19146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19148 2012-05-23 David S. Miller <davem@davemloft.net>
19150 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19151 (__libc_sigaction): Remove unused local variables.
19153 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19155 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19157 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19159 mktime: avoid signed integer overflow
19160 * time/mktime.c (__mktime_internal): Do not mishandle the case
19161 where diff == INT_MIN.
19163 mktime: simplify computation of average
19164 * time/mktime.c (ranged_convert): Use new time_t_avg function
19165 instead of rolling our own (probably-slower) code.
19167 mktime: do not assume signed right shift propagates sign bit
19168 * time/mktime.c (isdst_differ): New static function.
19169 (__mktime_internal): No need to normalize tm_isdst now.
19170 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19173 mktime: merge another wrapv change from gnulib
19174 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19175 from some compilers.
19177 mktime: remove incorrect attempt at unusual arithmetics
19178 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19179 The code didn't really work on such machines anyway.
19180 (TYPE_MINIMUM): Assume two's complement.
19181 (twos_complement_arithmetic): Verify that long_int and time_t
19182 are two's complement (or unsigned, in the latter case).
19184 mktime: check signed shifts on long_int and time_t, too
19185 * time/mktime.c (SHR): Check that shifts work as desired
19186 on the types long_int and time_t too, as SHR is used on
19189 mktime: do not assume 'long' is wide enough
19190 * time/mktime.c (verify): Move decl up.
19191 (long_int): New type.
19192 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19193 to remove assumption in the code that 'long' is wide enough to
19194 store year values. This assumption is not true on x32 and on
19195 some non-glibc platforms.
19197 mktime: merge wrapv change from gnulib
19198 * time/mktime.c (WRAPV): New macro.
19199 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19200 (guess_time_tm, __mktime_internal): Do not assume that signed
19201 integer overflow wraps around; modern compilers generate code
19202 where this assumption is no longer valid.
19204 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19206 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19207 Replace "jmp L(pseudo_end)" with "ret".
19208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19211 2012-05-23 Andreas Jaeger <aj@suse.de>
19213 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19214 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19216 2012-05-23 Andreas Jaeger <aj@suse.de>
19217 Maximilian Attems <max@stro.at>
19219 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19222 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19224 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19225 code so that pseudo_end is just ret and the stack pointer is
19226 correct also for static library in error case.
19228 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19230 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19231 move to syscalls.list.
19232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19237 * manual/install.texi (Running make install): Do not mention Linux
19238 kernel version for which pt_chown is not needed.
19239 (Linux): Do not mention problems with nscd with 2.0 kernels.
19240 * INSTALL: Regenerated.
19242 2012-05-23 Andreas Jaeger <aj@suse.de>
19244 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19245 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19247 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19248 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19249 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19250 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19251 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19252 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19253 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19254 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19255 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19256 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19257 * sysdeps/unix/sysv/linux/bits/in.h
19258 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19260 2012-05-22 Roland McGrath <roland@hack.frob.com>
19262 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19263 (PREPARE_VERSION): Just use assert instead, it will be elided
19264 under [NDEBUG] anyway.
19266 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19268 * sysdeps/unix/sysv/linux/Makefile: Include
19269 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19270 (sysdep_routines): Remove sysctl.
19271 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19272 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19273 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19274 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19275 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19277 2012-05-22 Andreas Jaeger <aj@suse.de>
19279 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19280 that pseudo_end is just ret and the stack pointer is correct also
19281 for static library in error case.
19283 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19286 * nss/nsswitch.c (defconfig_entries): New variable.
19287 (__nss_database_lookup): Don't leak defconfig entries.
19288 (nss_parse_service_list): Don't leak on error paths.
19289 (free_database_entries): New function.
19290 (free_defconfig): New function.
19291 (free_mem): Move common code to free_database_entries.
19293 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19295 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19297 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19299 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19300 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19303 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19304 (INTERNAL_SYSCALL_TYPES): Likewise.
19305 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19306 (LOAD_REGS_TYPES_[1-6]): Likewise.
19307 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19308 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19310 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19312 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19313 copysignl for GLIBC_2_0.
19314 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19315 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19317 logbl for GLIBC_2_0.
19318 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19319 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19321 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19324 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19326 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19329 * time/mktime.c: Update copyright years.
19331 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19333 mktime: merge comment-quoting-style change from gnulib
19334 * time/mktime.c: Quote 'like this' in comments.
19335 The GNU coding standards suggest that we no longer quote `like this',
19336 as "`" and "'" are typically rendered asymmetrically nowadays.
19337 The typical gnulib style is to quote 'like this' when quoting
19338 code, and "like this" when quoting English.
19340 * time/mktime.c (compile-command): Add "-I.".
19342 mktime: merge mktime-internal.h change from gnulib
19343 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19345 mktime: merge time_r change from gnulib
19346 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19348 mktime: merge DEBUG change from gnulib
19349 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19350 case system <time.h> has a #define.
19352 mktime: merge <sys/types.h> change from gnulib
19353 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19354 since <time.t> is now guaranteed to define time_t.
19356 mktime: merge HAVE_CONFIG_H change from gnulib
19357 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19359 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19364 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19366 (struct rusage): Use anonymous union to pad each field to
19369 2012-05-21 David S. Miller <davem@davemloft.net>
19371 * Makefules (o-iterator): Remove .s cases.
19372 (compile-command.s): Delete.
19373 (COMPILE.s): Delete.
19374 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19376 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19378 * configure.in (libc_cv_predef_stack_protector): Only consider
19379 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19380 * configure: Regenerated.
19382 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19385 New macro. Use R*LP on int and pointer.
19386 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19387 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19388 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19389 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19391 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19392 [__WORDSIZE_TIME64_COMPAT32] instead of
19393 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19394 (struct utmp): Likewise.
19395 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19396 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19398 (__WORDSIZE_TIME64_COMPAT32): This.
19399 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19400 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19401 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19402 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19403 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19404 (__WORDSIZE_TIME64_COMPAT32): New macro.
19406 2012-05-21 Andreas Jaeger <aj@suse.de>
19408 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19409 only if [SHARED]. Add prototype for __wcschr_ia32.
19411 2012-05-21 Roland McGrath <roland@hack.frob.com>
19413 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19414 of %rbp unmolested in the jmp_buf while mangling the low bits.
19415 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19416 unmolested high bits of %rbp while demangling the low bits.
19417 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19419 2012-05-21 Andreas Jaeger <aj@suse.de>
19421 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19422 * sunrpc/svc_simple.c: Use it for registerrpc.
19423 * sunrpc/xcrypt.c: Use it for passwd2des.
19425 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19427 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19429 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19430 Don't define if [__SYSCALL_WORDSIZE != 32].
19431 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19434 2012-05-21 Bruno Haible <bruno@clisp.org>
19435 Andreas Jaeger <aj@suse.de>
19437 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19438 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19439 inptr and inend for must_buffer_ch.
19440 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19441 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19442 * stdio-common/Makefile (tests): Remove bug15.
19443 (bug15-ENV): Remove macro.
19444 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19447 2012-05-19 Andreas Jaeger <aj@suse.de>
19448 Roland McGrath <roland@hack.frob.com>
19450 * manual/contrib.texi: Completely rewritten. It contains now an
19451 alphabetical list of contributors and their contributions.
19453 2012-05-21 Richard Henderson <rth@twiddle.net>
19455 * misc/getauxval.c (__getauxval): Use unsigned long int.
19456 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19457 (getauxval): Use unsigned long int.
19459 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19461 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19463 2012-05-21 Roland McGrath <roland@hack.frob.com>
19465 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19466 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19467 __alignof__ (long double).
19469 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19473 2012-05-20 Richard Henderson <rth@twiddle.net>
19475 * misc/getauxval.c: New file.
19476 * misc/sys/auxv.h: New file.
19477 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19478 (routines): Add getauxval.
19479 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19480 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19481 * elf/dl-sysdep.c (_dl_auxv): Remove.
19482 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19483 * elf/dl-support.c (_dl_auxv): New variable.
19484 (_dl_aux_init): Initialize it.
19485 * manual/startup.texi (Auxiliary Vector): New node.
19486 * sysdeps/generic/bits/hwcap.h: New file.
19487 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19488 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19489 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19490 * sysdeps/sparc/sysdep.h: ... here. Include it.
19491 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19492 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19504 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19508 2012-05-19 David S. Miller <davem@davemloft.net>
19510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19512 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19515 * math/s_ccosh.c: Include <float.h>
19516 (__ccosh): Avoid internal overflow calculating sinh and cosh
19517 values before multiplying by sin and cos values.
19518 * math/s_ccoshf.c: Likewise.
19519 * math/s_ccoshl.c: Likewise.
19520 * math/s_csin.c: Likewise.
19521 * math/s_csinf.c: Likewise.
19522 * math/s_csinl.c: Likewise.
19523 * math/s_csinh.c: Likewise.
19524 * math/s_csinhf.c: Likewise.
19525 * math/s_csinhl.c: Likewise.
19526 * math/libm-test.inc (ccos_test): Add more tests.
19527 (ccosh_test): Likewise.
19528 (csin_test): Likewise.
19529 (csinh_test): Likewise.
19530 * sysdeps/i386/fpu/libm-test-ulps: Update.
19531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19533 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19535 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19536 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19538 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19540 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19542 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19543 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19544 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19545 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19546 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19547 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19548 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19549 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19550 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19551 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19552 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19553 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19554 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19555 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19556 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19557 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19558 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19559 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19560 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19561 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19562 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19563 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19564 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19565 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19566 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19567 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19568 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19569 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19570 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19571 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19572 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19574 2012-05-18 Andreas Jaeger <aj@suse.de>
19576 * csu/.gitignore: Delete.
19578 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19580 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19581 (timex): Use __syscall_slong_t.
19583 2012-05-18 Andreas Jaeger <aj@suse.de>
19584 Carlos O'Donell <carlos_odonell@mentor.com>
19586 * manual/install.texi (Configuring and compiling): Update
19587 description about files modified in the source directory.
19588 * INSTALL: Regenerated.
19590 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19592 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19593 value. Use "or" to set return value to -1.
19594 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19595 negate return value.
19597 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19599 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19600 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19601 failure if the compiler has Graphite support disabled.
19602 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19604 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19605 CFLAGS-memmove.c): Likewise.
19606 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19609 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19611 * sysdeps/x86_64/x32/_itoa.h: New file.
19613 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19614 getdents system call only if kernel and user dirents have the
19615 same d_ino and d_off.
19617 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19618 LLONG_MAX != LONG_MAX.
19619 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19620 (_fitoa_word): Likewise.
19622 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19624 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19625 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19626 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19628 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19629 include <bits/wordsize.h>. Check __x86_64__ instead of
19631 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19632 if __x86_64__ is defined. Use anonymous union on fpstate.
19634 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19637 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19639 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19640 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19641 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19642 Refer to _rtld_local_ro instead of _rtld_global_ro.
19643 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19645 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19647 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19649 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19650 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19651 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19653 * sysdeps/powerpc/powerpc32/dl-machine.c
19654 (__elf_machine_runtime_setup) [PROF]: Don't reference
19657 2012-05-18 Andreas Jaeger <aj@suse.de>
19659 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19660 function only available for GCCs before 3.4 since GCC 3.4
19661 introduced a builtin.
19663 (llrintf): Likewise.
19664 (llrint): Likewise.
19671 (nearbyint): Likewise.
19672 (nearbyintf): Likewise.
19676 (floorf): Likewise.
19678 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19680 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19681 on both fields and cast pointer to __syscall_ulong_t.
19683 * bits/types.h (__fsword_t): New type.
19684 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19685 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19687 (__FSWORD_T_TYPE): Likewise.
19688 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19689 (__FSWORD_T_TYPE): Likewise.
19690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19691 (__FSWORD_T_TYPE): Likewise.
19692 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19693 (__FSWORD_T_TYPE): Likewise.
19694 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19695 __SWORD_TYPE with __fsword_t.
19696 (statfs64): Likewise.
19698 2012-05-17 David S. Miller <davem@davemloft.net>
19700 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19702 2012-05-17 Andreas Jaeger <aj@suse.de>
19704 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19707 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19709 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19711 2012-05-17 Andreas Jaeger <aj@suse.de>
19713 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19716 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19718 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19720 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19722 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19723 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19725 2012-05-17 Andreas Jaeger <aj@suse.de>
19726 Carlos O'Donell <carlos_odonell@mentor.com>
19729 * sysdeps/x86_64/multiarch/init-arch.h
19730 (bit_YMM_Usable): Rename to...
19731 (bit_AVX_Usable): ... this.
19732 (bit_FMA4_Usable): New macro.
19733 (bit_XMM_state): New macro.
19734 (bit_YMM_state): New macro.
19735 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19736 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19737 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19738 (CPUID_OSXSAVE): New macro.
19739 (CPUID_AVX): New macro.
19740 (CPUID_FMA4): New macro.
19741 (index_YMM_Usable): Rename to...
19742 (index_AVX_Usable): ... this.
19743 (HAS_AVX): Use HAS_ARCH_FEATURE.
19744 (HAS_FMA4): Likewise.
19745 (HAS_YMM_USABLE): Remove.
19746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19747 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19749 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19750 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19751 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19752 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19753 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19755 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19757 * math/libm-test.c: Support platforms without multiple rounding modes.
19758 * math/bug-nextafter.c: Support platforms without FP exceptions.
19759 * math/bug-nexttoward.c: Likewise.
19760 * math/test-fenv.c: Likewise.
19761 * math/test-misc.c: Likewise.
19762 * stdlib/bug-getcontext.c: Likewise.
19764 2012-05-17 Andreas Jaeger <aj@suse.de>
19766 * manual/examples/search.c (critter_cmp): Change signature to
19768 * manual/string.texi (Collation Functions): Likewise.
19770 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19772 * bits/types.h: Fold copyright years.
19773 * bits/typesizes.h: Likewise.
19774 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19775 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19776 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19777 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19778 * time/time.h: Likewise.
19780 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19783 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19784 in instead of returning them. Return void.
19785 (__libc_mallinfo): Accumulate over all arenas.
19786 (__malloc_stats): Adjust for change in int_mallinfo interface.
19788 2012-05-16 Roland McGrath <roland@hack.frob.com>
19791 * configure.in (NM): Add AC_CHECK_TOOL for it.
19792 (libc_extra_cflags): New substituted variable.
19793 Check for -fstack-protector being used implicitly.
19794 * configure: Regenerated.
19795 * config.make.in (config-extra-cflags): New variable,
19796 gets @libc_extra_cflags@.
19797 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19800 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19801 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19802 * configure: Regenerated.
19803 * config.make.in (CPPUNDEFS): New substituted variable.
19804 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19805 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19806 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19808 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19810 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19811 (mq_attr): Use __syscall_slong_t.
19813 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19815 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19816 Check __x86_64__ instead of __WORDSIZE.
19817 (_STAT_VER_LINUX): Likewise.
19818 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19819 __syscall_ulong_t and __syscall_slong_t.
19820 (stat64): Likewise.
19822 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19824 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19826 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19828 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19830 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19832 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19835 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19836 include <bits/wordsize.h>. Check __x86_64__ instead of
19838 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19840 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19842 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19843 include <bits/wordsize.h>. Check __x86_64__ instead of
19845 (user_regs_struct): Use "__extension__ unsigned long long"
19846 instead of "unsigned long" if __x86_64__ is defined.
19847 (user): Likewise. Pad after pointer field if __ILP32__ is
19850 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19852 * configure.in (makeinfo): Require version 4.5 or later. Allow
19854 * configure: Regenerated.
19855 * manual/install.texi (texinfo): Increase version requirement to
19857 * INSTALL: Regenerated.
19859 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19861 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19863 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19865 * sysdeps/x86_64/x32/ffs.c: New file.
19867 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19869 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19870 defined. Use __syscall_ulong_t.
19871 (shminfo): Use __syscall_ulong_t.
19872 (shm_info): Likewise.
19874 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19877 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19879 (msgqnum_t): Use __syscall_ulong_t.
19880 (msglen_t): Likewise.
19881 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19884 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19885 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19887 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19889 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19890 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19892 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19895 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19896 include <bits/wordsize.h>. Check __x86_64__ instead of
19899 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19900 "unsigned long long int" if __x86_64__ is defined.
19901 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19903 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19904 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19905 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19907 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19909 (GET_PC): Cast to uintptr_t first.
19910 (GET_FRAME): Likewise.
19911 (GET_STACK): Likewise.
19913 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19914 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19915 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19916 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19917 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19918 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19919 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19920 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19921 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19922 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19923 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19924 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19925 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19926 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19927 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19928 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19929 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19930 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19931 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19932 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19933 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19934 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19935 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19936 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19937 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19938 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19939 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19940 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19941 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19943 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19945 * Makerules (+depfiles): Also collect depfiles from .oS in
19947 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19948 .oS, $(libnldbl-routines)).
19950 * Makerules (native-compile-mkdep-flags): Define.
19951 * sunrpc/Makefile (extra-objs): Add $(addprefix
19952 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19953 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19954 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19955 calling $(make-target-directory).
19957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19959 * bits/types.h (__snseconds_t): Removed.
19960 * time/time.h (struct timespec): Replace __snseconds_t with
19962 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19963 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19965 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19966 (__SNSECONDS_T_TYPE): Likewise.
19967 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19968 (__SNSECONDS_T_TYPE): Likewise.
19969 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19970 (__SNSECONDS_T_TYPE): Likewise.
19972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19974 * sysdeps/mach/hurd/bits/typesizes.h
19975 (__SYSCALL_SLONG_TYPE): New macro.
19976 (__SYSCALL_ULONG_TYPE): Likewise.
19978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19980 * bits/types.h (__syscall_slong_t): New type.
19981 (__syscall_ulong_t): Likewise.
19983 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19984 (__SYSCALL_ULONG_TYPE): Likewise.
19985 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19986 (__SYSCALL_SLONG_TYPE): Likewise.
19987 (__SYSCALL_ULONG_TYPE): Likewise.
19988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19989 (__SYSCALL_SLONG_TYPE): Likewise.
19990 (__SYSCALL_ULONG_TYPE): Likewise.
19991 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19992 (__SYSCALL_SLONG_TYPE): Likewise.
19993 (__SYSCALL_ULONG_TYPE): Likewise.
19995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19997 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19998 Add sigaltstack-offsets.sym.
19999 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20000 <sigaltstack-offsets.h>.
20001 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20002 longjmp_msg pointer.
20003 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20004 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20006 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20008 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20010 * elf/stackguard-macros.h: Remove file.
20011 * sysdeps/generic/stackguard-macros.h: New file.
20012 * sysdeps/i386/stackguard-macros.h: Likewise.
20013 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20014 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20015 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20016 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20017 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20018 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20019 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20020 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20021 <elf/stackguard-macros.h>.
20024 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20025 __aligned__ in attribute.
20026 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20027 (gregset_t): Likewise.
20029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20031 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20032 * sysdeps/x86_64/64/Implies-after: Here. New file.
20033 * sysdeps/x86_64/x32/Implies-after: New file.
20035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20037 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20038 and access return value for _dl_profile_fixup. Use R10_LP to
20041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20043 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20047 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20048 * sysdeps/x86_64/x32/sysdep.h: New file.
20050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20052 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20053 * sysdeps/x86_64/setjmp.S: Likewise.
20055 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20057 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20058 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20059 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20060 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20061 remove unused global constant.
20063 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20065 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20066 include of <not-cancel.h>.
20068 2012-05-15 Roland McGrath <roland@hack.frob.com>
20070 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20072 2012-05-15 Jeff Law <law@redhat.com>
20073 Andreas Jaeger <aj@suse.de>
20076 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20078 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20079 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20080 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20081 code changing __hst_map_handle.map.
20083 2012-05-15 Roland McGrath <roland@hack.frob.com>
20085 * configure.in (sysnames): Look for Implies-before and Implies-after
20087 * configure: Regenerated.
20089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20091 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20092 8-byte data alignment with LP_SIZE alignment.
20094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20096 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20101 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20105 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20106 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20107 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20109 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20113 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20114 (stackinfo_sub_sp): Likewise.
20116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20118 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20123 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20128 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20133 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20135 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20137 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20138 into R11_LP and load __x86_64_shared_cache_size_half into
20141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20143 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20146 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20154 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20155 powerpc32/power7/fpu/s_logb.c via #include.
20156 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20157 powerpc32/power7/fpu/s_logbf.c via #include.
20158 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20159 powerpc32/power7/fpu/s_logbl.c via #include.
20161 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20163 * README.libm: Remove file.
20165 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20167 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20168 count for x32. Use R*_LP and omit operand-size suffix.
20170 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20172 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20173 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20174 * sysdeps/x86_64/x32/shlib-versions: New file.
20176 2012-05-14 Roland McGrath <roland@hack.frob.com>
20178 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20179 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20180 Use _dl_fatal_printf instead.
20182 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20184 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20185 set if not set by the user. Do not allow for being unset.
20186 * sysdeps/unix/sysv/linux/configure: Regenerated.
20188 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20190 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20191 the `q' suffix from lea and replace .quad with ASM_ADDR.
20193 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20196 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20198 (PTR_DEMANGLE): Likewise.
20200 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20202 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20204 (ASM_ADDR): Likewise.
20205 (RAX_LP): Likewise.
20206 (RBP_LP): Likewise.
20207 (RBX_LP): Likewise.
20208 (RCX_LP): Likewise.
20209 (RDI_LP): Likewise.
20210 (RSI_LP): Likewise.
20211 (RSP_LP): Likewise.
20214 (R10_LP): Likewise.
20215 (R10_LP): Likewise.
20216 (R11_LP): Likewise.
20217 (R12_LP): Likewise.
20218 (R13_LP): Likewise.
20219 (R14_LP): Likewise.
20220 (R15_LP): Likewise.
20222 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20224 * sysdeps/x86_64/x32/dl-machine.h: New file.
20226 2012-05-14 Andreas Jaeger <aj@suse.de>
20228 * manual/Makefile (subdir): Remove export of subdir.
20229 (all): Remove target.
20230 (.PHONY): Remove all from list.
20231 (mkinstalldirs): Remove.
20232 (.PHONY): Remove installdirs from list.
20233 ($(inst_infodir)/libc.info): Use make-target-directory.
20234 (installdirs): Remove.
20235 (subdir_%): Remove.
20236 (glibc-targets): Remove.
20239 ($(objpfx)stubs ../po/manual.pot): Remove.
20240 ($(objpfx)stamp%): Remove.
20241 (make-target-directory): Remove.
20242 (subdir_install): Remove.
20243 (routines): Remove.
20250 * manual/.gitignore: Remove, it's not needed anymore.
20251 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20253 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20255 (texis): Renamed to $(objpfx)texis.
20256 (texis-path): New, contains path to generated files.
20257 (chapters.%): Use texis-path for complete path, add extra argument
20259 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20260 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20261 (summary,texi, stamp-summary): Use complete path of
20262 files. Generate files in build dir.
20263 (dir-add.texi): Build in build dir.
20264 (libm-err.texi,stamp-libm-err): Likewise.
20265 (version.texi, stamp-version): Likewise.
20266 (.%c.texi): Likewise.
20267 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20268 (mostlyclean): Remove target.
20269 (realclean): Remove target.
20270 (generated): Add new variable with contents from mostlyclean and
20271 realclean, remove entries duplicated in common-mostlyclean, add
20272 stamp-libm-err and stamp-version.
20273 (generated-dirs): Add libc directory.
20274 ($(inst_infodir)/libc.info): Install files from build dir.
20276 * manual/install.texi (Configuring and compiling): Adjust since
20277 the info files are not part of the tar ball anymore.
20279 2012-05-14 Andreas Jaeger <aj@suse.de>
20281 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20284 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20287 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20288 to 2.2.0 where earlier.
20289 * sysdeps/unix/sysv/linux/configure: Regenerated.
20290 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20291 Remove conditional code.
20292 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20293 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20294 Remove conditional code.
20295 [!__NR_lchown]: Likewise.
20296 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20297 [__NR_lchown]: Likewise.
20298 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20299 comment referencing __ASSUME_LCHOWN_SYSCALL.
20300 * sysdeps/unix/sysv/linux/i386/sigaction.c
20301 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20302 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20303 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20304 Remove conditional code.
20305 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20306 (__protocol_available): Remove #if 0 code.
20307 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20309 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20310 * sysdeps/unix/sysv/linux/kernel-features.h
20311 (__ASSUME_GETCWD_SYSCALL): Don't define.
20312 (__ASSUME_REALTIME_SIGNALS): Likewise.
20313 (__ASSUME_PREAD_SYSCALL): Likewise.
20314 (__ASSUME_PWRITE_SYSCALL): Likewise.
20315 (__ASSUME_POLL_SYSCALL): Likewise.
20316 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20317 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20319 (__ASSUME_SIOCGIFNAME): Don't define.
20320 (__ASSUME_MSG_NOSIGNAL): Likewise.
20321 (__ASSUME_SENDFILE): Define unconditionally.
20322 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20323 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20325 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20326 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20327 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20328 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20329 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20330 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20331 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20333 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20334 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20336 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20339 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20342 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20345 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20348 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20351 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20354 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20356 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20357 Remove conditional code.
20358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20359 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20360 Remove conditional code.
20361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20362 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20363 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20364 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20365 Remove conditional code.
20366 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20367 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20368 Remove conditional code.
20369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20370 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20371 Remove conditional code.
20372 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20373 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20374 Remove conditional code.
20375 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20376 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20377 Remove conditional code.
20378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20379 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20380 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20382 * sysdeps/unix/sysv/linux/sigaction.c
20383 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20384 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20385 * sysdeps/unix/sysv/linux/sigpending.c
20386 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20387 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20388 * sysdeps/unix/sysv/linux/sigprocmask.c
20389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20391 * sysdeps/unix/sysv/linux/sigsuspend.c
20392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20394 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20395 (__libc_missing_rt_sigs): Remove.
20396 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20397 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20398 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20399 Remove conditional code.
20400 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20401 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20403 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20404 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20405 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20406 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20408 2012-05-14 Andreas Jaeger <aj@suse.de>
20410 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20411 it's not used in glibc.
20412 (__coshm1): Likewise.
20413 (__acosh1p): Likewise.
20416 * manual/string.texi (Copying and Concatenation): Add missing
20417 variable in concat example.
20418 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20420 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20424 __builtin_clzl with __builtin_clzll.
20426 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20429 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20432 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20434 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20435 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20436 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20437 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20439 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20441 * NEWS: Update ia64 info.
20443 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20445 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20448 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20450 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20451 * sysdeps/unix/syscalls.list (dup3): Likewise.
20452 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20453 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20455 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20457 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20458 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20460 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20462 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20464 (TLS_IE): Use mov/add instead of movq/addq to load thread
20466 (TLS_GD_PREFIX): New.
20469 2012-05-11 David S. Miller <davem@davemloft.net>
20471 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20472 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20473 (_FPU_SETCW): Likewise.
20475 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20477 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20478 is 32-byte aligned.
20480 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20483 * iconvdata/gb18030.c: Update tables.
20484 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20485 characters specially.
20486 (BODY for TO_LOOP): Add encoding of missing ranges.
20488 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20491 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20492 * sysdeps/mach/hurd/dup3.c: Likewise.
20493 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20494 * sysdeps/powerpc/memmove.c:: Likewise.
20496 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20498 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20499 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20501 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20503 * elf/elf.h (R_X86_64_RELATIVE64): New.
20504 (R_X86_64_NUM): Updated.
20505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20506 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20507 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20508 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20509 tst-quad1pie tst-quad2pie
20510 (modules-names): Add tst-quadmod1 tst-quadmod2.
20511 ($(objpfx)tst-quad1): New dependency.
20512 ($(objpfx)tst-quad2): Likewise.
20513 ($(objpfx)tst-quad1pie): Likewise.
20514 ($(objpfx)tst-quad2pie): Likewise.
20515 * sysdeps/x86_64/tst-quad1.c: New file.
20516 * sysdeps/x86_64/tst-quad1pie.c: New file.
20517 * sysdeps/x86_64/tst-quad2.c: Likewise.
20518 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20519 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20520 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20521 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20522 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20526 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20527 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20528 * streams/stropts.h (t_scalar_t): Define type.
20530 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20531 (_PATH_PRESERVE): Set to "/var/lib".
20532 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20534 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20537 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20538 if __dir_mkfile succeeded.
20540 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20541 checking for _hurd_dtablesize. Unlock it right after having
20542 finished _hurd_dtable allocation.
20544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20546 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20547 * sysdeps/mach/hurd/configure: Regenerated.
20548 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20549 special-casing to...
20550 * sysdeps/gnu/configure.in: ... this new file.
20551 * sysdeps/unix/sysv/linux/configure: Regenerated.
20552 * sysdeps/gnu/configure: New generated file.
20554 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20555 for Linux: use nsec instead of usec, as well as:
20556 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20557 members of type struct timespec.
20558 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20560 (struct stat64): Likewise.
20561 (_STATBUF_ST_NSEC): New macro.
20562 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20564 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20565 __strtoul_internal rather than strtoul.
20567 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20569 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20572 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20574 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20575 which preserves existing values.
20576 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20578 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20580 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20581 TIMEOUT values. Return EINVAL for NFDS values either negative or
20582 greater than FD_SETSIZE.
20584 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20586 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20587 allocated, call __vm_protect to finish enabling the existing space, and
20588 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20589 allocate the remainder.
20591 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20593 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20594 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20596 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20598 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20599 sysdeps/mach/hurd/readlink.c.
20601 * posix/tst-sysconf.c (posix_options): Only use
20602 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20603 _POSIX_SYNCHRONIZED_IO when they are defined
20604 * sysdeps/mach/hurd/bits/posix_opt.h:
20605 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20606 (_XOPEN_REALTIME): Undefine macro.
20607 (_XOPEN_REALTIME_THREADS): Undefine macro.
20608 (_XOPEN_SHM): Undefine macro.
20609 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20611 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20613 (_POSIX_ASYNC_IO): Undefine macro.
20614 (_POSIX_PRIORITIZED_IO): Undefine macro.
20615 (_POSIX_SPIN_LOCKS): Define macro to -1.
20617 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20618 SA_NODEFER, SA_RESETHAND.
20619 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20620 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20623 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20625 * elf/Makefile (pldd-modules): Define unconditionally.
20627 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20629 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20633 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20634 Return ENOENT when name is empty.
20635 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20637 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20639 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20641 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20645 Fix mlock in all cases except non-readable pages.
20646 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20647 instead of VM_PROT_ALL as parameter to __vm_wire function.
20649 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20650 (__mkdir): When path is `/', just fail with EEXIST.
20651 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20655 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20656 <sys/uio.h> (for writev).
20657 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20658 and <sys/param.h> (for MIN).
20660 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20662 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20663 REQUESTED_TIME. Properly set the remaining time and return EINTR
20666 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20668 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20669 Depend on against $(link-rpcuserlibs).
20671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20673 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20674 (__libc_stack_end): Do not use attribute_relro.
20675 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20676 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20677 to libthread-provided value.
20678 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20681 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20684 * bits/libc-lock.h (__libc_once_get): New macro.
20685 * sysdeps/mach/bits/libc-lock.h: Likewise.
20686 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20687 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20688 instead of using implementation details.
20690 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20691 * libio/freopen.c: Likewise.
20692 * libio/freopen64.c: Likewise.
20693 * misc/syslog.c: Likewise.
20694 * nscd/connections.c: Likewise.
20695 * nscd/netgroupcache.c: Likewise.
20696 * sysdeps/posix/getcwd.c: Likewise.
20698 2012-05-10 Roland McGrath <roland@hack.frob.com>
20700 * math/w_ilogbf.c: Add #include <limits.h>.
20702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20704 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20705 path instead of returning without unlocking.
20707 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20708 immediate-write ioctls.
20709 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20711 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20713 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20714 __builtin_frame_address instead of making assumptions about the
20715 location of the return address relative to DATA. Force early load of
20716 the return address.
20717 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20718 __builtin_frame_address.
20721 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20722 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20723 implement dup3 and do some further code clean-ups.
20724 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20725 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20727 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20729 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20731 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20732 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20733 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20734 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20735 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20738 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20739 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20740 when handler == SIG_ERR, not when handler != SIG_ERR.
20742 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20744 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20745 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20748 accept4 for GNU Hurd.
20749 * include/sys/socket.h (__libc_accept4): New prototype.
20750 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20751 to implement __libc_accept4.
20752 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20754 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20756 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20757 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20758 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20759 signal-defines.sym.
20761 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20763 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20765 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20767 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20768 assertion on O_CLOEXEC flag.
20769 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20770 * hurd/intern-fd.c: Likewise.
20771 * hurd/port2fd.c: Likewise.
20773 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20776 * bits/in.h (IPV6_PKTINFO): Define new macro.
20777 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20779 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20784 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20785 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20786 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20787 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20788 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20789 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20790 * math/libm-test.inc (logb_test) : Additional logb tests.
20792 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20793 Andreas Jaeger <aj@suse.de>
20795 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20796 * configure: Regenerated.
20797 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20798 * config.make.in (link-obsolete-rpc): New substituted variable.
20799 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20800 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20801 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20802 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20803 so that libc.a contains the symbols.
20804 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20805 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20806 * sunrpc/auth_none.c: Likewise.
20807 * sunrpc/auth_unix.c: Likewise.
20808 * sunrpc/authdes_prot.c: Likewise.
20809 * sunrpc/authuxprot.c: Likewise.
20810 * sunrpc/clnt_gen.c: Likewise.
20811 * sunrpc/clnt_perr.c: Likewise.
20812 * sunrpc/clnt_raw.c: Likewise.
20813 * sunrpc/clnt_simp.c: Likewise.
20814 * sunrpc/clnt_tcp.c: Likewise.
20815 * sunrpc/clnt_udp.c: Likewise.
20816 * sunrpc/clnt_unix.c: Likewise.
20817 * sunrpc/des_crypt.c: Likewise.
20818 * sunrpc/des_soft.c: Likewise.
20819 * sunrpc/get_myaddr.c: Likewise.
20820 * sunrpc/key_call.c: Likewise.
20821 * sunrpc/key_prot.c: Likewise.
20822 * sunrpc/netname.c: Likewise.
20823 * sunrpc/pm_getmaps.c: Likewise.
20824 * sunrpc/pm_getport.c: Likewise.
20825 * sunrpc/pmap_clnt.c: Likewise.
20826 * sunrpc/pmap_prot.c: Likewise.
20827 * sunrpc/pmap_prot2.c: Likewise.
20828 * sunrpc/pmap_rmt.c: Likewise.
20829 * sunrpc/publickey.c: Likewise.
20830 * sunrpc/rpc_cmsg.c: Likewise.
20831 * sunrpc/rpc_common.c: Likewise.
20832 * sunrpc/rpc_dtable.c: Likewise.
20833 * sunrpc/rpc_prot.c: Likewise.
20834 * sunrpc/rpc_thread.c: Likewise.
20835 * sunrpc/rtime.c: Likewise.
20836 * sunrpc/svc.c: Likewise.
20837 * sunrpc/svc_auth.c: Likewise.
20838 * sunrpc/svc_raw.c: Likewise.
20839 * sunrpc/svc_run.c: Likewise.
20840 * sunrpc/svc_tcp.c: Likewise.
20841 * sunrpc/svc_udp.c: Likewise.
20842 * sunrpc/svc_unix.c: Likewise.
20843 * sunrpc/svcauth_des.c: Likewise.
20844 * sunrpc/xcrypt.c: Likewise.
20845 * sunrpc/xdr.c: Likewise.
20846 * sunrpc/xdr_array.c: Likewise.
20847 * sunrpc/xdr_float.c: Likewise.
20848 * sunrpc/xdr_intXX_t.c: Likewise.
20849 * sunrpc/xdr_mem.c: Likewise.
20850 * sunrpc/xdr_rec.c: Likewise.
20851 * sunrpc/xdr_ref.c: Likewise.
20852 * sunrpc/xdr_sizeof.c: Likewise.
20853 * sunrpc/xdr_stdio.c: Likewise.
20855 2012-05-10 Roland McGrath <roland@hack.frob.com>
20857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20858 change. Update copyright years.
20860 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20862 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20864 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20865 Joseph Myers <joseph@codesourcery.com>
20866 Paul Pluzhnikov <ppluzhnikov@google.com>
20869 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20871 [cross-compiling] (extra-libs): Likewise.
20872 [cross-compiling] (extra-libs-others): Likewise.
20873 [cross-compiling] (librpcsvc-routines): Likewise.
20874 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20875 [cross-compiling] (omit-deps): Likewise.
20876 (sunrpc-CPPFLAGS): New variable.
20877 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20878 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20879 (cross-rpcgen-objs): New variable.
20880 (extra-objs): Append $(cross-rpcgen-objs).
20881 ($(cross-rpcgen-objs)): New rule.
20882 ($(objpfx)cross-rpcgen): Likewise.
20883 (rpcgen-cmd): Define to use $(built-program-file). Expand
20885 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20886 ($(objpfx)x%.stmp): Likewise.
20887 * sunrpc/proto.h [IS_IN_build] (_): Define.
20888 [IS_IN_build] (_libc_intl_domainname): Likewise.
20890 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20892 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20893 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20894 and R_X86_64_TPOFF64.
20896 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20898 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20899 sysdeps/unix/sysv/syscalls.list.
20902 * sysdeps/unix/sysv/syscalls.list: Remove file.
20904 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20907 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20908 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20909 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20910 (__LC_IDENTIFICATION): Make these macros useful in #if
20911 expressions, as required by C99.
20913 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20915 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20916 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20919 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20921 * stdlib/longlong.h: Updated from GCC.
20923 2012-05-09 Andreas Jaeger <aj@suse.de>
20925 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20926 default is first entry.
20927 (run_mode): Set type.
20928 (main): Remove informal message about syslog.
20929 (options): Fix typo.
20932 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20935 (llrintf): Likewise.
20936 (llrint): Likewise.
20939 (nearbyint): Likewise.
20940 (nearbyintf): Likewise.
20942 2012-05-09 Andreas Jaeger <aj@suse.de>
20943 Pedro Alves <palves@redhat.com>
20945 * nscd/nscd.c (run_mode): Use enum.
20946 (main): Cleanup coding style issue.
20948 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20949 Andreas Jaeger <aj@suse.de>
20951 * nscd/nscd.c (go_background): Replaced with...
20952 (run_mode): ... this.
20953 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20954 (options): Add -F --foreground.
20955 (main): Implement it.
20956 (parse_opt): Parse it.
20958 2012-05-09 Andreas Jaeger <aj@suse.de>
20961 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20962 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20963 -Wconversion warning.
20964 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20967 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20969 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20971 (LC_ALL): Use macro-int-constant.
20972 (LC_COLLATE): Likewise.
20973 (LC_CTYPE): Likewise.
20974 (LC_MESSAGES): Likewise.
20975 (LC_MONETARY): Likewise.
20976 (LC_NUMERIC): Likewise.
20977 (LC_TIME): Likewise.
20978 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20979 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20980 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20981 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20983 [C99-based standards] (float_t): Expect type.
20984 [C99-based standards] (double_t): Expect type.
20985 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20987 [C99-based standards] (HUGE_VALL): Likewise.
20988 [C99-based standards] (INFINITY): Likewise.
20989 [C99-based standards] (NAN): Likewise.
20990 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20991 [C99-based standards] (FP_NAN): Likewise.
20992 [C99-based standards] (FP_NORMAL): Likewise.
20993 [C99-based standards] (FP_SUBNORMAL): Likewise.
20994 [C99-based standards] (FP_ZERO): Likewise.
20995 [C99-based standards] (FP_FAST_FMA): Use
20996 optional-macro-int-constant. Specify type. Require == 1.
20997 [C99-based standards] (FP_FAST_FMAF): Likewise.
20998 [C99-based standards] (FP_FAST_FMAL): Likewise.
20999 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21000 [C99-based standards] (FP_ILOGBNAN): Likewise.
21001 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21003 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21004 [C99-based standards] (math_errhandling): Specify type.
21005 [ISO99 || ISO11] (signgam): Do not allow.
21006 [non-C99-based standards] (copysignf): Do not allow.
21007 [non-C99-based standards] (exp2f): Likewise.
21008 [non-C99-based standards] (log2f): Likewise.
21009 [non-C99-based standards] (modff): Allow.
21010 [non-C99-based standards] (erff): Do not allow.
21011 [non-C99-based standards] (erfcf): Likewise.
21012 [non-C99-based standards] (gammaf): Likewise.
21013 [non-C99-based standards] (hypotf): Likewise.
21014 [non-C99-based standards] (j0f): Likewise.
21015 [non-C99-based standards] (j1f): Likewise.
21016 [non-C99-based standards] (jnf): Likewise.
21017 [non-C99-based standards] (lgammaf): Likewise.
21018 [non-C99-based standards] (tgammaf): Likewise.
21019 [non-C99-based standards] (y0f): Likewise.
21020 [non-C99-based standards] (y1f): Likewise.
21021 [non-C99-based standards] (ynf): Likewise.
21022 [non-C99-based standards] (isnanf): Likewise.
21023 [non-C99-based standards] (acoshf): Likewise.
21024 [non-C99-based standards] (asinhf): Likewise.
21025 [non-C99-based standards] (atanhf): Likewise.
21026 [non-C99-based standards] (cbrtf): Likewise.
21027 [non-C99-based standards] (expm1f): Likewise.
21028 [non-C99-based standards] (ilogbf): Likewise.
21029 [non-C99-based standards] (log1pf): Likewise.
21030 [non-C99-based standards] (logbf): Likewise.
21031 [non-C99-based standards] (nextafterf): Likewise.
21032 [non-C99-based standards] (remainderf): Likewise.
21033 [non-C99-based standards] (rintf): Likewise.
21034 [non-C99-based standards] (scalbf): Likewise.
21035 [non-C99-based standards] (copysignl): Likewise.
21036 [non-C99-based standards] (exp2l): Likewise.
21037 [non-C99-based standards] (log2l): Likewise.
21038 [non-C99-based standards] (modfl): Allow.
21039 [non-C99-based standards] (erfl): Do not allow.
21040 [non-C99-based standards] (erfcl): Likewise.
21041 [non-C99-based standards] (gammal): Likewise.
21042 [non-C99-based standards] (hypotl): Likewise.
21043 [non-C99-based standards] (j0l): Likewise.
21044 [non-C99-based standards] (j1l): Likewise.
21045 [non-C99-based standards] (jnl): Likewise.
21046 [non-C99-based standards] (lgammal): Likewise.
21047 [non-C99-based standards] (tgammal): Likewise.
21048 [non-C99-based standards] (y0l): Likewise.
21049 [non-C99-based standards] (y1l): Likewise.
21050 [non-C99-based standards] (ynl): Likewise.
21051 [non-C99-based standards] (isnanl): Likewise.
21052 [non-C99-based standards] (acoshl): Likewise.
21053 [non-C99-based standards] (asinhl): Likewise.
21054 [non-C99-based standards] (atanhl): Likewise.
21055 [non-C99-based standards] (cbrtl): Likewise.
21056 [non-C99-based standards] (expm1l): Likewise.
21057 [non-C99-based standards] (ilogbl): Likewise.
21058 [non-C99-based standards] (log1pl): Likewise.
21059 [non-C99-based standards] (logbl): Likewise.
21060 [non-C99-based standards] (nextafterl): Likewise.
21061 [non-C99-based standards] (remainderl): Likewise.
21062 [non-C99-based standards] (rintl): Likewise.
21063 [non-C99-based standards] (scalbl): Likewise.
21064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21065 [non-C99-based standards] (FP_*): Do not allow.
21066 [C99-based standards] (FP_*): Change to
21067 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21068 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21070 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21071 (SIG_ERR): Likewise.
21072 [X/Open-based standards] (SIG_HOLD): Likewise.
21073 (SIG_IGN): Likewise.
21074 (SIGABRT): Use macro-int-constant. Specify type. Require
21076 (SIGFPE): Likewise.
21077 (SIGILL): Likewise.
21078 (SIGINT): Likewise.
21079 (SIGSEGV): Likewise.
21080 (SIGTER): Likewise.
21081 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21082 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21083 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21084 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21085 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21086 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21087 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21088 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21089 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21090 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21091 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21092 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21093 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21094 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21095 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21096 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21097 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21098 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21099 [X/Open-based standards] (SIGTRAP): Likewise.
21100 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21101 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21102 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21103 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21104 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21107 2012-05-08 Ian Wienand <ianw@vmware.com>
21110 * time/tzset.c (__tzset_parse_tz): Update default rules for
21111 daylight time changes in the Energy Policy Act of 2005.
21113 2012-05-09 Andreas Jaeger <aj@suse.de>
21116 * elf/ldconfig.c (parse_conf): Change string to make clear that
21117 ldconfig only issued a warning if ld.so.conf does not exist.
21119 2012-05-08 David S. Miller <davem@davemloft.net>
21121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21122 movxtod instead of popping the value on the stack.
21124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21126 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21128 * config.h.in: Add HAVE_ARM_PCS_VFP.
21130 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21133 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21134 checking but the checks are disabled for any reason.
21136 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21138 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21139 and ELF64_R_TYPE with ELFW(R_TYPE).
21141 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21143 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21144 (ulimit): Likewise.
21146 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21147 (settimeofday): Likewise.
21149 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21151 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21152 a struct th_u2 inside the union, and move tu_block/tu_code into
21153 a new th_u3 union of tu_block/tu_code inside of that. Move
21154 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21155 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21156 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21157 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21158 (th_stuff): Change to th_u1.tu_stuff.
21160 (th_msg): Change to th_u1.th_u2.tu_data.
21162 2012-05-07 David S. Miller <davem@davemloft.net>
21164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21167 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21168 (SETUP_PIC_REG): Use it.
21169 (SETUP_PIC_REG_LEAF): Use it.
21171 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21175 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21177 (EXPL_FINITE): Likewise.
21178 (FLDLOG): Likewise.
21179 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21180 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21182 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21184 (EXPL_FINITE): Likewise.
21185 (FLDLOG): Likewise.
21186 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21187 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21189 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21190 test of -max_value argument for long double.
21191 * sysdeps/i386/fpu/libm-test-ulps: Update.
21192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21194 2012-05-06 David S. Miller <davem@davemloft.net>
21196 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21197 quad soft-float symbols whose references which are compiler
21199 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21201 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21205 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21207 (EXPL_FINITE): Likewise.
21208 (FLDLOG): Likewise.
21211 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21212 Adjust comments for base varying.
21213 (__expl_finite): Change alias to EXPL_FINITE.
21214 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21216 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21217 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21219 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21220 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21222 (EXPL_FINITE): Likewise.
21223 (FLDLOG): Likewise.
21226 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21227 Adjust comments for base varying.
21228 (__expl_finite): Change alias to EXPL_FINITE.
21229 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21234 * math/libm-test.inc (check_float_internal): Correct ulp
21235 calculation for subnormal expected results.
21237 2012-05-06 Andreas Jaeger <aj@suse.de>
21239 * Makeconfig (+math-flags): New, set to -frounding-math.
21240 (+cflags): Add +math-flags so that all of glibc gets compiled with
21243 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21245 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21247 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21253 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21254 (__ieee754_expl): Allow for and saturate large arguments.
21255 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21256 (u_threshold): Likewise.
21257 (__exp): Call __ieee754_exp before checking for overflow and
21259 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21260 (u_threshold): Likewise.
21261 (__expf): Call __ieee754_expf before checking for overflow and
21263 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21264 (u_threshold): Likewise.
21265 (__expl): Call __ieee754_expl before checking for overflow and
21267 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21268 (__ieee754_expl): Allow for and saturate large arguments.
21269 * math/libm-test.inc (exp_test): Add another test. Do not allow
21270 missing overflow exception on overflow.
21271 (expm1_test): Do not allow missing overflow exception on overflow.
21273 * sysdeps/i386/fpu/e_expl.c: Move to ...
21274 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21275 rather than using inline asm.
21276 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21277 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21278 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21280 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21283 (signal): Likewise.
21287 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21289 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21290 sysdeps/unix/common/syscalls.list.
21291 (fchmod): Likewise.
21292 (fchown): Likewise.
21293 (ftruncate): Likewise.
21294 (getrusage): Likewise.
21295 (gettimeofday): Likewise.
21296 (setpgid): Likewise.
21297 (setregid): Likewise.
21298 (setreuid): Likewise.
21299 (sigaction): Likewise.
21300 (truncate): Likewise.
21301 (vhangup): Likewise.
21302 * sysdeps/unix/common/syscalls.list: Remove file.
21303 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21304 * sysdeps/unix/sysv/linux/Implies: Likewise.
21306 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21308 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21310 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21314 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21317 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21320 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21323 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21326 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21329 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21332 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21336 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21340 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21343 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21347 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21351 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21353 * sysdeps/unix/common/bits/dirent.h: Remove file.
21354 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21356 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21357 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21358 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21359 * sysdeps/unix/bsd/isatty.c: Likewise.
21360 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21361 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21362 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21364 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21367 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21368 long double comparison inaccuracies.
21369 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21372 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21374 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21375 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21377 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21380 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21381 nonzero digits before rounding a hex value.
21382 * stdlib/tst-strtod.c (tests): Add another test.
21384 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21386 * sysdeps/s390/fpu/libm-test-ulps: Update.
21388 2012-05-03 Andreas Jaeger <aj@suse.de>
21390 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21391 does not get optimized out.
21392 (malloc_opt_barrier): New.
21394 2012-05-03 Andreas Jaeger <aj@suse.de>
21395 Roland McGrath <roland@hack.frob.com>
21397 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21398 intermediate file deletion.
21399 (generated): Add .symlist files.
21401 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21404 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21405 Redirect under this condition.
21406 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21407 [__USE_GNU] (__dprintf_chk): Not under this condition.
21408 [__USE_GNU] (__vdprintf_chk): Likewise.
21409 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21410 under this condition.
21411 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21412 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21413 [__USE_XOPEN2K8] (vdprintf): Likewise.
21414 [__USE_GNU] (__dprintf_chk): Not under this condition.
21415 [__USE_GNU] (__vdprintf_chk): Likewise.
21416 [__USE_GNU] (dprintf): Likewise.
21417 [__USE_GNU] (vdprintf): Likewise.
21419 2012-05-03 Roland McGrath <roland@hack.frob.com>
21421 * elf/Makefile (common-generated): Set this instead of generated for
21422 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21423 $(all-built-dso)-derived lists.
21425 2012-05-03 Andreas Jaeger <aj@suse.de>
21427 * sysdeps/i386/fpu/libm-test-ulps: Update.
21430 * FAQ.in: Likewise.
21431 * scripts/gen-FAQ.pl: Likewise.
21432 * manual/install.texi (Installation): Point to online location of
21434 * Makefile (files-for-dist): Remove FAQ.
21437 2012-05-02 Allan McRae <allan@archlinux.org>
21439 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21440 (LDFLAGS-reldepmod5.so): Likewise.
21441 (LDFLAGS-reldep6mod1.so): Likewise.
21442 (LDFLAGS-reldep6mod4.so): Likewise.
21443 (LDFLAGS-reldep8mod3.so): Likewise.
21444 (LDFLAGS-unload4mod1.so): Likewise.
21445 (LDFLAGS-unload4mod2.so): Likewise.
21446 (LDFLAGS-tst-initorder): Likewise.
21447 (LDFLAGS-tst-initordera2.so): Likewise.
21448 (LDFLAGS-tst-initordera3.so): Likewise.
21449 (LDFLAGS-tst-initordera4.so): Likewise.
21450 (LDFLAGS-tst-initorderb2.so): Likewise.
21451 (LDFLAGS-noload): Likewise.
21452 (LDFLAGS-next): Likewise.
21453 (LDFLAGS-order2mod1.so): Likewise.
21454 (LDFLAGS-order2mod2.so): Likewise.
21455 (LDFLAGS-tst-initorder2): Likewise.
21456 (LDFLAGS-tst-initorder2a.so): Likewise.
21457 (LDFLAGS-tst-initorder2b.so): Likewise.
21458 (LDFLAGS-tst-initorder2c.so): Likewise.
21459 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21461 2012-05-02 David S. Miller <davem@davemloft.net>
21463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21465 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21468 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21470 2012-05-02 Andreas Jaeger <aj@suse.de>
21472 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21473 since we manipulate rounding mode.
21474 (CPPFLAGS-test-idouble.c): Likewise.
21475 (CPPFLAGS-test-ifloat.c): Likewise.
21476 (CFLAGS-test-ldouble.c): Likewise.
21477 (CFLAGS-test-double.c): Likewise.
21478 (CFLAGS-test-float.c): Likewise.
21479 (CFLAGS-test-misc.c): Likewise.
21480 (CFLAGS-test-test-fenv.c): Likewise.
21482 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21486 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21487 comparisons to determine direction to adjust input.
21489 2012-05-01 Roland McGrath <roland@hack.frob.com>
21491 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21492 output to the target.
21494 * scripts/localplt.awk: New file.
21495 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21496 (check-localplt-CFLAGS): Variable removed.
21497 ($(all-built-dso:=.jmprel)): New static pattern rule.
21498 (generated): Add those targets.
21499 (localplt-built-dso): New variable.
21500 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21502 * elf/check-localplt.c: File removed.
21504 * scripts/check-execstack.awk: New file.
21505 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21506 (check-execstack-CFLAGS): Variable removed.
21507 ($(objpfx)check-execstack.h): Target removed.
21508 ($(objpfx)execstack-default): New target.
21509 (generated): Add that instead of check-execstack.h.
21510 ($(all-built-dso:=.phdr)): New static pattern rule.
21511 (generated): Add those targets.
21512 * elf/check-execstack.c: File removed.
21514 * scripts/check-textrel.awk: New file.
21515 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21516 (check-textrel-CFLAGS): Variable removed.
21517 (all-built-dso): Use := to define.o
21518 ($(all-built-dso:=.dyn)): New static pattern rule.
21519 (generated): Add those targets.
21520 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21521 * config.make.in (READELF): New substituted variable.
21522 * elf/check-textrel.c: File removed.
21524 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21526 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21528 * conform/data/ctype.h-data [C99-based standards] (isblank):
21530 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21531 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21532 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21533 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21534 Specify type. Require positive value.
21535 (EILSEQ): Likewise.
21536 (ERANGE): Likewise.
21537 [ISO || POSIX] (EILSEQ): Do not expect.
21538 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21539 Specify type. Require positive value.
21540 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21541 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21542 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21543 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21544 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21545 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21546 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21547 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21548 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21549 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21550 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21551 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21552 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21553 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21554 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21555 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21556 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21557 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21558 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21559 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21560 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21561 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21562 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21563 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21564 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21565 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21566 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21567 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21568 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21569 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21570 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21571 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21572 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21573 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21574 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21575 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21576 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21577 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21578 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21579 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21580 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21581 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21582 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21583 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21584 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21585 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21586 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21587 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21588 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21589 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21590 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21591 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21592 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21593 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21594 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21595 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21596 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21597 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21598 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21599 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21600 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21601 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21602 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21603 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21604 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21605 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21606 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21607 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21608 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21609 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21610 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21611 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21612 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21613 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21614 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21615 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21616 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21618 (FLT_ROUNDS): Expect as macro, not constant.
21619 (FLT_MANT_DIG): Use macro-int-constant.
21620 (DBL_MANT_DIG): Likewise.
21621 (LDBL_MANT_DIG): Likewise.
21622 (FLT_DIG): Likewise.
21623 (DBL_DIG): Likewise.
21624 (LDBL_DIG): Likewise.
21625 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21626 (DBL_MIN_EXP): Likewise.
21627 (LDBL_MIN_EXP): Likewise.
21628 (FLT_MAX_EXP): Use macro-int-constant.
21629 (DBL_MAX_EXP): Likewise.
21630 (LDBL_MAX_EXP): Likewise.
21631 (FLT_MAX_10_EXP): Likewise.
21632 (DBL_MAX_10_EXP): Likewise.
21633 (LDBL_MAX_10_EXP): Likewise.
21634 (FLT_MAX): Use macro-constant.
21635 (DBL_MAX): Likewise.
21636 (LDBL_MAX): Likewise.
21637 (FLT_EPSILON): Use macro-constant. Give upper bound.
21638 (DBL_EPSILON): Likewise.
21639 (LDBL_EPSILON): Likewise.
21640 (FLT_MIN): Likewise.
21641 (DBL_MIN): Likewise.
21642 (LDBL_MIN): Likewise.
21643 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21644 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21645 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21646 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21647 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21648 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21649 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21650 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21651 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21652 [ISO11] (FLT_TRUE_MIN): Likewise.
21653 [ISO11] (LDBL_TRUE_MIN): Likewise.
21654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21655 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21656 (SCHAR_MIN): Use macro-int-constant. Specify type.
21657 (SCHAR_MAX): Likewise.
21658 (UCHAR_MAX): Likewise.
21659 (CHAR_MIN): Likewise.
21660 (CHAR_MAX): Likewise.
21661 (MB_LEN_MAX): Use macro-int-constant.
21662 (SHRT_MIN): Use macro-int-constant. Specify type.
21663 (SHRT_MAX): Likewise.
21664 (USHRT_MAX): Likewise.
21665 (INT_MAX): Likewise.
21666 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21668 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21670 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21672 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21673 bound negative. Suffix upper bound with "L".
21674 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21676 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21678 [C99-based standards] (LLONG_MAX): Likewise.
21679 [C99-based standards] (ULLONG_MAX): Likewise.
21680 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21682 [ISO11] (max_align_t): Require type.
21683 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21685 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21686 from $CFLAGS, without defining away __attribute__ calls.
21687 (checknamespace): Use $CFLAGS_namespace.
21689 * conform/conformtest.pl (@keywords): Only include C99 keywords
21690 for standards based on C99 or C11.
21692 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21694 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21697 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21698 usability of symbols in #if.
21700 * conform/conformtest.pl: If macro or constant types start
21701 "promoted:", expect the symbol to be of the following type
21702 promoted by the integer promotions.
21704 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21705 in one place. Also handle "macro-constant".
21707 * conform/conformtest.pl: Only accept expected macro values with
21708 "==". Parse all "macro" lines in one place.
21709 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21711 * conform/conformtest.pl: Handle braced types on "constant" lines
21712 instead of handling "typed-constant".
21713 * conform/data/signal.h-data: Use "constant" instead of
21716 * conform/conformtest.pl: Handle "optional-" at start of lines in
21717 one place rather than duplicating several cases. Handle each
21718 format of "macro" line with initial "optional-".
21720 * conform/conformtest.pl: Only accept expected constant or
21721 optional-constant values with "==". Parse all "constant" lines in
21722 one place. Parse all "optional-constant" lines in one place.
21723 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21724 * conform/data/fmtmsg.h-data: Likewise.
21725 * conform/data/netinet/in.h-data: Likewise.
21726 * conform/data/tar.h-data: Likewise.
21727 * conform/data/limits.h-data: Use "==" form on "constant" and
21728 "optional-constant" lines.
21730 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21731 Use -std=c99 for XOPEN2K.
21732 (@knownproblems): Remove.
21733 (newtoken): Don't check %isknown.
21735 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21736 Do not expect macro.
21737 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21738 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21739 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21740 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21741 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21742 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21743 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21744 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21745 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21746 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21747 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21748 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21749 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21750 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21751 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21752 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21753 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21754 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21755 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21756 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21757 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21758 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21759 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21760 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21761 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21762 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21763 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21764 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21765 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21766 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21767 [XPG3] (acosh): Likewise.
21768 [XPG3] (asinh): Likewise.
21769 [XPG3] (atanh): Likewise.
21770 [XPG3] (cbrt): Likewise.
21771 [XPG3] (expm1): Likewise.
21772 [XPG3] (ilogb): Likewise.
21773 [XPG3] (log1p): Likewise.
21774 [XPG3] (logb): Likewise.
21775 [XPG3] (nextafter): Likewise.
21776 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21777 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21778 [XPG3] (remainder): Likewise.
21779 [XPG3] (rint): Likewise.
21780 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21781 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21782 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21783 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21784 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21785 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21786 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21787 [UNIX98 || XOPEN2K] (scalb): Expect.
21788 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21789 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21790 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21791 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21792 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21793 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21794 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21795 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21796 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21797 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21798 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21799 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21800 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21801 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21802 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21803 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21804 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21805 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21806 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21807 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21808 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21809 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21810 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21811 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21812 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21813 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21814 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21815 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21816 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21817 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21818 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21819 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21820 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21821 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21822 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21823 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21824 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21825 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21826 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21827 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21828 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21829 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21830 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21831 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21832 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21833 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21834 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21835 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21836 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21837 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21838 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21839 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21840 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21841 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21842 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21843 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21844 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21845 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21846 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21847 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21848 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21849 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21850 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21851 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21852 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21853 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21854 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21855 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21856 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21857 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21858 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21859 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21860 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21861 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21862 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21863 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21864 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21865 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21866 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21867 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21868 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21869 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21870 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21871 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21872 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21873 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21874 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21875 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21876 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21877 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21878 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21879 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21880 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21881 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21882 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21883 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21884 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21885 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21886 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21887 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21888 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21889 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21890 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21891 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21892 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21893 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21894 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21895 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21896 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21897 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21898 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21899 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21900 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21901 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21902 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21903 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21904 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21905 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21906 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21907 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21908 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21909 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21910 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21911 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21912 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21913 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21914 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21915 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21916 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21917 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21918 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21919 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21920 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21921 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21922 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21923 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21924 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21926 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21927 _XOPEN_SOURCE_EXTENDED for XPG4.
21929 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21931 * Makeconfig (localtime): Remove variable.
21932 (inst_localtime-file): Likewise.
21934 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21955 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21959 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21960 comparisons to determine direction to adjust input.
21961 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21962 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21963 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21965 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21967 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21969 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21970 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21972 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21974 * math/libm-test.inc (nexttoward_test): Add more tests.
21976 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21979 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21980 in version GLIBC_2.1, not GLIBC_2.0.
21981 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21984 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21987 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21989 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21990 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21991 * math/libm-test.inc (acos_test): Add more tests.
21992 (asin_test): Likewise.
21993 * sysdeps/i386/fpu/libm-test-ulps: Update.
21994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21997 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21999 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22000 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22001 * math/libm-test.inc (acos_test_tonearest): New function.
22002 (acos_test_towardzero): Likewise.
22003 (acos_test_downward): Likewise.
22004 (acos_test_upward): Likewise.
22005 (asin_test_tonearest): Likewise.
22006 (asin_test_towardzero): Likewise.
22007 (asin_test_downward): Likewise.
22008 (asin_test_upward): Likewise.
22009 (main): Call the new functions.
22010 * sysdeps/i386/fpu/libm-test-ulps: Update.
22011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22015 * math/e_exp10.c: Include <float.h>.
22016 (__ieee754_exp10): Handle underflow here rather than multiplying
22017 large negative argument by M_LN10.
22018 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22020 * math/e_exp10l.c: Include <float.h>.
22021 (__ieee754_exp10l): Handle underflow here rather than multiplying
22022 large negative argument by M_LN10l.
22023 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22024 spurious overflow exception on underflow.
22026 2012-04-29 Marek Polacek <polacek@redhat.com>
22028 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22029 (__fortify_function): New macro.
22030 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22031 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22032 __extern_always_inline.
22033 * libio/bits/stdio2.h: Likewise.
22034 * libio/bits/stdio.h: Likewise.
22035 * string/string.h: Likewise.
22036 * string/bits/string3.h: Likewise.
22037 * include/stdio.h: Likewise.
22038 * stdlib/bits/stdlib.h: Likewise.
22039 * stdlib/stdlib.h: Likewise.
22040 * rt/bits/mqueue2.h: Likewise.
22041 * rt/mqueue.h: Likewise.
22042 * posix/bits/unistd.h: Likewise.
22043 * posix/unistd.h: Likewise.
22044 * io/bits/poll2.h: Likewise.
22045 * io/bits/fcntl2.h: Likewise.
22046 * io/fcntl.h: Likewise.
22047 * io/sys/poll.h: Likewise.
22048 * misc/bits/syslog.h: Likewise.
22049 * misc/bits/syslog-ldbl.h: Likewise.
22050 * misc/sys/syslog.h: Likewise.
22051 * socket/bits/socket2.h: Likewise.
22052 * socket/sys/socket.h: Likewise.
22053 * debug/tst-chk1.c: Likewise.
22054 * wcsmbs/bits/wchar2.h: Likewise.
22055 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22056 * wcsmbs/wchar.h: Likewise.
22058 2012-04-29 Andreas Jaeger <aj@suse.de>
22060 * Makerules (tests): Remove enable-check-abi protection.
22061 (check-abi-warn): Remove.
22062 (check-abi-%): Remove check-abi-warn usage.
22064 * configure.in: Remove check-abi configure option.
22065 * configure: Regenerated.
22066 * config.make.in (enable-check-abi): Remove.
22068 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22071 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22072 double functions to double *_finite functions.
22075 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22076 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22078 * stdio-common/Makefile (tests): Add tst-sprintf3.
22079 * stdio-common/tst-sprintf3.c: New file.
22081 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22082 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22084 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22086 * conform/conformtest.pl: Remove duplicate typed-constant
22089 2012-04-28 David S. Miller <davem@davemloft.net>
22091 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22092 (check-abi-%): Remove AWK script prerequisite and explicit
22094 (check-abi): Rewrite to just diff the symlist with the abilist.
22095 (config-tls, config-abi-config): Delete, no longer used.
22096 (update-abi-%): Remove AWK script and explicit abilist directory.
22097 (update-abi): Rewrite to simply compare and conditionally copy the
22098 symlist and the sysdep abilist file. Remove update-abi-config
22100 * abilist/ld.abilist: Remove.
22101 * abilist/libBrokenLocale.abilist: Remove.
22102 * abilist/libanl.abilist: Remove.
22103 * abilist/libcrypt.abilist: Remove.
22104 * abilist/libdl.abilist: Remove.
22105 * abilist/librt.abilist: Remove.
22106 * abilist/libthread_db.abilist: Remove.
22107 * abilist/libutil.abilist: Remove.
22108 * scripts/extract-abilist.awk: Remove.
22109 * scripts/merge-abilist.awk: Remove.
22110 * sysdeps/generic/libcidn.abilist: New file.
22111 * sysdeps/generic/libnss_compat.abilist: New file.
22112 * sysdeps/generic/libnss_db.abilist: New file.
22113 * sysdeps/generic/libnss_dns.abilist: New file.
22114 * sysdeps/generic/libnss_files.abilist: New file.
22115 * sysdeps/generic/libnss_hesiod.abilist: New file.
22116 * sysdeps/generic/libnss_nis.abilist: New file.
22117 * sysdeps/generic/libnss_nisplus.abilist: New file.
22118 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22119 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22120 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22122 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22123 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22124 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22125 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22126 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22127 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22128 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22129 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22130 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22132 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22133 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22134 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22135 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22137 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22138 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22139 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22140 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22141 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22142 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22144 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22145 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22146 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22148 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22252 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22253 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22256 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22257 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22258 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22259 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22260 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22261 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22262 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22263 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22264 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22316 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22318 * conform/conformtest.pl: Fix typo in handling typed-constant from
22321 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22323 * README: Cut down references to pre-2.6 Linux kernels and
22324 Linuxthreads. Update lists of configurations in libc and ports
22325 and sort alphabetically. Say "or newer" with Linux kernel version
22328 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22330 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22333 * math/libm-test.inc (logb_test_downward): New test to expose
22334 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22337 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22340 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22342 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22343 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22345 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22347 * sysdeps/unix/i386/brk.S: Remove file.
22348 * sysdeps/unix/i386/dl-brk.S: Likewise.
22349 * sysdeps/unix/i386/pipe.S: Likewise.
22350 * sysdeps/unix/i386/sigreturn.S: Likewise.
22351 * sysdeps/unix/i386/syscall.S: Likewise.
22352 * sysdeps/unix/i386/vfork.S: Likewise.
22353 * sysdeps/unix/i386/wait.S: Likewise.
22355 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22356 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22358 * configure.in (arm*-none*): Do not allow without
22359 --enable-hacker-mode.
22360 (netbsd*): Remove case setting base_os.
22361 (386bsd*): Likewise.
22362 (freebsd*): Likewise.
22365 (sunos*): Likewise.
22366 (ultrix*): Likewise.
22367 (newsos*): Likewise.
22368 (dynix*): Likewise.
22374 (minix*): Likewise.
22375 (irix4*): Likewise.
22376 (irix6*): Likewise.
22377 (solaris[2-9]*): Likewise.
22379 * configure: Regenerated.
22381 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22384 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22385 overflow or cancellation in calculating denominator.
22386 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22387 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22388 down expression to avoid unexpected rounding in newer GCCs.
22389 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22391 2012-04-26 David S. Miller <davem@davemloft.net>
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22394 long-double compat symbols.
22395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22409 2012-04-25 David S. Miller <davem@davemloft.net>
22411 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22412 HWCAP_* values only after the memory barriers have been defined.
22413 (atomic_full_barrier): Define.
22414 (atomic_read_barrier): Define.
22415 (atomic_write_barrier): Define.
22417 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22419 * shlib-versions: Add libgcc_s version information.
22420 * sysdeps/generic/libgcc_s.h: Remove.
22421 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22423 * sysdeps/gnu/unwind-resume.c: Likewise.
22424 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22426 2012-04-25 David S. Miller <davem@davemloft.net>
22428 * sysdeps/unix/sparc/brk.S: Delete.
22429 * sysdeps/unix/sparc/dl-brk.S: Delete.
22430 * sysdeps/unix/sparc/pipe.S: Delete.
22431 * sysdeps/unix/sparc/sysdep.S: Delete.
22432 * sysdeps/unix/sparc/sysdep.h: Delete.
22433 * sysdeps/unix/sparc/vfork.S: Delete.
22434 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22435 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22436 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22437 ret_ERRVAL, r0, r1, MOVE): Define.
22438 (JUMPTARGET): Remove.
22439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22440 sysdeps/unix/sparc/sysdep.h
22441 (ENTRY, END): Remove.
22442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22444 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22446 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22447 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22450 * timezone/README: Update upstream location and email address for
22452 * timezone/zdump.c: Update from tzcode 2012b.
22453 * timezone/zic.c: Likewise.
22455 * configure.in (libc_cv_as_needed): Remove test.
22456 * configure: Regenerated.
22457 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22458 conditional definition.
22459 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22460 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22461 * config.make.in (have-as-needed): Remove variable.
22463 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22464 Paul Pluzhnikov <ppluzhnikov@google.com>
22466 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22469 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22471 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22472 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22473 * sysdeps/sh/strlen.S: Likewise.
22475 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22477 * sysdeps/unix/fork.S: Remove file.
22478 * sysdeps/unix/i386/fork.S: Likewise.
22479 * sysdeps/unix/sparc/fork.S: Likewise.
22481 * sysdeps/unix/system.c: Remove file.
22482 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22484 * sysdeps/unix/getegid.S: Remove file.
22485 * sysdeps/unix/geteuid.S: Likewise.
22487 2012-04-24 Roland McGrath <roland@hack.frob.com>
22489 * scripts/check-localplt.awk: New file.
22490 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22492 * scripts/data/localplt-generic.data: Add a comment.
22494 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22495 NODE when __dir_mkfile failed.
22496 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22497 Reported by Ludovic Courtès <ludo@gnu.org>.
22499 2012-04-24 Andreas Jaeger <aj@suse.de>
22501 * Makerules (common-clean): Also remove gen-as-const-headers
22504 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22506 * Makerules (native-compile): Do not change working directory for
22507 build. Use $(OUTPUT_OPTION) in command.
22508 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22510 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22513 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22514 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22515 * math/libm-test.inc (floor_test): Add more tests.
22516 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22518 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22520 * sysdeps/unix/getdents.c: Remove file.
22521 * sysdeps/unix/sysv/getdents.c: Likewise.
22522 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22524 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22525 sysdeps/unix/mman/syscalls.list.
22527 (mprotect): Likewise.
22529 (munmap): Likewise.
22530 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22531 * sysdeps/unix/mman/syscalls.list: Remove.
22532 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22534 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22535 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22536 * configure: Regenerated.
22537 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22538 $(libgcc_s_suffix).
22539 * config.make.in (libgcc_s_suffix): Remove variable.
22541 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22543 * sysdeps/unix/sysv/gethostname.c: Move to ...
22544 * sysdeps/posix/gethostname.c: ... here.
22546 * sysdeps/unix/execve.S: Remove file.
22548 * sysdeps/unix/_exit.S: Remove file.
22550 2012-04-23 Andreas Jaeger <aj@suse.de>
22553 * manual/Makefile: Remove make dist support, there's no
22554 need for a stand-alone documentation tar ball.
22555 (TEXI2DVI): Define always, it's not in Makeconfig.
22558 (edition): Removed.
22559 (glibc-doc-$(edition).tar): Removed
22563 (ETAGS): Remove, it's in Makeconfig.
22564 (move-if-change): Remove, it's in Makeconfig.
22566 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22569 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22570 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22571 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22572 (strtod_l, strtof_l, strtold_l): Remove __wur.
22573 It is not necessarily an error to ignore strtol's return value.
22574 One can reliably look at the stored endptr to decide whether
22575 the number had valid syntax.
22577 2012-04-21 Andreas Jaeger <aj@suse.de>
22580 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22582 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22584 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22585 * sysdeps/unix/sysv/Versions: Remove file.
22587 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22592 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22595 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22596 version from __vm86.
22598 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22600 * sysdeps/unix/common/lxstat.c: Remove file.
22601 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22603 * sysdeps/unix/sysv/Makefile: Remove file.
22605 * sysdeps/unix/sysv/direct.h: Remove file.
22607 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22608 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22609 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22610 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22611 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22612 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22613 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22615 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22617 * sysdeps/unix/xmknod.c: Remove file.
22618 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22620 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22622 * sysdeps/unix/sysv/i386/time.S: Remove file.
22624 * sysdeps/unix/fxstat.c: Remove file.
22625 * sysdeps/unix/xstat.c: Likewise.
22626 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22628 * sysdeps/unix/sysv/sigaction.c: Remove file.
22630 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22631 (sysdep_headers): Remove variable.
22632 [termio.h not in sysdep_headers] (generated): Likewise.
22633 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22634 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22635 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22636 * sysdeps/unix/sysv/tcflow.c: Likewise.
22637 * sysdeps/unix/sysv/tcflush.c: Likewise.
22638 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22639 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22640 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22641 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22642 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22644 * sysdeps/unix/siglist.c: Remove file.
22646 * sysdeps/unix/getppid.S: Remove file.
22648 * sysdeps/unix/mkdir.c: Remove file.
22649 * sysdeps/unix/rmdir.c: Likewise.
22651 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22653 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22655 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22656 errlist-compat value.
22658 2012-04-18 David S. Miller <davem@davemloft.net>
22660 * sysdeps/generic/memcopy.h (reg_char): Delete.
22661 * debug/strcat_chk.c: Use char, not reg_char.
22662 * debug/strcpy_chk.c: Likewise.
22663 * debug/strncat_chk.c: Likewise.
22664 * debug/strncpy_chk.c: Likewise.
22665 * string/memchr.c: Likewise.
22666 * string/memrchr.c: Likewise.
22667 * string/rawmemchr.c: Likewise.
22668 * string/strcat.c: Likewise.
22669 * string/strchr.c: Likewise.
22670 * string/strchrnul.c: Likewise.
22671 * string/strcmp.c: Likewise.
22672 * string/strcpy.c: Likewise.
22673 * string/strncat.c: Likewise.
22674 * string/strncmp.c: Likewise.
22675 * string/strncpy.c: Likewise.
22677 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22679 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22680 __builtin_memcopy is called when src and dest ranges are known to not
22683 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22685 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22686 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22687 fwd_align_merge macro call.
22688 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22689 bwd_align_merge macro call.
22690 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22692 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22694 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22695 bwd_align_merge macros.
22696 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22697 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22698 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22700 2012-04-18 David S. Miller <davem@davemloft.net>
22702 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22704 2012-04-18 Andreas Jaeger <aj@suse.de>
22707 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22708 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22709 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22711 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22712 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22713 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22715 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22716 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22717 Adjust for changed ldbl-128 files.
22719 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22720 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22721 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22723 2012-04-17 David S. Miller <davem@davemloft.net>
22725 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22727 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22729 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22730 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22731 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22732 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22733 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22734 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22736 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22739 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22740 * math/libm-test.inc: Add ilogb errno and exception tests.
22741 * math/w_ilogb.c: New file: ilogb wrapper.
22742 * math/w_ilogbf.c: New file: ilogbf wrapper.
22743 * math/w_ilogbl.c: New file: ilogbl wrapper.
22744 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22745 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22746 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22747 exception being thrown with 0.0 as argument.
22748 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22749 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22750 exception being thrown with 0.0 as argument.
22751 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22752 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22753 exception being thrown with 0.0 as argument.
22754 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22755 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22756 exception being thrown with 0.0 as argument.
22757 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22758 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22759 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22760 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22761 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22762 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22763 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22764 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22765 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22767 2012-04-17 Petr Baudis <pasky@ucw.cz>
22769 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22772 2012-04-16 Marek Polacek <polacek@redhat.com>
22774 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22776 2012-04-16 Marek Polacek <polacek@redhat.com>
22778 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22779 operands of fdivp instruction.
22781 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22783 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22784 * elf/tst-auditmod3b.c: Likewise.
22785 * elf/tst-auditmod4b.c: Likewise.
22786 * elf/tst-auditmod5b.c: Likewise.
22787 * elf/tst-auditmod6b.c: Likewise.
22788 * elf/tst-auditmod6c.c: Likewise.
22789 * elf/tst-auditmod7b.c: Likewise.
22790 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22791 * sysdeps/x86_64/preconfigure.in: Likewise.
22792 * sysdeps/x86_64/preconfigure: Regenerated.
22794 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22796 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22799 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22802 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22804 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22807 * locale/iso-639.def: Fix gl language name. Spotted by
22810 2012-04-12 Roland McGrath <roland@hack.frob.com>
22813 * libio/libio.h (__io_write_fn): Update comment.
22815 2012-04-12 Petr Baudis <pasky@ucw.cz>
22818 * stdio.texi (Hook Functions): The user provided writer function
22819 is not allowed to return -1.
22821 2012-04-11 David S. Miller <davem@davemloft.net>
22823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22825 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22827 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22828 Add a leading slash to rtkaio.
22830 2012-04-11 Jim Meyering <meyering@redhat.com>
22833 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22834 It is not necessarily an error to ignore fwrite's return
22835 value. One can reliably use ferror to test for errors after
22838 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22840 * bits/types.h (__snseconds_t): New type.
22841 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22843 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22845 (__SNSECONDS_T_TYPE): Likewise.
22846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22847 (__SNSECONDS_T_TYPE): Likewise.
22848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22849 (__SNSECONDS_T_TYPE): Likewise.
22851 2012-04-10 Andreas Jaeger <aj@suse.de>
22854 * manual/time.texi (Processor Time): Return type of times is
22855 elapsed real time since an arbitrary point in the past.
22856 (CPU Time): Move CLK_TCK from here...
22857 (Processor Time): ...to here. Correct description.
22858 * manual/conf.texi (Constants for Sysconf): Correct description of
22861 2012-04-10 David S. Miller <davem@davemloft.net>
22864 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22865 where the is a gap between DT_REL(A) and DT_JMPREL.
22867 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22869 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22870 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22871 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22873 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22875 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22876 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22877 (dl_main): Handle --inhibit-cache.
22878 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22880 * elf/dl-load.c (_dl_map_object): Use it.
22881 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22883 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22886 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22887 (__ieee754_powl): Saturate large exponents rather than testing for
22888 overflow of y*log2(x).
22889 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22890 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22894 * math/s_ctan.c: Include <float.h>.
22895 (__ctan): Avoid internal overflow or cancellation in calculating
22897 * math/s_ctanf.c: Likewise.
22898 * math/s_ctanl.c: Likewise.
22899 * math/s_ctanh.c: Likewise.
22900 * math/s_ctanhf.c: Likewise.
22901 * math/s_ctanhl.c: Likewise.
22902 * math/libm-test.inc (ctan_test): Add more tests.
22903 (ctanh_test): Likewise.
22904 * sysdeps/i386/fpu/libm-test-ulps: Update.
22905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22907 2012-04-09 Andreas Jaeger <aj@suse.de>
22910 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22911 is an optional BSD extension.
22914 * manual/stdio.texi (Opening Streams): Document additional fopen
22917 2012-04-09 Roland McGrath <roland@hack.frob.com>
22919 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22920 %eax without telling the compiler.
22922 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22925 * manual/install.texi: Use sourceware.org.
22927 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22930 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22931 (__ieee754_pow): Generate overflow and underflow using huge*huge
22932 and tiny*tiny rather than just returning constant infinity or zero
22933 for large exponents.
22934 * math/libm-test.inc (pow_test): Require overflow exceptions for
22935 applicable cases of large exponents.
22938 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22939 (__ieee754_pow): Use iterative multiplication algorithm only for
22940 integer exponents with absolute value below 1024. Check for odd
22941 integer exponents when using algorithm for real exponents.
22942 * math/libm-test.inc (pow_test): Add more tests.
22943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22945 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22948 * math/libm-test.inc (exp_test): Do not allow overflow exception
22951 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22954 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22955 instead of __kernel_standard_f.
22957 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22959 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22960 * sysdeps/x86_64/memset_chk.S: Likewise.
22962 2012-04-08 Andreas Jaeger <aj@suse.de>
22965 * manual/startup.texi (Environment Access): Describe return value
22966 for putenv and setenv.
22969 * manual/filesys.texi (Directory Entries): Add description for
22973 * manual/filesys.texi (Directory Entries): Clarify that it's file
22974 system not operating system in the description of DT_UNKNOWN.
22977 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22979 2012-04-08 Stephen Compall <s11@member.fsf.org>
22982 * manual/llio.texi (Opening and Closing Files): Add cross
22983 reference to explain mode argument.
22985 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22987 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22988 * sysdeps/x86_64/memset_chk.S: Likewise.
22990 2012-04-07 David S. Miller <davem@davemloft.net>
22992 * elf/elf.h (R_SPARC_WDISP10): Define.
22993 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22995 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22996 R_SPARC_SIZE64 and R_SPARC_H34.
22998 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23000 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23001 conditions and remove no longer applicable assertion.
23003 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23005 * bits/byteswap.h: Include <features.h>.
23006 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23007 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23009 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23011 * bits/byteswap.h (__bswap_16): Removed.
23012 Include <bits/byteswap-16.h> to get __bswap_16.
23013 * sysdeps/i386/bits/byteswap.h: Likewise.
23014 * sysdeps/s390/bits/byteswap.h: Likewise.
23015 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23016 * bits/byteswap-16.h: New file.
23017 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23018 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23019 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23020 * string/Makefile (headers): Add bits/byteswap-16.h.
23022 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23025 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23027 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23028 * nss/tst-nss-static.c: New.
23030 2012-04-06 Robert Millan <rmh@gnu.org>
23033 * manual/llio.texi (File Position Primitive): lseek
23034 refers to WHENCE when it really means OFFSET.
23036 2012-04-06 Andreas Jaeger <aj@suse.de>
23038 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23039 strncmp declarations.
23041 * abilist/libc.abilist: Add __poll and __ppoll.
23043 2012-04-05 David S. Miller <davem@davemloft.net>
23045 * scripts/check-local-headers.sh: Accept a host triplet in the
23046 path matched by the exclude regexp.
23048 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23050 * sysdeps/powerpc/powerpc32/dl-machine.h
23051 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23052 * sysdeps/s390/s390-32/dl-machine.h
23053 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23054 * sysdeps/sparc/sparc32/dl-machine.h
23055 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23056 * sysdeps/sparc/sparc64/dl-machine.h
23057 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23059 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23061 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23062 undefined symbol errors.
23064 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23067 2012-04-05 Michael Matz <matz@suse.de>
23070 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23072 2012-04-05 Andreas Jaeger <aj@suse.de>
23075 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23078 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23080 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23081 which ROUND is no valid rounding mode.
23083 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23085 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23087 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23089 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23091 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23092 an exception using FPU order intentionally.
23094 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23096 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23097 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23098 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23099 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23101 2012-04-05 Simon Josefsson <simon@josefsson.org>
23104 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23105 EINVAL when BUFLEN is too smal.
23107 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23110 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23111 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23113 2012-04-03 Andreas Jaeger <aj@suse.de>
23116 * manual/setjmp.texi (System V contexts): Fix sentence.
23119 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23120 New macro for this case.
23121 [!__GNUC__] (__bswap_64): New inline function for this case.
23122 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23123 * bits/byteswap.h: Likewise.
23124 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23125 ull, guard with __GLIBC_HAVE_LONG_LONG.
23127 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23128 __GLIBC_HAVE_LONG_LONG.
23130 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23131 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23133 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23136 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23137 inptr and inend, rather than using last_ch.
23139 2012-04-02 David S. Miller <davem@davemloft.net>
23141 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23142 * stdio-common/printf-parse.h (read_int): Change return type to
23143 'int', return -1 on INT_MAX overflow.
23144 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23145 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23146 overflows INT_MAX. Check for overflow of in-format-string precision
23147 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23148 SIZE_MAX not INT_MAX for integer overflow test.
23149 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23150 skip the construct in the format string but do not record anything.
23151 * stdio-common/bug22.c: Adjust to test both width/prevision
23152 INT_MAX overflow as well as total length INT_MAX overflow. Check
23153 explicitly for proper errno values.
23155 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23157 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23159 * string/test-strcmp.c [! WIDE]: Likewise.
23160 * time/tst-mktime2.c: Likewise for INT_MAX.
23161 * string/test-string.h: #include <sys/param.h> for MIN.
23163 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23164 * sysdeps/i386/init-first.c (init): Likewise.
23165 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23166 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23167 * sysdeps/sh/init-first.c (init): Likewise.
23169 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23171 * po/ru.po: Update from translation team.
23172 * po/vi.po: Likewise.
23174 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23176 * resolv/nss_dns/dns-host.c: Merge copyright years.
23178 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23180 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23181 Optimize memcpy with prefetch if
23182 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23183 src, dst pointers have unequal 16 byte alignments.
23185 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23188 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23189 from a CNAME entry and return the minimum ttl for the query.
23190 (gaih_getanswer_slice): Likewise.
23192 2012-03-30 Jeff Law <law@redhat.com>
23194 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23196 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23197 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23199 * resolv/nss_dns/dns-host.c: Update copyright year.
23201 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23203 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23204 requests to save a system call. Fix check that all bytes are sent.
23206 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23207 comments for sendmmsg.
23209 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23212 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23213 with only 1 character between 0x0041 and 0x01b0.
23214 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23215 * wcsmbs/tst-mbsnrtowcs.c: New file.
23217 2012-03-29 David S. Miller <davem@davemloft.net>
23219 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23220 small copies by hand.
23222 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23225 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23226 _nss_compat_initgroups_dyn): Fall back to malloc/free
23227 for large group memberships.
23229 2012-03-28 David S. Miller <davem@davemloft.net>
23231 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23232 that branches into memcpy.
23233 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23234 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23235 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23236 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23239 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23240 implementation too.
23241 * sysdeps/sparc/mempcpy.S: New file.
23243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23244 the IFUNC routine in the libc case.
23245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23247 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23248 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23249 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23250 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23251 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23252 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23253 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23254 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23256 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23257 loop to 256 bytes instead of 64 bytes and fix test signedness.
23259 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23260 * sysdeps/sparc/sparc32/Makefile: rather than here...
23261 * sysdeps/sparc/sparc64/Makefile: and here.
23263 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23265 * malloc/mallocbug.c: Avoid warnings about unused variables.
23267 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23270 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23271 in the right place. Discard and retry query if response is
23272 larger than input buffer size.
23274 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23279 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23280 x for large integer exponent.
23281 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23282 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23283 sign of result as needed afterwards.
23284 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23285 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23286 result for underflowing pow the same as for overflow.
23287 (__kernel_standard_l): Handle powl overflow and underflow here
23288 rather than calling __kernel_standard.
23289 * math/libm-test.inc (pow_test): Add more tests.
23304 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23305 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23306 (__kernel_standard_l): New function.
23307 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23309 * math/w_acosl.c (__acosl): Likewise.
23310 * math/w_asinl.c (__asinl): Likewise.
23311 * math/w_atan2l.c (__atan2l): Likewise.
23312 * math/w_atanhl.c (__atanhl): Likewise.
23313 * math/w_coshl.c (__coshl): Likewise.
23314 * math/w_exp10l.c (__exp10l): Likewise.
23315 * math/w_exp2l.c (__exp2l): Likewise.
23316 * math/w_fmodl.c (__fmodl): Likewise.
23317 * math/w_hypotl.c (__hypotl): Likewise.
23318 * math/w_j0l.c (__j0l, __y0l): Likewise.
23319 * math/w_j1l.c (__j1l, __y1l): Likewise.
23320 * math/w_jnl.c (__jnl, __ynl): Likewise.
23321 * math/w_lgammal.c (__lgammal): Likewise.
23322 * math/w_log10l.c (__log10l): Likewise.
23323 * math/w_log2l.c (__log2l): Likewise.
23324 * math/w_logl.c (__logl): Likewise.
23325 * math/w_powl.c (__powl): Likewise.
23326 * math/w_remainderl.c (__remainderl): Likewise.
23327 * math/w_scalbl.c (sysv_scalbl): Likewise.
23328 * math/w_sinhl.c (__sinhl): Likewise.
23329 * math/w_sqrtl.c (__sqrtl): Likewise.
23330 * math/w_tgammal.c (__tgammal): Likewise.
23331 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23332 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23333 * math/libm-test.inc (acos_test): Add more tests.
23334 (acosh_test): Likewise.
23335 (asin_test): Likewise.
23336 (atanh_test): Likewise.
23337 (exp_test): Likewise.
23338 (exp10_test): Likewise.
23339 (exp2_test): Likewise.
23340 (expm1_test): Likewise.
23341 (lgamma_test): Likewise.
23342 (log_test): Likewise.
23343 (log10_test): Likewise.
23344 (log1p_test): Likewise.
23345 (log2_test): Likewise.
23346 (pow_test): Do not allow some spurious overflow exceptions.
23347 (sqrt_test): Add more tests.
23348 (tgamma_test): Likewise.
23349 (y0_test): Likewise.
23350 (y1_test): Likewise.
23351 (yn_test): Likewise.
23353 2012-03-27 Anton Blanchard <anton@samba.org>
23355 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23357 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23358 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23359 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23361 2012-03-27 David S. Miller <davem@davemloft.net>
23363 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23365 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23366 have-as-vis3 check.
23368 2012-03-27 Andreas Jaeger <aj@suse.de>
23370 * sysdeps/x86_64/elf/configure.in: Moved to ...
23371 * sysdeps/x86_64/configure.in: ... here.
23372 * sysdeps/x86_64/elf/start.S: Moved to ...
23373 * sysdeps/x86_64/start.S: ... here.
23374 * sysdeps/x86_64/elf/configure: Delete.
23376 * sysdeps/x86_64/configure.in: Merge contents from
23377 sysdeps/i386/configure.in (without i686 check).
23379 * sysdeps/i386/elf/Versions: Merge into ...
23380 * sysdeps/i386/Versions: ... this.
23381 * sysdeps/i386/elf/Versions: Delete file.
23382 * sysdeps/i386/elf/start.S: Moved to ...
23383 * sysdeps/i386/start.S: ...here.
23384 * sysdeps/i386/elf/configure.in: Merge into...
23385 * sysdeps/i386/configure.in: ...here.
23386 * sysdeps/i386/elf/configure.in: Delete file.
23387 * sysdeps/i386/elf/configure: Delete file.
23389 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23390 * debug/backtracesyms.c: ... here.
23391 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23392 * debug/backtracesymsfd.c: ... here.
23393 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23394 * sysdeps/generic/ifunc-sel.h: ... here.
23396 * sysdeps/unix/i386/start.c: Delete file.
23397 * sysdeps/unix/sparc/start.c: Delete file.
23398 * sysdeps/unix/start.c: Delete file.
23400 * sysdeps/sh/elf/configure.in: Moved to ...
23401 * sysdeps/sh/configure.in: ... here.
23402 * sysdeps/sh/elf/start.S: Moved to ...
23403 * sysdeps/sh/start.S: ... here.
23404 * sysdeps/sh/elf/configure: Delete file.
23406 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23407 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23408 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23409 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23410 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23411 * sysdeps/powerpc/powerpc64/start.S: here.
23412 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23413 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23414 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23415 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23416 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23418 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23419 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23420 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23421 * sysdeps/powerpc/powerpc32/start.S: ... here.
23422 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23423 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23424 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23426 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23427 * sysdeps/powerpc/ifunc-sel.h: ... here.
23428 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23429 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23431 * sysdeps/sparc/elf/configure.in: Moved to ...
23432 * sysdeps/sparc/configure.in: ... here.
23433 * sysdeps/sparc/elf/configure: Delete file.
23434 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23435 * sysdeps/sparc/sparc32/start.S: ... here.
23436 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23437 * sysdeps/sparc/sparc64/start.S: ... here.
23438 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23439 * sysdeps/sparc/sparc32/Makefile: ... this.
23440 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23441 * sysdeps/sparc/sparc64/Makefile: ... this.
23443 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23444 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23445 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23446 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23447 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23448 * sysdeps/s390/s390-32/setjmp.S: ... here.
23449 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23450 * sysdeps/s390/s390-32/configure.in: ... here.
23451 * sysdeps/s390/s390-32/elf/configure: Delete file.
23452 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23453 * sysdeps/s390/s390-32/start.S: ... here.
23455 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23456 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23457 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23458 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23459 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23460 * sysdeps/s390/s390-64/setjmp.S: ... here.
23461 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23462 * sysdeps/s390/s390-64/configure.in: ... here
23463 * sysdeps/s390/s390-64/elf/configure: Delete file.
23464 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23465 * sysdeps/s390/s390-64/start.S: ... here.
23466 * sysdeps/s390/s390-64/elf/configure: Delete.
23468 * configure.in: Remove support for elf directories in sysdeps.
23470 * configure: Regenerated.
23471 * sysdeps/i386/configure: Regenerated.
23472 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23473 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23474 * sysdeps/s390/s390-32/configure: Regenerated.
23475 * sysdeps/s390/s390-64/configure: Regenerated.
23476 * sysdeps/sh/configure: Regenerated.
23477 * sysdeps/sparc/configure: Regenerated.
23478 * sysdeps/x86_64/configure: Regenerated.
23480 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23484 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23485 denormal result into account.
23487 2012-03-25 Roland McGrath <roland@hack.frob.com>
23489 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23490 Reported by Allan McRae <allan@archlinux.org>.
23492 2012-03-23 Jeff Law <law@redhat.com>
23494 * nss/getnssent.c (__nss_getent): Fix typo.
23496 2012-03-23 David S. Miller <davem@davemloft.net>
23498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23500 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23502 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23503 to pad to uint64_t for each field.
23504 (dl_tls_index): Replace unsigned long with uint64_t.
23506 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23507 Paul Pluzhnikov <ppluzhnikov@google.com>
23510 * grp/Makefile (otherlibs): Don't set it.
23511 * inet/Makefile (otherlibs): Likewise.
23512 * login/Makefile (otherlibs): Likewise.
23513 * nscd/Makefile (otherlibs): Likewise.
23514 * posix/Makefile (otherlibs): Likewise.
23515 * pwd/Makefile (otherlibs): Likewise.
23516 * rt/Makefile (otherlibs): Likewise.
23517 * sunrpc/Makefile (otherlibs): Likewise.
23518 * nss/Makefile (otherlibs): Likewise.
23519 Add libnss_files to routines and static-only-routines.
23520 ($(objpfx)getent): Remove rule.
23521 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23522 static-only-routines.
23524 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23527 * math/s_cexp.c: Include <float.h>.
23528 (__cexp): Handle exp result overflowing not necessarily
23529 overflowing both real and imaginary parts of result.
23530 * math/s_cexpf.c: Likewise.
23531 * math/s_cexpl.c: Likewise.
23532 * math/libm-test.inc (cexp_test): Add more tests.
23533 * sysdeps/i386/fpu/libm-test-ulps: Update.
23534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23536 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23538 * include/link.h (ELFW): New macro.
23539 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23540 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23542 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23544 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23547 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23549 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23551 (struct La_x32_retval): Likewise.
23553 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23555 * sysdeps/x86_64/preconfigure.in: New file.
23556 * sysdeps/x86_64/preconfigure: New generated file.
23558 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23561 * math/e_exp2l.c: Include <float.h>.
23562 (__ieee754_exp2l): Handle overflow and underflow cases
23563 separately. Only pass fractional part of argument to
23565 * math/libm-test.inc (exp2_test): Add more tests.
23567 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23568 negating x to take absolute value.
23569 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23571 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23572 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23574 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23575 computing low part if x was negated.
23576 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23578 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23580 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23581 la_x32_gnu_pltexit.
23582 (pltexit): Cast int_retval to ptrdiff_t.
23583 * elf/tst-auditmod3b.c: Likewise.
23584 * elf/tst-auditmod4b.c: Likewise.
23585 * elf/tst-auditmod5b.c: Likewise.
23586 * elf/tst-auditmod6b.c: Likewise.
23587 * elf/tst-auditmod6c.c: Likewise.
23588 * elf/tst-auditmod7b.c: Likewise.
23590 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23591 and x32_gnu_pltexit.
23593 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23594 __ELF_NATIVE_CLASS.
23595 (La_x32_regs): New macro.
23596 (La_x32_retval): Likewise.
23597 (la_x32_gnu_pltenter): New function prototype.
23598 (la_x32_gnu_pltexit): Likewise.
23600 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23602 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23607 * configure.in (libc_cv_cc_nofma): Check for option to disable
23608 generation of FMA instructions.
23609 * configure: Regenerate.
23610 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23611 * sysdeps/ieee754/dbl-64/Makefile: New file.
23612 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23613 Remove brandred-fma4.
23614 (CFLAGS-brandred-fma4.c): Remove.
23615 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23616 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23618 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23621 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23623 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23624 LLONG_MAX != LONG_MAX.
23625 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23626 (_fitoa_word): Likewise.
23627 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23628 LLONG_MAX != LONG_MAX.
23629 * stdio-common/_itowa.h: Include <_itoa.h>.
23630 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23631 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23632 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23633 only if not defined.
23634 (_ITOA_WORD_TYPE): Likewise.
23635 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23636 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23638 2012-03-21 David S. Miller <davem@davemloft.net>
23640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23642 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23644 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23645 of x86_64 when setting libc_cv_slibdir, libdir and
23647 * sysdeps/unix/sysv/linux/configure: Regenerated.
23649 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23651 * manual/lang.texi (Old Varargs): Remove section.
23652 (How Variadic): Update menu.
23653 (va_start): Do not mention varargs.h.
23655 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23656 Joseph Myers <joseph@codesourcery.com>
23658 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23660 * configure: Regenerated.
23662 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23664 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23665 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23668 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23671 * Makefile (files-for-dist): Remove NOTES.
23672 (NOTES): Remove rule.
23673 * README: Don't refer to NOTES.
23674 * manual/creature.texi: Don't include macros.texi.
23675 * manual/intro.texi (creature.texi): Remove comment referring to
23678 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23679 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23680 * configure: Regenerated.
23681 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23682 LIBC_TRY_CC_OPTION.
23683 (libc_cv_as_i686): Likewise.
23684 (libc_cv_cc_avx): Likewise.
23685 (libc_cv_cc_sse2avx): Likewise.
23686 (libc_cv_cc_fma4): Likewise.
23687 (libc_cv_cc_novzeroupper): Likewise.
23688 * sysdeps/i386/configure: Regenerated.
23691 * sysdeps/i386/fpu/s_cexp.S: Remove.
23692 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23693 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23694 * math/libm-test.inc (cexp_test): Add more tests.
23695 * sysdeps/i386/fpu/libm-test-ulps: Update.
23696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23698 2012-03-21 Allan McRae <allan@archlinux.org>
23700 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23702 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23705 * math/w_exp2.c: Do not include <float.h>.
23706 (o_threshold, u_threshold): Remove.
23707 (__exp2): Calculate result before checking finiteness and calling
23709 * math/w_exp2f.c: Likewise.
23710 * math/w_exp2l.c: Likewise.
23711 * math/libm-test.inc (exp2_test): Require overflow exception for
23715 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23716 range of signed 64-bit integers before using fistpll. Remove
23717 checks for whether integers fit in mantissa bits.
23718 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23719 the range of signed 32-bit integers before using fistpl. Remove
23720 checks for whether integers fit in mantissa bits.
23721 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23722 (__ieee754_powl): Test for y outside the range of signed 64-bit
23723 integers before using fistpll. Reduce 64-bit values to 63-bit
23725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23726 divide-by-zero is raised for zero to large negative powers.
23727 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23728 (__ieee754_powl): Test for y outside the range of signed 64-bit
23729 integers before using fistpll. Reduce 64-bit values to 63-bit
23731 * math/libm-test.inc (pow_test): Add more tests.
23733 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23735 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23736 <stdio-common/_itoa.h>.
23737 * debug/segfault.c: Likewise.
23738 * elf/dl-cache.c: Likewise.
23739 * elf/dl-minimal.c: Likewise.
23740 * elf/dl-misc.c: Likewise.
23741 * elf/dl-sysdep.c: Likewise.
23742 * elf/dl-version.c: Likewise.
23743 * elf/rtld.c: Likewise.
23744 * hurd/hurdsock.c: Likewise.
23745 * hurd/lookup-retry.c: Likewise.
23746 * malloc/malloc.c: Likewise.
23747 * malloc/mtrace.c: Likewise.
23748 * nscd/nscd_getgr_r.c: Likewise.
23749 * nscd/nscd_getpw_r.c: Likewise.
23750 * nscd/nscd_getserv_r.c: Likewise.
23751 * posix/getopt_init.c: Likewise.
23752 * posix/wordexp.c: Likewise.
23753 * stdio-common/_itoa.c: Likewise.
23754 * stdio-common/printf_fphex.c: Likewise.
23755 * stdio-common/vfprintf.c: Likewise.
23756 * string/_strerror.c: Likewise.
23757 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23758 * sysdeps/i386/i686/hp-timing.h: Likewise.
23759 * sysdeps/mach/_strerror.c: Likewise.
23760 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23761 * sysdeps/mach/hurd/sethostid.c: Likewise.
23762 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23763 * sysdeps/mach/xpg-strerror.c: Likewise.
23764 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23765 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23766 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23767 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23768 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23769 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23770 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23771 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23772 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23773 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23774 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23775 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23776 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23777 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23778 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23779 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23780 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23781 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23782 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23783 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23784 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23786 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23788 * stdio-common/_itoa.h: Moved to ...
23789 * sysdeps/generic/_itoa.h: Here.
23791 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23793 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23794 instead of "_itoa.h" and "_itowa.h".
23795 * stdio-common/vfprintf.: Likewise.
23797 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23799 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23801 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23802 (__signbit): Likwise.
23803 (llrintf): Likwise.
23806 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23808 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23811 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23813 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23814 OVERFLOW_EXCEPTION_OK.
23815 * math/libm-test.inc ("Philosophy"): Update comment about
23817 (OVERFLOW_EXCEPTION): Define.
23818 (OVERFLOW_EXCEPTION_OK): Likewise.
23819 (INVALID_EXCEPTION_OK): Renumber.
23820 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23821 (IGNORE_ZERO_INF_SIGN): Likewise.
23822 (test_exceptions): Handle FE_OVERFLOW.
23823 (exp10_test): Expect overflow exceptions.
23824 (exp2_test): Likewise.
23825 (expm1_test): Likewise.
23826 (nextafter_test): Likewise.
23827 (pow_test): Likewise.
23828 (scalbn_test): Likewise.
23829 (scalbln_test): Likewise.
23831 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23833 * sysdeps/x86_64/bits/atomic.h
23834 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23836 (atomic_exchange_acq): Likewise.
23837 (__arch_exchange_and_add_body): Likewise.
23838 (__arch_add_body): Likewise.
23839 (atomic_add_negative): Likewise.
23840 (atomic_add_zero): Likewise.
23842 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23844 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23845 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23847 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23849 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23850 Check __x86_64__ instead of __WORDSIZE.
23852 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23854 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23856 2012-03-19 David S. Miller <davem@davemloft.net>
23858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23860 * sysdeps/sparc/fpu/fenv_private.h: New file.
23861 * sysdeps/sparc/fpu/math_private.h: Use it.
23862 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23864 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23865 (libc_feholdexcept_setroundl): Remove.
23866 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23868 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23869 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23871 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23873 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23874 int64_t instead of long int.
23875 (INSERT_WORDS64): Likwise.
23877 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23879 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23880 _Unwind_GetCFA return to _Unwind_Ptr first.
23882 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23885 * math/s_clog.c: Include <float.h>.
23886 (__clog): Scale large or subnormal inputs.
23887 * math/s_clogf.c: Likewise.
23888 * math/s_clogl.c: Likewise.
23889 * math/s_clog10.c: Include <float.h>.
23890 (M_LOG10_2): Define.
23891 (__clog10): Scale large or subnormal inputs.
23892 * math/s_clog10f.c: Likewise.
23893 * math/s_clog10l.c: Likewise.
23894 * math/libm-test.inc (clog_test): Add more tests.
23895 (clog10_test): Likewise.
23896 * sysdeps/i386/fpu/libm-test-ulps: Update.
23897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23900 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23902 * math/libm-test.inc (atan2_test): Add another test.
23904 * Makerules (common-objdir-compile): Remove.
23905 * sysdeps/unix/Makefile (config-generated): Do not add
23906 $(unix-generated) to variable.
23907 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23908 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23910 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23912 [generic bits/local_lim.h] (before-compile): Do not append to
23914 [generic bits/local_lim.h] (common-generated): Likewise.
23915 [generic sys/param.h] (before-compile): Do not append to variable.
23916 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23917 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23918 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23919 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23921 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23922 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23923 [generic sys/param.h] ($(addprefix
23924 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23925 [generic sys/param.h] (common-generated): Do not append to
23927 [generic sys/param.h] (sysdep_headers): Likewise.
23928 [generic bits/errno.h] (before-compile): Do not append to
23930 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23932 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23933 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23934 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23935 [generic bits/errno.h] (common-generated): Do not append to
23937 [generic bits/ioctls.h] (before-compile): Do not append to
23939 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23941 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23942 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23943 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23945 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23946 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23947 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23948 [generic bits/ioctls.h] (common-generated): Do not append to
23950 [generic sys/syscall.h] (syscall.h): Remove variable.
23951 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23953 [generic sys/syscall.h] (before-compile): Do not append to
23955 [generic sys/syscall.h] (common-generated): Likewise.
23956 * sysdeps/unix/errnos-tmpl.c: Remove file.
23957 * sysdeps/unix/errnos.awk: Likewise.
23958 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23959 * sysdeps/unix/ioctls.awk: Likewise.
23960 * sysdeps/unix/mk-local_lim.c: Likewise.
23961 * sysdeps/unix/snarf-ioctls: Likewise.
23963 2012-03-19 Richard Henderson <rth@twiddle.net>
23965 * sysdeps/i386/fpu/fenv_private.h: New file.
23966 * sysdeps/i386/fpu/math_private.h: Use it.
23967 (math_opt_barrier, math_force_eval): Remove.
23968 (libc_feholdexcept_setround_53bit): Remove.
23969 (libc_feupdateenv_53bit): Remove.
23970 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23971 (math_opt_barrier, math_force_eval): Remove.
23972 (libc_feholdexcept): Remove.
23973 (libc_feholdexcept_setround): Remove.
23974 (libc_fetestexcept, libc_fesetenv): Remove.
23975 (libc_feupdateenv_test): Remove.
23976 (libc_feupdateenv, libc_feholdsetround): Remove.
23977 (libc_feresetround): Remove.
23979 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23980 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23982 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23983 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23984 (libc_feupdateenv_testl): New.
23985 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23986 (libc_feupdateenv_testf): New.
23987 (libc_feupdateenv): Use libc_feupdateenv_test.
23988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23989 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23991 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23992 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23993 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23994 (libc_feresetround_noex): New.
23995 (libc_feresetround_noexf): New.
23996 (libc_feresetround_noexl): New.
23997 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23998 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23999 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24000 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24003 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24005 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24006 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24007 SET_RESTORE_ROUND_NOEX.
24008 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24009 SET_RESTORE_ROUND_NOEXF.
24010 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24011 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24012 (libc_feholdsetroundf): New.
24013 (libc_feresetround, libc_feresetroundf): New.
24015 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24016 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24017 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24019 * sysdeps/generic/math_private.h: Include <fenv.h>.
24020 (default_libc_feholdexcept): New.
24021 (default_libc_feholdexcept_setround): New.
24022 (default_libc_fesetenv, default_libc_feupdateenv): New.
24023 (libc_feholdexcept): Only define if undefined.
24024 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24025 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24026 (libc_feholdexcept_setroundl): Likewise.
24027 (libc_feholdexcept_setround_53bit): Likewise.
24028 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24029 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24030 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24031 (libc_feupdateenv_53bit): Likewise.
24032 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24033 (libc_feholdexcept): Convert from macro to inline function.
24034 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24035 (libc_fesetenv, libc_feupdateenv): Likewise.
24037 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24038 not previously defined.
24039 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24040 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24041 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24042 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24043 * sysdeps/ieee754/flt-32/math_private.h: New file.
24044 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24045 math_private.h below SET_FLOAT_WORD.
24046 (__isnan, __isinf_ns, __finite): Remove.
24047 (__isnanf, __isinf_nsf, __finitef): Remove.
24049 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24053 2012-03-17 David S. Miller <davem@davemloft.net>
24056 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24059 2012-03-16 David S. Miller <davem@davemloft.net>
24061 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24065 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24067 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24068 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24069 sysdep_routines when subdir is sysvipc.
24070 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24071 __getshmlba helper.
24073 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24075 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24077 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24080 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24082 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24083 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24084 (__lround): Renamed to ...
24085 (__llround): This. Replace long int with long long int.
24086 Define lround functions as aliases of llround functions.
24087 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24089 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24091 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24092 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24093 adresses to uintptr_t. Replace "long int" and "unsigned long
24094 int" with "greg_t" on va_arg.
24096 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24098 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24099 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24101 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24102 Move e_machine check before EI_CLASS check. Handle x32
24103 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24104 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24105 SKIP_EM_IA_64 and include
24106 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24108 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24109 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24110 (add_system_dir): New macro.
24112 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24113 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24115 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24126 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24128 * math/w_j0f.c (j0f): Likewise.
24130 * math/w_j0l.c (__j0l): Likewise.
24132 * math/w_j1.c (j1): Likewise.
24134 * math/w_j1f.c (j1f): Likewise.
24136 * math/w_j1l.c (__j1l): Likewise.
24138 * math/w_jn.c (jn): Likewise.
24140 * math/w_jnf.c (jnf): Likewise.
24142 * math/w_jnl.c (__jnl): Likewise.
24144 * math/libm-test.inc (j0_test): Add more tests.
24145 (j1_test): Likewise.
24146 (jn_test): Likewise. Add trailing semicolon to existing test.
24147 (y0_test): Likewise.
24148 (y1_test): Likewise.
24149 * sysdeps/i386/fpu/libm-test-ulps: Update.
24150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24154 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24155 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24156 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24157 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24158 (__tanl): Set errno for infinite argument.
24159 * sysdeps/i386/fpu/mptan.c: Remove.
24160 * sysdeps/i386/fpu/s_tan.S: Likewise.
24161 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24162 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24163 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24164 * math/libm-test.inc (tan_test): Add more tests and enable more
24165 tests for double and long double.
24166 * sysdeps/i386/fpu/libm-test-ulps: Update.
24167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24169 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24171 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24172 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24174 2012-03-16 Roland McGrath <roland@hack.frob.com>
24176 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24177 * configure.in: Use it for both main tree and add-ons.
24178 * configure: Regenerated.
24180 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24182 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24184 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24186 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24190 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24191 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24196 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24197 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24198 != 0 for prec == 2.
24199 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24200 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24201 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24202 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24203 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24204 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24205 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24206 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24207 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24208 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24209 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24210 * math/libm-test.inc (cos_test): Add more tests and enable more
24211 tests for long double.
24212 (sin_test): Likewise.
24213 (sincos_test): Likewise.
24214 * sysdeps/i386/fpu/libm-test-ulps: Update.
24215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24217 2012-03-16 David S. Miller <davem@davemloft.net>
24219 * sysdeps/sparc/fpu/math_private.h: New file.
24221 2012-03-15 David S. Miller <davem@davemloft.net>
24223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24237 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24238 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24240 * sysdeps/sparc/sparc-ifunc.h: New file.
24241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24267 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24268 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24280 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24281 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24283 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24284 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24286 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24288 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24292 2012-03-15 Andreas Jaeger <aj@suse.de>
24295 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24296 ieee754/flt-32 implementation for sin, cos and sincos.
24297 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24298 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24299 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24300 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24301 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24302 ieee754/flt-32 implementation for tan.
24304 * math/libm-test.inc (cos_test): Enable some large input tests for
24306 (sin_test): Likewise.
24307 (sincos_test): Likewise.
24308 (tan_test): Add tests for large input.
24310 * sysdeps/i386/fpu/libm-test-ulps: Update.
24312 2012-03-15 Andreas Jaeger <aj@suse.de>
24315 * math/libm-test.inc (cos_test): Add more test cases.
24316 (sin_test): Likewise.
24317 (sincos_test): Likewise.
24319 2012-03-15 Andreas Jaeger <aj@suse.de>
24322 * math/libm-test.inc (cos_test): Add a test case for large input
24324 (sin_test): Likewise.
24325 (sincos_test): Likewise.
24327 2012-03-15 Andreas Jaeger <aj@suse.de>,
24328 Joseph Myers <joseph@codesourcery.com>
24331 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24332 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24333 * sysdeps/i386/fpu/branred.c: Likewise.
24334 * sysdeps/i386/fpu/dosincos.c: Likewise.
24335 * sysdeps/i386/fpu/mpa.c: Likewise.
24336 * sysdeps/i386/fpu/s_cos.S: Likewise.
24337 * sysdeps/i386/fpu/s_sin.S: Likewise.
24338 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24339 * sysdeps/i386/fpu/sincos32.c: Likewise.
24341 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24343 (libc_feupdateenv_53bit): Define.
24344 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24346 (libc_feupdateenv_53bit): Define.
24348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24349 53 bit (without extend i386 double precision).
24351 * math/libm-test.inc (sincos_test): Add tests for large input.
24355 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24357 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24361 2012-03-15 David S. Miller <davem@davemloft.net>
24363 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24364 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24365 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24366 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24391 fmin/fmax sysdep routines.
24392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24394 2012-03-14 David S. Miller <davem@davemloft.net>
24396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24400 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24401 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24402 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24403 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24418 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24419 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24420 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24421 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24422 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24468 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24473 * sysdeps/sparc/configure.in: New file.
24474 * sysdeps/sparc/configure: Generate.
24475 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24476 * configure: Regenerate.
24477 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24478 * config.make.in (have-as-vis3): New.
24479 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24480 available use -Av9d instead of -Av9a.
24481 * sysdeps/sparc/sparc64/Makefile: Likewise.
24482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24492 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24493 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24494 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24495 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24497 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24498 fzeros/fnegs to load 0x80000000 into a float register instead of
24500 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24502 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24506 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24507 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24508 ($(inst_includedir)/bits/syscall.h): Remove rule.
24509 ($(objpfx)bits/syscall.d): Include instead of
24510 $(objpfx)syscall-list.d.
24511 (generated): Change syscall-list.h and syscall-list.d to
24512 bits/syscall.h and bits/syscall.d.
24514 2012-03-14 Roland McGrath <roland@hack.frob.com>
24517 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24519 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24522 * math/s_csqrt.c: Include <float.h>.
24523 (__csqrt): Scale large or subnormal inputs.
24524 * math/s_csqrtf.c: Likewise.
24525 * math/s_csqrtl.c: Likewise.
24526 * math/libm-test.inc (csqrt_test): Add more tests.
24527 * sysdeps/i386/fpu/libm-test-ulps: Update.
24528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24531 * math/libm-test.inc (hypot_test): Add more tests.
24533 2012-03-13 David S. Miller <davem@davemloft.net>
24536 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24537 double-precision for the calculation instead of scaling.
24539 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24541 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24542 manipulate bits before adding and subtracting TWO52[sx].
24543 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24544 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24546 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24548 2012-03-13 David S. Miller <davem@davemloft.net>
24550 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24551 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24553 rtld-global-offsets.h
24554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24556 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24559 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24561 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24562 'err' in the ifdef scope in which it is actually used.
24564 * nss/nss_db/db-init.c: Include string.h
24566 2012-03-12 David S. Miller <davem@davemloft.net>
24568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24569 masking out of the most significant byte of random value used.
24570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24571 Fix coding style in previous change.
24573 * sysdeps/unix/sysv/linux/kernel-features.h
24574 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24575 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24577 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24580 2012-03-11 David S. Miller <davem@davemloft.net>
24582 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24583 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24584 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24585 for 'resultvar' otherwise things get truncated on 64-bit.
24587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24588 Fix masking out of the most significant byte of random value used.
24590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24592 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24596 2012-03-09 David S. Miller <davem@davemloft.net>
24598 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24599 variables with appropriate CPP guards.
24600 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24601 frame pointer, not the stack pointer. Correct layout comments. Fix test
24602 on resulting framesize and the management of the outregs buffer for pltexit.
24603 Preserve floating point return values across _dl_call_pltexit call.
24604 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24605 framesize and the management of the outregs buffer for pltexit.
24606 Preserve floating point return values across _dl_call_pltexit
24608 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24609 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24610 (print_exit): Fix format string for return register value.
24612 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24614 * sunrpc/Makefile (others): Add rpcgen.
24615 ($(objpfx)rpcgen): Remove special build rule and dependency on
24617 * sunrpc/rpcgen.c: New file.
24619 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24622 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24623 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24624 * sysdeps/i386/crti.S: Likewise.
24625 * sysdeps/i386/crtn.S: Likewise.
24626 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24627 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24628 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24629 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24630 * sysdeps/sh/crti.S: Likewise.
24631 * sysdeps/sh/crtn.S: Likewise.
24632 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24635 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24637 * locale/programs/locfile-kw.gperf: Likewise.
24638 * locale/programs/charmap-kw.h: Regenerated.
24639 * locale/programs/locfile-kw.h: Likewise.
24642 * intl/plural.y: Replace FSF snail mail address with URL.
24643 * intl/plural.c: Regenerated.
24645 2012-03-09 Richard Henderson <rth@twiddle.net>
24647 * include/math_private.h: Remove file.
24648 * math/math_private.h: Move file ...
24649 * sysdeps/generic/math_private.h: ... here.
24651 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24652 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24653 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24655 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24656 and <math_private.h>.
24657 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24658 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24659 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24660 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24661 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24662 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24663 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24664 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24665 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24666 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24668 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24669 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24670 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24671 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24672 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24673 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24674 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24675 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24676 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24677 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24678 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24679 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24681 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24682 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24683 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24684 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24686 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24687 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24688 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24689 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24690 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24691 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24692 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24693 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24694 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24695 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24696 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24697 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24698 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24699 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24700 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24701 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24702 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24703 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24704 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24705 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24706 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24707 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24708 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24709 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24710 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24711 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24712 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24713 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24714 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24715 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24716 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24717 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24718 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24720 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24721 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24722 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24723 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24724 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24725 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24726 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24727 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24728 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24729 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24731 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24735 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24736 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24737 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24738 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24739 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24740 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24741 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24744 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24745 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24746 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24747 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24748 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24749 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24750 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24751 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24752 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24753 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24754 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24755 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24756 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24757 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24758 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24759 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24760 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24761 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24762 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24763 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24764 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24765 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24767 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24768 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24769 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24770 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24771 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24772 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24773 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24774 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24775 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24776 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24777 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24778 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24779 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24780 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24781 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24782 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24783 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24784 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24785 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24786 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24787 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24788 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24789 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24790 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24791 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24792 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24793 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24794 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24795 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24796 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24797 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24798 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24799 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24800 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24801 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24802 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24803 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24804 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24805 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24806 * sysdeps/ieee754/k_standard.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24816 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24817 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24857 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24858 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24859 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24863 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24864 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24865 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24870 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24873 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24874 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24875 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24876 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24878 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24879 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24880 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24881 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24882 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24883 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24884 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24885 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24886 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24887 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24888 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24891 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24897 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24898 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24899 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24900 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24902 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24903 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24904 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24905 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24906 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24908 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24909 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24910 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24911 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24912 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24913 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24914 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24915 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24916 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24917 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24920 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24921 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24922 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24923 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24924 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24925 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24926 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24927 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24928 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24929 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24930 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24931 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24932 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24933 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24934 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24935 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24936 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24937 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24938 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24939 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24940 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24941 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24942 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24943 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24944 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24945 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24946 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24947 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24948 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24949 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24950 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24951 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24952 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24953 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24954 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24955 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24956 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24957 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24958 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24959 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24960 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24961 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24962 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24963 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24964 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24965 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24966 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24967 * sysdeps/ieee754/s_lib_version.c: Likewise.
24968 * sysdeps/ieee754/s_matherr.c: Likewise.
24969 * sysdeps/ieee754/s_signgam.c: Likewise.
24970 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24971 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24972 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24973 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24974 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24975 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24976 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24977 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24978 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24979 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24980 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24981 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24982 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24983 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24984 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24985 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24986 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24987 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24988 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24990 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24992 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24994 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24995 * sunrpc/rpc_main.c: Likewise.
24996 * sunrpc/rpc_svcout.c: Likewise.
24998 2012-03-09 David S. Miller <davem@davemloft.net>
25000 * include/math_private.h: New file.
25002 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25004 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25005 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25006 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25007 from <bits/socket_type.h>.
25008 (enum __socket_type): Don't define here.
25009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25011 bits/socket_type.h.
25014 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25015 checking __USE_GNU.
25017 * Makerules ($(inst_includedir)/%.h): New rule.
25018 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25019 (install-others): Remove variable setting.
25020 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25022 2012-03-08 Richard Henderson <rth@twiddle.net>
25024 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25025 from macro to inline function; merge with the
25026 !__LIBC_INTERNAL_MATH_INLINES version.
25027 (__ieee754_sqrtf): Likewise.
25029 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25030 to inline function.
25031 (__rintf, __floor, __floorf): Likewise.
25033 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25034 macro to inline function.
25035 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25037 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25038 not <math/math_private.h>.
25040 2012-03-08 David S. Miller <davem@davemloft.net>
25042 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25044 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25046 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25048 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25050 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25051 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25053 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25055 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25056 be defined individually, they must be defined as a block. Define
25057 S for printing a string instead of hidint the different by using a
25058 macro for adding the 'l'.
25059 * stdio-common/tst-fphex-wide.c: Adjust.
25061 2012-03-07 Marek Polacek <polacek@redhat.com>
25063 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25065 2012-03-08 Marek Polacek <polacek@redhat.com>
25068 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25069 * stdio-common/tst-fphex.c: Define a few macros to make the
25070 test reusable. Use them.
25071 * stdio-common/tst-fphex-wide.c: New file.
25073 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25076 * manual/macros.texi (gnusystems): New macro.
25077 (nongnusystems): Likewise.
25078 (gnulinuxhurdsystems): Likewise.
25079 (gnuhurdsystems): Likewise..
25080 (gnulinuxsystems): Likewise.
25081 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25082 variants of the GNU system, not "GNU system".
25083 * manual/conf.texi: Likewise.
25084 * manual/errno.texi: Likewise. Update example of errno macro
25086 * manual/filesys.texi: Likewise.
25087 (getumask): Document as specific to GNU/Hurd.
25088 * manual/install.texi: Likewise. Reword some references to
25090 * manual/intro.texi: Likewise.
25091 * manual/io.texi: Likewise.
25092 (File Name Portability): Detail which constraints are inapplicable
25093 to all GNU systems and which are only inapplicable to GNU/Hurd.
25094 * manual/job.texi: Likewise.
25095 * manual/llio.texi: Likewise.
25096 (O_NOCTTY): Document as present on GNU/Linux.
25097 * manual/maint.texi: Likewise.
25098 * manual/memory.texi: Likewise.
25099 * manual/pattern.texi: Likewise.
25100 * manual/pipe.texi: Likewise.
25101 * manual/process.texi: Likewise.
25102 * manual/resource.texi: Likewise.
25103 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25105 * manual/setjmp.texi: Likewise.
25106 * manual/signal.texi: Likewise.
25107 * manual/startup.texi: Likewise.
25108 * manual/stdio.texi: Likewise.
25109 * manual/terminal.texi: Likewise.
25110 (ONLCR): Document as POSIX.
25111 (OXTABS): Document availability on GNU/Linux as XTABS.
25112 (ONOEOT): Document availability separately from other bits.
25113 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25114 * manual/time.texi: Likewise.
25115 * manual/users.texi: Likewise.
25116 * INSTALL: Regenerated.
25117 * sysdeps/gnu/errlist.c: Regenerated.
25119 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25120 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25121 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25123 * configure: Regenerated.
25125 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25127 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25128 default includes instead of AC_HEADER_CHECK.
25129 * sysdeps/i386/configure: Regenerated.
25132 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25133 * math/s_cacoshf.c (__cacoshf): Likewise.
25134 * math/s_cacoshl.c (__cacoshl): Likewise.
25135 * math/s_casinh.c (__casinh): Set signs of result from argument.
25136 * math/s_casinhf.c (__casinhf): Likewise.
25137 * math/s_casinhl.c (__casinhl): Likewise.
25138 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25139 (casinh_test): Add more tests.
25140 * sysdeps/i386/fpu/libm-test-ulps: Update.
25141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25143 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25145 * po/zh_TW.po: Update from translation team.
25147 * login/Makefile (distribute): Remove variable.
25148 * catgets/Makefile: Likewise.
25149 * mach/Makefile: Likewise.
25150 * malloc/Makefile: Likewise.
25151 * misc/Makefile: Likewise.
25152 * iconv/Makefile: Likewise.
25153 * nscd/Makefile: Likewise.
25154 * hurd/Makefile: Likewise.
25155 * manual/Makefile: Likewise.
25156 * locale/Makefile: Likewise.
25157 * intl/Makefile: Likewise.
25158 * conform/Makefile: Likewise.
25159 * nss/Makefile: Likewise.
25160 * time/Makefile: Likewise.
25161 * soft-fp/Makefile: Likewise.
25162 * dirent/Makefile: Likewise.
25163 * gmon/Makefile: Likewise.
25164 * po/Makefile: Likewise.
25165 * rt/Makefile: Likewise.
25166 * socket/Makefile: Likewise.
25167 * math/Makefile: Likewise.
25168 * signal/Makefile: Likewise.
25169 * debug/Makefile: Likewise.
25170 * elf/Makefile: Likewise.
25171 * timezone/Makefile: Likewise.
25172 * stdlib/Makefile: Likewise.
25173 * iconvdata/Makefile: Likewise.
25174 * sunrpc/Makefile: Likewise.
25175 * io/Makefile: Likewise.
25176 * argp/Makefile: Likewise.
25177 * inet/Makefile: Likewise.
25178 * hesiod/Makefile: Likewise.
25179 * grp/Makefile: Likewise.
25180 * csu/Makefile: Likewise.
25181 * wctype/Makefile: Likewise.
25182 * crypt/Makefile: Likewise.
25183 * libio/Makefile: Likewise.
25184 * string/Makefile: Likewise.
25185 * nis/Makefile: Likewise.
25186 * resolv/Makefile: Likewise.
25187 * stdio-common/Makefile: Likewise.
25188 * wcsmbs/Makefile: Likewise.
25189 * dlfcn/Makefile: Likewise.
25190 * posix/Makefile: Likewise.
25193 * timezone/Makefile: Don't install timezone files, just the programs
25196 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25198 * nss/databases.def: Add missing gshadow entry.
25200 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25202 2012-03-06 Marek Polacek <polacek@redhat.com>
25205 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25206 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25207 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25208 * stdio-common/tst-long-dbl-fphex.c: New file.
25210 2012-03-06 David S. Miller <davem@davemloft.net>
25212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25213 (set_obp_int): New function.
25214 (get_obp_int): New function.
25215 (__get_clockfreq_via_dev_openprom): Likewise.
25216 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25217 Avoid unused variable warnings on 'val' and use builtin_expect.
25218 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25220 (INLINE_CLONE_SYSCALL): Likewise.
25222 2012-03-05 David S. Miller <davem@davemloft.net>
25224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25226 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25230 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25231 only for |x| >= 40.
25232 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25234 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25236 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25237 Replace gettimeofday with __vdso_gettimeofday.
25239 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25240 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25241 __vdso_clock_gettime and __vdso_getcpu.
25243 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25244 time with __vdso_time.
25246 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25248 * manual/lang.texi (size_t): Note types to which size_t may be
25249 equivalent with the GNU C Library, but do not describe when
25250 differences between them are significant.
25252 2012-03-05 Andreas Jaeger <aj@suse.de>
25254 * sysdeps/i386/fpu/libm-test-ulps: Update.
25256 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25259 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25260 (__ieee754_pow): Save and restore rounding mode and use
25261 round-to-nearest for main computations.
25262 * math/libm-test.inc (pow_test_tonearest): New function.
25263 (pow_test_towardzero): Likewise.
25264 (pow_test_downward): Likewise.
25265 (pow_test_upward): Likewise.
25266 (main): Call the new functions.
25267 * sysdeps/i386/fpu/libm-test-ulps: Update.
25268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25271 * math/libm-test.inc (cosh_test_tonearest): New function.
25272 (cosh_test_towardzero): Likewise.
25273 (cosh_test_downward): Likewise.
25274 (cosh_test_upward): Likewise.
25275 (sinh_test_tonearest): Likewise.
25276 (sinh_test_towardzero): Likewise.
25277 (sinh_test_downward): Likewise.
25278 (sinh_test_upward): Likewise.
25279 (main): Call the new functions.
25280 * sysdeps/i386/fpu/libm-test-ulps: Update.
25281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25283 2012-03-05 Tom de Vries <tom@codesourcery.com>
25285 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25286 default stack guard is set in last bytes.
25287 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25289 2012-03-05 Kees Cook <keescook@chromium.org>
25291 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25294 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25295 possibly allocate from heap instead of stack.
25296 * stdio-common/bug-vfprintf-nargs.c: New file.
25297 * stdio-common/Makefile (tests): Add nargs overflow test.
25299 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25303 2012-03-03 Marek Polacek <polacek@redhat.com>
25305 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25306 * math/math_private.h: Likewise.
25307 * stdlib/tst-strtod.c: Likewise.
25308 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25309 * sysdeps/x86_64/bits/atomic.h: Likewise.
25311 2012-03-02 David S. Miller <davem@davemloft.net>
25313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25317 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25318 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25319 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25320 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25322 2012-03-02 Roland McGrath <roland@hack.frob.com>
25325 * manual/examples/README: New file, says the example source files
25326 can be used under GPL>=2.
25327 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25328 line containing just "*/".
25329 * manual/examples/add.c: Add copyright header (GPL>=2).
25330 * manual/examples/argp-ex1.c: Likewise.
25331 * manual/examples/argp-ex2.c: Likewise.
25332 * manual/examples/argp-ex3.c: Likewise.
25333 * manual/examples/argp-ex4.c: Likewise.
25334 * manual/examples/atexit.c: Likewise.
25335 * manual/examples/db.c: Likewise.
25336 * manual/examples/dir.c: Likewise.
25337 * manual/examples/dir2.c: Likewise.
25338 * manual/examples/execinfo.c: Likewise.
25339 * manual/examples/filecli.c: Likewise.
25340 * manual/examples/filesrv.c: Likewise.
25341 * manual/examples/fmtmsgexpl.c: Likewise.
25342 * manual/examples/genpass.c: Likewise.
25343 * manual/examples/inetcli.c: Likewise.
25344 * manual/examples/inetsrv.c: Likewise.
25345 * manual/examples/isockad.c: Likewise.
25346 * manual/examples/longopt.c: Likewise.
25347 * manual/examples/memopen.c: Likewise.
25348 * manual/examples/memstrm.c: Likewise.
25349 * manual/examples/mkfsock.c: Likewise.
25350 * manual/examples/mkisock.c: Likewise.
25351 * manual/examples/mygetpass.c: Likewise.
25352 * manual/examples/pipe.c: Likewise.
25353 * manual/examples/popen.c: Likewise.
25354 * manual/examples/rprintf.c: Likewise.
25355 * manual/examples/search.c: Likewise.
25356 * manual/examples/select.c: Likewise.
25357 * manual/examples/setjmp.c: Likewise.
25358 * manual/examples/sigh1.c: Likewise.
25359 * manual/examples/sigusr.c: Likewise.
25360 * manual/examples/stpcpy.c: Likewise.
25361 * manual/examples/strdupa.c: Likewise.
25362 * manual/examples/strftim.c: Likewise.
25363 * manual/examples/strncat.c: Likewise.
25364 * manual/examples/subopt.c: Likewise.
25365 * manual/examples/swapcontext.c: Likewise.
25366 * manual/examples/termios.c: Likewise.
25367 * manual/examples/testopt.c: Likewise.
25368 * manual/examples/testpass.c: Likewise.
25369 * manual/examples/timeval_subtract.c: Likewise.
25372 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25374 * manual/timeval_subtract.c.texi: ... here, new file.
25376 2012-03-02 David S. Miller <davem@davemloft.net>
25378 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25380 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25383 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25384 (__sin): Save and restore rounding mode and use round-to-nearest
25385 for all computations.
25386 (__cos): Save and restore rounding mode and use round-to-nearest
25387 for all computations.
25388 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25390 (tan): Save and restore rounding mode and use round-to-nearest for
25392 * math/libm-test.inc (cos_test_tonearest): New function.
25393 (cos_test_towardzero): Likewise.
25394 (cos_test_downward): Likewise.
25395 (cos_test_upward): Likewise.
25396 (sin_test_tonearest): Likewise.
25397 (sin_test_towardzero): Likewise.
25398 (sin_test_downward): Likewise.
25399 (sin_test_upward): Likewise.
25400 (tan_test_tonearest): Likewise.
25401 (tan_test_towardzero): Likewise.
25402 (tan_test_downward): Likewise.
25403 (tan_test_upward): Likewise.
25404 (main): Call the new functions.
25405 * sysdeps/i386/fpu/libm-test-ulps: Update.
25406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25409 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25410 small n, then large n, before computing and testing k+n.
25411 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25412 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25414 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25416 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25417 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25418 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25419 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25420 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25421 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25422 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25423 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25424 * math/libm-test.inc (scalbn_test): Add more tests.
25425 (scalbln_test): Likewise.
25427 * manual/filesys.texi (mode_t): Describe constraints on size and
25428 signedness, not exact equivalence to a particular type.
25430 (ino64_t): Likewise.
25432 (nlink_t): Likewise.
25433 (blkcnt_t): Likewise.
25434 (blkcnt64_t): Likewise.
25435 * manual/llio.texi (off_t): Likewise.
25438 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25439 (__ieee754_exp): Save and restore rounding mode and use
25440 round-to-nearest for all computations.
25441 * math/libm-test.inc (exp_test_tonearest): New function.
25442 (exp_test_towardzero): Likewise.
25443 (exp_test_downward): Likewise.
25444 (exp_test_upward): Likewise.
25445 (main): Call the new functions.
25446 * sysdeps/i386/fpu/libm-test-ulps: Update.
25447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25449 2012-03-01 Chris Demetriou <cgd@google.com>
25451 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25452 have predictable order.
25454 2012-03-01 David S. Miller <davem@davemloft.net>
25456 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25458 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25459 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25460 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25461 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25463 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25464 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25465 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25467 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25468 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25469 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25470 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25471 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25475 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25476 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25477 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25479 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25480 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25481 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25482 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25483 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25484 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25485 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25486 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25487 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25488 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25489 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25490 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25492 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25493 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25495 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25496 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25497 * sysdeps/sparc/elf/configure: Regenerated.
25499 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25501 * configure.in (AS, LD): Require binutils 2.20 or later.
25502 * configure: Regenerated.
25503 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25504 as required minimum version.
25505 * INSTALL: Regenerated.
25509 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25510 before squaring exponent.
25511 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25512 bottom long double and 27 bits of top long double before squaring
25514 * math/libm-test.inc (erfc_test): Add more tests.
25515 * sysdeps/i386/fpu/libm-test-ulps: Update.
25516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25519 2012-03-01 Kai Tietz <ktietz@redhat.com>
25521 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25522 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25523 containing bit-fields.
25524 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25525 * soft-fp/single.h (_FP_UNION_S): Likewise.
25526 * soft-fp/double.h (_FP_UNION_D): Likewise.
25528 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25531 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25532 not include ../strcmp.S.
25533 [USE_AS_STRNCASECMP_L]: Likewise.
25534 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25535 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25536 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25537 (__strncasecmp_l_ia32): Define as alias to
25538 __strncasecmp_l_nonascii.
25541 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25542 * sysdeps/i386/fpu/libm-test-ulps: Update.
25543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25545 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25548 2012-02-29 Jeff Law <law@redhat.com>
25550 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25551 out of bounds read.
25553 2012-02-29 Marek Polacek <polacek@redhat.com>
25556 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25557 * elf/Makefile: Add rules to run tst-unused-dep.out.
25559 2012-02-28 David S. Miller <davem@davemloft.net>
25561 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25562 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25565 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25566 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25568 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25570 * math/libm-test.inc (llround_test): Move one test from
25571 lround_test. Use TEST_f_L in moved test.
25572 (lround_test): Move misplaced test to llround_test. Add testcase
25575 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25577 * sysdeps/x86_64/fpu/e_expf.S: New file.
25578 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25580 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25583 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25584 of remain_len that may cause incomplete multi-byte character and
25586 * posix/bug-regex33.c: New file.
25587 * posix/Makefile (tests): Add bug-regex33.
25589 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25591 * manual/macros.texi: New file.
25592 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25593 * manual/libc.texinfo: Include macros.texi.
25594 * manual/creatute.texi: Likewise.
25595 * manual/install.texi: Likewise.
25596 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25597 @glibcadj{} in references to the GNU C Library.
25598 * manual/charset.texi: Likewise.
25599 * manual/conf.texi: Likewise.
25600 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25601 when not using those macros.
25602 * manual/creature.texi: Likewise.
25603 * manual/crypt.texi: Likewise.
25604 * manual/errno.texi: Likewise.
25605 * manual/filesys.texi: Likewise.
25606 * manual/header.texi: Likewise.
25607 * manual/install.texi: Likewise.
25608 * manual/intro.texi: Likewise.
25609 * manual/io.texi: Likewise.
25610 * manual/job.texi: Likewise.
25611 * manual/lang.texi: Likewise.
25612 * manual/libc.texiinfo: Likewise.
25613 * manual/llio.texi: Likewise.
25614 * manual/locale.texi: Likewise.
25615 * manual/maint.texi: Likewise.
25616 * manual/math.texi: Likewise.
25617 * manual/memory.texi: Likewise.
25618 * manual/message.texi: Likewise.
25619 * manual/nss.texi: Likewise.
25620 * manual/pattern.texi: Likewise.
25621 * manual/process.texi: Likewise.
25622 * manual/resource.texi: Likewise.
25623 * manual/search.texi: Likewise.
25624 * manual/setjmp.texi: Likewise.
25625 * manual/signal.texi: Likewise.
25626 * manual/socket.texi: Likewise.
25627 * manual/startup.texi: Likewise.
25628 * manual/stdio.texi: Likewise.
25629 * manual/string.texi: Likewise.
25630 * manual/sysinfo.texi: Likewise.
25631 * manual/syslog.texi: Likewise.
25632 * manual/terminal.texi: Likewise.
25633 * manual/time.texi: Likewise.
25634 * manual/users.texi: Likewise.
25635 * INSTALL: Regenerated.
25636 * NOTES: Regenerated.
25637 * sysdeps/gnu/errlist.c: Regenerated.
25639 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25641 * include/dirent.h: Include <dirstream.h> before
25644 2012-02-28 David S. Miller <davem@davemloft.net>
25646 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25647 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25648 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25649 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25651 2012-02-27 David S. Miller <davem@davemloft.net>
25653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25655 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25656 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25659 frame pointer instead of stack pointer relative arg slot.
25660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25661 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25662 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25664 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25667 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25669 2012-02-27 David S. Miller <davem@davemloft.net>
25671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25675 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25676 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25677 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25678 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25680 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25682 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25683 later. Allow versions 5-9.
25684 * configure: Regenerated.
25685 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25686 required minimum version and 4.6 as recommended version. Do not
25687 mention bugs in GCC 2.7 and 2.8.
25688 * INSTALL: Regenerated.
25690 2012-02-27 David S. Miller <davem@davemloft.net>
25692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25696 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25697 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25698 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25699 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25702 manipulate bits before adding and subtracting TWO112[sx].
25703 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25705 2012-02-27 Roland McGrath <roland@hack.frob.com>
25708 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25709 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25710 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25711 being in POSIX, because they are in 1003.1-2008.
25713 * rt/tst-aio.c: Include <fcntl.h>.
25714 * rt/tst-aio7.c: Likewise.
25715 * rt/tst-aio64.c: Likewise.
25717 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25719 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25721 * manual/install.texi (--with-headers): Describe headers as
25722 interface headers, not private headers.
25723 (Specific advice for GNU/Linux systems): Describe use of headers
25724 from "make headers_install", not private headers from older
25726 * INSTALL: Regenerated.
25727 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25729 * sysdeps/unix/sysv/linux/configure: Regenerated.
25731 * manual/llio.texi (fclean): Remove documentation.
25733 * manual/Makefile (libc-texi-generated): New variable. Include
25735 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25736 $(libc-texi-generated), not duplicated list of files.
25737 (version.texi, stamp-version): New rules.
25738 (realclean): Remove $(libc-texi-generated), not individual files
25739 from that list. Do not remove dir-add.texinfo.
25740 * manual/libc.texinfo: Comment out uses of edition numbers and
25741 references to printed manual. Remove last-updated dates.
25742 (EDITION): Comment out.
25744 (VERSION, UPDATED): Remove.
25745 (version.texi): Include.
25747 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25749 * sysdeps/posix/spawni.c: Include <signal.h>.
25750 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25751 * sysdeps/pthread/aio_fsync.c: Likewise.
25753 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25755 * conform/Makefile (tests): Run only when not cross-compiling and
25756 when fast-check is not defined.
25758 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25759 * conform/data/limits.h-data: Fixes for POSIX2008.
25760 * conform/run-conformtest.sh: Run all tests.
25761 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25763 * include/bits/dlfcn.h: Likewise.
25764 * include/langinfo.h: Likewise.
25765 * include/monetary.h: Likewise.
25766 * include/sys/poll.h: Likewise.
25768 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25770 * posix/spawn.h: Define __need_sigset_t.
25771 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25772 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25773 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25774 to get sigevent_t only.
25775 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25776 only for __USE_GNU.
25777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25778 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25779 process_vm_writev only for __USE_GNU.
25780 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25782 * conform/Makefile: For now ignore errors from run-conformtest.
25783 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25784 POSIX to avoid namespace pollution. Don't prepend headers.
25785 * conform/data/aio.h-data: Fixes for POSIX testing.
25786 * conform/data/fcntl.h-data: Likewise.
25787 * conform/data/glob.h-data: Likewise.
25788 * conform/data/grp.h-data: Likewise.
25789 * conform/data/pthread.h-data: Likewise.
25790 * conform/data/pwd.h-data: Likewise.
25791 * conform/data/signal.h-data: Likewise.
25792 * conform/data/spawn.h-data: Likewise.
25793 * conform/data/stdio.h-data: Likewise.
25794 * conform/data/stdlib.h-data: Likewise.
25795 * conform/data/stropts.h-data: Likewise.
25796 * conform/data/sys/mman.h-data: Likewise.
25797 * conform/data/sys/stat.h-data: Likewise.
25798 * conform/data/sys/types.h-data: Likewise.
25799 * conform/data/sys/wait.h-data: Likewise.
25800 * conform/data/time.h-data: Likewise.
25801 * conform/data/unistd.h-data: Likewise.
25802 * conform/data/utime.h-data: Likewise.
25804 * io/sys/stat.h: fchmod was always in POSIX.
25805 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25806 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25807 * rt/aio.h: Define __need_timespec before including <time.h>.
25808 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25809 struct. Add forward declaration of pthread_attr_t and use it in
25811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25812 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25813 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25814 always remove CLK_TCK definition.
25816 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25818 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25820 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25822 * conform/run-conformtest.sh: New file.
25823 * conform/Makefile: Run run-conformtest for tests.
25824 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25827 * conform/data/uchar.h-data: New file.
25828 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25829 * conform/data/arpa/inet.h-data: Likewise.
25830 * conform/data/assert.h-data: Likewise.
25831 * conform/data/complex.h-data: Likewise.
25832 * conform/data/cpio.h-data: Likewise.
25833 * conform/data/ctype.h-data: Likewise.
25834 * conform/data/dirent.h-data: Likewise.
25835 * conform/data/dlfcn.h-data: Likewise.
25836 * conform/data/errno.h-data: Likewise.
25837 * conform/data/fcntl.h-data: Likewise.
25838 * conform/data/float.h-data: Likewise.
25839 * conform/data/fmtmsg.h-data: Likewise.
25840 * conform/data/fnmatch.h-data: Likewise.
25841 * conform/data/ftw.h-data: Likewise.
25842 * conform/data/glob.h-data: Likewise.
25843 * conform/data/grp.h-data: Likewise.
25844 * conform/data/iconv.h-data: Likewise.
25845 * conform/data/inttypes.h-data: Likewise.
25846 * conform/data/langinfo.h-data: Likewise.
25847 * conform/data/libgen.h-data: Likewise.
25848 * conform/data/limits.h-data: Likewise.
25849 * conform/data/locale.h-data: Likewise.
25850 * conform/data/math.h-data: Likewise.
25851 * conform/data/monetary.h-data: Likewise.
25852 * conform/data/mqueue.h-data: Likewise.
25853 * conform/data/ndbm.h-data: Likewise.
25854 * conform/data/net/if.h-data: Likewise.
25855 * conform/data/netdb.h-data: Likewise.
25856 * conform/data/netinet/in.h-data: Likewise.
25857 * conform/data/nl_types.h-data: Likewise.
25858 * conform/data/poll.h-data: Likewise.
25859 * conform/data/pthread.h-data: Likewise.
25860 * conform/data/pwd.h-data: Likewise.
25861 * conform/data/regex.h-data: Likewise.
25862 * conform/data/sched.h-data: Likewise.
25863 * conform/data/search.h-data: Likewise.
25864 * conform/data/semaphore.h-data: Likewise.
25865 * conform/data/setjmp.h-data: Likewise.
25866 * conform/data/signal.h-data: Likewise.
25867 * conform/data/spawn.h-data: Likewise.
25868 * conform/data/stdarg.h-data: Likewise.
25869 * conform/data/stdio.h-data: Likewise.
25870 * conform/data/stdlib.h-data: Likewise.
25871 * conform/data/string.h-data: Likewise.
25872 * conform/data/strings.h-data: Likewise.
25873 * conform/data/stropts.h-data: Likewise.
25874 * conform/data/sys/ipc.h-data: Likewise.
25875 * conform/data/sys/mman.h-data: Likewise.
25876 * conform/data/sys/msg.h-data: Likewise.
25877 * conform/data/sys/resource.h-data: Likewise.
25878 * conform/data/sys/select.h-data: Likewise.
25879 * conform/data/sys/sem.h-data: Likewise.
25880 * conform/data/sys/shm.h-data: Likewise.
25881 * conform/data/sys/socket.h-data: Likewise.
25882 * conform/data/sys/stat.h-data: Likewise.
25883 * conform/data/sys/statvfs.h-data: Likewise.
25884 * conform/data/sys/time.h-data: Likewise.
25885 * conform/data/sys/timeb.h-data: Likewise.
25886 * conform/data/sys/times.h-data: Likewise.
25887 * conform/data/sys/types.h-data: Likewise.
25888 * conform/data/sys/uio.h-data: Likewise.
25889 * conform/data/sys/un.h-data: Likewise.
25890 * conform/data/sys/utsname.h-data: Likewise.
25891 * conform/data/sys/wait.h-data: Likewise.
25892 * conform/data/syslog.h-data: Likewise.
25893 * conform/data/tar.h-data: Likewise.
25894 * conform/data/termios.h-data: Likewise.
25895 * conform/data/utime.h-data: Likewise.
25896 * conform/data/utmpx.h-data: Likewise.
25897 * conform/data/varargs.h-data: Likewise.
25898 * conform/data/wchar.h-data: Likewise.
25899 * conform/data/wctype.h-data: Likewise.
25900 * conform/data/wordexp.h-data: Likewise.
25902 * include/stropts.h: New file.
25903 * include/uchar.h: New file.
25904 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25905 * include/assert.h: Likewise.
25906 * include/ctype.h: Likewise.
25907 * include/dirent.h: Likewise.
25908 * include/dlfcn.h: Likewise.
25909 * include/fcntl.h: Likewise.
25910 * include/fnmatch.h: Likewise.
25911 * include/glob.h: Likewise.
25912 * include/grp.h: Likewise.
25913 * include/libio.h: Likewise.
25914 * include/locale.h: Likewise.
25915 * include/math.h: Likewise.
25916 * include/net/if.h: Likewise.
25917 * include/netdb.h: Likewise.
25918 * include/netinet/in.h: Likewise.
25919 * include/pthread.h: Likewise.
25920 * include/pwd.h: Likewise.
25921 * include/regex.h: Likewise.
25922 * include/sched.h: Likewise.
25923 * include/search.h: Likewise.
25924 * include/setjmp.h: Likewise.
25925 * include/signal.h: Likewise.
25926 * include/stdio.h: Likewise.
25927 * include/stdlib.h: Likewise.
25928 * include/string.h: Likewise.
25929 * include/sys/cdefs.h: Likewise.
25930 * include/sys/mman.h: Likewise.
25931 * include/sys/msg.h: Likewise.
25932 * include/sys/resource.h: Likewise.
25933 * include/sys/select.h: Likewise.
25934 * include/sys/socket.h: Likewise.
25935 * include/sys/stat.h: Likewise.
25936 * include/sys/statvfs.h: Likewise.
25937 * include/sys/time.h: Likewise.
25938 * include/sys/times.h: Likewise.
25939 * include/sys/uio.h: Likewise.
25940 * include/sys/utsname.h: Likewise.
25941 * include/sys/wait.h: Likewise.
25942 * include/termios.h: Likewise.
25943 * include/time.h: Likewise.
25944 * include/ulimit.h: Likewise.
25945 * include/unistd.h: Likewise.
25946 * include/utime.h: Likewise.
25947 * include/wchar.h: Likewise.
25948 * include/wctype.h: Likewise.
25949 * include/wordexp.h: Likewise.
25951 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25953 * time/time.h: TIME_UTC must be a macro.
25954 Make timespec_get available for ISO C11 only as well.
25956 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25958 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25959 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25961 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25963 * configure.in: Use -o not -a in test for unsupported multi-arch.
25965 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25967 * manual/texinfo.tex: Update to version 2012-01-19.16.
25969 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25971 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25973 2012-02-24 Roland McGrath <roland@hack.frob.com>
25976 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25977 * manual/fdl-1.3.texi: New file.
25978 * manual/fdl-1.1.texi: File removed.
25981 * manual/libc.texinfo (FDL_VERSION): New @set.
25982 Use it for mention of FDL in cover text.
25983 (Documentation License): Use it in @include file name.
25985 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25986 Roland McGrath <roland@hack.frob.com>
25989 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25990 not LONG_LONG_MAX and LONG_LONG_MIN.
25991 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25992 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25994 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25996 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26000 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26001 manipulate bits before adding and subtracting TWO23[sx].
26002 * math/libm-test.inc (nearbyint_test): Add more tests.
26004 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26007 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26008 bits before adding and subtracting TWO23[sx].
26009 * math/libm-test.inc (rint_test): Add more tests.
26010 (rint_test_tonearest): Likewise.
26011 (rint_test_towardzero): Likewise.
26012 (rint_test_downward): Likewise.
26013 (rint_test_upward: Likewise.
26015 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26018 * include/stdc-predef.h: New file. Extracted from features.h.
26019 * include/features.h: Include stdc-predef.h.
26020 * Makefile (headers): Add stdc-predef.h.
26021 * CONFORMANCE (Compiler limitations): Update.
26023 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26025 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26027 2012-02-21 David S. Miller <davem@davemloft.net>
26029 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26030 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26032 2012-02-20 David S. Miller <davem@davemloft.net>
26034 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26035 using a normal save/restore sequence, rather than allocating a
26036 dummy stack frame just to store a frame pointer and restore.
26037 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26039 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26041 * manual/install.texi: Fix stray word in line-wrapped comment.
26043 2012-02-20 David S. Miller <davem@davemloft.net>
26045 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26046 both binutils and gcc support GOTDATA.
26048 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26049 "rd %pc" in the PIC register setup sequences.
26051 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26052 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26053 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26054 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26055 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26058 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26059 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26060 (SYSCALL_ERROR_HANDLER): Likewise.
26061 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26062 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26063 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26064 (SYSCALL_ERROR_HANDLER): Likewise.
26066 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26067 (HAVE_GCC_GOTDATA): New.
26068 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26069 relocation support in both binutils and gcc.
26070 * sysdeps/sparc/elf/configure: Regenerate.
26072 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26073 * sysdeps/sparc/sparc32/elf/configure: Delete.
26074 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26075 * sysdeps/sparc/sparc64/elf/configure: Delete.
26076 * sysdeps/sparc/elf/configure.in: New file.
26077 * sysdeps/sparc/elf/configure: Generate.
26079 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26080 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26081 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26082 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26083 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26085 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26087 * manual/install.texi: Do not mention specific glibc version
26089 * manual/libc.texinfo (VERSION, UPDATED): Update.
26090 (@copying): Use @copyright{} and range of years.
26092 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26095 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26096 [crti.S not in sysdirs] (generated): Do not append.
26097 [crti.S not in sysdirs] (omit-deps): Likewise.
26098 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26099 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26100 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26101 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26102 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26104 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26105 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26106 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26107 * csu/defs.awk: Remove file.
26108 * sysdeps/generic/initfini.c: Likewise.
26109 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26111 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26114 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26116 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26117 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26118 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26119 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26120 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26121 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26123 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26124 (__EPOLL_PACKED): Define to empty if not defined by
26126 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26130 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26132 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26133 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26134 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26135 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26137 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26141 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26143 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26145 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26146 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26147 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26150 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26152 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26153 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26155 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26157 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26158 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26160 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26162 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26165 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26167 * math/w_acos.c: Use non-signaling floating-point comparisons.
26168 * math/w_acosf.c: Likewise.
26169 * math/w_acosh.c: Likewise.
26170 * math/w_acoshf.c: Likewise.
26171 * math/w_acoshl.c: Likewise.
26172 * math/w_acosl.c: Likewise.
26173 * math/w_asin.c: Likewise.
26174 * math/w_asinf.c: Likewise.
26175 * math/w_asinl.c: Likewise.
26176 * math/w_atanh.c: Likewise.
26177 * math/w_atanhf.c: Likewise.
26178 * math/w_atanhl.c: Likewise.
26179 * math/w_exp2.c: Likewise.
26180 * math/w_exp2f.c: Likewise.
26181 * math/w_exp2l.c: Likewise.
26182 * math/w_j0.c: Likewise.
26183 * math/w_j0f.c: Likewise.
26184 * math/w_j0l.c: Likewise.
26185 * math/w_j1.c: Likewise.
26186 * math/w_j1f.c: Likewise.
26187 * math/w_j1l.c: Likewise.
26188 * math/w_jn.c: Likewise.
26189 * math/w_jnf.c: Likewise.
26190 * math/w_log.c: Likewise.
26191 * math/w_log10.c: Likewise.
26192 * math/w_log10f.c: Likewise.
26193 * math/w_log10l.c: Likewise.
26194 * math/w_log2.c: Likewise.
26195 * math/w_log2f.c: Likewise.
26196 * math/w_log2l.c: Likewise.
26197 * math/w_logf.c: Likewise.
26198 * math/w_logl.c: Likewise.
26199 * math/w_sqrt.c: Likewise.
26200 * math/w_sqrtf.c: Likewise.
26201 * math/w_sqrtl.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26204 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26205 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26206 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26208 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26211 * manual/string.texi (strnlen): Use correct parameter name in
26212 equivalent expression.
26214 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26217 * manual/users.texi (seteuid): Consistently use neweuid for
26220 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26223 * manual/nss.texi (Services in the NSS configuration): Correct
26224 list of services in example configuration file.
26226 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26229 * manual/arith.texi: Remove statements about negative zero
26230 behaving identically to zero.
26232 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26235 * manual/install.texi: Do not document upgrading from libc5.
26237 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26240 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26242 2012-02-18 David S. Miller <davem@davemloft.net>
26244 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26245 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26246 %o7 across the call.
26247 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26250 SETUP_PIC_REG_LEAF.
26251 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26252 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26253 * sysdeps/sparc/crtn.S: Likewise.
26255 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26257 * aout/Makefile: Remove.
26259 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26262 * manual/examples/argp-ex1.c (main): Format definition in GNU
26264 * manual/examples/argp-ex2.c (main): Likewise.
26265 * manual/examples/argp-ex3.c (main): Likewise.
26266 * manual/examples/argp-ex4.c (main): Likewise.
26267 * manual/examples/longopt.c (main): Use new-style prototype
26269 * manual/examples/strncat.c (main): Specify return type and use
26270 (void) for arguments.
26271 * manual/examples/subopt.c (main): Use char **argv argument.
26273 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26276 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26279 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26282 * manual/string.texi (strchr): Change when strchrnul is
26285 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26288 * manual/locale.texi (setlocale): Document LOCPATH.
26290 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26293 * manual/process.texi (execle): Move @dots{} before last argument.
26295 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26298 * manual/charset.texi (Generic Charset Conversion): Fix typo
26299 (LC_TYPE -> LC_CTYPE).
26301 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26304 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26305 (scalbnf): Likewise.
26306 (scalbnl): Likewise.
26307 (scalbln): Likewise.
26308 (scalblnf): Likewise.
26309 (scalblnl): Likewise.
26310 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26311 (vwarnx): Likewise.
26314 * manual/filesys.texi (telldir): Use braces around return type.
26315 * manual/llio.texi (mmap): Add space after comma.
26316 (mmap64): Likewise.
26317 * manual/math.texi (jn): Use @var{} on parameter names.
26323 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26325 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26327 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26328 (sched_get_priority_max): Likewise.
26329 * manual/signal.texi (sigvec): Add space after comma.
26330 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26332 (if_indextoname): Likewise.
26333 (if_freenameindex): Likewise.
26334 (sendto): Use ',' instead of '.' in prototype.
26335 * manual/startup.texi (syscall): Use @dots{} instead of literal
26337 * manual/stdio.texi (__fpending): Separate initial words of
26338 paragraph from @deftypefun line.
26339 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26341 (vsyslog): Use @var{} on parameter names.
26342 * manual/terminal.texi (stty): Use @var{} on parameter names.
26343 * manual/users.texi (getutmp): Use @var{} on parameter names.
26344 (getutmpx): Likewise.
26346 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26349 * manual/stdio.texi (fopen): Fix typos in description of
26352 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26355 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26356 get clock_id definition.
26358 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26361 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26362 (madvise): Cast every argument to void on its own.
26364 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26367 * manual/startup.texi (Exit Status): Fix typo.
26369 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26372 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26373 * manual/examples/argp-ex2.c: Likewise.
26374 * manual/examples/argp-ex3.c: Likewise.
26376 2012-02-16 Richard Henderson <rth@redhat.com>
26378 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26379 * sysdeps/s390/s390-32/initfini.c: Remove.
26380 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26381 * sysdeps/s390/s390-64/initfini.c: Remove.
26383 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26385 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26386 compiler output for sysdeps/generic/initfini.c.
26387 * sysdeps/sh/elf/initfini.c: Remove file.
26389 2012-02-16 David S. Miller <davem@davemloft.net>
26392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26394 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26395 * sysdeps/sparc/crti.S: New file.
26396 * sysdeps/sparc/crtn.S: New file.
26397 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26398 * sysdeps/sparc/sparc64/Makefile: Likewise.
26400 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26403 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26405 2012-02-15 Roland McGrath <roland@hack.frob.com>
26408 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26410 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26411 (write, read, close): Likewise.
26412 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26414 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26416 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26417 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26418 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26419 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26421 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26425 2012-02-14 Marek Polacek <polacek@redhat.com>
26427 * sysdeps/x86_64/crti.S: New file.
26428 * sysdeps/x86_64/crtn.S: New file.
26429 * sysdeps/x86_64/elf/initfini.c: Remove file.
26431 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26433 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26434 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26435 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26436 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26438 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26442 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26444 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26445 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26446 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26447 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26449 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26453 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26455 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26456 __feraiseexcept instead of feraiseexcept.
26458 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26459 nanosleep invocations.
26460 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26461 strings, and add error checking for a nanosleep invocations.
26463 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26465 Replace FSF snail mail address with URLs, as per GNU coding standards.
26466 Most of the snail mail addresses were wrong anyway, and omitting
26467 them makes the source code easier to maintain. Almost all of the
26468 changes are to license notices and to locale LC_IDENTIFICATION
26469 addresses, except for this one:
26470 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26471 not its snail mail address.
26473 2012-02-09 Richard Henderson <rth@twiddle.net>
26475 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26476 of kernel-features.h.
26478 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26480 2012-02-08 Marek Polacek <polacek@redhat.com>
26482 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26483 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26484 * sysdeps/gnu/_G_config.h: Likewise.
26485 * sysdeps/generic/_G_config.h: Likewise.
26487 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26489 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26493 * sysdeps/powerpc/powerpc32/crti.S: New file.
26494 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26495 * sysdeps/powerpc/powerpc64/crti.S: New file.
26496 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26498 * Makeconfig (have-initfini): Don't set.
26499 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26500 * configure.in (nopic_initfini): Don't substitute.
26501 * config.h.in (HAVE_INITFINI): Don't #undef.
26502 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26503 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26505 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26507 Support crti.S and crtn.S provided directly by architectures.
26508 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26509 [crti.S in sysdirs] (omit-deps): Likewise.
26510 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26511 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26512 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26513 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26514 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26515 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26516 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26517 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26518 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26519 compiler output for sysdeps/generic/initfini.c.
26520 * sysdeps/i386/elf/Makefile: Remove file.
26521 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26523 2012-02-07 Marek Polacek <polacek@redhat.com>
26525 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26526 * sysdeps/gnu/_G_config.h: Likewise.
26527 * sysdeps/mach/hurd/_G_config.h: Likewise.
26529 2012-02-07 Marek Polacek <polacek@redhat.com>
26531 * math/Makefile (tests): Add tst-CMPLX2.
26532 * math/tst-CMPLX2.c: New file.
26534 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26536 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26538 * math/libm-test.inc (jn_test): Add missing L suffix.
26540 2012-02-06 Marek Polacek <polacek@redhat.com>
26542 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26543 * sysdeps/i386/fpu/e_powf.S: Likewise.
26544 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26545 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26546 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26547 * sysdeps/i386/fpu/e_pow.S: Likewise.
26548 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26549 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26550 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26551 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26552 * sysdeps/i386/fpu/e_log2.S: Likewise.
26553 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26554 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26555 * sysdeps/i386/fpu/e_powl.S: Likewise.
26556 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26557 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26558 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26559 * sysdeps/i386/fpu/e_logl.S: Likewise.
26560 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26561 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26562 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26563 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26564 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26565 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26566 * sysdeps/i386/fpu/e_log.S: Likewise.
26567 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26568 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26569 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26570 * sysdeps/i386/fpu/e_logf.S: Likewise.
26571 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26572 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26573 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26574 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26575 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26576 * sysdeps/i386/fpu/e_log10.S: Likewise.
26577 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26578 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26579 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26580 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26581 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26582 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26583 * sysdeps/i386/asm-syntax.h: Likewise.
26584 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26585 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26586 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26587 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26588 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26589 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26590 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26591 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26592 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26593 * sysdeps/powerpc/sysdep.h: Likewise.
26594 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26595 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26597 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26600 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26602 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26604 * sysdeps/i386/sysdep.h: Include <features.h>.
26605 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26608 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26610 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26612 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26615 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26617 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26618 (SETUP_PIC_REG): Use GET_PC_THUNK.
26619 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26622 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26624 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26625 for non-PIC compilation.
26626 (SETUP_PIC_REG): Add .p2align directive.
26627 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26628 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26630 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26631 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26632 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26633 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26634 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26635 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26636 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26637 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26638 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26639 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26640 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26641 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26642 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26643 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26644 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26645 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26646 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26647 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26648 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26649 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26650 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26651 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26653 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26654 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26655 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26656 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26657 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26658 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26659 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26660 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26661 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26662 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26663 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26664 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26665 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26666 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26667 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26669 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26671 * math/tst-CMPLX.c: Include <stdio.h>.
26673 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26675 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26677 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26678 * sysdeps/sparc/bits/mathdef.h: Likewise.
26680 2012-01-31 Marek Polacek <polacek@redhat.com>
26682 * libio/libio.h: Don't define _PARAMS.
26683 * locale/programs/config.h: Don't define PARAMS.
26684 * stdlib/strtol_l.c: Likewise.
26685 (__strtol_l): Remove PARAMS from the prototype.
26687 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26689 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26690 names. Just use the correct names. Remove unnecessary wrapper
26692 * malloc/arena.c: Likewise.
26693 * malloc/hooks.c: Likewise.
26695 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26696 ARENA_TEST says not to. Simplify test for creation of a new arena.
26697 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26699 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26701 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26703 (update_get_addr): New function.
26704 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26705 GET_ADDR_MODULE parameter.
26707 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26709 * crypt/cert.c: Remove __STDC__ conditionals.
26710 * crypt/crypt-entry.c: Likewise.
26711 * crypt/crypt_util.c: Likewise.
26712 * libio/filedoalloc.c: Likewise.
26713 * libio/fileops.c: Likewise.
26714 * libio/genops.c: Likewise.
26715 * libio/iofclose.c: Likewise.
26716 * libio/iofdopen.c: Likewise.
26717 * libio/iofopen.c: Likewise.
26718 * libio/iofopen64.c: Likewise.
26719 * libio/iogetdelim.c: Likewise.
26720 * libio/iopopen.c: Likewise.
26721 * libio/obprintf.c: Likewise.
26722 * libio/oldfileops.c: Likewise.
26723 * libio/oldiofclose.c: Likewise.
26724 * libio/oldiofdopen.c: Likewise.
26725 * libio/oldiofopen.c: Likewise.
26726 * libio/oldiopopen.c: Likewise.
26727 * libio/wfiledoalloc.c: Likewise.
26728 * libio/wgenops.c: Likewise.
26729 * locale/programs/xmalloc.c: Likewise.
26730 * misc/syslog.c: Likewise.
26731 * stdio-common/xbug.c: Likewise.
26732 * string/memchr.c: Likewise.
26733 * string/memcmp.c: Likewise.
26734 * string/memrchr.c: Likewise.
26735 * string/rawmemchr.c: Likewise.
26736 * sysdeps/posix/getcwd.c: Likewise.
26737 * time/strftime_l.c: Likewise.
26739 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26741 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26742 * config.make.in (config-cflags-sse2avx): Define.
26743 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26746 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26748 * scripts/config.guess: Update from upstream config git repository.
26749 * scripts/config.sub: Likewise.
26751 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26753 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26755 (R_TILEPRO_*, R_TILEGX_*): New macros.
26757 * scripts/firstversions.awk: Fix bug in version range handling.
26759 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26761 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26763 * include/sys/epoll.h: New file.
26764 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26767 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26769 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26770 Avoid unnecessary __WORDSIZE == 64 test.
26771 (fmaxf): Use VEX format if possible.
26776 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26777 * math/math_private.h: Remove libc_fegetround* and
26779 * sysdeps/i386/configure.in: Check for -msse2avx.
26780 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26781 also if SSE2AVX is defined.
26782 Remove libc_fegetround* and libc_fesetround*.
26783 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26784 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26785 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26787 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26788 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26789 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26790 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26791 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26793 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26795 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26797 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26799 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26801 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26804 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26806 * Makeconfig (libm): Define.
26807 * elf/Makefile: Add rules to build and run tst-relsort1.
26808 * elf/tst-relsort1.c: New file.
26809 * elf/tst-relsort1mod1.c: New file.
26810 * elf/tst-relsort1mod2.c: New file.
26812 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26814 * math/s_ldexp.c: Remove __STDC__ conditionals.
26815 * math/s_ldexpf.c: Likewise.
26816 * math/s_ldexpl.c: Likewise.
26817 * math/s_nextafter.c: Likewise.
26818 * math/s_nexttowardf.c: Likewise.
26819 * math/s_significand.c: Likewise.
26820 * math/s_significandf.c: Likewise.
26821 * math/s_significandl.c: Likewise.
26822 * math/w_jnl.c: Likewise.
26823 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26824 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26825 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26826 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26827 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26828 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26829 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26830 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26831 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26832 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26833 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26834 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26835 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26836 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26837 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26838 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26839 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26840 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26842 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26843 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26844 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26845 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26846 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26847 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26848 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26849 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26850 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26851 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26853 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26854 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26855 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26856 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26857 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26858 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26859 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26860 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26861 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26862 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26863 * sysdeps/ieee754/k_standard.c: Likewise.
26864 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26865 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26866 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26867 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26868 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26869 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26870 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26871 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26872 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26873 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26874 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26875 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26876 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26877 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26878 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26879 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26880 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26881 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26882 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26883 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26884 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26885 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26886 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26887 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26888 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26889 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26890 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26891 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26892 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26893 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26894 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26895 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26896 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26901 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26902 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26904 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26907 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26908 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26910 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26912 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26913 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26914 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26916 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26917 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26918 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26919 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26920 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26921 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26922 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26923 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26924 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26925 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26926 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26927 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26928 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26929 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26930 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26931 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26932 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26933 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26934 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26935 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26936 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26938 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26939 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26940 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26941 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26942 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26943 * sysdeps/ieee754/s_matherr.c: Likewise.
26944 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26945 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26949 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26951 * crypt/md5.h: Remove __STDC__ conditionals.
26952 * libio/libioP.h: Likewise.
26953 * locale/programs/config.h: Likewise.
26954 * sysdeps/generic/sysdep.h: Likewise.
26955 * sysdeps/i386/asm-syntax.h: Likewise.
26956 * sysdeps/s390/asm-syntax.h: Likewise.
26957 * sysdeps/unix/sysdep.h: Likewise.
26958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26961 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26963 * libio/libio.h: Remove __STDC__ conditionals.
26964 * malloc/obstack.h: Likewise.
26965 * math/complex.h: Likewise.
26966 * math/math.h: Likewise.
26967 * sysdeps/generic/_G_config.h: Likewise.
26968 * sysdeps/gnu/_G_config.h: Likewise.
26969 * sysdeps/mach/hurd/_G_config.h: Likewise.
26970 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26971 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26972 * sysdeps/sparc/bits/mathdef.h: Likewise.
26974 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26977 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26978 Clean up HAS_* macros.
26979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26980 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26982 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26984 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26985 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26986 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26987 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26988 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26990 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26992 * elf/tst-unique3.cc (gets): Remove declaration.
26993 * elf/tst-unique3lib.cc (gets): Likewise.
26994 * elf/tst-unique3lib2.cc (gets): Likewise.
26995 * elf/tst-unique4.cc (gets): Likewise.
26997 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26999 * include/stdio.h: Add C++ protection. Add gets declarations and
27001 * debug/tst-chk1.c: Don't declare gets here.
27002 * stdio-common/tst-gets.c: Likewise.
27004 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27006 * posix/glob: Remove directory.
27008 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27010 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27012 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27014 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27015 of the non-standard EPFNOSUPPORT.
27017 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27019 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27020 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27021 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27023 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27025 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27027 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27029 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27031 * nscd/grpcache.c (cache_addgr): Likewise.
27032 * nscd/hstcache.c (cache_addhst): Likewise.
27033 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27034 * nscd/pwdcache.c (cache_addpw): Likewise.
27035 * nscd/servicescache.c (cache_addserv): Likewise.
27037 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27039 * malloc/malloc.c: Various cleanups.
27040 * malloc/hooks.c: Likewise.
27042 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27043 * stdlib/bug-fmtmsg1.c: New file.
27045 * stdlib/fmtmsg.c (init): Add missing unlock.
27046 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27048 2012-01-12 Marek Polacek <polacek@redhat.com>
27050 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27053 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27055 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27056 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27057 macro to ensure uniqueness of label name.
27058 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27059 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27061 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27063 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27065 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27066 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27067 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27070 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27072 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27074 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27075 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27076 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27078 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27080 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27081 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27082 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27083 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27085 * math/bits/math-finite.h: Add ldexp support.
27087 2012-01-10 Marek Polacek <polacek@redhat.com>
27089 * locale/programs/localedef.h (show_archive_content): Add noreturn
27092 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27094 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27096 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27098 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27100 * io/Makefile (headers): Add bits/poll2.h.
27102 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27105 typo #include statement.
27107 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27109 * include/sys/cdefs.h: Define __attribute_alloc_size.
27110 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27111 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27112 * elf/pldd.c: Likewise.
27113 * iconv/iconv_charmap.c: Likewise.
27114 * iconv/iconvconfig.c: Likewise.
27115 * iconv/strtab.c: Likewise.
27116 * locale/programs/locale.c: Likewise.
27117 * locale/programs/localedef.h: Likewise.
27118 * locale/programs/simple-hash.c: Likewise.
27119 * nscd/nscd.h: Likewise.
27120 * nss/makedb.c: Likewise.
27121 * sysdeps/generic/ldconfig.h: Likewise.
27122 * locale/programs/localedef.c: Remove xmalloc prototype.
27123 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27125 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27127 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27130 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27132 * math/Makefile (tests): Add tst-CMPLX.
27133 * math/tst-CMPLX.c: New file.
27135 * math/complex.h (CMPLXL): Fix typo.
27137 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27138 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27140 * debug/tst-chk1.c: Add poll and ppoll tests.
27141 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27142 * include/sys/poll.h: Add hidden proto for ppoll.
27143 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27144 * sysdeps/mach/hurd/ppoll.c: Likewise.
27145 * io/ppoll.c: Likewise.
27146 * debug/poll_chk.c: New file.
27147 * debug/ppoll_chk.c: New file.
27148 * include/bits/poll2.h: New file.
27149 * io/bits/poll2.h: New file.
27152 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27154 * configure.in: static is always set to yes. Remove.
27155 * config.make.in: Don't set build-static.
27156 * Makeconfig: Remove use of build-static.
27157 * dlfcn/Makefile: Likewise.
27158 * elf/Makefile: Likewise.
27159 * math/Makefile: Likewise.
27160 * misc/Makefile: Likewise.
27161 * nptl/Makefile: Likewise.
27162 * sysdeps/mach/hurd/Makefile: Likewise.
27164 * configure.in: PWD_P is not used anymore.
27165 * config.make.in: Remove PWD_P entry.
27167 * configure.in: Remove last remnants of RANLIB.
27168 No need to check for signed size_t anymore.
27169 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27171 Remove __builtin_expect test because we require at least gcc 3.4.
27172 * aclocal.m4: Likewise.
27174 * wcsmbs/mbrtoc16.c: Implement using towc function.
27175 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27176 * wcsmbs/wcsmbsload.c: Likewise.
27177 * iconv/gconv_simple.c: Likewise.
27178 * iconv/gconv_int.h: Likewise.
27179 * iconv/gconv_builtin.h: Likewise.
27180 * iconv/iconv_prog.c: Remove CHAR16 handling.
27182 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27184 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27186 * configure.in: Remove --with-elf and --enable-bounded options.
27187 Dont set base_machine for ia64. More non-ELF conditions removed.
27188 Remove testing and setting of leading underscore information.
27189 * config.make.in (build-bounded): Set to no.
27190 * config.h.in: Remove NO_UNDERSCORES entry.
27191 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27193 * csu/start.c: Remove !NO_UNDERSCORE code.
27194 * locale/localeinfo.h: Likewise.
27195 * sysdeps/generic/machine-gmon.h: Likewise.
27196 * sysdeps/generic/sysdep.h: Likewise.
27197 * sysdeps/i386/sysdep.h: Likewise.
27198 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27199 * sysdeps/mach/sysdep.h: Likewise.
27200 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27201 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27202 * sysdeps/sh/sysdep.h: Likewise.
27203 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27204 * sysdeps/unix/i386/sysdep.S: Likewise.
27205 * sysdeps/unix/sparc/start.c: Likewise.
27206 * sysdeps/unix/sparc/sysdep.S: Likewise.
27207 * sysdeps/unix/sparc/sysdep.h: Likewise.
27208 * sysdeps/unix/start.c: Likewise.
27209 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27210 * sysdeps/x86_64/sysdep.h: Likewise.
27212 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27215 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27217 * argp/argp-fmtstream.h: Use const instead __const.
27218 * argp/argp.h: Likewise.
27219 * assert/assert.h: Likewise.
27220 * bits/fenv.h: Likewise.
27221 * bits/sched.h: Likewise.
27222 * bits/sigset.h: Likewise.
27223 * bits/sigthread.h: Likewise.
27224 * catgets/nl_types.h: Likewise.
27225 * conform/data/pthread.h-data: Likewise.
27226 * crypt/crypt-private.h: Likewise.
27227 * crypt/crypt.h: Likewise.
27228 * crypt/crypt_util.c: Likewise.
27229 * ctype/ctype.h: Likewise.
27230 * debug/execinfo.h: Likewise.
27231 * debug/mbsnrtowcs_chk.c: Likewise.
27232 * debug/mbsrtowcs_chk.c: Likewise.
27233 * debug/wcsnrtombs_chk.c: Likewise.
27234 * debug/wcsrtombs_chk.c: Likewise.
27235 * debug/wcstombs_chk.c: Likewise.
27236 * dirent/dirent.h: Likewise.
27237 * dlfcn/dlfcn.h: Likewise.
27238 * elf/neededtest4.c: Likewise.
27239 * grp/grp.h: Likewise.
27240 * gshadow/gshadow.h: Likewise.
27241 * iconv/gconv.h: Likewise.
27242 * iconv/gconv_int.h: Likewise.
27243 * iconv/gconv_simple.c: Likewise.
27244 * iconv/iconv.h: Likewise.
27245 * iconv/loop.c: Likewise.
27246 * iconv/skeleton.c: Likewise.
27247 * include/aio.h: Likewise.
27248 * include/aliases.h: Likewise.
27249 * include/argz.h: Likewise.
27250 * include/arpa/inet.h: Likewise.
27251 * include/assert.h: Likewise.
27252 * include/dirent.h: Likewise.
27253 * include/dlfcn.h: Likewise.
27254 * include/execinfo.h: Likewise.
27255 * include/fcntl.h: Likewise.
27256 * include/fenv.h: Likewise.
27257 * include/glob.h: Likewise.
27258 * include/grp.h: Likewise.
27259 * include/libintl.h: Likewise.
27260 * include/mntent.h: Likewise.
27261 * include/netdb.h: Likewise.
27262 * include/pwd.h: Likewise.
27263 * include/rpc/netdb.h: Likewise.
27264 * include/sched.h: Likewise.
27265 * include/search.h: Likewise.
27266 * include/shadow.h: Likewise.
27267 * include/signal.h: Likewise.
27268 * include/stdio.h: Likewise.
27269 * include/stdlib.h: Likewise.
27270 * include/string.h: Likewise.
27271 * include/sys/socket.h: Likewise.
27272 * include/sys/stat.h: Likewise.
27273 * include/sys/statfs.h: Likewise.
27274 * include/sys/statvfs.h: Likewise.
27275 * include/sys/syslog.h: Likewise.
27276 * include/sys/time.h: Likewise.
27277 * include/sys/uio.h: Likewise.
27278 * include/time.h: Likewise.
27279 * include/unistd.h: Likewise.
27280 * include/utmp.h: Likewise.
27281 * include/wchar.h: Likewise.
27282 * include/wctype.h: Likewise.
27283 * inet/aliases.h: Likewise.
27284 * inet/arpa/inet.h: Likewise.
27285 * inet/netinet/ether.h: Likewise.
27286 * inet/netinet/in.h: Likewise.
27287 * intl/libintl.h: Likewise.
27288 * io/bits/fcntl2.h: Likewise.
27289 * io/fcntl.h: Likewise.
27290 * io/ftw.h: Likewise.
27291 * io/sys/poll.h: Likewise.
27292 * io/sys/stat.h: Likewise.
27293 * io/sys/statfs.h: Likewise.
27294 * io/sys/statvfs.h: Likewise.
27295 * io/utime.h: Likewise.
27296 * libio/bits/stdio.h: Likewise.
27297 * libio/bits/stdio2.h: Likewise.
27298 * libio/libio.h: Likewise.
27299 * libio/libioP.h: Likewise.
27300 * libio/stdio.h: Likewise.
27301 * locale/lc-ctype.c: Likewise.
27302 * locale/locale.h: Likewise.
27303 * login/utmp.h: Likewise.
27304 * malloc/arena.c: Likewise.
27305 * malloc/malloc.c: Likewise.
27306 * malloc/malloc.h: Likewise.
27307 * malloc/mcheck.c: Likewise.
27308 * malloc/mtrace.c: Likewise.
27309 * math/bits/mathcalls.h: Likewise.
27310 * math/fenv.h: Likewise.
27311 * math/math_private.h: Likewise.
27312 * misc/bits/error.h: Likewise.
27313 * misc/bits/syslog.h: Likewise.
27314 * misc/err.h: Likewise.
27315 * misc/error.h: Likewise.
27316 * misc/fstab.h: Likewise.
27317 * misc/mntent.h: Likewise.
27318 * misc/regexp.h: Likewise.
27319 * misc/search.h: Likewise.
27320 * misc/sgtty.h: Likewise.
27321 * misc/sys/mman.h: Likewise.
27322 * misc/sys/syslog.h: Likewise.
27323 * misc/sys/uio.h: Likewise.
27324 * misc/sys/xattr.h: Likewise.
27325 * misc/ttyent.h: Likewise.
27326 * nis/rpcsvc/ypclnt.h: Likewise.
27327 * nss/nss.h: Likewise.
27328 * posix/bits/unistd.h: Likewise.
27329 * posix/fnmatch.h: Likewise.
27330 * posix/glob.h: Likewise.
27331 * posix/sched.h: Likewise.
27332 * posix/spawn.h: Likewise.
27333 * posix/sys/wait.h: Likewise.
27334 * posix/unistd.h: Likewise.
27335 * posix/wordexp.h: Likewise.
27336 * pwd/pwd.h: Likewise.
27337 * resolv/netdb.h: Likewise.
27338 * resource/sys/resource.h: Likewise.
27339 * rt/aio.h: Likewise.
27340 * rt/bits/mqueue2.h: Likewise.
27341 * rt/mqueue.h: Likewise.
27342 * shadow/shadow.h: Likewise.
27343 * signal/signal.h: Likewise.
27344 * socket/send.c: Likewise.
27345 * socket/sendto.c: Likewise.
27346 * socket/sys/socket.h: Likewise.
27347 * stdio-common/printf.h: Likewise.
27348 * stdlib/bits/stdlib.h: Likewise.
27349 * stdlib/fmtmsg.h: Likewise.
27350 * stdlib/monetary.h: Likewise.
27351 * stdlib/stdlib.h: Likewise.
27352 * stdlib/ucontext.h: Likewise.
27353 * streams/stropts.h: Likewise.
27354 * string/argz.h: Likewise.
27355 * string/bits/string2.h: Likewise.
27356 * string/string.h: Likewise.
27357 * string/strings.h: Likewise.
27358 * sunrpc/rpc/auth.h: Likewise.
27359 * sunrpc/rpc/auth_des.h: Likewise.
27360 * sunrpc/rpc/clnt.h: Likewise.
27361 * sunrpc/rpc/netdb.h: Likewise.
27362 * sunrpc/rpc/pmap_clnt.h: Likewise.
27363 * sunrpc/rpc/xdr.h: Likewise.
27364 * sysdeps/generic/inttypes.h: Likewise.
27365 * sysdeps/generic/net/if.h: Likewise.
27366 * sysdeps/generic/sys/swap.h: Likewise.
27367 * sysdeps/gnu/net/if.h: Likewise.
27368 * sysdeps/gnu/utmpx.h: Likewise.
27369 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27370 * sysdeps/i386/i486/bits/string.h: Likewise.
27371 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27372 * sysdeps/s390/bits/string.h: Likewise.
27373 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27374 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27375 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27376 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27377 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27378 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27379 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27380 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27381 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27382 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27383 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27384 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27385 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27386 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27387 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27388 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27389 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27391 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27392 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27393 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27394 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27395 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27396 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27397 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27398 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27399 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27400 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27401 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27402 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27403 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27404 * sysvipc/sys/ipc.h: Likewise.
27405 * sysvipc/sys/msg.h: Likewise.
27406 * sysvipc/sys/sem.h: Likewise.
27407 * sysvipc/sys/shm.h: Likewise.
27408 * termios/termios.h: Likewise.
27409 * time/sys/time.h: Likewise.
27410 * time/time.h: Likewise.
27411 * wcsmbs/bits/wchar2.h: Likewise.
27412 * wcsmbs/uchar.h: Likewise.
27413 * wcsmbs/wchar.h: Likewise.
27414 * wctype/wctype.h: Likewise.
27417 * Makeconfig: Remove all but ELF support including AIX support.
27418 * Makerules: Likewise.
27419 * config.h.in: Likewise.
27420 * config.make.in: Likewise.
27421 * configure: Likewise.
27422 * configure.in: Likewise.
27423 * csu/Makefile: Likewise.
27424 * csu/version.c: Likewise.
27425 * debug/Makefile: Likewise.
27426 * dlfcn/Makefile: Likewise.
27427 * elf/Makefile: Likewise.
27428 * extra-lib.mk: Likewise.
27429 * iconv/Makefile: Likewise.
27430 * include/libc-symbols.h: Likewise.
27431 * include/shlib-compat.h: Likewise.
27432 * resolv/Makefile: Likewise.
27433 * resolv/res_libc.c: Likewise.
27434 * rt/Makefile: Likewise.
27435 * sysdeps/i386/asm-syntax.h: Likewise.
27436 * sysdeps/i386/sysdep.h: Likewise.
27437 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27438 * sysdeps/mach/sysdep.h: Likewise.
27439 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27440 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27441 * sysdeps/s390/asm-syntax.h: Likewise.
27442 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27443 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27444 * sysdeps/sh/sysdep.h: Likewise.
27445 * sysdeps/unix/sparc/sysdep.h: Likewise.
27446 * sysdeps/wordsize-32/divdi3.c: Likewise.
27447 * sysdeps/x86_64/sysdep.h: Likewise.
27449 * argp/Versions: Remove _argp_unlock_xxx.
27452 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27453 * abilist/libBrokenLocale.abilist: Likewise.
27454 * abilist/libanl.abilist: Likewise.
27455 * abilist/libc.abilist: Likewise.
27456 * abilist/libcrypt.abilist: Likewise.
27457 * abilist/libdl.abilist: Likewise.
27458 * abilist/libm.abilist: Likewise.
27459 * abilist/libnsl.abilist: Likewise.
27460 * abilist/libpthread.abilist: Likewise.
27461 * abilist/libresolv.abilist: Likewise.
27462 * abilist/librt.abilist: Likewise.
27463 * abilist/libthread_db.abilist: Likewise.
27464 * abilist/libutil.abilist: Likewise.
27465 * abilist/libnss_db.abilist: New file.
27467 * scripts/abilist.awk: Add support for indirect functions.
27469 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27471 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27473 * shlib-versions: Remove entries for ports architectures.
27475 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27477 * elf/stackguard-macros.h: Remove support for IA-64.
27478 * elf/tst-auditmod1.c: Likewise.
27479 * sysdeps/generic/ldsodefs.h: Likewise.
27481 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27482 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27486 * configure.in: Remove --enable-omitfp support.
27488 * config.make.in: Likewise.
27489 * Makeconfig: Likewise.
27490 * manual/install.texi: Likewise.
27492 In case anyone cares, the IA-64 architecture could move to ports.
27493 * sysdeps/ia64/*: Removed.
27494 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27495 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27498 * configure.in: Remove entries for unsupported architectures.
27501 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27502 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27504 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27505 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27506 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27507 fall back to using wcrtomb.
27508 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27509 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27511 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27512 * wcsmbs/tst-c16c32-1.c: New file.
27514 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27517 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27519 * elf/tst-unique3.cc: Add explicit declaration of gets.
27520 * elf/tst-unique3lib.cc: Likewise.
27521 * elf/tst-unique3lib2.cc: Likewise.
27522 * elf/tst-unique4.cc: Likewise.
27524 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27526 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27529 * assert/assert.h (static_assert): Don't define for C++.
27530 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27531 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27533 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27535 * iconv/loop.c (single loop): Fix assertion in storing of
27538 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27540 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27542 * posix/getconf.c: Update copyright year.
27543 * nss/getent.c: Likewise.
27544 * nss/makedb.c: Likewise.
27545 * iconv/iconvconfig.c: Likewise.
27546 * iconv/iconv_prog.c: Likewise.
27547 * elf/ldconfig.c: Likewise.
27548 * elf/pldd.c: Likewise.
27549 * elf/sotruss.ksh: Likewise.
27550 * catgets/gencat.c: Likewise.
27551 * csu/version.c: Likewise.
27552 * elf/ldd.bash.in: Likewise.
27553 * elf/sprof.c (print_version): Likewise.
27554 * locale/programs/locale.c: Likewise.
27555 * locale/programs/localedef.c: Likewise.
27556 * login/programs/pt_chown.c: Likewise.
27557 * nscd/nscd.c (print_version): Likewise.
27558 * debug/xtrace.sh: Likewise.
27559 * malloc/memusage.sh: Likewise.
27560 * malloc/mtrace.pl: Likewise.
27561 * debug/catchsegv.sh: Likewise.
27563 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27565 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27568 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27571 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27572 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27574 * iconv/gconv_int.h: Likewise.
27575 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27576 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27577 from libc for GLIBC_2.16.
27578 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27579 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27580 * wcsmbs/uchar.h: Really define mbstate_t.
27581 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27582 * wcsmbs/c16rtomb.c: New file.
27583 * wcsmbs/mbrtoc16.c: New file.
27584 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27585 for C/POSIX locale.
27586 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27587 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27589 * wcsmbs/wchar.h: Add missing __restrict.
27591 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27594 * time/Makefile (routines): Add timespec_get.
27595 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27596 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27597 timespec for ISO C11.
27598 * time/timespec_get.c: New file.
27599 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27600 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27603 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27604 * stdlib/stdlib.h: Declare aligned_alloc.
27605 * Versions.def: Add GLIBC_2.16 for libc.
27606 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27609 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27612 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27616 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27619 * assert/assert.h (static_assert): Define.
27621 * version.h: Update for 2.16 development version.
27624 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27627 * version.h (RELEASE): Bump for 2.15 release.
27628 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27630 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27631 Patch by Marek Polacek <mpolacek@redhat.com>.
27633 * bits/byteswap.h: Protect long long constants with __extension__.
27634 * sysdeps/i386/bits/byteswap.h: Likewise.
27635 * sysdeps/ia64/bits/byteswap.h: Likewise.
27636 * sysdeps/s390/bits/byteswap.h: Likewise.
27637 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27639 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27642 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27643 destination buffer.
27644 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27646 2011-12-23 Marek Polacek <polacek@redhat.com>
27648 * elf/dl-addr.c (determine_info): Add inline keyword.
27649 * elf/tst-auditmod4b.c (check_avx): Likewise.
27650 * elf/tst-auditmod6b.c (check_avx): Likewise.
27651 * elf/tst-auditmod6c.c (check_avx): Likewise.
27652 * elf/tst-auditmod7b.c (check_avx): Likewise.
27654 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27656 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27659 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27662 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27663 processing for last bytes.
27665 2011-08-06 Bruno Haible <bruno@clisp.org>
27668 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27669 U+0385, not to U+1FEE.
27672 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27673 entry for U+00A5 U+0301.
27675 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27678 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27679 buffer for the output is too small.
27681 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27685 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27686 SSE flags if possible.
27688 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27691 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27692 processing for last bytes.
27694 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27696 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27697 (syscall-list-default-options, syscall-list-default-condition)
27698 (syscall-list-includes): Define.
27699 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27700 list of ABIs and options and #if conditions for each ABI. Do not
27701 handle common syscalls between ABIs specially.
27702 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27704 (syscall-list-variants, syscall-list-32bit-options)
27705 (syscall-list-32bit-condition, syscall-list-64bit-options)
27706 (syscall-list-64bit-condition): Define.
27707 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27708 (syscall-list-variants, syscall-list-32bit-options)
27709 (syscall-list-32bit-condition, syscall-list-64bit-options)
27710 (syscall-list-64bit-condition): Define.
27711 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27713 (syscall-list-variants, syscall-list-32bit-options)
27714 (syscall-list-32bit-condition, syscall-list-64bit-options)
27715 (syscall-list-64bit-condition): Define.
27716 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27718 (syscall-list-variants, syscall-list-32bit-options)
27719 (syscall-list-32bit-condition, syscall-list-64bit-options)
27720 (syscall-list-64bit-condition): Define.
27722 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27724 * locale/iso-639.def: Add brx entry.
27727 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27728 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27730 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27731 __feraiseexcept_renamed.
27733 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27736 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27737 EPOLLET with unsigned values.
27738 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27739 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27741 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27742 to large cancellation.
27743 * math/s_cacoshf.c: Likewise.
27744 * math/s_cacoshl.c: Likewise.
27746 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27750 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27751 * math/s_cacoshf.c: Likewise.
27752 * math/s_cacoshl.c: Likewise.
27754 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27757 * iconv/gconv.h: Define __GCONV_SWAP.
27758 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27759 * iconvdata/utf-16.c: Likewise.
27760 * iconvdata/utf-32.c: Likewise.
27762 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27765 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27766 numerator after shifting it by one limb.
27768 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27770 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27771 under [__USE_EXTERN_INLINES].
27773 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27776 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27778 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27780 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27781 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27783 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27784 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27785 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27786 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27787 for strncasecmp/strncasecmp_l compilation.
27788 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27789 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27791 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27794 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27797 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27800 * time/tzfile.c (__tzfile_read): Check values from file header.
27802 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27804 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27805 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27806 * powerpc/powerpc32/dl-start.S: Likewise.
27807 * powerpc/powerpc32/elf/start.S: Likewise.
27808 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27809 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27810 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27811 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27812 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27813 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27814 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27815 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27816 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27817 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27818 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27819 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27820 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27821 * powerpc/powerpc32/memset.S: Likewise.
27822 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27823 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27824 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27825 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27826 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27827 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27828 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27829 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27830 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27831 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27832 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27833 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27834 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27836 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27838 * math/libm-test.inc: Added more nearbyint tests.
27839 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27840 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27841 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27842 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27844 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27846 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27849 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27851 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27852 Add wcscpy-ssse3 wcscpy-c.
27853 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27854 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27855 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27856 * sysdeps/x86_64/wcschr.S: New file.
27857 * sysdeps/x86_64/wcsrchr.S: New file.
27858 * string/test-strcmp.c: Remove checking of wcscmp function for
27860 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27861 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27862 wcsrchr-sse2 wcsrchr-c.
27863 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27864 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27865 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27866 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27867 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27868 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27869 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27870 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27871 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27872 * wcsmbc/wcschr.c (WCSCHR): New macro.
27874 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27876 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27877 * wcsmbs/test-wcsrchr.c: New file.
27878 * string/test-strrchr.c: Add wcsrchr support.
27880 * wcsmbs/test-wcscpy.c: New file.
27881 * string/test-strcpy.c: Add wcscpy support.
27884 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27886 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27889 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27892 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27894 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27896 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27897 Minor optimizations.
27899 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27900 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27901 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27903 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27905 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27906 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27907 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27908 for gcc to avoid warnings.
27909 * inet/Makefile (tests): Add tst-checks.
27910 * inet/tst-checks.c: New file.
27912 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27915 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27918 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27919 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27921 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27923 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27925 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27928 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27930 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27932 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27933 conditional on GCC version.
27934 (__arch_compare_and_exchange_val_8_acq)
27935 (__arch_compare_and_exchange_val_16_acq)
27936 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27937 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27938 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27940 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27942 * sysdeps/sh/backtrace.c: New file.
27944 2011-12-02 Andreas Schwab <schwab@redhat.com>
27946 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27949 2011-12-01 Andreas Schwab <schwab@redhat.com>
27951 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27952 falling back to utime.
27954 2011-11-30 Andreas Schwab <schwab@redhat.com>
27956 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27957 expectations for float.
27959 2011-11-29 Andreas Schwab <schwab@redhat.com>
27961 * locale/weight.h (findidx): Add parameter len.
27962 * locale/weightwc.h (findidx): Likewise.
27963 * posix/fnmatch_loop.c (FCT): Adjust caller.
27964 * posix/regcomp.c (build_equiv_class): Likewise.
27965 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27966 * posix/regexec.c (check_node_accept_bytes): Likewise.
27967 * string/strcoll_l.c (STRCOLL): Likewise.
27968 * string/strxfrm_l.c (STRXFRM): Likewise.
27970 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27972 * Makefile.in: Remove CVSOPT handling.
27973 * configure.in: Remove use of AC_REVISION.
27974 * iconvdata/Makefile (distribute): No need to filter out CVS.
27975 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27978 2011-11-16 Andreas Schwab <schwab@redhat.com>
27980 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27981 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27982 [USE_AS_STRNCASECMP_L]: Likewise.
27983 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27984 NO_TLS_DIRECT_SEG_REFS.
27985 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27986 Fix argument offsets for non-PIC.
27987 [USE_AS_STRNCASECMP_L]: Likewise.
27988 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27989 NO_TLS_DIRECT_SEG_REFS.
27991 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27993 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27995 * locale/loadlocale.c (_nl_load_locale): Likewise.
27997 2011-11-15 Andreas Schwab <schwab@redhat.com>
27999 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28000 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28001 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28002 (SYSCALL_GETTIME): Set errno on error.
28004 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28005 count references to noai6ai_cached.
28007 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28009 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28011 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28012 FD_CLOEXEC for /proc/self/maps.
28014 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28015 FD_CLOEXEC for /proc/meminfo.
28017 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28020 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28021 FD_CLOEXEC for given file.
28023 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28025 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28026 FD_CLOEXEC for /etc/hosts.
28027 (_gethtent): Likewise.
28029 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28031 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28032 cancellation and set FD_CLOEXEC for /etc/netgroup.
28034 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28035 reading /etc/publickey.
28037 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28038 allow cancellation when reading /etc/group.
28040 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28042 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28044 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28045 when using data file.
28047 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28049 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28050 (write_nis_obj): Use "c" and "e" in fopen.
28052 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28054 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28056 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28058 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28060 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28063 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28065 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28067 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28069 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28070 file parsing and set FD_CLOEXEC.
28072 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28074 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28076 2011-11-14 Andreas Schwab <schwab@redhat.com>
28078 * malloc/arena.c (arena_get2): Don't call reused_arena when
28079 _int_new_arena failed.
28081 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28083 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28084 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28085 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28086 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28087 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28089 to compile strcasecmp and strncasecmp.
28090 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28091 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28095 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28097 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28098 locale-defines.sym to gen-as-const-headers.
28099 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28100 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28102 to compile strcasecmp and strncasecmp.
28103 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28104 strcasecmp_l and strncasecmp_l.
28105 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28106 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28107 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28108 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28109 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28110 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28111 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28112 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28113 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28114 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28115 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28117 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28119 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28120 result of SYSDEP_GETTIME_CPU to retval.
28121 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28122 parameter list to macro. Remove trailing semicolon. Adjust users.
28124 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28127 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28129 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28131 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28132 from unused variable.
28134 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28136 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28139 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28142 * sunrpc/rpc_prot.c (rejected): Fix case value.
28144 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28145 unsigned long long int to avoid warnings in shift.
28147 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28149 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28152 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28153 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28154 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28156 * nis/nis_table.c (nis_list): Use variable of correct type for
28157 result of __follow_path call.
28159 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28161 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28162 of math functions ceil, trunc, floor, round, and sqrt, when
28163 avaliable on the platform.
28164 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28166 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28167 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28168 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28170 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28172 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28173 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28175 2011-11-11 Roland McGrath <roland@hack.frob.com>
28177 * include/unistd.h: Fix __readlink return type.
28178 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28180 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28182 * stdlib/ucontext.h: Undo last change for makecontext.
28184 2011-11-11 Andreas Schwab <schwab@redhat.com>
28186 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28188 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28189 * setjmp/setjmp.h: Mark functions as non-leaf.
28190 * setjmp/bits/setjmp2.h: Likewise.
28191 * stdlib/ucontext.h: Likewise.
28193 2011-11-10 Andreas Schwab <schwab@redhat.com>
28195 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28196 (reused_arena): Don't check arena limit.
28197 (arena_get2): Atomically check arena limit.
28199 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28201 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28202 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28204 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28207 2011-11-07 Andreas Schwab <schwab@redhat.com>
28209 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28210 handler when locking.
28212 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28213 Fix size of allocated buffer.
28215 2011-11-04 Andreas Schwab <schwab@redhat.com>
28218 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28219 declarations for long double functions.
28220 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28222 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28224 2011-11-03 Andreas Schwab <schwab@redhat.com>
28226 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28229 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28232 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28234 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28236 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28238 * include/alloca.h (stackinfo_alloca_round): Define.
28239 (extend_alloca): Use it.
28240 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28241 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28244 * scripts/check-local-headers.sh: Ignore libaudit.h.
28246 * nscd/Makefile (extra-objs): Make recursively expanded.
28248 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28250 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28251 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28253 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28254 * posix/tst-rfc3484-2.c: Likewise.
28255 * posix/tst-rfc3484-3.c: Likewise.
28257 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28259 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28261 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28262 process_vm_writev from libc using GLIBC_2.15 version.
28264 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28266 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28268 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28271 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28274 * nss/getent.c (initgroups_keys): Show error message in case no group
28277 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28278 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28279 __bump_nl_timestamp.
28280 * nscd/connections (nscd_init): When host database is served open
28281 netlink socket and request notification about configuration changes.
28282 (main_loop_poll): Track netlink file descriptor and bump timestamp
28283 in case data becomes available.
28284 (main_loop_epoll): Likewise.
28285 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28286 (database_pers_head): Add extra_data fileds.
28287 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28288 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28289 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28291 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28292 in6ai data, call __free_in6ai.
28293 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28294 Add -DHAVE_NETLINK.
28295 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28296 interface information. Reuse previous data if netlink timestamp
28298 (__bump_nl_timestamp): New function.
28299 (__free_in6ai): New function.
28301 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28303 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28304 close_not_cancel_no_status here.
28305 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28307 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28310 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28313 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28314 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28315 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28317 2011-07-03 Andreas Jaeger <aj@suse.de>
28320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28321 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28322 * math/libm-test.inc (sin_test): Add test case.
28324 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28327 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28328 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28330 * elf/chroot_canon.c (chroot_canon): Cleanups.
28332 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28335 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28336 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28338 * string/test-strchr.c: Make usable for strchrnul testing.
28339 * string/test-strchrnul.c: New file.
28340 * string/Makefile (strop-tests): Add strchrnul.
28342 * po/it.po: Update from translation team.
28343 * po/es.po: Likewise.
28345 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28347 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28348 the three constants needed as parameters. Drop the others.
28349 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28350 __m128i_strloadu_tolower.
28351 Create and initialize variable zero and use it in all the places
28352 where _mm_setzero_si128 was used.
28354 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28355 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28356 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28357 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28359 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28360 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28361 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28362 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28363 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28364 __mpranred, __mptan.
28365 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28366 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28367 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28368 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28369 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28370 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28371 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28372 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28373 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28375 2011-10-28 Andreas Schwab <schwab@redhat.com>
28377 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28378 redefine if SHARED.
28379 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28382 wide char related routines to wcsmbs subdir.
28384 2011-10-27 Andreas Schwab <schwab@redhat.com>
28387 * misc/sys/cdefs.h (__THROWNL): Define.
28388 * posix/unistd.h: Use __THREADNL instead of __THREAD
28389 for memory synchronization functions.
28391 2011-10-26 Roland McGrath <roland@hack.frob.com>
28394 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28396 * manual/stdio.texi (Obstack Streams): Node removed.
28398 2011-10-26 Andreas Schwab <schwab@redhat.com>
28400 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28401 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28402 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28404 * math/math_private.h (math_force_eval): Allow non-addressable
28406 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28408 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28410 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28411 file is not needed.
28413 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28414 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28415 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28416 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28417 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28418 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28419 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28420 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28422 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28423 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28424 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28425 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28426 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28427 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28428 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28429 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28430 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28431 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28432 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28433 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28434 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28435 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28436 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28437 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28438 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28439 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28440 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28442 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28443 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28445 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28446 place. Use VEX encoding when compiling for AVX.
28448 2011-10-25 Andreas Schwab <schwab@redhat.com>
28450 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28451 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28453 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28455 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28457 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28458 useless if() expression.
28459 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28460 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28468 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28469 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28470 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28471 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28472 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28473 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28474 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28475 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28476 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28477 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28479 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28481 2011-10-25 Andreas Schwab <schwab@redhat.com>
28483 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28485 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28487 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28489 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28490 .text section. Avoid duplicate constants.
28491 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28495 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28500 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28501 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28502 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28503 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28504 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28505 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28506 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28507 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28508 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28509 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28511 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28512 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28513 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28514 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28515 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28516 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28517 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28518 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28519 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28520 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28521 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28522 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28523 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28524 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28525 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28526 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28527 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28528 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28529 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28530 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28531 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28532 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28533 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28534 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28535 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28537 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28539 * sysdeps/x86_64/dla.h: Move to ...
28540 * sysdeps/x86_64/fpu/dla.h: ...here.
28541 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28542 situations. Use __builtin_fma only for gcc 4.6 and up.
28544 * config.make.in: Add have-mfma4 entry.
28545 * configure.in: Substitute libc_cv_cc_fma4.
28546 * math/Makefile (dbl-only-routines): Add sincostab.
28547 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28548 Use __sincostab not sincos.
28549 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28556 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28557 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28558 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28559 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28561 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28562 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28564 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28565 define aliases when function name is a macro.
28566 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28567 sysdeps/ieee754/dbl-64/sincos.tbl.
28568 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28569 fma4-enabled routines.
28570 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28571 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28572 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28573 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28574 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28575 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28576 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28577 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28578 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28579 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28580 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28581 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28582 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28583 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28584 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28585 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28586 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28587 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28588 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28589 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28590 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28591 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28592 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28593 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28594 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28595 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28596 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28597 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28598 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28599 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28601 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28612 2011-10-24 Andreas Schwab <schwab@redhat.com>
28614 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28616 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28618 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28620 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28622 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28624 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28625 Remove unused variable magic_bits.
28626 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28628 * string/strnlen.c: Define and use STRNLEN macro.
28629 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28630 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28631 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28632 * wcsmbs/wcslen.c: Define and use WCSLEN.
28633 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28634 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28635 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28636 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28637 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28638 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28639 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28641 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28644 strnlen-sse2-no-bsf.
28645 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28646 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28647 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28648 Add strnlen support.
28649 (USE_AS_STRNLEN): New macro.
28650 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28651 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28652 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28653 * sysdeps/x86_64/wcslen.S: New file.
28655 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28657 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28658 XMM-moves are used for copying on small sizes.
28660 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28662 * wcsmbs/Makefile (strop-tests): Add wcschr.
28663 * wcsmbs/test-wcschr.c: New file.
28664 * string/test-strchr.c: Update.
28665 Add wcschr support.
28668 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28670 * wcsmbs/Makefile (strop-tests): Add wcslen.
28671 * wcsmbs/test-wcslen.c: New file.
28672 * string/test-strlen.c: Update.
28673 Add wcslen support.
28676 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28678 * po/it.po: Update from translation team.
28680 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28682 * sysdeps/x86_64/wcscmp.S: Update.
28683 Fix wrong comparison semantics.
28684 wcscmp shall use signed comparison not unsigned.
28685 Don't use substraction to avoid overflow bug.
28686 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28687 * wcsmbc/wcscmp.c: Likewise.
28688 * string/test-strcmp.c: Likewise.
28689 Add new tests to check cases with negative values.
28691 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28693 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28694 * sysdeps/x86_64/dla.h: ...here. New file.
28695 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28700 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28702 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28703 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28705 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28708 __ynl_finite aliases.
28710 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28714 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28716 [DLA_FMA] (EMULV): Use DLA_FMA.
28717 [DLA_FMA] (MUL12): Use EMULV.
28718 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28719 that are not needed.
28720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28725 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28728 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28730 * math/s_nan.c: Undef __nan.
28731 * math/s_nanf.c: Undef __nanf.
28732 * math/s_nanl.c: Undef __nanl.
28733 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28736 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28738 * math/s_catan.c: Add branch predictions.
28739 * math/s_catanf.c: Likewise.
28740 * math/s_catanh.c: Likewise.
28741 * math/s_catanhf.c: Likewise.
28742 * math/s_catanhl.c: Likewise.
28743 * math/s_catanl.c: Likewise.
28744 * math/s_cexp.c: Likewise.
28745 * math/s_cexpf.c: Likewise.
28746 * math/s_cexpl.c: Likewise.
28747 * math/s_clog.c: Likewise.
28748 * math/s_clog10.c: Likewise.
28749 * math/s_clog10f.c: Likewise.
28750 * math/s_clog10l.c: Likewise.
28751 * math/s_clogf.c: Likewise.
28752 * math/s_clogl.c: Likewise.
28753 * math/s_csqrt.c: Likewise.
28754 * math/s_csqrtf.c: Likewise.
28755 * math/s_csqrtl.c: Likewise.
28756 * math/s_ctanf.c: Likewise.
28757 * math/s_ctanh.c: Likewise.
28758 * math/s_ctanhf.c: Likewise.
28759 * math/s_ctanhl.c: Likewise.
28760 * math/s_ctanl.c: Likewise.
28762 * math/math_private.h: Define __nan, __nanf, __nanl.
28763 * math/s_cacosh.c: Include <math_private.h>.
28764 * math/s_cacoshl.c: Likewise.
28765 * math/s_casinh.c: Likewise.
28766 * math/s_casinhf.c: Likewise.
28767 * math/s_casinhl.c: Likewise.
28768 * math/s_ccos.c: Rely entire on ccosh.
28769 * math/s_ccosf.c: Rely entire on ccoshf.
28770 * math/s_ccosl.c: Rely entirely on ccoshl.
28771 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28772 Remove tests for FE_INVALID.
28773 * math/s_ccoshf.c: Likewise.
28774 * math/s_ccoshl.c: Likewise.
28775 * math/s_csin.c: Likewise.
28776 * math/s_csinf.c: Likewise.
28777 * math/s_csinh.c Likewise.
28778 * math/s_csinhf.c: Likewise.
28779 * math/s_csinhl.c: Likewise.
28780 * math/s_csinl.c: Likewise.
28781 * math/s_ctan.c: Likewise.
28782 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28783 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28786 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28789 compilation problems.
28791 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28794 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28796 * sysdeps/i386/configure.in: Test for -mfma4 option.
28797 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28798 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28799 COMMON_CPUID_INDEX_80000001.
28800 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28801 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28802 use it if FMA3 is not supported.
28803 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28805 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28806 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28808 2011-10-20 Andreas Schwab <schwab@redhat.com>
28811 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28812 it would create a cycle with a link time dependency.
28814 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28816 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28818 * string/Makefile (strop-tests): Add rawmemchr.
28819 * string/test-rawmemchr.c: New file.
28821 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28822 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28823 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28824 when compiling str{,n}casecmp and when AVX is available. Hook up
28825 new optimized code in initializers.
28827 2011-10-19 Andreas Schwab <schwab@redhat.com>
28829 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28830 __feraiseexcept instead of feraiseexcept.
28832 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28834 * math/math_private.h: Define defaults for libc_fetestexcept and
28836 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28837 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28838 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28839 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28840 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28841 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28842 libc_fetestexcept and libc_feupdateenv.
28844 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28845 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28846 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28847 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28848 libc_feholdexcept_setround.
28850 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28851 Add s_nearbyint-c and s_nearbyintf-c.
28852 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28853 nearbyintf inlines.
28854 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28855 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28856 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28857 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28859 * math/math_private.h: Define defaults for libc_fegetround,
28860 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28861 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28862 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28863 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28864 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28865 standard functions.
28866 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28867 Remove comments and hacks for old compiler versions.
28868 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28869 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28870 libc_feholdexceptl.
28872 2011-10-18 Andreas Schwab <schwab@redhat.com>
28874 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28875 (__feraiseexcept_renamed): Add __NTH.
28876 (feraiseexcept): Add __NTH. Rename local variables to fix
28877 namespace violations.
28879 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28881 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28883 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28885 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28886 recently added interfaces.
28887 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28889 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28890 about macro parameter expansion.
28892 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28893 __NO_MATH_INLINES is defined. Cleanups.
28895 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28896 and __floorf is target has SSE4.1.
28897 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28898 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28899 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28900 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28902 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28904 (floorf): Likewise.
28906 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28908 2011-10-17 Andreas Schwab <schwab@redhat.com>
28910 * misc/sys/cdefs.h: Fix last change.
28912 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28915 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28917 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28919 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28921 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28922 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28923 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28924 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28925 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28926 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28927 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28928 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28929 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28930 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28931 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28932 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28933 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28934 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28935 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28936 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28937 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28938 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28939 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28940 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28942 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28943 ceil, ceilf, floor, floorf.
28945 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28946 Perform IRELATIVE relocations last.
28948 * elf/do-rel.h: Add another parameter nrelative, replacing the
28949 local variable with the same name. Change name of the function
28950 to end in Rel or Rela (uppercase).
28951 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28952 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28953 elf_dynamic_do_##reloc function.
28955 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28957 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28958 is sufficient, at least on modern CPUs.
28960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28962 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28963 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28965 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28967 * math/bits/math-finite.h: Add entries for exp.
28968 * math/e_expl.c: Add __*_finite alias.
28969 * sysdeps/i386/fpu/e_exp.S: Likewise.
28970 * sysdeps/i386/fpu/e_expf.S: Likewise.
28971 * sysdeps/i386/fpu/e_expl.c: Likewise.
28972 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28973 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28976 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28977 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28978 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28980 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28981 is sufficient, at least on modern CPUs.
28983 * ctype/ctype-info.c (__ctype_init): Define.
28984 * include/ctype.h (__ctype_init): Declare.
28985 (__ctype_b_loc): The variable is always initialized.
28986 (__ctype_toupper_loc): Likewise.
28987 (__ctype_tolower_loc): Likewise.
28988 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28989 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28991 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28993 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28995 * configure.in: Also look in $cxxmachine/include for C++ system
28998 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29000 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29001 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29002 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29003 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29004 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29005 (USE_AS_WMEMCMP): New macro.
29007 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29008 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29009 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29010 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29012 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29013 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29014 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29015 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29016 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29017 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29018 (USE_AS_WMEMCMP): New macro.
29019 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29020 * sysdeps/string/test-memcmp.c: Update.
29021 Fix simple_wmemcmp.
29023 * wcsmbs/wmemcmp.c: Update.
29024 (WMEMCMP): New macro.
29027 2011-10-12 Andreas Jaeger <aj@suse.de>
29030 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29032 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29034 * libio/iofwide.c (do_length): Avoid warning.
29036 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29038 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29040 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29042 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29043 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29044 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29045 * sysdeps/i386/i686/fpu/e_log.S: New file.
29046 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29047 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29049 * ctype/ctype.h: Add support for inlined isXXX functions when
29050 compiling C++ code.
29052 2011-10-14 Andreas Schwab <schwab@redhat.com>
29054 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29056 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29058 2011-10-13 Roland McGrath <roland@hack.frob.com>
29061 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29063 2011-10-13 Andreas Schwab <schwab@redhat.com>
29065 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29066 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29069 * sysdeps/x86_64/memrchr.S: Check for zero size.
29071 * string/stratcliff.c: Add memrchr tests.
29073 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29076 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29077 rawmemchr-sse2 rawmemchr-sse2-bsf.
29078 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29079 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29080 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29081 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29082 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29083 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29084 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29085 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29086 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29087 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29088 * string/memrchr.c (MEMRCHR): New macro.
29090 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29092 Add integration with gcc's -ffinite-math-only and optimize wrapper
29094 * Versions.def: Define GLIBC_2.15 version for libm.
29095 * math/Makefile (headers): Add bits/math-finite.h.
29096 * math/bits/math-finite.h: New file.
29097 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29098 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29099 * math/e_acoshl.c: Add __*_finite alias.
29100 * math/e_acosl.c: Likewise.
29101 * math/e_asinl.c: Likewise.
29102 * math/e_atan2l.c: Likewise.
29103 * math/e_atanhl.c: Likewise.
29104 * math/e_coshl.c: Likewise.
29105 * math/e_exp10.c: Likewise.
29106 * math/e_exp10f.c: Likewise.
29107 * math/e_exp10l.c: Likewise.
29108 * math/e_exp2l.c: Likewise.
29109 * math/e_fmodl.c: Likewise.
29110 * math/e_gammal_r.c: Likewise.
29111 * math/e_hypotl.c: Likewise.
29112 * math/e_j0l.c: Likewise.
29113 * math/e_j1l.c: Likewise.
29114 * math/e_jnl.c: Likewise.
29115 * math/e_lgammal_r.c: Likewise.
29116 * math/e_log10l.c: Likewise.
29117 * math/e_log2l.c: Likewise.
29118 * math/e_logl.c: Likewise.
29119 * math/e_powl.c: Likewise.
29120 * math/e_sinhl.c: Likewise.
29121 * math/e_sqrtl.c: Likewise.
29122 * math/e_scalb.c: Completely rewritten and optimized.
29123 * math/e_scalbf.c: Likewise.
29124 * math/e_scalbl.c: Likewise.
29125 * math/w_acos.c: Likewise.
29126 * math/w_acosf.c: Likewise.
29127 * math/w_acosl.c: Likewise.
29128 * math/w_acosh.c: Likewise.
29129 * math/w_acoshf.c: Likewise.
29130 * math/w_acoshl.c: Likewise.
29131 * math/w_asin.c: Likewise.
29132 * math/w_asinf.c: Likewise.
29133 * math/w_asinl.c: Likewise.
29134 * math/w_atan2.c: Likewise.
29135 * math/w_atan2f.c: Likewise.
29136 * math/w_atan2l.c: Likewise.
29137 * math/w_atanh.c: Likewise.
29138 * math/w_atanhf.c: Likewise.
29139 * math/w_atanhl.c: Likewise.
29140 * math/w_exp10.c: Likewise.
29141 * math/w_exp10f.c: Likewise.
29142 * math/w_exp10l.c: Likewise.
29143 * math/w_fmod.c: Likewise.
29144 * math/w_fmodf.c: Likewise.
29145 * math/w_fmodl.c: Likewise.
29146 * math/w_j0.c: Likewise.
29147 * math/w_j0f.c: Likewise.
29148 * math/w_j0l.c: Likewise.
29149 * math/w_j1.c: Likewise.
29150 * math/w_j1f.c: Likewise.
29151 * math/w_j1l.c: Likewise.
29152 * math/w_jn.c: Likewise.
29153 * math/w_jnf.c: Likewise.
29154 * math/w_log.c: Likewise.
29155 * math/w_logf.c: Likewise.
29156 * math/w_logl.c: Likewise.
29157 * math/w_log10.c: Likewise.
29158 * math/w_log10f.c: Likewise.
29159 * math/w_log10l.c: Likewise.
29160 * math/w_log2.c: Likewise.
29161 * math/w_log2f.c: Likewise.
29162 * math/w_log2l.c: Likewise.
29163 * math/w_pow.c: Likewise.
29164 * math/w_powf.c: Likewise.
29165 * math/w_powl.c: Likewise.
29166 * math/w_remainder.c: Likewise.
29167 * math/w_remainderf.c: Likewise.
29168 * math/w_remainderl.c: Likewise.
29169 * math/w_scalb.c: Likewise.
29170 * math/w_scalbf.c: Likewise.
29171 * math/w_scalbl.c: Likewise.
29172 * math/w_sqrt.c: Likewise.
29173 * math/w_sqrtf.c: Likewise.
29174 * math/w_sqrtl.c: Likewise.
29175 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29176 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29178 * math/math_private.h: Declare __kernel_standard_f.
29179 * math/w_cosh.c: Remove cruft and optimize a bit.
29180 * math/w_coshf.c: Likewise.
29181 * math/w_coshl.c: Likewise.
29182 * math/w_exp2.c: Likewise.
29183 * math/w_exp2f.c: Likewise.
29184 * math/w_exp2l.c: Likewise.
29185 * math/w_hypot.c: Likewise.
29186 * math/w_hypotf.c: Likewise.
29187 * math/w_hypotl.c: Likewise.
29188 * math/w_lgamma.c: Likewise.
29189 * math/w_lgamma_r.c: Likewise.
29190 * math/w_lgammaf.c: Likewise.
29191 * math/w_lgammaf_r.c: Likewise.
29192 * math/w_lgammal.c: Likewise.
29193 * math/w_lgammal_r.c: Likewise.
29194 * math/w_sinh.c: Likewise.
29195 * math/w_sinhf.c: Likewise.
29196 * math/w_sinhl.c: Likewise.
29197 * math/w_tgamma.c: Likewise.
29198 * math/w_tgammaf.c: Likewise.
29199 * math/w_tgammal.c: Likewise.
29200 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29201 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29202 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29203 Minor optimizations. Pretty printing. Remove cruft.
29204 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29205 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29206 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29207 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29208 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29209 * sysdeps/i386/fpu/e_asin.S: Likewise.
29210 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29211 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29212 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29213 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29214 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29215 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29216 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29217 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29218 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29219 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29220 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29221 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29222 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29223 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29224 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29225 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29226 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29227 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29228 * sysdeps/i386/fpu/e_log.S: Likewise.
29229 * sysdeps/i386/fpu/e_log10.S: Likewise.
29230 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29231 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29232 * sysdeps/i386/fpu/e_log2.S: Likewise.
29233 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29234 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29235 * sysdeps/i386/fpu/e_logf.S: Likewise.
29236 * sysdeps/i386/fpu/e_logl.S: Likewise.
29237 * sysdeps/i386/fpu/e_pow.S: Likewise.
29238 * sysdeps/i386/fpu/e_powf.S: Likewise.
29239 * sysdeps/i386/fpu/e_powl.S: Likewise.
29240 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29241 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29242 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29243 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29244 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29245 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29246 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29247 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29248 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29256 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29257 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29258 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29259 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29260 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29262 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29270 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29271 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29272 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29273 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29274 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29275 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29276 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29277 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29278 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29279 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29280 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29281 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29282 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29283 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29284 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29285 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29286 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29287 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29288 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29289 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29290 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29295 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29301 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29302 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29304 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29305 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29306 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29314 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29318 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29320 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29321 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29328 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29329 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29330 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29331 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29332 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29334 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29335 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29337 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29340 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29341 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29342 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29343 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29344 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29345 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29346 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29347 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29348 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29349 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29350 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29351 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29352 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29353 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29354 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29355 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29356 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29357 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29358 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29359 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29360 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29361 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29362 (__isnanf): Likewise.
29363 (__isinf_ns): Likewise.
29364 (__isinf_nsf): Likewise.
29365 (__finite): Likewise.
29366 (__finitef): Likewise.
29367 (__ieee754_sqrt): Define as macro.
29368 (__ieee754_sqrtf): Define as macro.
29369 (__ieee754_sqrtl): Define as macro.
29370 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29372 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29373 __FINITE_MATH_ONLY__ consistent.
29374 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29376 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29378 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29381 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29383 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29385 * po/ja.po: Update from translation team.
29387 2011-10-08 Roland McGrath <roland@hack.frob.com>
29389 * locale/programs/locarchive.c (prepare_address_space): New function.
29390 (create_archive, enlarge_archive, open_archive): Use it.
29392 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29393 inside [SHARED], where it is used.
29395 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29397 * nss/getent.c (netgroup_keys): Remove unused variable.
29398 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29400 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29402 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29403 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29405 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29406 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29407 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29408 * math/Makefile (libm-calls): Add s_isinf_ns.
29409 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29410 * math/multc3.c: Likewise.
29411 * math/s_casin.c: Likewise.
29412 * math/s_casinf.c: Likewise.
29413 * math/s_casinl.c: Likewise.
29414 * math/s_ccos.c: Likewise.
29415 * math/s_ccosf.c: Likewise.
29416 * math/s_ccosl.c: Likewise.
29417 * math/s_ctan.c: Likewise.
29418 * math/s_ctanf.c: Likewise.
29419 * math/s_ctanh.c: Likewise.
29420 * math/s_ctanhf.c: Likewise.
29421 * math/s_ctanhl.c: Likewise.
29422 * math/s_ctanl.c: Likewise.
29423 * math/w_fmod.c: Likewise.
29424 * math/w_fmodf.c: Likewise.
29425 * math/w_fmodl.c: Likewise.
29426 * math/w_remainder.c: Likewise.
29427 * math/w_remainderf.c: Likewise.
29428 * math/w_remainderl.c: Likewise.
29429 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29430 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29431 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29433 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29434 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29435 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29436 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29438 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29440 * stdio-common/printf_fphex.c: Likewise.
29441 * stdio-common/printf_size.c: Likewise.
29443 * math/e_exp10.c: Include math_private.h using <...> not "...".
29444 * math/e_exp10f.c: Likewise.
29445 * math/e_exp10l.c: Likewise.
29446 * math/e_exp2l.c: Likewise.
29447 * math/e_j0l.c: Likewise.
29448 * math/e_j1l.c: Likewise.
29449 * math/e_jnl.c: Likewise.
29450 * math/e_lgammal_r.c: Likewise.
29451 * math/e_rem_pio2l.c: Likewise.
29452 * math/e_scalb.c: Likewise.
29453 * math/e_scalbf.c: Likewise.
29454 * math/e_scalbl.c: Likewise.
29455 * math/k_cosl.c: Likewise.
29456 * math/k_sinl.c: Likewise.
29457 * math/k_tanl.c: Likewise.
29458 * math/s_cacoshf.c: Likewise.
29459 * math/s_catan.c: Likewise.
29460 * math/s_catanf.c: Likewise.
29461 * math/s_catanh.c: Likewise.
29462 * math/s_catanhf.c: Likewise.
29463 * math/s_catanhl.c: Likewise.
29464 * math/s_catanl.c: Likewise.
29465 * math/s_ccosh.c: Likewise.
29466 * math/s_ccoshf.c: Likewise.
29467 * math/s_ccoshl.c: Likewise.
29468 * math/s_cexp.c: Likewise.
29469 * math/s_cexpf.c: Likewise.
29470 * math/s_cexpl.c: Likewise.
29471 * math/s_clog.c: Likewise.
29472 * math/s_clog10.c: Likewise.
29473 * math/s_clog10f.c: Likewise.
29474 * math/s_clog10l.c: Likewise.
29475 * math/s_clogf.c: Likewise.
29476 * math/s_clogl.c: Likewise.
29477 * math/s_csin.c: Likewise.
29478 * math/s_csinf.c: Likewise.
29479 * math/s_csinh.c: Likewise.
29480 * math/s_csinhf.c: Likewise.
29481 * math/s_csinhl.c: Likewise.
29482 * math/s_csinl.c: Likewise.
29483 * math/s_csqrt.c: Likewise.
29484 * math/s_csqrtf.c: Likewise.
29485 * math/s_csqrtl.c: Likewise.
29486 * math/s_ctan.c: Likewise.
29487 * math/s_ctanf.c: Likewise.
29488 * math/s_ctanh.c: Likewise.
29489 * math/s_ctanhf.c: Likewise.
29490 * math/s_ctanhl.c: Likewise.
29491 * math/s_ctanl.c: Likewise.
29492 * math/s_ldexp.c: Likewise.
29493 * math/s_ldexpf.c: Likewise.
29494 * math/s_ldexpl.c: Likewise.
29495 * math/s_significand.c: Likewise.
29496 * math/s_significandf.c: Likewise.
29497 * math/s_significandl.c: Likewise.
29498 * math/w_acos.c: Likewise.
29499 * math/w_acosf.c: Likewise.
29500 * math/w_acosh.c: Likewise.
29501 * math/w_acoshf.c: Likewise.
29502 * math/w_acoshl.c: Likewise.
29503 * math/w_acosl.c: Likewise.
29504 * math/w_asin.c: Likewise.
29505 * math/w_asinf.c: Likewise.
29506 * math/w_asinl.c: Likewise.
29507 * math/w_atan2.c: Likewise.
29508 * math/w_atan2f.c: Likewise.
29509 * math/w_atan2l.c: Likewise.
29510 * math/w_atanh.c: Likewise.
29511 * math/w_atanhf.c: Likewise.
29512 * math/w_atanhl.c: Likewise.
29513 * math/w_cosh.c: Likewise.
29514 * math/w_coshf.c: Likewise.
29515 * math/w_coshl.c: Likewise.
29516 * math/w_dremf.c: Likewise.
29517 * math/w_exp10.c: Likewise.
29518 * math/w_exp10f.c: Likewise.
29519 * math/w_exp10l.c: Likewise.
29520 * math/w_exp2.c: Likewise.
29521 * math/w_exp2f.c: Likewise.
29522 * math/w_fmod.c: Likewise.
29523 * math/w_fmodf.c: Likewise.
29524 * math/w_fmodl.c: Likewise.
29525 * math/w_hypot.c: Likewise.
29526 * math/w_hypotf.c: Likewise.
29527 * math/w_hypotl.c: Likewise.
29528 * math/w_j0.c: Likewise.
29529 * math/w_j0f.c: Likewise.
29530 * math/w_j0l.c: Likewise.
29531 * math/w_j1.c: Likewise.
29532 * math/w_j1f.c: Likewise.
29533 * math/w_j1l.c: Likewise.
29534 * math/w_jn.c: Likewise.
29535 * math/w_jnf.c: Likewise.
29536 * math/w_jnl.c: Likewise.
29537 * math/w_lgamma.c: Likewise.
29538 * math/w_lgamma_r.c: Likewise.
29539 * math/w_lgammaf.c: Likewise.
29540 * math/w_lgammaf_r.c: Likewise.
29541 * math/w_lgammal.c: Likewise.
29542 * math/w_lgammal_r.c: Likewise.
29543 * math/w_log.c: Likewise.
29544 * math/w_log10.c: Likewise.
29545 * math/w_log10f.c: Likewise.
29546 * math/w_log10l.c: Likewise.
29547 * math/w_log2.c: Likewise.
29548 * math/w_log2f.c: Likewise.
29549 * math/w_log2l.c: Likewise.
29550 * math/w_logf.c: Likewise.
29551 * math/w_logl.c: Likewise.
29552 * math/w_pow.c: Likewise.
29553 * math/w_powf.c: Likewise.
29554 * math/w_powl.c: Likewise.
29555 * math/w_remainder.c: Likewise.
29556 * math/w_remainderf.c: Likewise.
29557 * math/w_remainderl.c: Likewise.
29558 * math/w_scalb.c: Likewise.
29559 * math/w_scalbf.c: Likewise.
29560 * math/w_scalbl.c: Likewise.
29561 * math/w_sinh.c: Likewise.
29562 * math/w_sinhf.c: Likewise.
29563 * math/w_sinhl.c: Likewise.
29564 * math/w_sqrt.c: Likewise.
29565 * math/w_sqrtf.c: Likewise.
29566 * math/w_sqrtl.c: Likewise.
29567 * math/w_tgamma.c: Likewise.
29568 * math/w_tgammaf.c: Likewise.
29569 * math/w_tgammal.c: Likewise.
29571 * po/ja.po: Update from translation team.
29573 2011-09-29 Andreas Jaeger <aj@suse.de>
29576 * sunrpc/netname.c (netname2host): Fix logic.
29580 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29582 * math/w_remainder.c (__remainder): Likewise.
29583 * math/w_remainderf.c (__remainderf): Likewise.
29584 * math/libm-test.inc (remainder_test): Add test cases.
29586 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29588 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29591 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29593 * string/test-memcmp.c: Avoid unncessary #defines.
29594 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29596 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29598 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29599 Use new sse2 version for core i3 - i7 as it's faster
29600 than sse42 version.
29601 (bit_Prefer_PMINUB_for_stringop): New.
29602 * sysdeps/x86_64/rawmemchr.S: Update.
29603 Replace with faster SSE2 version.
29604 * sysdeps/x86_64/memrchr.S: New file.
29605 * sysdeps/x86_64/memchr.S: Update.
29606 Replace with faster SSE2 version.
29608 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29610 * elf/dl-load.c (lose): Add cast to avoid warning.
29612 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29614 * po/ca.po: Update from translation team.
29616 * inet/getnetgrent_r.c: Hook up nscd.
29617 * nscd/Makefile (routines): Add nscd_netgroup.
29618 (nscd-modules): Add netgroupcache.
29619 (CFLAGS-netgroupcache.c): Define.
29620 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29621 (cache_search): Add const to second parameter.
29622 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29624 (dbs): Add netgrdb entry.
29625 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29626 (verify_persistent_db): Handle netgrdb.
29627 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29628 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29630 (netgroup_response_header): Define.
29631 (innetgroup_response_header): Define.
29632 (datahead): Add netgroup_response_header and innetgroup_response_header
29634 * nscd/nscd.conf: Add entries for netgroup cache.
29635 * nscd/nscd.h (dbtype): Add netgrdb.
29636 (_PATH_NSCD_NETGROUP_DB): Define.
29637 (netgroup_iov_disabled): Declare.
29638 (xmalloc, xcalloc, xrealloc): Move declarations here.
29639 (cache_search): Adjust prototype.
29640 Add netgroup-related prototypes.
29641 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29642 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29643 (__nscd_innetgr): Declare.
29644 * nscd/selinux.c (perms): Use access_vector_t as element type and
29645 add netgroup-related initializers.
29646 * nscd/netgroupcache.c: New file.
29647 * nscd/nscd_netgroup.c: New file.
29648 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29649 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29650 For four parameters use innetgr.
29651 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29652 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29653 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29654 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29656 * nscd/connections.c (register_traced_file): Don't register file
29657 for disabled databases.
29659 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29661 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29663 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29664 from tree and freeing node.
29666 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29668 * nss/nsswitch.c (__nss_database_lookup): Handle
29669 nss_parse_service_list out of memory case.
29671 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29673 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29674 out of memory case.
29676 2011-10-04 Andreas Schwab <schwab@redhat.com>
29678 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29679 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29681 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29682 elf_machine_rela, elf_machine_lazy_rel.
29683 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29684 (ELF_DYNAMIC_DO_REL): Likewise.
29685 (ELF_DYNAMIC_DO_RELA): Likewise.
29686 (ELF_DYNAMIC_RELOCATE): Likewise.
29687 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29688 to ELF_DYNAMIC_DO_REL.
29689 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29690 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29691 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29693 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29694 skip_ifunc, don't call ifunc function if non-zero.
29695 (elf_machine_rela): Likewise.
29696 (elf_machine_lazy_rel): Likewise.
29697 (elf_machine_lazy_rela): Likewise.
29698 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29699 (elf_machine_lazy_rel): Likewise.
29700 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29702 (elf_machine_lazy_rel): Likewise.
29703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29705 (elf_machine_lazy_rel): Likewise.
29706 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29707 (elf_machine_lazy_rel): Likewise.
29708 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29709 (elf_machine_lazy_rel): Likewise.
29710 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29711 (elf_machine_lazy_rel): Likewise.
29712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29713 (elf_machine_lazy_rel): Likewise.
29714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29715 (elf_machine_lazy_rel): Likewise.
29716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29717 (elf_machine_lazy_rel): Likewise.
29719 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29721 * nss/nss_files/files-init.c (_nss_files_init): Use static
29722 initialization for all the *_traced_file variables.
29724 2011-09-28 Andreas Schwab <schwab@redhat.com>
29726 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29728 2011-09-27 Roland McGrath <roland@hack.frob.com>
29731 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29733 2011-09-27 Andreas Schwab <schwab@redhat.com>
29735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29736 Reread the line before reparsing it.
29738 2011-09-26 Andreas Schwab <schwab@redhat.com>
29740 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29742 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29743 Maxim Kuvyrkov <maxim@codesourcery.com>
29744 Joseph Myers <joseph@codesourcery.com>
29746 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29747 if needed for __stack_chk_guard.
29749 2011-09-19 Roland McGrath <roland@hack.frob.com>
29751 * sysdeps/posix/spawni.c (script_execute): Always define it.
29752 It will be optimized away if unused.
29753 (maybe_script_execute): New function.
29754 (__spawni): Call it.
29756 * Makerules: Don't include tls.make.
29757 (config-tls): Always set to thread.
29758 * tls.make.c: File removed.
29760 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29762 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29763 * config.make.in (CPPFLAGS-config): New substituted variable.
29765 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29767 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29770 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29771 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29773 2011-09-15 Roland McGrath <roland@hack.frob.com>
29775 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29776 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29778 (CALL_FAIL): Likewise.
29779 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29780 (CALL_FAIL): Macro removed.
29781 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29783 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29785 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29786 for __FINITE_MATH_ONLY__ == 1.
29788 2011-09-15 Andreas Schwab <schwab@redhat.com>
29790 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29791 __ieee754_sqrt instead of sqrt.
29792 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29793 __ieee754_sqrtf instead of sqrtf.
29794 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29795 __floorf instead of floorf.
29796 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29797 __floorf, __truncf instead of floorf, truncf.
29799 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29801 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29803 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29804 __extern_always_inline.
29805 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29808 2011-09-14 Andreas Schwab <schwab@redhat.com>
29810 * elf/rtld.c (dl_main): Also relocate in dependency order when
29811 doing symbol dependency testing.
29813 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29815 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29816 Always define `refsym'.
29818 2011-09-13 Andreas Schwab <schwab@redhat.com>
29820 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29821 (__FD_ELT): Renamed from __FDELT.
29822 * misc/bits/select2.h (__FD_ELT): Likewise.
29823 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29824 __FD_MASK instead of __FDELT, __FDMASK.
29825 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29827 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29830 * elf/Makefile (gen-ldd): Fix pattern.
29832 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29833 (init_tls): Likewise.
29835 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29837 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29839 2011-09-12 Andreas Schwab <schwab@redhat.com>
29841 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29842 `struct cmsghdr *' instead of `void *'.
29843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29846 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29848 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29850 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29851 ldd_rewrite_script.
29853 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29855 * configure.in: Remove --with-tls option.
29856 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29857 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29858 out in case it is missing.
29859 * sysdeps/ia64/elf/configure.in: Likewise.
29860 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29861 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29862 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29863 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29864 * sysdeps/sh/elf/configure.in: Likewise.
29865 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29866 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29867 * sysdeps/x86_64/elf/configure.in: Likewise.
29868 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29869 * sysdeps/mach/hurd/tls.h: Likewise.
29872 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29875 * configure.in: Fix use of AC_INIT.
29877 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29879 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29881 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29883 * malloc/hooks.c: Likewise.
29886 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29887 variables statically.
29888 (narenas): Initialize.
29889 (list_lock): Initialize.
29890 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29891 initializtion of main_arena and list_lock. Small cleanups.
29892 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29893 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29894 Add initializers to main_arena and mp_.
29895 (malloc_state): Remove pagesize member. Change all users to use
29898 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29899 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29900 is always initialized.
29902 * malloc/malloc.c: Removed unused configurations and dead code.
29903 * malloc/arena.c: Likewise.
29904 * malloc/hooks.c: Likewise.
29905 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29907 * include/tls.h: Removed. USE___THREAD must always be defined.
29908 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29909 * elf/dl-libc.c: Likewise.
29910 * elf/dl-tsd.c: Likewise.
29911 * include/errno.h: Likewise.
29912 * include/netdb.h: Likewise.
29913 * include/resolv.h: Likewise.
29914 * inet/herrno-loc.c: Likewise.
29915 * inet/herrno.c: Likewise.
29916 * malloc/arena.c: Likewise.
29917 * malloc/hooks.c: Likewise.
29918 * malloc/malloc.c: Likewise.
29919 * resolv/res-state.c: Likewise.
29920 * resolv/res_libc.c: Likewise.
29921 * sysdeps/i386/dl-machine.h: Likewise.
29922 * sysdeps/ia64/dl-machine.h: Likewise.
29923 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29924 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29925 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29926 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29927 * sysdeps/sh/dl-machine.h: Likewise.
29928 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29929 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29930 * sysdeps/unix/i386/sysdep.S: Likewise.
29931 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29932 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29936 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29937 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29941 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29942 * sysdeps/x86_64/dl-machine.h: Likewise.
29943 * tls.make.c: Likewise.
29945 * configure.in: Remove --with-__thread option. Make tests for
29946 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29947 tls_model attribute fail if no support is available. Remove
29949 * Makeconfig: Adjust for dropped configure option. All features are
29951 * Makerules: Likewise.
29952 * Versions.def: Likewise.
29953 * argp/argp-fmtstream.c: Likewise.
29954 * argp/argp-fmtstream.h: Likewise.
29955 * argp/argp-help.c: Likewise.
29956 * assert/assert.c: Likewise.
29957 * config.h.in: Likewise.
29958 * config.make.in: Likewise.
29959 * configure: Likewise.
29960 * configure.in: Likewise.
29961 * csu/Versions: Likewise.
29962 * csu/init.c: Likewise.
29963 * elf/tst-audit2.c: Likewise.
29964 * elf/tst-tls10.c: Likewise.
29965 * elf/tst-tls10.h: Likewise.
29966 * elf/tst-tls11.c: Likewise.
29967 * elf/tst-tls12.c: Likewise.
29968 * elf/tst-tls14.c: Likewise.
29969 * elf/tst-tlsmod11.c: Likewise.
29970 * elf/tst-tlsmod12.c: Likewise.
29971 * elf/tst-tlsmod13.c: Likewise.
29972 * elf/tst-tlsmod13a.c: Likewise.
29973 * elf/tst-tlsmod14a.c: Likewise.
29974 * elf/tst-tlsmod15b.c: Likewise.
29975 * elf/tst-tlsmod16a.c: Likewise.
29976 * elf/tst-tlsmod16b.c: Likewise.
29977 * elf/tst-tlsmod7.c: Likewise.
29978 * elf/tst-tlsmod8.c: Likewise.
29979 * elf/tst-tlsmod9.c: Likewise.
29980 * gmon/gmon.c: Likewise.
29981 * grp/fgetgrent_r.c: Likewise.
29982 * grp/putgrent.c: Likewise.
29983 * hurd/fopenport.c: Likewise.
29984 * include/libc-symbols.h: Likewise.
29985 * include/tls.h: Likewise.
29986 * intl/gettextP.h: Likewise.
29987 * intl/loadinfo.h: Likewise.
29988 * locale/global-locale.c: Likewise.
29989 * locale/localeinfo.h: Likewise.
29990 * mach/devstream.c: Likewise.
29991 * malloc/arena.c: Likewise.
29992 * malloc/set-freeres.c: Likewise.
29993 * misc/err.c: Likewise.
29994 * misc/getttyent.c: Likewise.
29995 * misc/mntent_r.c: Likewise.
29996 * posix/getopt.c: Likewise.
29997 * posix/wordexp.c: Likewise.
29998 * pwd/fgetpwent_r.c: Likewise.
29999 * resolv/Versions: Likewise.
30000 * resolv/res_hconf.c: Likewise.
30001 * shadow/fgetspent_r.c: Likewise.
30002 * shadow/putspent.c: Likewise.
30003 * stdio-common/printf_fphex.c: Likewise.
30004 * stdio-common/tmpfile.c: Likewise.
30005 * stdlib/abort.c: Likewise.
30006 * stdlib/fmtmsg.c: Likewise.
30007 * sunrpc/auth_unix.c: Likewise.
30008 * sunrpc/clnt_perr.c: Likewise.
30009 * sunrpc/clnt_tcp.c: Likewise.
30010 * sunrpc/clnt_udp.c: Likewise.
30011 * sunrpc/clnt_unix.c: Likewise.
30012 * sunrpc/openchild.c: Likewise.
30013 * sunrpc/svc_simple.c: Likewise.
30014 * sunrpc/svc_tcp.c: Likewise.
30015 * sunrpc/svc_udp.c: Likewise.
30016 * sunrpc/svc_unix.c: Likewise.
30017 * sunrpc/xdr.c: Likewise.
30018 * sunrpc/xdr_array.c: Likewise.
30019 * sunrpc/xdr_rec.c: Likewise.
30020 * sunrpc/xdr_ref.c: Likewise.
30021 * sunrpc/xdr_stdio.c: Likewise.
30023 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30025 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30027 2011-07-03 Andreas Jaeger <aj@suse.de>
30029 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30030 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30031 regenerate with gen-libm-tests.pl.
30033 2010-05-12 Petr Baudis <pasky@suse.cz>
30036 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30037 around j0() zero points by switching to j1().
30038 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30039 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30043 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30045 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30047 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30050 Patch in part by Pavel Roskin <proski@gnu.org>.
30053 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30055 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30056 Free memory block if necessary.
30059 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30060 be NULL. Don't lock in this case.
30062 2011-09-09 Roland McGrath <roland@hack.frob.com>
30064 * elf/elf.h (ELFOSABI_GNU): New macro.
30065 (ELFOSABI_LINUX): Define to that.
30067 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30069 * string/strncat.c (strncat): Undef the symbol in case it has been
30070 defined in bits/string.h.
30072 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30074 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30076 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30079 2011-08-17 Andreas Jaeger <aj@suse.de>
30081 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30083 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30084 Ian Lance Taylor <iant@google.com>
30086 * math/libm-test.inc (lround_test): New testcase.
30087 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30089 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30091 * Makefile: Remove support for automatic cvs check-ins.
30092 * Makerules: Likewise.
30093 * config.make.in: Likewise.
30094 * configure.in: Likewise.
30095 * intl/Makefile: Likewise.
30096 * locale/Makefile: Likewise.
30097 * po/Makefile: Likewise.
30098 * posix/Makefile: Likewise.
30099 * sysdeps/gnu/Makefile: Likewise.
30100 * sysdeps/mach/hurd/Makefile: Likewise.
30101 * sysdeps/sparc/sparc32/Makefile: Likewise.
30104 * posix/Makefile (bug-regex32-ENV): Define.
30105 Patch by John Stanley <jpsinthemix@verizon.net>.
30107 * misc/Makefile (headers): Add bits/select2.h.
30108 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30109 * misc/bits/select2.h: New file.
30110 * include/bits/select2.h: New file.
30111 * debug/Makefile (routines): Add fdelt_chk.
30112 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30113 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30115 * debug/fdelt_chk.c: New file.
30117 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30118 * wcsmbs/test-wmemcmp.c: Likewise.
30119 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30120 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30122 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30124 * string/Makefile (strop-tests): Add memcmp.
30125 * string/test-wmemcmp.c: New file.
30126 * string/test-memcmp.c: Add wmemcmp support.
30128 2011-09-08 Roland McGrath <roland@hack.frob.com>
30131 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30134 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30135 garbage value in a __mach_port_mod_refs call in the cases of the
30136 task-self and thread-self ports.
30138 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30140 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30142 2011-09-08 Andreas Schwab <schwab@redhat.com>
30144 * elf/dl-load.c (lose): Check for non-null L.
30146 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30148 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30150 * elf/dl-libc.c (dlerror_run): Pass back error code from
30154 * elf/dl-load.c (lose): Free l_origin if it is valid.
30156 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30158 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30159 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30160 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30161 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30162 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30163 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30165 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30167 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30168 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30169 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30170 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30171 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30172 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30173 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30174 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30175 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30176 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30178 2011-08-15 Alan Modra <amodra@gmail.com>
30181 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30182 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30183 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30184 ppc_mcount to static-only-routines.
30185 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30187 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30188 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30190 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30192 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30193 for finite and infinity parameters.
30195 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30197 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30198 and add nop instructions for throughput optimization.
30199 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30201 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30203 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30204 aligned copy for power7 with vector-scalar instructions.
30205 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30207 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30212 2011-09-07 Andreas Schwab <schwab@redhat.com>
30215 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30218 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30220 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30221 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30222 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30223 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30226 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30228 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30229 Forgot to demangle the pointer.
30231 * sysdeps/i386/sysdep.h: Define atom_text_section.
30232 * sysdeps/x86_64/sysdep.h: Likewise.
30233 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30234 section with atom_text_section.
30235 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30236 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30237 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30238 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30239 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30241 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30242 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30243 already be defined. Change to take two parameters and don't assign
30244 result to variable. Adjust all users.
30245 Define INTERNAL_GETTIME if not already defined.
30246 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30249 HAVE_CLOCK_GETTIME_VSYSCALL.
30250 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30252 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30253 gettimeofday vsyscall, just use time.
30255 2011-09-06 Andreas Schwab <schwab@redhat.com>
30257 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30260 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30262 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30266 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30267 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30268 syscall if possible.
30270 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30272 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30273 e_ident. Don't pass to find_mapsXX.
30274 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30276 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30279 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30280 * sysdeps/x86_64/multiarch/strchr.S: Update.
30281 Check bit_slow_BSF bit.
30282 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30283 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30284 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30286 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30289 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30291 (tryshell): Define.
30292 (__spawni): Change last parameter to be flag. Test
30293 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30294 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30295 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30296 * posix/spawni.c: Likewise.
30297 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30298 * posix/spawnp.c: Likewise. Change normal version to use
30299 SPAWN_XFLAGS_USE_PATH.
30300 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30301 SPAWN_XFLAGS_TRY_SHELL.
30304 * posix/glob.h: Remove gcc 1.x support.
30307 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30309 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30312 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30314 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30315 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30316 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30317 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30318 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30319 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30321 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30323 * sysdeps/x86_64/wcscmp.S: New file.
30325 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30326 wcscmp-c wcscmp-sse2
30327 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30328 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30329 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30330 * wcsmbs/wcscmp.c: Allow renaming.
30332 2011-09-05 David S. Miller <davem@davemloft.net>
30334 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30335 stack slot, rather than the struct return pointer slot.
30336 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30337 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30339 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30341 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30343 * po/ja.po: Update from translation team.
30346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30347 kernel in 64-bit binaries.
30349 2011-09-01 David S. Miller <davem@davemloft.net>
30351 * elf/elf.h (HWCAP_SPARC_*): Move to..
30352 * sysdeps/sparc/sysdep.h: this new file and add new values.
30353 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30354 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30355 _DL_HWCAP_COUNT to 24.
30356 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30358 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30359 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30360 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30361 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30362 instead of magic constants.
30363 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30365 2011-08-31 David S. Miller <davem@davemloft.net>
30367 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30369 Reimplement to do errno handling inline.
30370 (SYSCALL_ERROR_HANDLER): New macro.
30371 (__SYSCALL_STRING): Do not do errno handling in asm.
30372 (__CLONE_SYSCALL_STRING): Delete.
30373 (__INTERNAL_SYSCALL_STRING): Delete.
30374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30375 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30376 (PSEUDO): Reimplement to do errno handling inline.
30377 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30378 (SYSCALL_ERROR_HANDLER): New macro.
30379 (__SYSCALL_STRING): Do not do errno handling in asm.
30380 (__CLONE_SYSCALL_STRING): Delete.
30381 (__INTERNAL_SYSCALL_STRING): Delete.
30382 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30383 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30385 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30386 (inline_syscall*): Add 'err' argument.
30387 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30388 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30389 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30390 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30392 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30393 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30395 2011-08-30 Andreas Schwab <schwab@redhat.com>
30397 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30399 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30401 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30404 2011-08-24 David S. Miller <davem@davemloft.net>
30406 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30408 2011-08-24 Andreas Schwab <schwab@redhat.com>
30410 * elf/Makefile: Add rules to build and run unload8 test.
30411 * elf/unload8.c: New file.
30412 * elf/unload8mod1.c: New file.
30413 * elf/unload8mod1x.c: New file.
30414 * elf/unload8mod2.c: New file.
30415 * elf/unload8mod3.c: New file.
30417 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30420 2011-08-23 David S. Miller <davem@davemloft.net>
30422 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30423 subtract stack bias.
30424 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30425 %sp not %fp in calculations.
30426 (_JMPBUF_UNWINDS_ADJ): Likewise.
30428 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30429 (aio_suspend): Call it to force an exception region around the
30430 AIO_MISC_WAIT() invocation.
30432 2011-08-23 Andreas Schwab <schwab@redhat.com>
30434 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30437 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30439 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30441 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30442 and <dl-machine.h>.
30443 (Elf64_FuncDesc): Remove.
30445 2011-08-22 David S. Miller <davem@davemloft.net>
30447 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30448 sigaltstack check, add missing cfi directives.
30449 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30450 missing cfi directives, and sigaltstack handling.
30452 2011-08-16 Andreas Schwab <schwab@redhat.com>
30455 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30456 object is seen twice.
30457 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30459 * elf/Makefile (distribute): Add tst-initorder2.c.
30460 (tests): Add tst-initorder2.
30461 (modules-names): Add tst-initorder2a tst-initorder2b
30462 tst-initorder2c tst-initorder2d. Add rules to build them.
30463 ($(objpfx)tst-initorder2.out): New rule.
30464 * elf/tst-initorder2.c: New file.
30465 * elf/tst-initorder2.exp: New file.
30467 2011-08-22 Andreas Schwab <schwab@redhat.com>
30469 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30471 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30472 dependencies back to end of function.
30474 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30475 $(elfobjdir)/ld.so.
30477 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30480 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30482 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30483 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30484 of __vdso_gettimeofday.
30485 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30486 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30488 (_libc_vdso_platform_setup): Remove initialization of
30489 __vdso_gettimeofday and __vdso_time.
30491 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30493 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30494 and fgetc_unlocked.
30495 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30498 * elf/dl-open.c (add_to_global): Report additions to the global scope
30499 for LD_DEBUG=scopes.
30500 (dl_open_worker): Also print scope of newly loaded dependencies.
30501 (_dl_show_scope): Indicate if there is no scope.
30504 * stdio-common/Makefile (tests): Add bug24.
30505 * stdio-common/bug24.c: New file.
30507 2011-08-19 Andreas Jaeger <aj@suse.de>
30510 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30511 non-existant file when using close-on-exec mode.
30513 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30516 the very first instruction.
30518 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30519 the CFI state in the end.
30520 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30521 inclusion of dl-trampoline.h.
30522 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30524 2011-08-19 Andreas Schwab <schwab@redhat.com>
30526 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30527 expectations for long double.
30529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30530 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30532 2011-08-14 David S. Miller <davem@davemloft.net>
30534 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30535 artificual limit depends upon the system page size.
30537 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30539 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30540 * resolv/Makefile: Define CFLAGS-libresolv.
30542 2011-08-17 Andreas Schwab <schwab@redhat.com>
30544 * nss/makedb.c (compute_tables): Make variables used in nested
30547 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30549 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30550 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30551 if buffer was too small.
30553 * elf/pldd.c (main): Attach to all threads in the process.
30554 Rewrite /proc handling to use *at functions.
30556 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30558 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30559 specifies first scope to show.
30560 (dl_open_worker): Update callers. Move printing scope of new
30561 object to before the relocation.
30562 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30563 * sysdeps/generic/ldsodefs.h: Update declaration.
30565 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30566 string for the scope number.
30568 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30570 * nscd/servicescache.c (cache_addserv): Make sure written is always
30573 2011-08-14 Roland McGrath <roland@hack.frob.com>
30575 * sysdeps/i386/i486/bits/atomic.h
30576 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30577 statement expression, so as to suppress "set but not used" warning.
30578 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30580 * string/strncat.c (STRNCAT): Use prototype definition.
30582 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30583 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30585 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30586 (localedef-modules): Add localedef.
30587 (locale-modules): Add locale.
30589 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30590 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30591 to avoid a warning.
30593 2011-08-14 David S. Miller <davem@davemloft.net>
30595 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30596 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30598 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30600 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30601 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30602 * elf/rtld.c (dl_main): Set l_name of vDSO.
30603 Call _dl_show_scope when DL_DEBUG_SCOPES.
30604 (process_dl_debug): Recognize scopes flag and also set it for all.
30605 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30606 Declare _dl_show_scope.
30608 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30609 (do_dlopen): Pass caller_dlopen to dl_open.
30610 (__libc_dlopen_mode): Initialize caller_dlopen.
30612 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30613 of libc. Make tolower call locale-independent. Optimize a bit by
30614 using isdigit instead of isalnum.
30615 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30617 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30619 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30620 was a dependency or dynamically loaded.
30622 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30624 * intl/l10nflist.c: Allow architecture-specific pop function.
30625 * sysdeps/x86_64/l10nflist.c: New file.
30627 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30630 2011-08-10 Andreas Schwab <schwab@redhat.com>
30632 * include/dirent.h: Add libc_hidden_proto for scandirat and
30633 scandirat64. Don't declare __scandirat64.
30634 * dirent/scandirat.c: Add libc_hidden_def.
30635 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30636 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30638 2011-08-10 David S. Miller <davem@davemloft.net>
30640 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30642 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30643 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30644 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30646 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30648 * Versions.def [libc]: Add GLIBC_2.15.
30649 * dirent/Makefile (routines): Add scandirat and scandirat64.
30650 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30652 * dirent/dirent.h: Declare scandirat and scandirat64.
30653 * dirent/scandirat.c: New file.
30654 * dirent/scandirat64.c: New file.
30655 * sysdeps/wordsize-64/scandirat.c: New file.
30656 * sysdeps/wordsize-64/scandirat64.c: New file.
30657 * dirent/opendir.c: Define opendirat.
30658 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30660 * dirent/scandir64.c: Adjust for scandir.c change.
30661 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30662 __scandirat64, and __scandir_cancel_handler.
30663 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30664 additional parameter and use openat instead of open (outside of ld.so).
30665 Add new __opendir as wrapper around __opendirat.
30666 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30667 here without requiring old scandirat implementation.
30669 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30671 * dirent/scandir.c (cancel_handler): Renamed to
30672 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30673 defined. Adjust users.
30674 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30675 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30677 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30679 * string/test-string.h (IMPL): Use __STRING to expand name and then
30682 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30685 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30687 * string/Makefile: Update.
30688 (strop-tests): Append strncat.
30689 * string/test-wcscmp.c: New file.
30690 New comprehensive test for wcscmp.
30691 * string/test-strcmp.c: Update.
30692 (WIDE): New define.
30694 2011-07-22 Andreas Schwab <schwab@redhat.com>
30696 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30699 2011-07-26 Andreas Schwab <schwab@redhat.com>
30701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30702 encoding to ACE if AI_IDN.
30704 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30706 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30707 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30709 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30711 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30712 Fix overflow bug in strncat.
30713 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30715 * string/test-strncat.c: Update.
30716 Add new tests for checking overflow bugs.
30718 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30721 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30722 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30723 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30724 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30725 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30726 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30727 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30728 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30731 (USE_AS_STRCAT): Define.
30732 Add strcat and strncat support.
30733 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30735 2011-07-25 Andreas Schwab <schwab@redhat.com>
30737 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30738 __n bigger than INT_MAX+1.
30739 (__strncmp_g): Likewise.
30741 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30743 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30744 * libio/stido.h: Likewise.
30746 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30751 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30752 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30753 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30754 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30755 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30758 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30763 (_dl_x86_64_save_sse): Likewise.
30765 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30769 (_dl_x86_64_save_sse): Likewise.
30771 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30773 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30775 2011-07-21 Andreas Schwab <schwab@redhat.com>
30777 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30779 (_dl_x86_64_save_sse): Use correct AVX check.
30781 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30783 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30784 bug in strncpy/strncat.
30785 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30787 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30789 * string/tester.c (test_strcat): Add tests for different alignments
30790 of source and destination.
30791 (test_strncat): Likewise.
30793 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30796 * posix/glob.c (glob): Check passed in values before using them in
30797 expressions to avoid some overflows.
30798 (glob_in_dir): Likewise.
30801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30802 check for AVX enablement so that we don't crash with old kernels and
30804 * elf/tst-audit4.c: Add same checks here.
30805 * elf/tst-audit6.c: Likewise.
30807 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30809 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30811 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30813 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30815 * po/cs.po: Update from translation team.
30816 * po/bg.po: Likewise.
30818 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30820 * misc/sys/cdefs.h: Add support for const attribute.
30821 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30822 to gnu_dev_{major,minor,makedev} functions.
30824 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30826 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30828 2011-07-20 Andreas Schwab <schwab@redhat.com>
30830 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30833 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30836 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30837 register in order to avoid conflicts with the soft frame pointer
30838 being held in r11 when necessary.
30839 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30840 (INTERNAL_VSYSCALL_NCS): Likewise.
30842 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30844 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30845 * elf/dl-fini.c (_dl_fini): Adjust caller.
30846 * elf/dl-close.c (_dl_close_worker): Likewise.
30847 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30849 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30851 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30852 "aux_cache->nlibs < 0".
30854 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30855 in the reload-count case.
30857 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30860 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30861 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30862 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30863 * sysdeps/x86_64/multiarch/strcat.S: New file.
30864 * sysdeps/x86_64/multiarch/strncat.S: New file.
30865 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30866 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30867 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30868 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30869 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30870 (USE_AS_STRCAT): Define.
30871 Add strcat and strncat support.
30872 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30873 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30874 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30875 * string/strncat.c: Update.
30876 (USE_AS_STRNCAT): Define.
30877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30878 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30880 * sysdeps/x86_64/multiarch/init-arch.h
30881 (bit_Prefer_PMINUB_for_stringop): New.
30882 (index_Prefer_PMINUB_for_stringop): Likewise.
30883 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30884 bit_Prefer_PMINUB_for_stringop.
30886 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30888 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30890 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30891 of casting of buffer.
30892 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30893 buffer32 and buffer64.
30894 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30895 writes instead of casting of buffer.
30896 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30898 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30901 2011-07-19 Andreas Schwab <schwab@redhat.com>
30903 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30905 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30907 * nscd/nscd.c (termination_handler): Don't do anything for a database
30908 if it has not yet been initialized.
30910 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30912 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30914 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30916 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30918 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30920 * po/nl.po: Update from translation team.
30921 * po/sv.po: Likewise.
30923 2011-07-16 Roland McGrath <roland@hack.frob.com>
30925 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30926 now disallowed by GCC.
30928 * configure.in (use-default-link): Default to yes if a test -shared
30929 link meets our qualifications.
30930 * configure: Regenerated.
30932 * config.make.in (output-format): New variable.
30933 * configure.in: Check for ld --print-output-format support.
30934 * configure: Regenerated.
30935 * Makerules ($(common-objpfx)format.lds)
30936 [$(output-format) != unknown]: Just use $(output-format),
30937 instead of the linker-script munging.
30939 2011-07-14 Roland McGrath <roland@hack.frob.com>
30941 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30942 of $(common-objpfx)shlib.lds.
30943 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30945 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30946 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30948 * configure.in (-z relro check): Adjust test code to add a large
30949 writable data section after it.
30950 * configure: Regenerated.
30952 2011-07-11 Roland McGrath <roland@hack.frob.com>
30954 * configure.in (-z relro check): Fix test code to make the variable
30956 * configure: Regenerated.
30958 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30960 * nscd/nscd.h (struct traced_file): Define.
30961 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30962 elements. Add traced_files.
30963 (inotify_fd): Declare.
30964 (register_traced_file): Declare.
30965 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30966 (inotify_fd): Export.
30967 (resolv_conf_descr): Remove.
30968 (nscd_init): Move inotify descriptor creation to main.
30969 Don't register files for notification here.
30970 (register_traced_file): New function.
30971 (invalidate_cache): Don't use reset_res to determine whether to call
30972 res_init, go through the list of registered files.
30973 (main_loop_poll): The inotify descriptors are now stored in the
30974 structures for the traced files.
30975 (main_loop_epoll): Likewise
30976 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30977 to __nss_disable_nscd.
30978 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30979 for a database anymore. Check the records for all the registered
30981 * nss/Makefile (libnss_files-routines): Add files-init.
30982 (libnss_db-routines): Add db-init.
30983 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30984 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30985 * nss/nss_db/db-init.c: New file.
30986 * nss/nss_files/files-init.c: New file.
30987 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30988 __nss_lookup_function.
30989 (__nss_lookup_function): Call nss_load_library.
30990 (nss_load_all_libraries): New function.
30991 (__nss_disable_nscd): Take parameter with callback function for files
30992 to register. Set is_nscd. Load all the DSOs for the NSS modules
30993 used for the cached services.
30994 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30995 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30996 options for features to all the files in nscd.
30998 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31000 2011-07-10 Roland McGrath <roland@hack.frob.com>
31002 * csu/elf-init.c (__libc_csu_init): Comment typo.
31004 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31006 * po/pl.po: Update from translation team.
31007 * po/ja.po: Likewise.
31008 * po/ru.po: Likewise.
31009 * po/ko.po: Likewise.
31010 * po/fr.po: Likewise.
31012 2011-07-09 Roland McGrath <roland@hack.frob.com>
31014 * configure.in (.ctors/.dtors header and trailer check):
31015 Use an empirical test on a built program.
31016 * configure: Regenerated.
31018 * configure.in (-z relro check): Use an empirical test on a built DSO.
31019 Detect, but do not require, on ia64.
31020 * configure: Regenerated.
31022 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31023 Update tests that use readelf to use $READELF instead.
31024 * configure: Regenerated.
31026 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31028 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31029 if the result is not used.
31031 2011-07-05 Andreas Jaeger <aj@suse.de>
31034 * stdlib/tst-strtod.c: Add testcase.
31036 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31038 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31039 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31040 The latter has a higher limit. Take additional parameter to pass to
31042 (__pathconf): Pass file to __statfs_link_max.
31043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31045 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31049 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31050 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31052 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31053 (__statfs_filesize_max): Likewise.
31054 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31056 2011-07-05 Andreas Jaeger <aj@suse.de>
31058 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31060 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31062 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31064 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31067 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31069 * Makefile (strop-tests): Add strncat.
31070 * string/test-strncat.c: New file.
31072 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31074 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31076 2011-06-21 Andreas Jaeger <aj@suse.de>
31078 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31079 Copy rule from iconvdata/Makefile.
31081 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31084 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31085 but no long options are defined, just return 'W'.
31087 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31090 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31092 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31094 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31096 (innetgr): Likewise.
31098 2011-07-05 Roland McGrath <roland@hack.frob.com>
31100 * config.make.in (install_root): Default to $(DESTDIR).
31102 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31104 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31106 2011-07-02 Roland McGrath <roland@hack.frob.com>
31108 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31110 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31111 containing directory rather than embedding absolute directory names.
31113 * scripts/check-local-headers.sh: Rewritten using awk.
31114 Match by word, not by line. Print error messages for matches.
31115 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31117 * Makerules [shlib-lds-flags empty]:
31118 ($(common-objpfx)libc_pic.opts): New target.
31119 ($(common-objpfx)libc_pic.os.clean): New target.
31120 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31122 * config.make.in (OBJCOPY): New variable.
31123 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31124 * configure: Regenerated.
31126 * config.make.in (use-default-link): New variable.
31127 * configure.in (use_default_link): Grok --with-default-link to set it.
31128 * configure: Regenerated.
31129 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31130 (shlib-lds, shlib-lds-flags): Define to empty.
31132 * Makerules (shlib-lds): New variable.
31133 (shlib-lds-flags): New variable.
31134 (build-shlib, build-moduile, build-module-asneeded): Use it.
31135 ($(common-objpfx)libc.so): Use $(shlib-lds).
31136 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31137 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31139 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31140 DT_FLAGS/DT_FLAGS_1 with zero flags.
31142 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31143 linker script munging.
31145 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31147 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31149 * crypt/sha512.c (sha512_process_block): Perform total addition using
31150 128-bit if possible.
31151 (__sha512_finish_ctx): Likewise.
31152 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31154 * crypt/sha256.c (SWAP64): Define.
31155 (sha256_process_block): Perform total addition using 64-bit if
31157 (__sha256_finish_ctx): Likewise.
31159 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31161 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31162 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31163 * nscd/hstcache.c (cache_addhst): Likewise.
31164 * nscd/grpcache.c (cache_addgr): Likewise.
31165 * nscd/aicache.c (addhstaiX): Likewise
31166 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31168 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31170 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31171 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31172 * nscd/hstcache.c (cache_addhst): Likewise.
31173 * nscd/grpcache.c (cache_addgr): Likewise.
31174 * nscd/aicache.c (addhstaiX): Likewise
31176 2011-07-01 Andreas Schwab <schwab@redhat.com>
31178 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31179 domain only when needed.
31181 2011-06-30 Andreas Schwab <schwab@redhat.com>
31183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31184 is always restored.
31186 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31188 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31189 are re-adding the entry.
31190 * nscd/servicescache.c (cache_addserv): Likewise.
31192 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31194 * sysdeps/generic/dl-irel.h: fix protection against multiple
31196 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31198 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31201 * malloc/memusage.sh: Fix quoting in message.
31202 * debug/xtrace.sh: Likewise.
31204 * configure.in: Remove support for --experimental-malloc option, make
31206 * config.make.in: Likewise.
31207 * malloc/Makefile: Likewise.
31209 2011-06-27 Andreas Schwab <schwab@redhat.com>
31211 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31212 two-byte characters.
31214 2011-06-27 Roland McGrath <roland@hack.frob.com>
31216 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31217 AC_CACHE_CHECK invocation.
31218 * configure: Regenerated.
31220 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31222 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31225 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31226 bit from old_res_options.
31228 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31230 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31231 value type for setfct.
31233 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31235 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31236 __gettimeofday instead of gettimeofday.
31238 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31240 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31242 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31244 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31249 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31252 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31253 strcpy-sse2-unaligned strncpy-sse2-unaligned
31254 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31255 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31256 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31257 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31258 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31259 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31260 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31261 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31262 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31263 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31264 (STRCPY): Support SSE2 and SSSE3 versions.
31266 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31269 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31270 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31271 kernels which artificially limit size of requests.
31273 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31276 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31277 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31278 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31279 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31280 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31281 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31282 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31283 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31284 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31285 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31286 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31287 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31288 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31289 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31291 Enable unaligned load optimization for Intel Core i3, i5 and i7
31293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31295 (index_Fast_Unaligned_Load): Define.
31296 (HAS_FAST_UNALIGNED_LOAD): Define.
31298 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31300 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31302 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31305 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31306 until it is clear that the information is realy needed.
31307 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31309 2011-06-22 Andreas Schwab <schwab@redhat.com>
31311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31313 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31315 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31316 /sys/devices/system/cpu/online if it is usable.
31318 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31319 reading the information from the /proc filesystem to once a second.
31321 2011-06-21 Andreas Jaeger <aj@suse.de>
31323 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31324 NULL after inclusion of kernel headers.
31326 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31328 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31329 calls to internal_setent.
31332 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31333 addresses using gethostbyname4_r ignore IPv4 addresses.
31335 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31336 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31338 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31340 2011-06-20 David S. Miller <davem@davemloft.net>
31342 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31344 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31346 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31347 (elf_irel): Use it.
31348 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31349 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31350 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31351 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31352 * sysdeps/x86_64/dl-irel.h: Likewise.
31354 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31355 * elf/dl-sym.c: Likewise.
31357 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31359 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31360 need to dereference resplen2.
31362 2011-06-14 Andreas Schwab <schwab@redhat.com>
31364 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31366 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31368 * Makeconfig: Define vardbdir and inst_vardbdir.
31369 * nss/Makefile: Add rules to install db-Makefile.
31371 * nss/nss_db/db-XXX.c: Cleanup.
31373 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31374 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31376 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31377 * nss/makedb.c: Implement -g option to specify that value strings
31378 are generated and should not be added to table iterated over for
31380 * nss/nss_db/db-initgroups.c: New file.
31382 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31385 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31386 (internal_getgrouplist): Adjust to name change.
31387 Update use_initgroups_entry if this is not the first call.
31388 * nss/databases.def: Add initgroups entry.
31390 * nss/makedb.c (compute_tables): Check result of multiple hash table
31391 sizes to minimize maximum chain length.
31393 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31395 * Versions.def: Add entry for libnss_db.
31396 * shlib-versions: Likewise.
31397 * nss/Makefile: Add rules to build libnss_db.
31398 * nss/Versions: Add libnss_db information. Organize libnss_files
31400 * nss/db-Makefile: Add gshadow support. Change rules for the new
31401 makedb progra. Some minor improvements to generate smaller files.
31402 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31404 * nss/makedb.c: ...here.
31405 Improve database format to be smaller and require less memory at
31407 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31409 * nss/nss_db/db-netgrp.c: Likewise.
31410 * nss/nss_db/db-open.c: Likewise.
31411 * nss/nss_files/flies-XXX.x: Adjust comments.
31412 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31413 * nss/nss_files/files-grp.c: Likewise.
31414 * nss/nss_files/files-hosts.c: Likewise.
31415 * nss/nss_files/files-network.c: Likewise.
31416 * nss/nss_files/files-proto.c: Likewise.
31417 * nss/nss_files/files-pwd.c: Likewise.
31418 * nss/nss_files/files-rpc.c: Likewise.
31419 * nss/nss_files/files-service.c: Likewise.
31420 * nss/nss_files/files-sgrp.c: Likewise.
31421 * nss/nss_files/files-spwd.c: Likewise.
31422 * nss/nss_db/db-alias.c: Removed.
31423 * nss/nss_db/dummy-db.h: Removed.
31425 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31427 * nss/makedb.c: Rewritten to not use database library.
31428 * nss/Makefile: Update to build new makedb program.
31430 2011-06-14 Andreas Jaeger <aj@suse.de>
31432 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31433 memset declaration.
31435 2011-06-10 Andreas Schwab <schwab@redhat.com>
31437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31440 2011-06-10 Roland McGrath <roland@hack.frob.com>
31442 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31443 * elf/Makefile ($(objpfx)ld.so): Likewise.
31445 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31446 Don't list ld.so twice in dependencies.
31448 * posix/bug-regex31.c: Include <stdlib.h>.
31450 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31452 * nis/nss_compat/compat-spwd.c
31453 (getspent_next_nss_netgr): Remove unused variable.
31454 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31456 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31457 nonmembers" output to use the right array.
31459 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31461 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31463 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31464 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31465 * catgets/gencat.c (read_input_file): Likewise.
31466 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31468 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31469 variable definition inside #if's controlling its use.
31471 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31473 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31475 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31477 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31480 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31482 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31483 * configure: Regenerated.
31485 * Makerules: Revert last change.
31486 * elf/Makefile: Likewise.
31488 2011-06-09 Roland McGrath <roland@hack.frob.com>
31490 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31491 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31492 (reloc-link): Likewise.
31494 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31496 * elf/Makefile: Add rules to build pldd.
31497 * elf/pldd.c: New file.
31498 * elf/pldd-xx.c: New file.
31500 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31502 * version.h: Update for 2.15 development version.
31504 2011-06-07 David S. Miller <davem@davemloft.net>
31506 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31509 elf_machine_lazy_rel): Likewise.
31510 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31512 elf_machine_lazy_rel): Likewise.
31513 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31514 dl_hwcap via passed in argument.
31515 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31518 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31520 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31522 2011-06-06 Roland McGrath <roland@hack.frob.com>
31525 * manual/fdl-1.1.texi: New file, verbatim from:
31526 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31527 * manual/lgpl-2.1.texi: New file, verbatim from:
31528 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31529 * manual/Makefile (licenses): New variable, list those new file names.
31531 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31533 * manual/fdl.texi: File removed.
31534 * manual/lesser.texi: File removed.
31535 * manual/libc.texinfo (Copying, Documentation License):
31536 Use new @include file names, put @appendix directive before @include.
31538 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31541 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31542 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31543 (mq_open): Add __NTH.
31545 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31548 Assume Intel Core i3/i5/i7 processor if AVX is available.
31550 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31555 2011-05-31 Andreas Schwab <schwab@redhat.com>
31557 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31558 memory. Use alloca_account. Fix memory leak when retrying.
31560 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31562 * version.h (RELEASE): Bump for 2.14 release.
31563 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31565 * config.make.in (RANLIB): Remove entry.
31567 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31569 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31570 (libc.pot): Work around missing support for .ksh extension in xgettext.
31573 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31574 if both request failed.
31575 (send_dg): In case of server errors clear resplen or *resplen2.
31578 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31579 when there are multiple maps.
31580 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31581 (_dl_fini): Remove test here.
31583 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31585 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31588 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31589 bit from old_res_options.
31590 (gaih_inet): Likewise.
31593 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31596 * resolv/res_init.c (res_setoptions): Make the code more compact.
31599 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31603 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31605 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31608 * malloc/malloc.h: Declare malloc hook variables as volatile.
31610 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31614 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31615 raise in the comment.
31616 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31618 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31620 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31623 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31624 grow the buffers more if it already has to be sufficient.
31625 (build_wcs_upper_buffer): Likewise.
31626 * posix/regexec.c (check_matching): Likewise.
31627 (clean_state_log_if_needed): Likewise.
31628 (extend_buffers): Don't enlarge buffers beyond size of the input
31630 Patches mostly by Emil Wojak <emil@wojak.eu>.
31631 * posix/bug-regex32.c: New file.
31632 * posix/Makefile (tests): Add bug-regex32.
31634 * locale/findlocale.c (_nl_find_locale): Return right away if
31635 _nl_explode_name failed.
31636 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31638 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31640 * debug/xtrace.sh: Unify messages.
31641 * malloc/memusage.sh: Likewise.
31644 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31645 time symbol from vDSO. Substitute with vsyscall if not available.
31646 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31649 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31650 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31651 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31652 Add sendmmsg and internal_sendmmsg.
31653 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31654 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31655 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31657 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31658 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31661 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31664 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31665 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31667 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31671 * iconvdata/Makefile (tests): Add bug-iconv9.
31672 * iconvdata/bug-iconv9.c: New file.
31674 2011-05-27 Andreas Schwab <schwab@redhat.com>
31677 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31679 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31681 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31682 (struct user_regs_struct): Change intcs field back to cs.
31684 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31686 * po/ja.po: Update from translation team.
31688 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31691 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31692 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31694 2011-05-20 Andreas Schwab <schwab@redhat.com>
31696 * stdlib/longlong.h: Update from GCC.
31698 2011-05-23 Andreas Schwab <schwab@redhat.com>
31700 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31702 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31703 Add parameter name.
31704 (__sysconf): Pass it down.
31706 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31709 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31711 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31712 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31713 add in in __libc_use_alloca calls. Adjust callers.
31714 (glob): Use malloc in some situations.
31716 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31717 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31720 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31722 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31723 and CLOCK_BOOTTIME_ALARM.
31726 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31729 * string/_strerror.c (__strerror_r): Print negative errors as signed
31733 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31734 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31735 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31737 * configure.in: Fix typo in redirection and correct removal of test
31738 files in two cases.
31741 * locale/setlocale.c (new_composite_name): Fix test to check for
31742 identical name of all categories.
31745 * libio/filedoalloc.c (local_isatty): New function.
31746 (_IO_file_doallocate): Use local_isatty.
31747 * stdio-common/perror.c (perror): In case a new stream is used
31748 forward the stream error.
31749 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31752 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31757 * include/alloca.h (extend_alloca_account): Define.
31760 * posix/regex.h: Fix comments with documentation of user-accessible
31761 fields after compilation and describe correct free'ing of pattern
31762 after re_compile_pattern.
31763 Patch by Reuben Thomas <rrt@sc3d.org>.
31765 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31767 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31768 and -mno-altivec to prevent the compiler from using Altivec and/or
31769 VSX instructions when the corresponding registers are not available.
31771 2011-05-19 Andreas Schwab <schwab@redhat.com>
31773 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31775 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31777 * libio/freopen.c (freopen): Use __dup2, not dup2.
31778 * libio/freopen64.c (freopen64): Likewise.
31780 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31783 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31784 * math/Makefile (tests): Add test-powl.
31785 (CFLAGS-test-powl.c): Define.
31786 * math/test-powl.c: New file.
31788 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31790 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31792 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31795 * iconvdata/gb18030.c: Update to GB18020-2005.
31797 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31799 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31800 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31801 Patch by Aharon Robbins <arnold@skeeve.com>.
31804 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31808 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31809 through underflows.
31812 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31813 point to strings before performing equality test for error_one_per_line
31817 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31820 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31821 (struct user_fpregs_struct): Avoid __uint*_t types.
31824 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31825 symbol info. Use it instead of calling _dl_addr locally.
31826 (lock_and_info): New function.
31827 (tr_freehook): Call lock_and_info and pass symbol info as additional
31828 parameter to tr_where.
31829 (tr_mallochook): Likewise.
31830 (tr_reallochook): Likewise.
31831 (tr_memalignhook): Likewise.
31833 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31834 used and couldn't be at all thread-safe.
31836 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31838 * libio/freopen.c (freopen): Don't close old file descriptor
31839 before the new one is opened. Instead dup the new file descriptor
31840 to the old one after the new stream is created.
31841 * libio/freopen64.c (freopen64): Likewise.
31842 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31843 * libio/fileops.c (_IO_new_file_close_it): Handle new
31844 _IO_FLAGS2_NOCLOSE flag.
31845 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31846 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31847 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31848 _IO_FLAGS2_NOCLOSE flag.
31849 * include/unistd.h: Add hidden_proto for dup3.
31850 Define __have_dup3.
31851 * io/dup3.c: Define hidden symbol.
31852 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31855 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31856 when an incomplete long option is used.
31857 * posix/tst-getopt_long1.c: New file.
31858 * posix/Makefile (tests): Add tst-getopt_long1.
31861 * scripts/config.guess: Update from autoconf-2.68.
31862 * scripts/config.sub: Likewise.
31865 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31867 (has_cpuclock): ...this. New function.
31868 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31869 macro here based on has_cpuclock code.
31872 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31873 First byte (not low byte) is now always NUL.
31874 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31876 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31877 Use non-cancelable interfaces.
31880 * locale/iso-639.def: Add entry for Sorani.
31883 * include/stdlib.h: Move include protection to the right place.
31884 Define abort_msg_s. Declare __abort_msg with it.
31885 * stdlib/abort.c (__abort_msg): Adjust type.
31886 * assert/assert.c (__assert_fail_base): New function. Majority
31887 of code from __assert_fail. Allocate memory for __abort_msg with
31889 (__assert_fail): Now call __assert_fail_base.
31890 * assert/assert-perr.c: Remove bulk of implementation. Use
31891 __assert_fail_base.
31892 * include/assert.hL Declare __assert_fail_base.
31893 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31895 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31897 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31901 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31902 until all modules are registered in the DTV.
31903 * elf/Makefile: Add rules to build and run tst-tls19.
31904 * elf/tst-tls19.c: New file.
31905 * elf/tst-tls19mod1.c: New file.
31906 * elf/tst-tls19mod2.c: New file.
31907 * elf/tst-tls19mod3.c: New file.
31908 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31911 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31915 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31916 two-byte sequence errors.
31917 * iconvdata/Makefile (tests): Add bug-iconv8.
31918 * iconvdata/bug-iconv8.c: New file.
31921 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31924 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31927 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31928 (dummy_getcfa): New function.
31929 (init): Get _Unwind_GetCFA address, use dummy if not found.
31930 (backtrace_helper): In recursion check, also check whether CFA changes.
31931 (__backtrace): Completely initialize arg.
31933 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31934 storing incomplete byte sequence in state object. Avoid testing for
31935 guaranteed too small input if we know there is enough data available.
31937 2011-05-11 Andreas Schwab <schwab@redhat.com>
31939 * Makeconfig (+link-pie): Indent.
31940 * Rules (binaries-pie): Define if $(have-fpie) and
31942 (binaries-shared): Also filter out $(binaries-pie).
31943 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31944 * nscd/Makefile (others-pie): Add nscd.
31945 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31946 ($(objpfx)nscd): Remove command override.
31947 * login/Makefile (others-pie): Add pt_chown.
31948 ($(objpfx)pt_chown): Remove command override.
31949 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31950 remove command overrides.
31952 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31954 * libio/tst_putwc.c: Fix error messages.
31957 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31958 currently writing and seek to current position when not.
31959 * libio/Makefile (tests): Add bug-fclose1.
31960 * libio/bug-fclose1.c: New file.
31962 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31965 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31966 don't set DF_1_NODELETE here.
31967 (do_lookup_x): When entering new entry test for copy relocation
31968 and if necessary set DF_1_NODELETE flag.
31969 * elf/tst-unique4.cc: New file.
31970 * elf/tst-unique4.h: New file.
31971 * elf/tst-unique4lib.cc: New file.
31972 * elf/Makefile: Add rules to build and run tst-unique4.
31973 Patch by Piotr Bury <pbury@goahead.com>.
31975 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31978 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31981 * misc/mntent_r.c (addmntent): Flush the stream after the output
31984 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31985 (is_trusted_path_normalize): Skip initial colon. Append slash
31986 to empty buffer. Duplicate is_trusted_path code but allow
31987 constructed patch to be prefix.
31988 (is_dst): Allow $ORIGIN followed by /.
31989 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31990 Correct testing of result of is_trusted_path_normalize
31991 (decompose_rpath): Fix warning.
31993 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31996 * grp/initgroups.c (internal_getgrouplist): When we found the service
31997 list through the initgroups entry in nsswitch.conf do not always
31998 continue on a successful lookup. Don't always use the
31999 __nss_group_database value if it is set.
32000 * nss/nsswitch.conf (initgroups): Change action for successful db
32001 lookup to continue for compatibility.
32003 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32006 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32008 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32010 * iconvdata/tst-tables.sh: Likewise.
32011 * iconvdata/cp770.c: New file.
32012 * iconvdata/cp771.c: New file.
32013 * iconvdata/cp772.c: New file.
32014 * iconvdata/cp773.c: New file.
32015 * iconvdata/cp774.c: New file.
32016 * iconvdata/testdata/CP770: New file.
32017 * iconvdata/testdata/CP770..UTF8: New file.
32018 * iconvdata/testdata/CP771: New file.
32019 * iconvdata/testdata/CP771..UTF8: New file.
32020 * iconvdata/testdata/CP772: New file.
32021 * iconvdata/testdata/CP772..UTF8: New file.
32022 * iconvdata/testdata/CP773: New file.
32023 * iconvdata/testdata/CP773..UTF8: New file.
32024 * iconvdata/testdata/CP774: New file.
32025 * iconvdata/testdata/CP774..UTF8: New file.
32027 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32029 * iconvdata/gen-8bit-gap.sh: Likewise.
32030 * iconvdata/gen-8bit.sh: Likewise.
32032 * locale/iso-639.def: Add ary entry.
32035 * locale/C-translit.h.in: Add U20A1 transliteration.
32038 * locale/iso-639.def: Add wae entry.
32039 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32042 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32046 * locale/C-translit.h.in: Add entry for U20B9.
32047 Patch by pravin.d.s@gmail.com.
32049 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32052 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32053 ENAMETOOLONG use generic getcwd.
32054 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32055 in rtld. Use *stat64.
32056 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32057 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32058 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32059 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32060 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32061 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32062 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32063 __fstatat64 macros.
32064 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32065 * dirent/rewinddir.c: Add libc_hidden_def.
32066 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32067 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32069 * include/dirent.h (__alloc_dir): Add flags parameter.
32070 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32071 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32073 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32074 from fdopendir if O_CLOEXEC is already set.
32076 2011-03-15 Alan Modra <amodra@gmail.com>
32078 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32079 l_tls_firstbyte_offset non-zero. Save padding offset in
32080 l_tls_firstbyte_offset for later use.
32081 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32082 freeing static tls block.
32084 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32086 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32087 where #ifdef was intended. The intent is to prevent ARG_MAX from
32088 being defined by the kernel headers.
32090 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32093 * resolv/resolv.h: Define RES_NOTLDQUERY.
32094 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32095 no-tld-query and set RES_NOTLDQUERY.
32096 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32097 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32098 modern BIND to search name as TLD unless forbidden.
32100 2011-05-07 Petr Baudis <pasky@suse.cz>
32101 Ulrich Drepper <drepper@gmail.com>
32104 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32105 (is_trusted_path): ...to here.
32106 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32107 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32108 using is_trusted_path_normalize() in setuid scripts.
32110 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32112 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32113 __BEGIN/__END_DECLS.
32115 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32118 NSS_STATUS_NOTFOUND if no record was found.
32120 2011-05-05 Andreas Schwab <schwab@redhat.com>
32122 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32123 (headers-not-in-tirpc): Remove rpc/netdb.h
32124 * resolv/netdb.h: Revert last change.
32126 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32128 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32129 circular dependency between libgcc.a and libc.a.
32131 2011-05-05 Andreas Schwab <schwab@redhat.com>
32133 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32134 * nis/Makefile: Don't install rpcsvc/*.
32135 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32136 instead of <rpc/types.h>.
32137 (MAXHOSTNAMELEN): Define.
32139 2011-05-03 Andreas Schwab <schwab@redhat.com>
32141 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32143 2011-04-28 Maciej Babinski <mbabinski@google.com>
32146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32147 gethostbyname4_r when IPv6 results are possible.
32149 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32152 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32153 _PC_PIPE_BUF handling.
32155 2011-04-30 Bruno Haible <bruno@clisp.org>
32158 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32159 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32161 * inet/getnameinfo.c (getnameinfo): Likewise.
32163 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32165 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32166 to groups setting in database lookup.
32167 * nss/nsswitch.conf: Add initgroups entry.
32169 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32172 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32174 Patch by Eric Blake <eblake@redhat.com>.
32176 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32178 * sunrpc/Makefile (need-export-routines): Add svc_run.
32179 (routines): Remove svc_run.
32180 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32181 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32182 * sunrpc/svc_run.c (svc_run): Likewise.
32183 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32185 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32187 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32188 problem in reallocation in last patch.
32190 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32192 * sunrpc/Makefile: Move inclusion of Rules.
32194 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32196 * nss/nss_files/files-initgroups.c: New file.
32197 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32198 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32199 _nss_files_initgroups_dyn.
32201 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32203 * elf/elf.h (R_ARM_IRELATIVE): Define.
32205 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32207 * po/ru.po: Update from translation team.
32209 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32211 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32214 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32217 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32218 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32219 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32220 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32221 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32223 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32225 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32227 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32228 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32229 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32231 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32234 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32236 * stdlib/bug-getcontext.c: New file.
32237 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32239 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32241 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32242 instructions into .machine "z9-109".
32243 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32244 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32246 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32248 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32249 between environment variables and auxiliary vector.
32251 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32253 * Makefile: Add rules to build linkobj/libc.so.
32254 * include/libc-symbols.h: Define libc_hidden_nolink.
32255 * include/rpc/auth.h: Mark functions which are to be hidden.
32256 * include/rpc/auth_des.h: Likewise.
32257 * include/rpc/auth_unix.h: Likewise.
32258 * include/rpc/clnt.h: Likewise.
32259 * include/rpc/des_crypt.h: Likewise.
32260 * include/rpc/key_prot.h: Likewise.
32261 * include/rpc/pmap_clnt.h: Likewise.
32262 * include/rpc/pmap_prot.h: Likewise.
32263 * include/rpc/pmap_rmt.h: Likewise.
32264 * include/rpc/rpc_msg.h: Likewise.
32265 * include/rpc/svc.h: Likewise.
32266 * include/rpc/svc_auth.h: Likewise.
32267 * include/rpc/xdr.h: Likewise.
32268 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32269 * nss/Makefile: Likewise.
32270 * sunrpc/Makefile: Don't install headers. Build library with normal
32271 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32272 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32273 for the compat linking library. Remove use of INTDEF/INTUSE.
32274 * sunrpc/auth_none.c: Likewise.
32275 * sunrpc/auth_unix.c: Likewise.
32276 * sunrpc/authdes_prot.c: Likewise.
32277 * sunrpc/authuxprot.c: Likewise.
32278 * sunrpc/clnt_gen.c: Likewise.
32279 * sunrpc/clnt_perr.c: Likewise.
32280 * sunrpc/clnt_raw.c: Likewise.
32281 * sunrpc/clnt_simp.c: Likewise.
32282 * sunrpc/clnt_tcp.c: Likewise.
32283 * sunrpc/clnt_udp.c: Likewise.
32284 * sunrpc/clnt_unix.c: Likewise.
32285 * sunrpc/des_crypt.c: Likewise.
32286 * sunrpc/des_soft.c: Likewise.
32287 * sunrpc/get_myaddr.c: Likewise.
32288 * sunrpc/key_call.c: Likewise.
32289 * sunrpc/key_prot.c: Likewise.
32290 * sunrpc/netname.c: Likewise.
32291 * sunrpc/pm_getmaps.c: Likewise.
32292 * sunrpc/pm_getport.c: Likewise.
32293 * sunrpc/pmap_clnt.c: Likewise.
32294 * sunrpc/pmap_prot.c: Likewise.
32295 * sunrpc/pmap_prot2.c: Likewise.
32296 * sunrpc/pmap_rmt.c: Likewise.
32297 * sunrpc/publickey.c: Likewise.
32298 * sunrpc/rpc_cmsg.c: Likewise.
32299 * sunrpc/rpc_common.c: Likewise.
32300 * sunrpc/rpc_dtable.c: Likewise.
32301 * sunrpc/rpc_prot.c: Likewise.
32302 * sunrpc/rpc_thread.c: Likewise.
32303 * sunrpc/rtime.c: Likewise.
32304 * sunrpc/svc.c: Likewise.
32305 * sunrpc/svc_auth.c: Likewise.
32306 * sunrpc/svc_authux.c: Likewise.
32307 * sunrpc/svc_raw.c: Likewise.
32308 * sunrpc/svc_run.c: Likewise.
32309 * sunrpc/svc_simple.c: Likewise.
32310 * sunrpc/svc_tcp.c: Likewise.
32311 * sunrpc/svc_udp.c: Likewise.
32312 * sunrpc/svc_unix.c: Likewise.
32313 * sunrpc/svcauth_des.c: Likewise.
32314 * sunrpc/xcrypt.c: Likewise.
32315 * sunrpc/xdr.c: Likewise.
32316 * sunrpc/xdr_array.c: Likewise.
32317 * sunrpc/xdr_float.c: Likewise.
32318 * sunrpc/xdr_intXX_t.c: Likewise.
32319 * sunrpc/xdr_mem.c: Likewise.
32320 * sunrpc/xdr_rec.c: Likewise.
32321 * sunrpc/xdr_ref.c: Likewise.
32322 * sunrpc/xdr_sizeof.c: Likewise.
32323 * sunrpc/xdr_stdio.c: Likewise.
32325 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32328 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32329 * sysdeps/ia64/dl-tls.h: Likewise.
32330 * sysdeps/powerpc/dl-tls.h: Likewise.
32331 * sysdeps/s390/dl-tls.h: Likewise.
32332 * sysdeps/sh/dl-tls.h: Likewise.
32333 * sysdeps/sparc/dl-tls.h: Likewise.
32334 * sysdeps/x86_64/dl-tls.h: Likewise.
32335 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32337 2011-03-14 Andreas Schwab <schwab@redhat.com>
32339 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32340 rpath element also skip the following colon.
32341 (expand_dynamic_string_token): Add is_path parameter and pass
32342 down to DL_DST_REQUIRED and _dl_dst_substitute.
32343 (decompose_rpath): Call expand_dynamic_string_token with
32344 non-zero is_path. Ignore empty rpaths.
32345 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32348 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32353 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32356 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32357 Patch by Filipe David Manana <fdmanana@apache.org>.
32359 2011-04-07 Andreas Schwab <schwab@redhat.com>
32361 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32362 Maintain aligned stack.
32363 (CHECK_RSP): Remove unused macro.
32365 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32367 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32368 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32370 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32372 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32374 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32376 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32379 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32380 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32381 * sysdeps/x86_64/memmove.c: New file.
32382 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32383 (memcpy): Renamed to ...
32384 (__new_memcpy): This.
32385 (memcpy): Provide GLIBC_2_14 memcpy.
32386 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32387 (memcpy): Provide GLIBC_2_2_5 memcpy.
32389 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32392 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32394 2011-03-30 Andreas Schwab <schwab@redhat.com>
32396 * misc/syncfs.c: New file.
32397 * misc/Makefile (routines): Add syncfs.
32398 * posix/unistd.h: Declare syncfs.
32399 * sysdeps/unix/syscalls.list: Add syncfs.
32401 2011-04-01 Andreas Schwab <schwab@redhat.com>
32403 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32405 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32406 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32408 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32409 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32410 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32411 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32413 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32415 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32416 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32417 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32419 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32421 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32423 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32424 sync_file_range.c with -fexceptions.
32425 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32426 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32427 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32428 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32429 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32430 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32431 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32432 sync_file_range as cancellation point
32433 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32434 now a wrapper around __call_sync_file_range with cancellation handling.
32435 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32436 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32437 function name to __call_sync_file_range.
32438 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32439 Add call_sync_file_range.
32441 2011-04-01 Andreas Schwab <schwab@redhat.com>
32443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32446 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32448 * iconv/iconv.h: Fix typo in comment.
32449 * io/fcntl.h: Likewise.
32450 * libio/stdio.h: Likewise.
32451 * posix/spawn.h: Likewise.
32452 * posix/unistd.h: Likewise.
32453 * stdlib/stdlib.h: Likewise.
32454 * time/time.h: Likewise.
32455 * wcsmbs/wchar.h: Likewise.
32457 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32458 open_by_handle): Add.
32459 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32460 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32461 Augment a few comments.
32462 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32464 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32466 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32467 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32470 * io/fcntl.h (AT_EMPTY_PATH): Define.
32472 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32474 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32475 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32476 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32478 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32479 * Versions.def: Add GLIBC_2.14.
32480 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32483 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32485 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32487 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32489 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32492 * string/test-strncmp.c (do_page_test): New function.
32493 (check2): Likewise.
32494 (test_main): Call check2.
32495 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32497 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32500 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32501 Handle cache information in CPU leaf 4.
32502 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32504 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32507 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32508 character representation.
32509 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32511 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32513 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32514 END(__isnan) to END(__isnanf) to match function entry point/label
32515 EALIGN(__isnanf,...).
32517 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32519 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32521 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32524 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32525 copy from the symbol referenced in the relocation to initialize the
32527 Patch by Piotr Bury <pbury@goahead.com>.
32528 * elf/Makefile: Add rules to build and tst-unique3.
32529 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32530 * elf/tst-unique3.cc: New file.
32531 * elf/tst-unique3.h: New file.
32532 * elf/tst-unique3lib.cc: New file.
32533 * elf/tst-unique3lib2.cc: New file.
32535 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32537 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32539 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32540 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32543 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32545 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32546 to-be-loaded object along a path to loader is ld.so.
32548 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32549 Ulrich Drepper <drepper@gmail.com>
32551 * sysdeps/x86_64/memset.S: After aligning destination, code
32552 branches to different locations depending on the value of
32553 misalignment, when multiarch is enabled. Fix this.
32555 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32557 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32558 Set _x86_64_preferred_memory_instruction for AMD processsors.
32559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32560 Set bit_Prefer_SSE_for_memop for AMD processors.
32562 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32564 * libio/fmemopen.c (fmemopen): Optimize a bit.
32566 2011-03-03 Andreas Schwab <schwab@redhat.com>
32568 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32570 2011-03-03 Roland McGrath <roland@redhat.com>
32572 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32574 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32576 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32577 __bzero_ultra1 instead of __memset_ultra1.
32579 2011-02-23 Andreas Schwab <schwab@redhat.com>
32580 Ulrich Drepper <drepper@gmail.com>
32583 * include/link.h (struct link_map): Add l_orig_initfini.
32584 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32585 returning unsuccessfully.
32586 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32587 close of a file loaded at startup, restore the original l_initfini
32589 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32590 list, store the pointer.
32591 * elf/Makefile ($(objpfx)noload-mem): New rule.
32592 (noload-ENV): Define.
32593 (tests): Add $(objpfx)noload-mem.
32594 * elf/noload.c: Include <memcheck.h>.
32595 (main): Call mtrace. Close all opened handles.
32597 2011-02-17 Andreas Schwab <schwab@redhat.com>
32600 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32601 dependencies are missing.
32603 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32605 Fix __if_freereq crash: Unlike the generic version which uses free,
32607 * sysdeps/mach/hurd/ifreq.h: New file.
32609 2011-01-27 Petr Baudis <pasky@suse.cz>
32610 Ulrich Drepper <drepper@gmail.com>
32613 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32614 to extend_alloca().
32615 * stdio-common/bug23.c: New file.
32616 * stdio-common/Makefile (tests): Add bug23.
32618 2010-09-28 Andreas Schwab <schwab@redhat.com>
32619 Ulrich Drepper <drepper@gmail.com>
32622 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32623 before performing relro protection. At old place add assertion
32624 to make sure nothing changed.
32626 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32627 Glauber de Oliveira Costa <glommer@gmail.com>
32629 * elf/elf.h: Add new ARM TLS relocs.
32631 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32634 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32636 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32638 * sysdeps/wordsize-64/tst-writev.c: New file.
32640 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32642 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32643 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32644 insns in _dl_start to prevent a TOC reference before relocs are
32647 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32650 * Makeconfig: Remove RANLIB definition.
32651 * Makerules: Don't use RANLIB.
32652 * aclocal.m4: Remove ranlib test.
32653 * configure.in: No need to check for ranlib.
32654 * elf/rtld-Rules: Don't use RANLIB.
32656 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32658 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32660 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32661 inclusion protection macro.
32663 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32664 SIGRTMIN and SIGRTMAX and print information in that case only when
32665 SIGRTMIN is defined.
32667 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32669 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32670 arginfo fn returning -1.
32672 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32673 and thousands string is zero terminated.
32675 2011-02-03 Andreas Schwab <schwab@redhat.com>
32677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32678 sysdeps/unix/sysv/linux/bits/socket.h.
32680 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32682 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32683 (__CPU_COUNT): Remove old macros.
32684 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32685 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32686 (__CPU_ALLOC, __CPU_FREE): Add macros.
32687 (__sched_cpualloc, __sched_cpufree): Add declarations.
32689 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32691 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32692 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32693 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32694 (readdhstai): Return value of addhstaiX call.
32695 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32696 (addgrbyX): Return value returned by cache_addgr.
32697 (readdgrbyname): Return value returned by addgrbyX.
32698 (readdgrbygid): Likewise.
32699 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32700 (addpwbyX): Return value returned by cache_addpw.
32701 (readdpwbyname): Return value returned by addhstbyX.
32702 (readdpwbyuid): Likewise.
32703 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32704 (addservbyX): Return value returned by cache_addserv.
32705 (readdservbyname): Return value returned by addservbyX:
32706 (readdservbyport): Likewise.
32707 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32708 (addhstbyX): Return value returned by cache_addhst.
32709 (readdhstbyname): Return value returned by addhstbyX.
32710 (readdhstbyaddr): Likewise.
32711 (readdhstbynamev6): Likewise.
32712 (readdhstbyaddrv6): Likewise.
32713 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32714 (readdinitgroups): Return value returned by addinitgroupsX.
32715 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32716 (prune_cache): Keep track of timeout value of re-added entries.
32717 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32718 * nscd/nscd.h: Adjust prototypes of readd* functions.
32720 2011-02-04 Roland McGrath <roland@redhat.com>
32722 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32723 (nis_stats): Likewise.
32724 * nis/nis_modify.c (nis_modify): Likewise.
32725 * nis/nis_remove.c (nis_remove): Likewise.
32726 * nis/nis_add.c (nis_add): Likewise.
32728 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32730 * posix/fnmatch_loop.c: Add some consts.
32732 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32734 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32737 * config.make.in (config-cflags-novzeroupper): Define.
32738 * configure.in: Substitute libc_cv_cc_novzeroupper.
32739 * elf/Makefile (AVX-CFLAGS): Define.
32740 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32741 (CFLAGS-tst-auditmod4a.c): Likewise.
32742 (CFLAGS-tst-auditmod4b.c): Likewise.
32743 (CFLAGS-tst-auditmod6b.c): Likewise.
32744 (CFLAGS-tst-auditmod6c.c): Likewise.
32745 (CFLAGS-tst-auditmod7b.c): Likewise.
32746 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32748 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32750 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32751 function to the callback.
32752 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32754 2011-02-02 Andreas Schwab <schwab@redhat.com>
32756 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32759 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32762 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32764 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32766 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32769 * elf/Makefile: Add rules to build and run new test.
32770 * elf/tst-initorder.c: New file.
32771 * elf/tst-initorder.exp: New file.
32772 * elf/tst-initordera1.c: New file.
32773 * elf/tst-initordera2.c: New file.
32774 * elf/tst-initordera3.c: New file.
32775 * elf/tst-initordera4.c: New file.
32776 * elf/tst-initorderb1.c: New file.
32777 * elf/tst-initorderb2.c: New file.
32778 * elf/tst-order-a1.c: New file.
32779 * elf/tst-order-a2.c: New file.
32780 * elf/tst-order-a3.c: New file.
32781 * elf/tst-order-a4.c: New file.
32782 * elf/tst-order-b1.c: New file.
32783 * elf/tst-order-b2.c: New file.
32784 * elf/tst-order-main.c: New file.
32785 New test case by George Gensure <werkt0@gmail.com>.
32787 2010-10-01 Andreas Schwab <schwab@redhat.com>
32789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32790 decoding ACE if AI_CANONIDN.
32792 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32794 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32796 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32798 * version.h (RELEASE): Bump for 2.13 release.
32799 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32801 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32803 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32805 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32806 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32807 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32808 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32809 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32810 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32812 * posix/getconf.c: Update copyright year.
32813 * catgets/gencat.c: Likewise.
32814 * csu/version.c: Likewise.
32815 * debug/catchsegv.sh: Likewise.
32816 * debug/xtrace.sh: Likewise.
32817 * elf/ldconfig.c: Likewise.
32818 * elf/ldd.bash.in: Likewise.
32819 * elf/sprof.c (print_version): Likewise.
32820 * iconv/iconv_prog.c: Likewise.
32821 * iconv/iconvconfig.c: Likewise.
32822 * locale/programs/locale.c: Likewise.
32823 * locale/programs/localedef.c: Likewise.
32824 * malloc/memusage.sh: Likewise.
32825 * malloc/mtrace.pl: Likewise.
32826 * nscd/nscd.c (print_version): Likewise.
32827 * nss/getent.c: Likewise.
32829 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32830 PF_CAIF, and PF_ALG.
32831 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32833 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32835 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32836 (modules-names): Use them.
32837 (ifunc-test-modules, ifunc-pie-tests): Define.
32838 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32839 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32840 (test-extras): Likewise.
32841 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32842 $(compile-command.c).
32843 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32844 (all-built-dso): Define.
32845 (check-textrel.out, check-execstack.out): Depend on it.
32847 * configure.in: Don't override --enable-multi-arch.
32849 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32852 * nscd/hstcache.c (tryagain): Define.
32853 (cache_addhst): Return tryagain not notfound for temporary errors.
32854 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32857 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32860 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32861 to make the syscall.
32862 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32865 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32866 and fall back to matching as normal character if the string ends before
32867 the matching ']' is found. This is what POSIX requires.
32868 * posix/testfnm.c: Adjust test result.
32869 * posix/globtest.sh: Adjust test result. Add new test.
32870 * posix/tst-fnmatch.input: Likewise.
32871 * posix/tst-fnmatch2.c: Add new test.
32873 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32875 * elf/Makefile (check-execstack): Revert last change. Depend on
32877 (check-execstack.h): New target.
32878 (generated): Add check-execstack.h.
32879 * elf/check-execstack.c: Include "check-execstack.h".
32880 (main): Revert last change.
32881 (handle_file): Return zero if GNU_STACK is absent and
32882 DEFAULT_STACK_PERMS doesn't include PF_X.
32884 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32886 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32887 in child fails because the descriptor is already closed.
32888 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32889 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32890 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32893 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32897 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32898 temporary buffer used to handle multi lookups locally.
32899 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32901 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32903 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32906 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32908 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32909 alignment for SSE2.
32911 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32914 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32915 characters. When rounding increased number of integer digits recompute
32917 * stdio-common/tst-grouping.c: New file.
32918 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32920 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32922 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32923 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32925 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32927 * bits/select.h: Likewise.
32929 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32931 * po/ja.po: Update from translation team.
32933 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32936 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32937 implementation just like for lxstat, fxstatat, et al.
32939 2010-12-27 Jim Meyering <meyering@redhat.com>
32942 * posix/regexec.c (build_trtable): Return failure indication upon
32943 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32945 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32948 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32949 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32950 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32951 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32954 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32957 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32958 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32960 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32962 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32963 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32964 script has SORT_BY_INIT_PRIORITY.
32965 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32966 NO_CTORS_DTORS_SECTIONS is defined.
32967 * elf/soinit.c: Likewise.
32968 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32969 NO_CTORS_DTORS_SECTIONS is defined.
32970 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32971 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32972 * sysdeps/sh/init-first.c: Likewise.
32973 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32975 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32977 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32978 always use the slow path.
32980 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32982 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32983 similar rule which adds the sysdep directories to the header search in
32984 order to pick up the correct platform stackinfo.h.
32985 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32986 perform test if it is, otherwise return successfully without testing.
32987 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32988 DEFAULT_STACK_PERMS define in stackinfo.h.
32989 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32990 defined in stackinfo.h.
32991 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32992 DEFAULT_STACK_PERMS defined in stackinfo.h.
32993 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32994 * sysdeps/ia64/stackinfo.h: Likewise.
32995 * sysdeps/s390/stackinfo.h: Likewise.
32996 * sysdeps/sh/stackinfo.h: Likewise.
32997 * sysdeps/sparc/stackinfo.h: Likewise.
32998 * sysdeps/x86_64/stackinfo.h: Likewise.
32999 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33000 PF_X for powerpc64. Retain PF_X for powerpc32.
33002 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33004 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33006 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33007 GETDENTS_64BIT_ALIGNED.
33009 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33011 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33013 2010-12-10 Andreas Schwab <schwab@redhat.com>
33015 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33018 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33019 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33021 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33022 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33024 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33027 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33030 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33032 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33034 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33036 * po/it.po: Update from translation team.
33038 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33043 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33045 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33047 2010-11-24 Andreas Schwab <schwab@redhat.com>
33049 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33051 (gaih_getanswer_slice): Likewise.
33053 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33057 2010-05-31 Petr Baudis <pasky@suse.cz>
33060 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33061 silently even in the chroot mode.
33063 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33065 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33066 last patch a bit. Pretty printing
33068 2010-05-31 Petr Baudis <pasky@suse.cz>
33071 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33072 initialization of skip_initgroups_dyn.
33074 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33076 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33077 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33079 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33081 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33083 2010-11-11 Andreas Schwab <schwab@redhat.com>
33085 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33086 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33087 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33088 ($(objpfx)tst-fnmatch-mem): New rule.
33089 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33090 * posix/tst-fnmatch.c (main): Call mtrace.
33092 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33095 Support Intel processor model 6 and model 0x2c.
33097 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33099 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33102 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33105 * string/test-strncasecmp.c (check_result): New function.
33106 (do_one_test): Use it.
33107 (check1): New function.
33108 (test_main): Use it.
33109 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33110 Support strcasecmp and strncasecmp.
33112 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33115 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33116 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33118 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33120 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33124 * sysdeps/x86_64/multiarch/bzero.S: New file.
33125 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33126 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33127 * sysdeps/x86_64/multiarch/memset.S: New file.
33128 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33130 Set bit_Prefer_SSE_for_memop for Intel processors.
33131 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33133 (index_Prefer_SSE_for_memop): Define.
33134 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33136 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33138 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33139 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33141 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33144 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33145 (__x86_64_raw_data_cache_size_half): Likewise.
33146 (__x86_64_raw_shared_cache_size): Likewise.
33147 (__x86_64_raw_shared_cache_size_half): Likewise.
33149 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33150 (__x86_64_raw_data_cache_size_half): Likewise.
33151 (__x86_64_raw_shared_cache_size): Likewise.
33152 (__x86_64_raw_shared_cache_size_half): Likewise.
33153 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33154 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33155 and __x86_64_raw_shared_cache_size_half. Round
33156 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33157 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33158 to multiple of 256 bytes.
33160 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33163 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33164 of inacessible symlinks. Verify result of symlink before returning it.
33165 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33166 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33168 2010-10-28 Erich Ritz <erichritz@gmail.com>
33170 * math/math.h (isinf): Fix typo in comment.
33172 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33174 * po/da.po: Update from translation team.
33176 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33178 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33179 is added to the list.
33181 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33182 Ulrich Drepper <drepper@gmail.com>
33184 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33185 the global list here. Move code to...
33186 (_dl_add_to_namespace_list): ...here. New function.
33187 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33188 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33189 * elf/dl-load.c (lose): Don't remove the element from the list.
33190 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33191 (_dl_map_object): Likewise.
33193 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33196 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33197 into all bytes of SSE register.
33198 Patch by Richard Li <richardpku@gmail.com>.
33200 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33203 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33206 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33208 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33209 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33210 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33211 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33216 2010-10-22 Andreas Schwab <schwab@redhat.com>
33218 * include/dlfcn.h (__RTLD_SECURE): Define.
33219 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33220 mode & __RTLD_SECURE instead.
33221 (open_path): Rename preloaded parameter to secure.
33222 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33223 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33224 * elf/dl-deps.c (openaux): Likewise.
33225 * elf/rtld.c (struct map_args): Remove is_preloaded.
33226 (map_doit): Don't use it.
33227 (dl_main): Likewise.
33228 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33229 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33231 2010-09-09 Andreas Schwab <schwab@redhat.com>
33233 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33234 (sysd-rules-targets): Remove duplicates.
33235 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33236 rtld-%.$o dependency.
33238 2010-10-18 Andreas Schwab <schwab@redhat.com>
33240 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33241 _dl_map_object do it.
33243 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33245 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33246 fast fma builtins, define the macros in the C99 standard.
33247 (FP_FAST_FMAF): Likewise.
33248 (FP_FAST_FMAL): Likewise.
33249 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33251 * bits/mathdef.h: Update copyright year.
33252 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33254 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33256 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33257 builtins, define the macros in the C99 standard.
33258 (FP_FAST_FMAF): Likewise.
33259 (FP_FAST_FMAL): Likewise.
33260 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33262 (FP_FAST_FMAF): Likewise.
33264 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33267 * math/libm-test.inc (fma_test): Some new testcases.
33268 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33269 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33270 y and infinite z. Do multiplication by C already in long double.
33271 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33273 y and infinite z. Do bitwise or of inexact bit into u.d.
33274 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33275 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33276 * sysdeps/i386/fpu/s_fma.S: Removed.
33277 * sysdeps/i386/fpu/s_fmal.S: Removed.
33279 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33282 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33284 computation is not scheduled after fetestexcept. Fix value
33285 of minimum denormal long double.
33287 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33290 * math/libm-test.inc (fma_test): Add some more tests.
33291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33294 2010-10-15 Andreas Schwab <schwab@redhat.com>
33296 * scripts/data/localplt-s390-linux-gnu.data: New file.
33297 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33299 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33302 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33303 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33305 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33307 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33309 if one of x and y is very large and the other is subnormal.
33310 * sysdeps/s390/fpu/s_fmaf.c: New file.
33311 * sysdeps/s390/fpu/s_fma.c: New file.
33312 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33313 * sysdeps/powerpc/fpu/s_fma.S: New file.
33314 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33315 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33316 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33318 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33321 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33323 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33324 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33325 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33326 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33327 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33328 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33329 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33331 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33334 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33335 * posix/bug-regex31.input: Add test case.
33337 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33339 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33340 * posix/bug-regex31.input: New file.
33343 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33344 (parse_sub_exp): Fix last change, use postorder.
33346 * posix/bug-regex31.c: New file.
33347 * posix/Makefile: Add rules to build and run bug-regex31.
33349 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33352 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33355 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33356 to have entries in sys_siglist.
33359 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33362 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33365 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33366 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33367 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33368 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33369 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33370 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33371 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33372 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33373 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33374 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33375 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33376 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33377 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33378 * math/ftestexcept.c (fetestexcept): Likewise.
33379 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33380 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33381 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33382 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33383 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33384 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33385 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33387 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33390 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33393 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33395 * string/bug-strstr1.c: New file.
33396 * string/Makefile: Add rules to build and run bug-strstr1.
33398 2010-10-05 Eric Blake <eblake@redhat.com>
33401 * string/str-two-way.h (two_way_long_needle): Always clear memory
33402 when skipping input due to the shift table.
33404 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33407 * malloc/mcheck.c: Handle large requests.
33410 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33411 for strncmp and strncasecmp.
33412 * string/stratcliff.c: Add tests for strcmp and strncmp.
33413 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33415 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33417 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33420 2010-09-30 Andreas Jaeger <aj@suse.de>
33422 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33423 (CGROUP_SUPER_MAGIC): Define.
33424 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33425 Handle btrfs and cgroup file systems.
33426 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33429 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33431 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33432 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33434 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33437 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33438 trying to locate the ELF header.
33440 2010-09-27 Andreas Schwab <schwab@redhat.com>
33443 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33444 Mask out sign-bit copies when constructing f_fsid.
33446 2010-09-24 Petr Baudis <pasky@suse.cz>
33448 * debug/stack_chk_fail_local.c: Add missing licence exception.
33449 * debug/warning-nop.c: Likewise.
33451 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33453 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33454 implementing getdents64 using getdents syscall, set d_type if
33455 __ASSUME_GETDENTS32_D_TYPE.
33457 2010-09-16 Andreas Schwab <schwab@redhat.com>
33459 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33460 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33462 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33465 * posix/unistd.h: Undo change of feature selection for ftruncate from
33468 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33470 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33473 2010-09-20 Andreas Schwab <schwab@redhat.com>
33475 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33477 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33479 2010-09-14 Andreas Schwab <schwab@redhat.com>
33481 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33482 variables after CHECK_SP call.
33483 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33485 2010-09-13 Andreas Schwab <schwab@redhat.com>
33486 Ulrich Drepper <drepper@redhat.com>
33488 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33489 re-relocationg ld.so.
33490 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33491 _dl_init_paths call.
33492 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33495 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33497 * resolv/res_init.c (__res_vinit): Count the default server we added.
33499 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33500 Ulrich Drepper <drepper@redhat.com>
33503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33504 (____longjmp_chk): Use %ebx for saving value across system call.
33507 2010-09-06 Andreas Schwab <schwab@redhat.com>
33509 * manual/Makefile: Don't mix pattern rules with normal rules.
33511 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33513 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33515 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33516 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33517 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33518 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33519 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33522 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33525 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33526 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33528 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33530 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33531 * sysdeps/x86_64/addmul_1.S: Likewise.
33532 * sysdeps/x86_64/lshift.S: Likewise.
33533 * sysdeps/x86_64/mul_1.S: Likewise.
33534 * sysdeps/x86_64/rshift.S: Likewise.
33535 * sysdeps/x86_64/sub_n.S: Likewise.
33536 * sysdeps/x86_64/submul_1.S: Likewise.
33538 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33540 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33541 Define __sched_param instead of SCHED_* and sched_param when
33542 <bits/sched.h> is included with __need_schedparam defined.
33543 * bits/sched.h [__need_schedparam]
33544 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33545 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33546 (__defined_schedparam): Define to 1.
33547 (__sched_param): New structure, identical to sched_param.
33548 (__need_schedparam): Undefine.
33550 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33552 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33553 (epoll_create1): Declare.
33555 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33557 2010-08-31 Andreas Schwab <schwab@redhat.com>
33560 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33561 shifting retval into place.
33563 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33565 * nis/rpcsvc/nis.h: Update copyright notice.
33566 * nis/rpcsvc/nis.x: Likewise.
33567 * nis/rpcsvc/nis_callback.h: Likewise.
33568 * nis/rpcsvc/nis_callback.x: Likewise.
33569 * nis/rpcsvc/nis_object.x: Likewise.
33570 * nis/rpcsvc/nis_tags.h: Likewise.
33571 * nis/rpcsvc/yp.h: Likewise.
33572 * nis/rpcsvc/yp.x: Likewise.
33573 * nis/rpcsvc/ypupd.h: Likewise.
33574 * nis/yp_xdr.c: Likewise.
33575 * nis/ypupdate_xdr.c: Likewise.
33577 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33578 mainly the body of pmap_getport. Add parameters to specify timeouts.
33579 (pmap_getport): Use __libc_rpc_getport.
33580 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33581 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33582 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33584 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33589 2010-08-27 Roland McGrath <roland@redhat.com>
33591 * sysdeps/i386/i686/multiarch/Makefile
33592 (CFLAGS-varshift.c): New variable.
33594 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33596 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33597 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33599 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33601 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33603 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33605 * sysdeps/x86_64/strlen.S: Unroll the loop.
33606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33607 strlen-sse2 strlen-sse2-bsf.
33608 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33609 __strlen_no_bsf if bit_Slow_BSF is set.
33610 (__strlen_sse42): Removed.
33611 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33612 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33614 2010-08-25 Roland McGrath <roland@redhat.com>
33616 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33617 * sysdeps/x86_64/multiarch/varshift.c: New file.
33618 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33619 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33620 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33621 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33623 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33626 strlen-sse2 strlen-sse2-bsf.
33627 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33628 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33629 (__strlen_sse2): Removed.
33630 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33631 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33633 bit_Slow_BSF for Atom.
33634 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33635 (index_Slow_BSF): Define.
33636 (HAS_SLOW_BSF): Define.
33638 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33641 * resolv/res_init.c (__res_vinit): When no server address at all
33642 is given default to loopback.
33644 2010-08-24 Roland McGrath <roland@redhat.com>
33646 * configure.in: Remove config-name.h generation.
33647 * configure: Regenerated.
33648 * config-name.in: File removed.
33649 * scripts/config-uname.sh: New file.
33650 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33651 ($(objdir)config-name.h): New target.
33653 * sunrpc/rpc_parse.h: Avoid nested comment.
33655 2010-08-24 Richard Henderson <rth@redhat.com>
33656 Ulrich Drepper <drepper@redhat.com>
33657 H.J. Lu <hongjiu.lu@intel.com>
33659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33661 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33662 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33663 _mm_alignr_epi8 with _mm_loadu_si128.
33664 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33665 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33666 (__m128i_shift_right): Removed.
33667 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33668 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33669 * sysdeps/x86_64/multiarch/varshift.h: New file.
33670 * sysdeps/x86_64/multiarch/varshift.S: New file.
33672 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33674 * configure.in: Move assembler checks to before sysdep dir checking.
33676 2010-08-20 Petr Baudis <pasky@suse.cz>
33678 * LICENSES: Sync the sunrpc license.
33680 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33682 * sunrpc/auth_des.c: Update copyright notice once again.
33683 * sunrpc/auth_none.c: Likewise.
33684 * sunrpc/auth_unix.c: Likewise.
33685 * sunrpc/authdes_prot.c: Likewise.
33686 * sunrpc/authuxprot.c: Likewise.
33687 * sunrpc/bindrsvprt.c: Likewise.
33688 * sunrpc/clnt_gen.c: Likewise.
33689 * sunrpc/clnt_perr.c: Likewise.
33690 * sunrpc/clnt_raw.c: Likewise.
33691 * sunrpc/clnt_simp.c: Likewise.
33692 * sunrpc/clnt_tcp.c: Likewise.
33693 * sunrpc/clnt_udp.c: Likewise.
33694 * sunrpc/clnt_unix.c: Likewise.
33695 * sunrpc/des_crypt.c: Likewise.
33696 * sunrpc/des_soft.c: Likewise.
33697 * sunrpc/get_myaddr.c: Likewise.
33698 * sunrpc/getrpcport.c: Likewise.
33699 * sunrpc/key_call.c: Likewise.
33700 * sunrpc/key_prot.c: Likewise.
33701 * sunrpc/openchild.c: Likewise.
33702 * sunrpc/pm_getmaps.c: Likewise.
33703 * sunrpc/pm_getport.c: Likewise.
33704 * sunrpc/pmap_clnt.c: Likewise.
33705 * sunrpc/pmap_prot.c: Likewise.
33706 * sunrpc/pmap_prot2.c: Likewise.
33707 * sunrpc/pmap_rmt.c: Likewise.
33708 * sunrpc/rpc/auth.h: Likewise.
33709 * sunrpc/rpc/auth_unix.h: Likewise.
33710 * sunrpc/rpc/clnt.h: Likewise.
33711 * sunrpc/rpc/des_crypt.h: Likewise.
33712 * sunrpc/rpc/key_prot.h: Likewise.
33713 * sunrpc/rpc/netdb.h: Likewise.
33714 * sunrpc/rpc/pmap_clnt.h: Likewise.
33715 * sunrpc/rpc/pmap_prot.h: Likewise.
33716 * sunrpc/rpc/pmap_rmt.h: Likewise.
33717 * sunrpc/rpc/rpc.h: Likewise.
33718 * sunrpc/rpc/rpc_des.h: Likewise.
33719 * sunrpc/rpc/rpc_msg.h: Likewise.
33720 * sunrpc/rpc/svc.h: Likewise.
33721 * sunrpc/rpc/svc_auth.h: Likewise.
33722 * sunrpc/rpc/types.h: Likewise.
33723 * sunrpc/rpc/xdr.h: Likewise.
33724 * sunrpc/rpc_clntout.c: Likewise.
33725 * sunrpc/rpc_cmsg.c: Likewise.
33726 * sunrpc/rpc_common.c: Likewise.
33727 * sunrpc/rpc_cout.c: Likewise.
33728 * sunrpc/rpc_dtable.c: Likewise.
33729 * sunrpc/rpc_hout.c: Likewise.
33730 * sunrpc/rpc_main.c: Likewise.
33731 * sunrpc/rpc_parse.c: Likewise.
33732 * sunrpc/rpc_parse.h: Likewise.
33733 * sunrpc/rpc_prot.c: Likewise.
33734 * sunrpc/rpc_sample.c: Likewise.
33735 * sunrpc/rpc_scan.c: Likewise.
33736 * sunrpc/rpc_scan.h: Likewise.
33737 * sunrpc/rpc_svcout.c: Likewise.
33738 * sunrpc/rpc_tblout.c: Likewise.
33739 * sunrpc/rpc_util.c: Likewise.
33740 * sunrpc/rpc_util.h: Likewise.
33741 * sunrpc/rpcinfo.c: Likewise.
33742 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33743 * sunrpc/rpcsvc/key_prot.x: Likewise.
33744 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33745 * sunrpc/rpcsvc/mount.x: Likewise.
33746 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33747 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33748 * sunrpc/rpcsvc/rex.x: Likewise.
33749 * sunrpc/rpcsvc/rstat.x: Likewise.
33750 * sunrpc/rpcsvc/rusers.x: Likewise.
33751 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33752 * sunrpc/rpcsvc/spray.x: Likewise.
33753 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33754 * sunrpc/rtime.c: Likewise.
33755 * sunrpc/svc.c: Likewise.
33756 * sunrpc/svc_auth.c: Likewise.
33757 * sunrpc/svc_authux.c: Likewise.
33758 * sunrpc/svc_raw.c: Likewise.
33759 * sunrpc/svc_run.c: Likewise.
33760 * sunrpc/svc_simple.c: Likewise.
33761 * sunrpc/svc_tcp.c: Likewise.
33762 * sunrpc/svc_udp.c: Likewise.
33763 * sunrpc/svc_unix.c: Likewise.
33764 * sunrpc/svcauth_des.c: Likewise.
33765 * sunrpc/xcrypt.c: Likewise.
33766 * sunrpc/xdr.c: Likewise.
33767 * sunrpc/xdr_array.c: Likewise.
33768 * sunrpc/xdr_float.c: Likewise.
33769 * sunrpc/xdr_mem.c: Likewise.
33770 * sunrpc/xdr_rec.c: Likewise.
33771 * sunrpc/xdr_ref.c: Likewise.
33772 * sunrpc/xdr_sizeof.c: Likewise.
33773 * sunrpc/xdr_stdio.c: Likewise.
33775 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33778 2010-08-19 Andreas Schwab <schwab@redhat.com>
33780 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33782 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33784 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33785 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33786 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33787 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33788 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33789 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33790 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33791 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33792 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33793 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33794 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33795 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33796 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33797 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33799 2010-07-26 Anton Blanchard <anton@samba.org>
33801 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33802 * malloc/arena.c (heap_trim): Likewise.
33804 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33806 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33809 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33811 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33813 * sysdeps/i386/elf/Makefile: New file.
33815 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33817 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33818 from fanotify_init.
33819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33822 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33824 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33826 * sysdeps/multiarch/strcmp.S: Likewise.
33828 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33830 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33831 strncase_l-nonascii.
33832 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33833 Add strncase_l-ssse3.
33834 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33835 * sysdeps/x86_64/strcmp.S: Likewise.
33836 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33837 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33838 * sysdeps/x86_64/strncase.S: New file.
33839 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33840 * sysdeps/x86_64/strncase_l.S: New file.
33841 * string/Makefile (strop-tests): Add strncasecmp.
33842 * string/test-strncasecmp.c: New file.
33844 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33847 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33848 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33850 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33852 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33854 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33856 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33857 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33858 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33860 2010-05-01 Alan Modra <amodra@gmail.com>
33862 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33863 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33864 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33865 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33866 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33867 tidying. Don't tail-call __sigjmp_save for static lib.
33868 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33870 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33871 (CALL_MCOUNT): Add eh info, and nop after bl.
33872 (TAIL_CALL_SYSCALL_ERROR): New macro.
33873 (PSEUDO_RET): Use it.
33874 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33875 Correct save location of integer regs and cr.
33876 (_dl_profile_resolve): Correct cr save location. Delete nops
33877 after bl when SHARED. Reduce cfi size a little by better
33878 placement of cfi directives.
33879 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33880 make a stack frame. Instead use parm save area as a temp.
33881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33882 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33884 Don't make a stack frame for parent, use parm save area.
33885 Increase child stack frame to 112 bytes. Don't save unused reg,
33886 and adjust reg usage. Set up cfi on error recovery and
33887 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33889 (__makecontext): Add dummy nop after jump to exit.
33890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33891 Use correct parm save area and cr save, reduce stack frame.
33892 Correct cfi for possible PSEUDO_RET frame setup.
33893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33894 Branch to local label emitted by PSEUDO_RET rather than
33897 2010-08-12 Andreas Schwab <schwab@redhat.com>
33900 * locale/programs/locale.c (print_assignment): New function.
33901 (show_locale_vars): Use it.
33903 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33905 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33907 (struct statfs64): Likewise.
33908 (_STATFS_F_FLAGS): Define.
33909 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33910 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33911 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33912 (ST_VALID): Define locally.
33913 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33914 __statvfs_getflags, use the provided value.
33915 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33916 __ASSUME_STATFS_F_FLAGS.
33918 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33920 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33921 Add sys/fanotify.h.
33922 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33923 fanotify_mask for GLIBC_2.13.
33924 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33925 fanotify_init and fanotify_mark.
33926 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33927 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33929 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33931 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33932 prlimit64 for GLIBC_2.13.
33933 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33938 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33939 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33940 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33941 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33943 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33946 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33947 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33949 * nss/Makefile: Add rules to build and run tst-nss-test1.
33950 * shlib-versions: Add entry for libnss_test1.
33951 * nss/nss_test1.c: New file.
33952 * nss/tst-nss-test1.c: New file.
33954 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33955 (__nss_configure_lookup): Set appropriate entry in
33956 __nss_configure_lookup to true.
33957 * nss/nsswitch.h: Define enum with indeces of databases in
33958 databases and __nss_database_custom arrays. Declare
33959 __nss_database_custom.
33960 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33961 to avoid using nscd when custom rules are installed.
33962 * nss/getXXbyYY_r.c: Likewise.
33963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33965 * nss/nss_files/files-parse.c: Whitespace fixes.
33967 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33970 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33971 * posix/fnmatch_loop.c: Likewise.
33973 2010-07-17 Andi Kleen <ak@linux.intel.com>
33975 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33976 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33977 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33978 * Versions.def [GLIBC_2.13]: Add.
33980 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33982 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33983 Also fail if tpwd after pwuid call is NULL.
33985 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33987 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33988 when converting to ms.
33990 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33992 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33993 EOPNOTSUPP errors with ENOTTY.
33994 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33995 EOPNOTSUPP errors with ENOTTY.
33997 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33999 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34000 Add strcasecmp_l-ssse3.
34001 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34003 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34004 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34005 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34007 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34009 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34011 * string/Makefile (strop-tests): Add strcasecmp.
34012 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34013 strcasecmp_l-nonascii.
34014 (gen-as-const-headers): Add locale-defines.sym.
34015 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34016 * sysdeps/x86_64/strcasecmp.S: New file.
34017 * sysdeps/x86_64/strcasecmp_l.S: New file.
34018 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34019 * sysdeps/x86_64/locale-defines.sym: New file.
34020 * string/test-strcasecmp.c: New file.
34022 * string/test-strcasestr.c: Test both ends of the range of characters.
34023 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34025 2010-07-29 Roland McGrath <roland@redhat.com>
34028 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34030 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34032 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34035 2010-07-27 Andreas Schwab <schwab@redhat.com>
34037 * manual/memory.texi (Malloc Tunable Parameters): Document
34040 2010-07-26 Roland McGrath <roland@redhat.com>
34043 * configure.in (-fgnu89-inline check): Set and substitute
34044 gnu89_inline, not libc_cv_gnu89_inline.
34045 * configure: Regenerated.
34046 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34048 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34050 * string/test-strnlen.c: New file.
34051 * string/Makefile (strop-tests): Add strnlen.
34052 * string/tester.c (test_strnlen): Add a few more test cases.
34053 * string/tst-strlen.c: Better error reporting.
34055 * sysdeps/x86_64/strnlen.S: New file.
34057 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34059 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34060 lower-latency instructions.
34062 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34064 * string/test-strcasestr.c: New file.
34065 * string/test-strstr.c: New file.
34066 * string/Makefile (strop-tests): Add strstr and strcasestr.
34067 * string/str-two-way.h: Don't undefine MAX.
34068 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34070 2010-07-21 Andreas Schwab <schwab@redhat.com>
34072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34073 strcasestr-nonascii.
34074 (CFLAGS-strcasestr-nonascii.c): Define.
34075 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34076 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34077 Remove unused attribute.
34079 2010-07-20 Roland McGrath <roland@redhat.com>
34081 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34082 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34083 ld.so.cache was broken. With it, there is no way to disable dsocaps
34084 like LD_HWCAP_MASK can disable hwcaps.
34086 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34088 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34090 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34092 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34093 call in strcasestr.
34094 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34095 __strcasestr_sse42_nonascii.
34096 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34097 strcasestr-nonascii.c.
34098 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34100 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34102 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34103 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34104 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34105 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34107 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34109 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34112 2010-07-06 Andreas Schwab <schwab@redhat.com>
34115 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34118 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34120 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34121 _PC_PIPE_BUF using F_GETPIPE_SZ.
34123 2010-07-05 Roland McGrath <roland@redhat.com>
34125 * manual/arith.texi (Rounding Functions): Fix rint description
34126 implicit in round description.
34128 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34130 * elf/Makefile: Fix linking for a few tests to make recent linker
34133 2010-06-30 Andreas Schwab <schwab@redhat.com>
34135 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34136 $(common-objpfx)libc_nonshared.a.
34138 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34140 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34141 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34142 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34143 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34144 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34145 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34146 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34147 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34162 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34163 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34164 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34165 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34166 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34167 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34168 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34169 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34170 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34171 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34172 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34173 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34189 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34191 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34192 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34193 * string/memmove.c (memmove): Renamed to ...
34194 (MEMMOVE): ...this. Default to memmove.
34195 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34196 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34199 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34200 mempcpy-ssse3-back memmove-ssse3-back.
34201 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34202 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34203 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34204 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34205 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34206 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34207 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34208 * sysdeps/x86_64/multiarch/memmove.c: New file.
34209 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34210 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34211 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34212 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34213 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34214 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34216 (index_Fast_Copy_Backward): Define.
34217 (HAS_ARCH_FEATURE): Define.
34218 (HAS_FAST_REP_STRING): Define.
34219 (HAS_FAST_COPY_BACKWARD): Define.
34221 2010-06-21 Andreas Schwab <schwab@redhat.com>
34223 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34224 Restore proper fallback handling.
34226 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34229 * posix/group_member.c (__group_member): Correct checking loop.
34231 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34232 OOM in getpwuid_r correctly. Return error number when the caller
34233 should return, otherwise -1.
34234 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34235 call returning > 0 value.
34236 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34238 2010-06-07 Andreas Schwab <schwab@redhat.com>
34240 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34241 libc_nonshared.a from targets in modules-names.
34243 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34245 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34248 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34250 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34251 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34252 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34253 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34255 2010-06-02 Andreas Schwab <schwab@redhat.com>
34257 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34259 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34261 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34263 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34264 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34268 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34270 2010-06-14 Roland McGrath <roland@redhat.com>
34272 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34274 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34276 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34277 __REDIRECT followed by __THROW.
34278 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34279 * posix/getopt.h (getopt): Likewise.
34281 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34283 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34284 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34285 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34287 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34288 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34290 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34292 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34294 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34298 Properly check family and model.
34300 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34302 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34304 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34306 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34308 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34310 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34313 2010-05-19 Andreas Schwab <schwab@redhat.com>
34315 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34318 2010-05-21 Andreas Schwab <schwab@redhat.com>
34320 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34321 and internal_recvmmsg.
34322 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34323 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34324 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34325 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34327 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34328 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34329 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34331 2010-05-20 Andreas Schwab <schwab@redhat.com>
34333 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34335 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34337 POWER7 optimizations.
34338 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34339 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34341 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34343 * version.h: Update for 2.13 development version.
34345 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34347 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34348 exceptions. Return 0.
34350 2010-05-07 Roland McGrath <roland@redhat.com>
34352 * elf/ldconfig.c (main): Add a const.
34354 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34356 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34357 (args_options): Add no-idn option.
34358 (ahosts_keys_int): Add idn_flags to ai_flags.
34359 (parse_option): Handle 'i' option to clear idn_flags.
34361 * malloc/malloc.c (_int_free): Possible race in the most recently
34362 added check. Only act on the data if no current modification
34365 See ChangeLog.17 for earlier changes.