1 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4 * misc/error.c (error_tail): Fix possible buffer overflow.
6 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12 2013-10-14 P. J. McDermott <pj@pehjota.net>
15 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16 testing pipefail option.
18 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20 * soft-fp/double.h: Indent preprocessor directives inside #if.
21 * soft-fp/extended.h: Likewise.
22 * soft-fp/op-2.h: Likewise.
23 * soft-fp/op-4.h: Likewise.
24 * soft-fp/op-common.h: Likewise.
25 * soft-fp/quad.h: Likewise.
26 * soft-fp/single.h: Likewise.
27 * soft-fp/soft-fp.h: Likewise.
29 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31 * iconv/iconv_prog.c: Fix typos.
32 * stdio-common/psiginfo-data.h: Likewise.
34 2013-10-12 Reuben Thomas <rrt@sc3d.org>
37 * locale/setlocale.c: Fix typo.
39 2013-10-12 Joseph Myers <joseph@codesourcery.com>
42 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43 signaling NaN arguments.
44 * soft-fp/unordsf2.c (__unordsf2): Likewise.
45 * soft-fp/unordtf2.c (__unordtf2): Likewise.
48 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
50 * soft-fp/gesf2.c (__gesf2): Likewise.
51 * soft-fp/getf2.c (__getf2): Likewise.
52 * soft-fp/ledf2.c (__ledf2): Likewise.
53 * soft-fp/lesf2.c (__lesf2): Likewise.
54 * soft-fp/letf2.c (__letf2): Likewise.
56 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
57 * soft-fp/eqsf2.c (__eqsf2): Likewise.
58 * soft-fp/eqtf2.c (__eqtf2): Likewise.
59 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
61 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
63 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
64 * soft-fp/fixsfti.c (__fixsfti): Likewise.
65 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
66 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
67 * soft-fp/fixtfti.c (__fixtfti): Likewise.
68 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
69 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
70 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
71 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
72 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
73 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
74 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
75 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
76 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
77 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
78 * soft-fp/floatdisf.c (__floatdisf): Likewise.
79 * soft-fp/floatsisf.c (__floatsisf): Likewise.
80 * soft-fp/floattidf.c (__floattidf): Likewise.
81 * soft-fp/floattisf.c (__floattisf): Likewise.
82 * soft-fp/floattitf.c (__floattitf): Likewise.
83 * soft-fp/floatundidf.c (__floatundidf): Likewise.
84 * soft-fp/floatundisf.c (__floatundisf): Likewise.
85 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
86 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
87 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
88 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
89 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
90 * soft-fp/gesf2.c (__gesf2): Likewise.
91 * soft-fp/getf2.c (__getf2): Likewise.
92 * soft-fp/ledf2.c (__ledf2): Likewise.
93 * soft-fp/lesf2.c (__lesf2): Likewise.
94 * soft-fp/letf2.c (__letf2): Likewise.
96 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
97 Undefine and redefine.
98 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
99 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
100 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
101 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
102 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
103 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
104 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
105 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
106 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
107 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
108 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
109 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
110 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
111 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
112 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
115 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
116 without decrementing exponent if mantissa >= that for the
118 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
119 denominator, not >. Decrement exponent in < case instead of
120 incrementing in >= case.
121 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
122 without decrementing exponent if mantissa >= that for the
125 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
126 computing saturated result for unsigned overflow.
128 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
129 Jeff Law <law@redhat.com>
131 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
132 (atan2Mp): Add systemtap probe marker.
133 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
134 (__ieee754_log): Add systemtap probe marker.
135 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
136 (atanMp): Add systemtap probe marker.
137 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
138 (tanMp): Add systemtap probe marker.
139 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
140 (__slowexp): Add systemtap probe marker.
141 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
142 (__slowpow): Add systemtap probe marker.
143 * manual/probes.texi: Document probes.
145 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
148 * libio/fileops.c (_IO_new_file_write): Return count of bytes
150 (_IO_new_file_xsputn): Don't return EOF if nothing has been
152 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
153 written to buffer but not flushed.
154 * libio/iofwrite_u.c: Likewise.
155 * libio/iopadn.c: Return bytes returned even if EOF was
157 * libio/iowpadn.c: Likewise.
158 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
159 if _IO_padn does not write the whole buffer.
160 [!COMPILE_WPRINTF] (PAD): Likewise.
162 2013-10-10 David S. Miller <davem@davemloft.net>
164 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
167 2013-10-10 Joseph Myers <joseph@codesourcery.com>
169 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
170 instead of FSF address.
171 * soft-fp/fixdfti.c: Likewise.
172 * soft-fp/fixsfti.c: Likewise.
173 * soft-fp/fixtfti.c: Likewise.
174 * soft-fp/fixunsdfti.c: Likewise.
175 * soft-fp/fixunssfti.c: Likewise.
176 * soft-fp/fixunstfti.c: Likewise.
177 * soft-fp/floattidf.c: Likewise.
178 * soft-fp/floattisf.c: Likewise.
179 * soft-fp/floattitf.c: Likewise.
180 * soft-fp/floatuntidf.c: Likewise.
181 * soft-fp/floatuntisf.c: Likewise.
182 * soft-fp/floatuntitf.c: Likewise.
183 * soft-fp/trunctfxf2.c: Likewise.
185 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
186 * soft-fp/fixdfti.c: Likewise.
187 * soft-fp/fixsfti.c: Likewise.
188 * soft-fp/fixtfti.c: Likewise.
189 * soft-fp/fixunsdfti.c: Likewise.
190 * soft-fp/fixunssfti.c: Likewise.
191 * soft-fp/fixunstfti.c: Likewise.
192 * soft-fp/floattidf.c: Likewise.
193 * soft-fp/floattisf.c: Likewise.
194 * soft-fp/floattitf.c: Likewise.
195 * soft-fp/floatuntidf.c: Likewise.
196 * soft-fp/floatuntisf.c: Likewise.
197 * soft-fp/floatuntitf.c: Likewise.
198 * soft-fp/trunctfxf2.c: Likewise.
200 2013-10-10 David S. Miller <davem@davemloft.net>
202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
204 2013-10-10 Joseph Myers <joseph@codsourcery.com>
206 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
207 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
208 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
209 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
210 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
211 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
212 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
214 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
215 for NaNs before doing comparisons on argument.
216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
219 2013-10-10 Will Newton <will.newton@linaro.org>
221 * malloc/hooks.c (memalign_check): Ensure the value of bytes
222 passed to _int_memalign does not overflow.
224 2013-10-10 Torvald Riegel <triegel@redhat.com>
226 * scripts/bench.pl: Add include-sources directive.
227 * benchtests/README: Update documentation.
229 2013-10-10 Joseph Myers <joseph@codesourcery.com>
231 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
232 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
233 instead of FP_INIT_ROUNDMODE.
234 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
235 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
238 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
239 copy class of input value.
240 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
241 not handle exceptions.
242 * soft-fp/negsf2.c (__negsf2): Likewise.
243 * soft-fp/negtf2.c (__negtf2): Likewise.
244 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
246 2013-10-09 Joseph Myers <joseph@codesourcery.com>
248 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
249 semicolon. From Linux kernel.
251 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
253 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
255 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
258 * manual/socket.texi: Added statement about buffer
259 for gethostbyname2_r.
261 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
263 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
264 Use .p2align directive instead, throughout.
265 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
266 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
267 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
268 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
269 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
270 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
271 * sysdeps/x86_64/strchr.S: Likewise.
272 * sysdeps/x86_64/strrchr.S: Likewise.
274 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
276 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
278 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
280 * sysdeps/generic/math_private.h (__mpsin1): Remove
282 (__mpcos1): Likewise.
283 (__mpsin): New argument __range_reduce.
285 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
286 (slow): Use __mpsin and __mpcos.
299 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
300 range_reduce. Merge in __mpsin1.
303 (__mpcos1): Likewise.
305 2013-10-07 Joseph Myers <joseph@codesourcery.com>
307 * locale/loadlocale.c (_nl_intern_locale_data): Use
309 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
310 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
311 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
312 obstack data is appropriately aligned.
313 (obstack_int32_grow_fast): Likewise.
314 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
315 * locale/programs/locfile.c (add_locale_uint32): Likewise.
316 (add_locale_uint32_array): Likewise.
318 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
320 * benchtests/Makefile: Remove ARGLIST and RET variables.
321 ($(objpfx)bench-%.c): Pass only function name to the script.
322 * benchtests/README: Update documentation.
323 * benchtests/acos-inputs: Add new directives.
324 * benchtests/acosh-inputs: Likewise.
325 * benchtests/asin-inputs: Likewise.
326 * benchtests/asinh-inputs: Likewise.
327 * benchtests/atan-inputs: Likewise.
328 * benchtests/atanh-inputs: Likewise.
329 * benchtests/cos-inputs: Likewise.
330 * benchtests/cosh-inputs: Likewise.
331 * benchtests/exp-inputs: Likewise.
332 * benchtests/log-inputs: Likewise.
333 * benchtests/pow-inputs: Likewise.
334 * benchtests/rint-inputs: Likewise.
335 * benchtests/sin-inputs: Likewise.
336 * benchtests/sinh-inputs: Likewise.
337 * benchtests/tan-inputs: Likewise.
338 * benchtests/tanh-inputs: Likewise.
339 * scripts/bench.pl: Add support for new directives.
341 2013-10-07 Alan Modra <amodra@gmail.com>
343 * README: Fix careless merge.
345 2013-10-05 Alan Modra <amodra@gmail.com>
347 * NEWS: Mention powerpc64le support and bugs fixed.
348 * README: Both big-endian and little-endian powerpc64 supported.
350 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
352 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
353 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
354 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
355 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
357 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
359 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
362 2013-10-04 Joseph Myers <joseph@codesourcery.com>
364 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
365 Move -mhard-float appending from
366 ports/sysdeps/powerpc/powerpc32/Makefile.
367 [$(with-fp) = yes] (ASFLAGS): Likewise.
368 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
369 * sysdeps/powerpc/nofpu: Move directory from
370 ports/sysdeps/powerpc/nofpu.
371 * sysdeps/powerpc/soft-fp: Move directory from
372 ports/sysdeps/powerpc/soft-fp.
373 * sysdeps/powerpc/powerpc32/405: Move directory from
374 ports/sysdeps/powerpc/powerpc32/405.
375 * sysdeps/powerpc/powerpc32/440: Move directory from
376 ports/sysdeps/powerpc/powerpc32/440.
377 * sysdeps/powerpc/powerpc32/464: Move directory from
378 ports/sysdeps/powerpc/powerpc32/464.
379 * sysdeps/powerpc/powerpc32/476: Move directory from
380 ports/sysdeps/powerpc/powerpc32/476.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
382 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
384 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
386 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
388 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
390 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
391 * README: Update for powerpc-*-linux-gnu software floating point
394 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
395 case to powerpc/powerpc32*.
396 * sysdeps/unix/sysv/linux/configure: Regenerated.
398 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
399 (_FPU_MASK_OM): Define as 0x04.
400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
408 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
411 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
414 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
417 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
419 * locale/iso-3166.def: Update iso-1366.def and related occurrences
421 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
423 * manual/threads.texi (Default Thread Attributes): Fix typo.
425 2013-10-04 Will Newton <will.newton@linaro.org>
427 * malloc/Makefile: Add tst-memalign.
428 * malloc/tst-memalign.c: New file.
430 * malloc/tst-posix_memalign.c: Add comments.
431 (do_test): Add comments and call free on all potentially
432 allocated pointers. Add space after cast.
434 * malloc/tst-pvalloc.c: Add comments.
435 (do_test): Add comments and call free on all potentially
436 allocated pointers. Remove duplicate check for NULL pointer.
437 Add space after cast.
439 * malloc/tst-valloc.c: Add comments.
440 (do_test): Add comments and call free on all potentially
441 allocated pointers. Remove duplicate check for NULL pointer.
442 Add space after cast.
444 2013-10-04 Alan Modra <amodra@gmail.com>
446 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
447 Use stdint types in rather than __attribute__((mode())).
448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
450 2013-10-04 Alan Modra <amodra@gmail.com>
452 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
453 Correct handling of unaligned relocs for little-endian.
454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
456 2013-10-04 Alan Modra <amodra@gmail.com>
458 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
459 * configure: Regenerate.
460 * nptl/shlib-versions: Powerpc*le starts at 2.18.
461 * shlib-versions: Likewise.
463 2013-10-04 Alan Modra <amodra@gmail.com>
465 * string/tester.c (test_memrchr): Increment reported test cycle.
467 2013-10-04 Alan Modra <amodra@gmail.com>
469 * string/test-memcpy.c (do_one_test): When reporting errors, print
470 string address and don't overrun end of string.
472 2013-10-04 Alan Modra <amodra@gmail.com>
474 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
475 insrdi. Make better use of reg selection to speed exit slightly.
476 Schedule entry path a little better. Remove useless "are we done"
477 checks on entry to main loop. Handle wrapping around zero address.
478 Correct main loop count. Handle single left-over word from main
479 loop inline rather than by using loop_small. Remove extra word
480 case in loop_small caused by wrong loop count. Add little-endian
482 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
483 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
485 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
486 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
487 support. Avoid rlwimi.
488 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
490 2013-10-04 Alan Modra <amodra@gmail.com>
492 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
494 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
495 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
496 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
497 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
498 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
499 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
501 2013-10-04 Alan Modra <amodra@gmail.com>
503 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
504 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
505 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
506 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
507 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
508 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
509 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
510 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
511 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
512 use of regs. Use power7 mtocrf. Tidy function tails.
514 2013-10-04 Alan Modra <amodra@gmail.com>
516 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
517 Formatting. Consistently use rXXX register defines or rN defines.
518 Use early exit labels that avoid restoring unused non-volatile regs.
519 Make cr field use more consistent with rWORDn compares. Rename
520 regs used as shift registers for unaligned loop, using rN defines
521 for short lifetime/multiple use regs.
522 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
523 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
524 addi 1,1,64 to pop stack frame. Simplify return value code.
525 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
527 2013-10-04 Alan Modra <amodra@gmail.com>
529 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
530 support. Correct typos, formatting. Optimize tail. Use insrdi
532 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
533 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
534 little-endian support. Correct typos.
535 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
537 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
538 in loop and entry code to keep "and." results.
539 (strchr): Add little-endian support. Comment. Move cntlzd
541 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
543 2013-10-04 Alan Modra <amodra@gmail.com>
545 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
546 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
547 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
548 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
550 2013-10-04 Alan Modra <amodra@gmail.com>
552 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
553 (rTMP): Define as r11.
554 (strcmp): Add little-endian support. Optimise tail.
555 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
556 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
557 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
558 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
559 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
560 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
563 2013-10-04 Alan Modra <amodra@gmail.com>
565 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
566 little-endian support. Remove unnecessary "are we done" tests.
567 Handle "s" wrapping around zero and extremely large "size".
568 Correct main loop count. Handle single left-over word from main
569 loop inline rather than by using small_loop. Correct comments.
570 Delete "zero" tail, use "end_max" instead.
571 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
573 2013-10-04 Alan Modra <amodra@gmail.com>
575 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
576 support. Don't branch over align.
577 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
578 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
579 support. Rearrange tmp reg use to suit. Comment.
580 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
582 2013-10-04 Alan Modra <amodra@gmail.com>
584 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
586 2013-10-04 Alan Modra <amodra@gmail.com>
588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
589 conditional form of branch and link when obtaining pc.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
592 2013-10-04 Alan Modra <amodra@gmail.com>
594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
599 2013-10-04 Alan Modra <amodra@gmail.com>
601 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
602 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
603 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
604 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
605 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
606 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
607 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
608 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
609 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
610 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
612 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
613 Alistair Popple <alistair@ozlabs.au.ibm.com>
614 Alan Modra <amodra@gmail.com>
617 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
618 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
619 _dl_hwcap access for little-endian.
620 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
621 destroy vmx regs when saving unaligned.
622 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
623 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
624 destroy vmx regs when saving unaligned.
626 2013-10-04 Alan Modra <amodra@gmail.com>
628 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
629 Don't use a union to pack hi/low value.
631 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
633 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
635 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
637 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
638 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
639 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
641 2013-10-04 Alan Modra <amodra@gmail.com>
643 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
644 constants to usual value for .cst8 section, and remove redundant
646 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
647 constant for 0x1p52. Load little-endian words of double from
648 correct stack offsets.
650 2013-10-04 Alan Modra <amodra@gmail.com>
652 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
653 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
654 words of double from correct stack offsets.
655 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
656 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
657 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
658 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
659 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
660 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
662 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
663 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
664 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
665 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
666 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
667 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
668 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
669 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
670 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
671 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
673 2013-10-04 Alan Modra <amodra@gmail.com>
675 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
676 64-bit int/double union.
677 (_FPU_SETCW): Likewise.
678 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
679 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
681 2013-10-04 Alan Modra <amodra@gmail.com>
683 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
684 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
686 2013-10-04 Alan Modra <amodra@gmail.com>
688 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
689 use vector int constants.
690 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
692 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
694 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
695 array with long long.
696 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
697 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
698 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
699 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
700 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
701 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
702 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
703 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
704 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
705 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
706 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
707 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
708 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
710 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
712 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
713 (__signbit): Likewise. Correct for little-endian.
714 (__signbitl): Call __signbit.
715 (lrint): Correct for little-endian.
716 (lrintf): Call lrint.
718 2013-10-04 Alan Modra <amodra@gmail.com>
720 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
721 union 32-bit int array member with 64-bit int array.
722 (t515, tm256): Double rather than long double.
723 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
725 2013-10-04 Alan Modra <amodra@gmail.com>
727 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
729 (IEEE854_LONG_DOUBLE_BIAS): Delete.
730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
731 version of math_ldbl.h.
733 2013-10-04 Alan Modra <amodra@gmail.com>
735 [BZ #15734], [BZ #15735]
736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
737 all uses of ieee875 long double macros and unions. Simplify test
738 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
739 ldbl_extract_mantissa value for ix,iy exponents. Properly
740 normalize after ldbl_extract_mantissa, and don't add hidden bit
741 already handled. Don't treat low word of ieee854 mantissa like
742 low word of IBM long double and mask off bit when testing for
744 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
745 all uses of ieee875 long double macros and unions. Simplify tests
746 for 0.0L and inf. Correct double adjustment of k. Delete dead code
747 adjusting ha,hb. Simplify code setting kld. Delete two600 and
748 two1022, instead use their values. Recognise that tests for large
749 "a" and small "b" are mutually exclusive. Rename vars. Comment.
750 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
751 Rewrite all uses of ieee875 long double macros and unions. Simplify
752 test for 0.0L and nan. Correct negation.
753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
754 ieee875 long double macros and unions. Correct output for large
755 magnitude x. Correct absolute value calculation.
757 * math/libm-test.inc: Add tests for errors discovered in IBM long
758 double versions of fmodl, remainderl, erfl and erfcl.
760 2013-10-04 Alan Modra <amodra@gmail.com>
762 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
763 all uses of ieee854 long double macros and unions. Simplify tests
764 for long doubles that are fully specified by the high double.
765 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
767 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
768 Remove dead code too.
769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
770 (__ieee754_ynl): Likewise.
771 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
772 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
773 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
774 Remove dead code too.
775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
776 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
777 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
778 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
780 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
782 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
784 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
785 Comment on variable precision.
786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
787 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
789 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
793 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
795 2013-10-04 Alan Modra <amodra@gmail.com>
797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
798 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
799 all uses of ieee854 long double macros and unions.
800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
801 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
802 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
803 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
804 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
805 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
807 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
808 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
810 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
811 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
813 Simplify sign and nan test too.
814 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
815 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
816 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
817 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
819 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
820 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
822 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
823 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
824 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
825 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
826 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
829 2013-10-04 Alan Modra <amodra@gmail.com>
831 * stdio-common/printf_size.c (__printf_size): Don't use
832 union ieee854_long_double in fpnum union.
833 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
834 signbit macro to retrieve sign from long double.
835 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
836 retrieve sign from long double.
837 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
838 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
839 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
840 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
841 * math/test-misc.c (main): Don't use union ieee854_long_double.
843 2013-10-04 Alan Modra <amodra@gmail.com>
846 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
847 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
848 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
849 calculation. Remove unnecessary test for denormal exponent.
850 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
851 Correct handling of denormals. Avoid undefined shift behaviour.
852 Correct normalisation of low mantissa when low double is denormal.
853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
854 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
855 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
856 Correct normalisation of low mantissa. Test for overflow of high
857 mantissa and normalise.
858 (ldbl_nearbyint): Use more readable constant for two52.
859 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
860 (__mpn_construct_long_double): Fix test for overflow of high
861 mantissa and correct normalisation. Avoid undefined shift.
863 2013-10-04 Alan Modra <amodra@gmail.com>
865 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
866 (union ibm_extended_long_double): Define as an array of ieee754_double.
867 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
868 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
869 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
870 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
872 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
873 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
874 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
875 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
876 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
877 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
879 2013-10-03 Joseph Myers <joseph@codesourcery.com>
881 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
882 page size instead of calling getpagesize.
884 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
885 (LOCFILE_ALIGN_MASK): Likewise.
886 (LOCFILE_ALIGN_UP): Likewise.
887 (LOCFILE_ALIGNED_P): Likewise.
888 * locale/programs/ld-collate.c (collate_output): Use the new
889 macros instead of __alignof__ (int32_t).
890 * locale/weight.h (findidx): Likewise.
892 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
895 * manual/string.texi: Fix strncat and wcsncat.
897 2013-10-03 Brooks Moses <bmoses@google.com>
900 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
901 * Makerules: ...here, and adjust associated comments.
903 2013-10-02 Will Newton <will.newton@linaro.org>
905 * malloc/Makefile: Add tst-pvalloc.
906 * malloc/tst-pvalloc.c: New file.
908 2013-10-02 Will Newton <will.newton@linaro.org>
910 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
911 improve test coverage.
913 2013-10-02 Will Newton <will.newton@linaro.org>
915 * malloc/Makefile: Add tst-posix_memalign.
916 * malloc/tst-posix_memalign.c: New file.
918 2013-10-01 Eric Blake <eblake@redhat.com>
920 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
921 Use __THROWNL rather than __THROW on static functions.
923 2013-09-30 Petr Machata <pmachata@redhat.com>
925 * elf/elf.h (R_AARCH64_ABS16): New macro.
926 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
927 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
928 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
929 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
930 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
931 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
932 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
933 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
934 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
935 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
936 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
937 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
938 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
939 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
940 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
941 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
942 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
943 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
944 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
945 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
946 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
947 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
948 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
949 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
950 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
951 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
952 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
953 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
954 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
955 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
956 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
957 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
958 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
959 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
960 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
961 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
962 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
963 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
964 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
965 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
966 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
967 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
968 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
969 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
970 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
971 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
972 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
973 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
974 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
975 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
976 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
977 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
978 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
979 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
980 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
981 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
982 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
983 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
984 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
985 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
986 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
987 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
988 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
989 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
990 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
991 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
992 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
993 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
994 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
995 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
996 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
997 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
998 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
999 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1000 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1001 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1002 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1003 (R_AARCH64_TLSDESC_LDR): Likewise.
1004 (R_AARCH64_TLSDESC_ADD): Likewise.
1005 (R_AARCH64_TLSDESC_CALL): Likewise.
1007 2013-09-30 Andreas Schwab <schwab@suse.de>
1010 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1011 the nss database lookup.
1012 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1015 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1017 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1019 2013-09-28 P. J. McDermott <pj@pehjota.net>
1021 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1022 ${Bash-specific parameter/pattern/string} parameter expansion.
1023 * sysdeps/unix/make-syscalls.sh: Likewise.
1025 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1027 * sysdeps/sh/stackguard-macros.h: New file.
1029 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1033 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1034 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1035 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1036 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1038 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1040 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1041 Fix thread ID register.
1043 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1045 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1046 [POSIX || UNIX98]: Require rather than permitting all symbols from
1048 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1049 element of struct sched_param.
1050 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1051 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1052 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1053 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1056 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1058 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1059 argument calculation.
1061 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1063 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1065 [POSIX] (pthread_attr_t): Do not require type.
1066 [POSIX] (pthread_cond_t): Likewise.
1067 [POSIX] (pthread_condattr_t): Likewise.
1068 [POSIX] (pthread_key_t): Likewise.
1069 [POSIX] (pthread_mutex_t): Likewise.
1070 [POSIX] (pthread_mutexattr_t): Likewise.
1071 [POSIX] (pthread_once_t): Likewise.
1072 [POSIX] (pthread_t): Likewise.
1073 [POSIX-based standards] (pthread_atfork): Expect function.
1075 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1076 Richard Sandiford <richard@codesourcery.com>
1078 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1079 (swap_endianness_p): New extern variable.
1080 (set_big_endian): New inline function.
1081 (maybe_swap_uint32): Likewise.
1082 (maybe_swap_uint32_array): Likewise.
1083 (maybe_swap_uint32_obstack): Likewise.
1084 * locale/programs/locfile.c: Include <stdbool.h>.
1085 (swap_endianness_p): New variable.
1086 (add_locale_uint32): Call maybe_swap_uint32.
1087 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1088 (write_locale_data): Call maybe_swap_uint32_array.
1089 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1091 (obstack_int32_grow_fast): Likewise.
1092 (output_weightwc): Call maybe_swap_uint32_obstack.
1093 (collate_output): Likewise.
1094 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1095 (OPT_LITTLE_ENDIAN): Likewise.
1096 (options): Add --little-endian and --big-endian options.
1097 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1098 * locale/programs/locarchive.c: Include "locfile.h".
1102 (create_archive): Use the new macros to access fields of
1103 structures directly mapped from or written to locale archives.
1104 (oldlocrecentcmp): Likewise.
1105 (enlarge_archive): Likewise.
1106 (insert_name): Likewise.
1107 (add_alias): Likewise.
1108 (add_locale): Likewise.
1109 (delete_locales_from_archive): Likewise.
1110 (show_archive_content): Likewise.
1111 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1114 2013-09-24 Roland McGrath <roland@hack.frob.com>
1116 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1117 http://www.gnu.org/doc/freemanuals.texi.
1118 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1120 2013-09-24 Will Newton <will.newton@linaro.org>
1122 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1125 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1127 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1130 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1132 * manual/threads.texi (POSIX Threads): Fix a typo.
1134 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1137 * string/tst-strcoll-overflow.c: New test case.
1138 * string/Makefile (xtests): Add tst-strcoll-overflow.
1139 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1140 cache if string sizes may cause integer overflow.
1143 * string/strcoll_l.c (coll_seq): New members rule, idx,
1144 save_idx and back_us.
1145 (get_next_seq_nocache): New function.
1146 (do_compare_nocache): New function.
1147 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1150 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1153 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1154 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1155 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1158 * elf/Makefile (tests): Add tst-ptrguard1.
1159 (tests-static): Add tst-ptrguard1-static.
1160 (tst-ptrguard1-ARGS): Define.
1161 (tst-ptrguard1-static-ARGS): Define.
1162 * elf/tst-ptrguard1.c: New file.
1163 * elf/tst-ptrguard1-static.c: New file.
1164 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1165 * sysdeps/i386/stackguard-macros.h: Likewise.
1166 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1167 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1168 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1169 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1170 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1171 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1173 2013-09-23 Hector Marco <hecmargi@upv.es>
1174 Ismael Ripoll <iripoll@disca.upv.es>
1175 Carlos O'Donell <carlos@redhat.com>
1178 * sysdeps/generic/stackguard-macros.h: Define
1179 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1180 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1181 Define __pointer_chk_guard_local.
1182 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1183 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1185 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1188 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1190 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1192 * include/string.h (__ffs): Declare as hidden.
1193 * string/ffs.c (__ffs): Define as hidden.
1194 * sysdeps/i386/ffs.c (__ffs): Likewise.
1195 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1196 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1197 * sysdeps/s390/ffs.c (__ffs): Likewise.
1198 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1200 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1202 * NEWS: Mention malloc probes.
1204 * malloc/arena.c (new_heap): New memory_heap_new probe.
1205 (grow_heap): New memory_heap_more probe.
1206 (shrink_heap): New memory_heap_less probe.
1207 (heap_trim): New memory_heap_free probe.
1208 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1209 (systrim): New memory_sbrk_less probe.
1210 * manual/probes.texi: Document them.
1212 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1213 * manual/probes.texi: Document it.
1215 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1216 (__libc_realloc): Add memory_realloc_retry probe.
1217 (__libc_memalign): Add memory_memalign_retry probe.
1218 (__libc_valloc): Add memory_valloc_retry probe.
1219 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1220 (__libc_calloc): Add memory_calloc_retry probe.
1221 * manual/probes.texi: Document them.
1223 * malloc/arena.c (get_free_list): Add probe
1224 memory_arena_reuse_free_list.
1225 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1226 and memory_arena_reuse.
1227 (arena_get2) [!PER_THREAD]: Likewise.
1228 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1229 memory_arena_reuse_realloc.
1230 * manual/probes.texi: Document them.
1232 * malloc/malloc.c (__libc_free): Add
1233 memory_mallopt_free_dyn_thresholds probe.
1234 (__libc_mallopt): Add multiple memory_mallopt probes.
1235 * manual/probes.texi: Document them.
1237 * malloc/malloc.c: Include stap-probe.h.
1238 (__libc_mallopt): Add memory_mallopt probe.
1239 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1240 * manual/probes.texi: New.
1241 * manual/Makefile (chapters): Add probes.
1242 * manual/threads.texi: Set next node.
1244 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1247 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1248 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1249 Add `Chinese' to `nan' entry name.
1251 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1253 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1254 (POLYNOMIAL): Likewise.
1255 (TAYLOR_SINCOS): Likewise.
1256 (TAYLOR_SLOW): Likewise.
1257 (__sin): Use TAYLOR_SINCOS.
1259 (slow): Use TAYLOR_SLOW.
1264 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1266 * stdlib/strtod_l.c: Fix buffer overrun.
1268 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1270 * benchtests/Makefile (bench): Add sincos.
1271 * benchtests/bench-sincos.c: New file.
1273 * math/libm-test.inc (cos_test_data): New test inputs.
1274 (sin_test_data): Likewise.
1276 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1284 (bsloww1): Likewise.
1285 (bsloww2): Likewise.
1287 (csloww1): Likewise.
1288 (csloww2): Likewise.
1290 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1295 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1299 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1301 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1302 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1303 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1304 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1305 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1306 * elf/cache.c (print_entry): Handle the new cache flags.
1308 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1309 Aldy Hernandez <aldyh@redhat.com>
1311 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1312 Change condition to [_SOFT_FLOAT].
1313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1325 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1328 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1331 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1333 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1334 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1335 (__longjmp): Use LOAD_GP to load saved GPRs.
1336 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1337 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1338 (__sigsetjmp): Use SAVE_GP to save GPRs.
1340 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1341 Do not append -msoft-float.
1342 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1344 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1346 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1348 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1351 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1352 (_FPU_GETCW): Use initial "__" on variable and field names but not
1353 on macro parameter name.
1354 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1355 parentheses around reference to macro parameter.
1357 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1359 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1361 (ctype_startup): Use uint32_t in cast and sizeof for
1364 2013-09-11 Jia Liu <proljc@gmail.com>
1366 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1368 [__FreeBSD__]: Likewise.
1370 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1372 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1373 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1374 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1375 (strchr): Remove __strchr_sse42 ifunc selection.
1376 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1377 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1379 2013-09-11 Will Newton <will.newton@linaro.org>
1381 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1382 parameter to RES. Remove hardcoded 1000 value.
1383 * benchtests/bench-skeleton.c (main): Pass RES parameter
1384 to TIMING_INIT and multiply result by 1000.
1386 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1390 2013-09-11 Andreas Schwab <schwab@suse.de>
1392 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1394 (O_TMPFILE) [__USE_GNU]: Define.
1395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1398 2013-09-11 Will Newton <will.newton@linaro.org>
1401 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1404 2013-09-11 Will Newton <will.newton@linaro.org>
1407 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1410 2013-09-11 Will Newton <will.newton@linaro.org>
1413 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1416 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1418 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1419 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1420 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1422 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1424 2013-09-10 Allan McRae <allan@archlinux.org>
1427 * manual/arith.texi (Parsing of Floats): Clarify
1431 * manual/install.texi (Running make install): Mention
1433 * INSTALL: Regenerated.
1435 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1437 * csu/init-first.c (_init): Remove the !SHARED condition around
1438 FPU control word initialization.
1439 * elf/dl-support.c (_dl_fpu_control): New variable.
1440 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1441 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1442 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1443 * math/test-fpucw-static.c: New file.
1444 * math/test-fpucw-ieee.c: New file.
1445 * math/test-fpucw-ieee-static.c: New file.
1446 * math/Makefile (tests): Add `test-fpucw-ieee' and
1448 (tests-static): New variable.
1449 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1451 [($(build-shared),yes)]
1452 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1454 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1457 2013-09-09 Allan McRae <allan@archlinux.org>
1460 * manual/string.texi (Collation Functions): Fix typo in
1462 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1465 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1468 * libio/memstream.c (open_memstream): Fix memory leak.
1469 * libio/wmemstream.c (open_wmemstream): Likewise.
1472 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1474 2013-09-09 Will Newton <will.newton@linaro.org>
1476 * malloc/Makefile: Add tst-realloc to tests.
1477 * malloc/tst-realloc.c: New file.
1479 2013-09-09 Allan McRae <allan@archlinux.org>
1482 * COPYING: Update from GNU website to fix FSF address.
1483 * COPYING.LIB: Likewise.
1485 2013-09-06 David S. Miller <davem@davemloft.net>
1487 * po/zh_TW.po: Update Chinese (traditional) translation from
1488 translation project.
1490 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1491 Joseph Myers <joseph@codesourcery.com>
1493 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1495 (obstack_chunk_alloc): New macro.
1496 (obstack_chunk_free): Likewise.
1497 (record_offset): New function.
1498 (init_locale_data): Likewise.
1499 (align_locale_data): Likewise.
1500 (add_locale_empty): Likewise.
1501 (add_locale_raw_data): Likewise.
1502 (add_locale_raw_obstack): Likewise.
1503 (add_locale_string): Likewise.
1504 (add_locale_wstring): Likewise.
1505 (add_locale_uint32): Likewise.
1506 (add_locale_uint32_array): Likewise.
1507 (add_locale_char): Likewise.
1508 (start_locale_structure): Likewise.
1509 (end_locale_structure): Likewise.
1510 (start_locale_prelude): Likewise.
1511 (end_locale_prelude): Likewise.
1512 (write_locale_data): Take locale_file structure rather than an
1514 * locale/programs/locfile.h: Include "obstack.h".
1515 (struct locale_file): Change to store locale file contents instead
1517 (init_locale_data): New prototype.
1518 (align_locale_data): Likewise.
1519 (add_locale_empty): Likewise.
1520 (add_locale_raw_data): Likewise.
1521 (add_locale_raw_obstack): Likewise.
1522 (add_locale_string): Likewise.
1523 (add_locale_wstring): Likewise.
1524 (add_locale_uint32): Likewise.
1525 (add_locale_uint32_array): Likewise.
1526 (add_locale_char): Likewise.
1527 (start_locale_structure): Likewise.
1528 (end_locale_structure): Likewise.
1529 (start_locale_prelude): Likewise.
1530 (end_locale_prelude): Likewise.
1531 (write_locale_data): Update prototype.
1532 * locale/programs/3level.h (struct TABLE): Remove result field.
1533 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1534 Use new locale_file interface.
1535 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1536 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1537 * locale/programs/ld-address.c (address_output): Use new
1538 locale_file interface.
1539 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1541 (collate_finish): Don't call collseq_table_finalize.
1542 (collate_output): Use new locale_file interface.
1543 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1545 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1546 (TABLE): Move defines earlier in file.
1547 (ELEMENT): Likewise.
1548 (DEFAULT): Likewise.
1549 (wctrans_table_add): Move macro and inline function earlier in
1551 (struct wctype_table): Move type earlier in file.
1552 (add_locale_wctype_table): New static prototype.
1553 (struct locale_ctype_t): Use logical types instead of struct iovec
1554 pointers for members.
1555 (ctype_output): Use new locale_file interface.
1556 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1557 new locale_file interface.
1558 (allocate_arrays): Update for use of new locale_file interface.
1559 * locale/programs/ld-identification.c (identification_output): Use
1560 new locale_file interface.
1561 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1562 * locale/programs/ld-messages.c (messages_output): Likewise.
1563 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1564 * locale/programs/ld-name.c (name_output): Likewise.
1565 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1566 * locale/programs/ld-paper.c (paper_output): Likewise.
1567 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1568 * locale/programs/ld-time.c (time_output): Likewise.
1570 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1572 * benchtests/Makefile: Add memrchr benchmark.
1573 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1574 benchmark as memrchr.
1575 * benchtests/bench-memrchr-ifunc.c: New file.
1576 * benchtests/bench-memrchr.c: New file.
1578 2013-09-06 Will Newton <will.newton@linaro.org>
1580 * benchtests/Makefile (string-bench): Add memcpy.
1582 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1583 Cong Wang <amwang@redhat.com>
1585 * sysdeps/unix/sysv/linux/bits/in.h
1586 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1587 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1588 before __USE_KERNEL_IPV6_DEFS uses.
1589 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1591 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1592 sockaddr_in6, or ipv6_mreq.
1594 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1596 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1597 memory access for final bytes in some large inputs.
1598 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1600 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1602 * string/test-memrchr.c: New file.
1603 * string/test-memrchr-ifunc.c: New file.
1604 * string/Makefile: Add new memrchr testcase.
1606 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1608 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1609 fanotify_init returns EPERM.
1611 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1613 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1615 (top level): Treat second token from macro or constant entries for
1616 allowed headers as allowed.
1617 * include/complex.h: Condition internal declarations on
1619 * include/fenv.h: Condition include of <stdbool.h> and internal
1620 declarations on [!_ISOMAC].
1622 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1625 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1627 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1629 * configure.in (--enable-versioning): Remove configure option.
1630 (libc_cv_asm_symver_directive): Remove configure test.
1631 (libc_cv_ld_version_script_option): Likewise.
1632 (VERSIONING): Remove variable and AC_SUBST.
1633 (DO_VERSIONING): Remove AC_DEFINE.
1634 * configure: Regenerated.
1635 * config.h.in (DO_VERSIONING): Remove macro.
1636 * Makerules [$(versioning) = yes]: Change conditionals to
1637 [$(build-shared) = yes].
1638 * config.make.in (versioning): Remove variable.
1639 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1640 [$(build-shared) = yes].
1641 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1642 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1643 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1644 [$(build-shared) = yes].
1645 * extra-lib.mk [$(versioning) = yes]: Likewise.
1646 * hurd/Makefile [$(versioning) = yes]: Likewise.
1647 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1649 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1651 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1652 [SHARED && !NO_HIDDEN].
1653 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1655 [SHARED && DO_VERSIONING]: Likewise..
1656 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1657 [$(build-shared) = yes].
1658 * manual/install.texi (--disable-versioning): Remove
1660 * INSTALL: Regenerated.
1661 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1663 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1664 [$(build-shared) = yes].
1665 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1666 * sysdeps/i386/i686/multiarch/strstr-c.c
1667 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1668 [SHARED && !NO_HIDDEN].
1669 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1670 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1671 * sysdeps/powerpc/powerpc32/dl-machine.c
1672 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1673 * sysdeps/powerpc/powerpc32/sysdep.h
1674 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1675 to [SHARED && PIC && !NO_HIDDEN].
1676 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1677 conditional to [SHARED].
1679 2013-09-04 Will Newton <will.newton@linaro.org>
1681 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1682 * benchtests/bench-string.h: Include bench-timing.h instead
1683 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1684 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1685 call to HP_TIMING_DIFF_INIT.
1686 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1687 instead of hp-timing.h macros.
1688 * benchtests/bench-memchr.c: Likewise.
1689 * benchtests/bench-memcmp.c: Likewise.
1690 * benchtests/bench-memcpy.c: Likewise.
1691 * benchtests/bench-memmem.c: Likewise.
1692 * benchtests/bench-memmove.c: Likewise.
1693 * benchtests/bench-memset.c: Likewise.
1694 * benchtests/bench-rawmemchr.c: Likewise.
1695 * benchtests/bench-strcasecmp.c: Likewise.
1696 * benchtests/bench-strcasestr.c: Likewise.
1697 * benchtests/bench-strcat.c: Likewise.
1698 * benchtests/bench-strchr.c: Likewise.
1699 * benchtests/bench-strcmp.c: Likewise.
1700 * benchtests/bench-strcpy.c: Likewise.
1701 * benchtests/bench-strcpy_chk.c: Likewise.
1702 * benchtests/bench-strlen.c: Likewise.
1703 * benchtests/bench-strncasecmp.c: Likewise.
1704 * benchtests/bench-strncat.c: Likewise.
1705 * benchtests/bench-strncmp.c: Likewise.
1706 * benchtests/bench-strncpy.c: Likewise.
1707 * benchtests/bench-strnlen.c: Likewise.
1708 * benchtests/bench-strpbrk.c: Likewise.
1709 * benchtests/bench-strrchr.c: Likewise.
1710 * benchtests/bench-strspn.c: Likewise.
1711 * benchtests/bench-strstr.c: Likewise.
1713 2013-09-04 Will Newton <will.newton@linaro.org>
1715 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1717 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1720 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1721 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1722 * math/libm-test.inc (lgamma_test_data): Add more tests.
1723 * sysdeps/i386/fpu/libm-test-ulps: Update.
1724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1726 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1728 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1732 Add strcmp-sse2-unaligned
1733 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1735 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1737 * Versions.def (libc): Add GLIBC_2.19.
1739 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1741 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1742 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1744 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1747 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1748 intermediate calculations in recurrence.
1749 (__ieee754_ynf): Likewise.
1750 * math/libm-test.inc (jn_test_data): Do not allow spurious
1751 underflow exception. Add more tests.
1752 (yn_test_data): Add more tests.
1753 * sysdeps/i386/fpu/libm-test-ulps: Update.
1754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1756 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1758 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1760 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1762 * csu/init-first.c: Fix then/than typos.
1763 * locale/programs/ld-collate.c: Likewise.
1764 * locale/programs/linereader.h: Likewise.
1765 * manual/charset.texi: Likewise.
1766 * manual/filesys.texi: Likewise.
1767 * manual/stdio.texi: Likewise.
1768 * manual/string.texi: Likewise.
1769 * stdlib/fmtmsg.c: Likewise.
1770 * sysdeps/i386/stpncpy.S: Likewise.
1771 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1772 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1773 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1774 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1776 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1778 * elf/dl-open.c: Fix typos.
1779 * iconvdata/gbbig5.c: Likewise.
1780 * iconvdata/iso-2022-jp.c: Likewise.
1781 * iconv/gconv_int.h: Likewise.
1782 * iconv/loop.c: Likewise.
1783 * nis/rpcsvc/nis.h: Likewise.
1784 * resolv/ns_name.c: Likewise.
1785 * stdio-common/vfscanf.c: Likewise.
1786 * streams/stropts.h: Likewise.
1787 * sunrpc/rpc_thread.c: Likewise.
1788 * sysdeps/i386/strpbrk.S: Likewise.
1789 * sysdeps/ieee754/k_standard.c: Likewise.
1790 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1792 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1793 * sysdeps/mach/hurd/profil.c: Likewise.
1794 * sysdeps/s390/dl-procinfo.h: Likewise.
1795 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1796 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1797 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1798 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1799 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1801 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1803 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1806 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1808 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1810 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1811 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1812 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1813 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1814 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1815 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1816 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1817 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1819 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1820 Roland McGrath <roland@hack.frob.com>
1822 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1823 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1825 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1827 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1828 __executable_start symbol instead of _start.
1830 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1832 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1833 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1835 * sysdeps/gnu/ldsodefs.h: ... this new file.
1837 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1838 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1839 instead of ELFOSABI_LINUX.
1841 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1842 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1843 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1844 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1846 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1847 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1848 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1850 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1851 (ibm_extended_long_double): Add ieee_nan member.
1852 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1853 (do_test): New function.
1855 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1857 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1858 functions, renamed from truncdfsf_test, trunctfsf_test,
1860 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1862 (do_test): Run all these.
1864 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1866 * argp/argp-help.c: Fix typos.
1867 * argp/argp-parse.c: Likewise.
1868 * debug/backtracesyms.c: Likewise.
1869 * elf/elf.h: Likewise.
1870 * malloc/malloc.c: Likewise.
1871 * nis/nis_print.c: Likewise.
1872 * resolv/res_comp.c: Likewise.
1873 * stdlib/stdlib.h: Likewise.
1874 * sunrpc/clnt_tcp.c: Likewise.
1875 * sunrpc/clnt_udp.c: Likewise.
1876 * sunrpc/clnt_unix.c: Likewise.
1877 * sysdeps/unix/bsd/ptsname.c: Likewise.
1878 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1879 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1886 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1888 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1890 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1893 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1896 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1897 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1898 ($(objpfx)bug-dl-leaf): New rule.
1899 ($(objpfx)bug-dl-leaf.so): Likewise.
1900 ($(objpfx)bug-dl-leaf.out): Likewise.
1901 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1902 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1903 * dlfcn/bug-dl-leaf.c: New test.
1904 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1905 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1906 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1907 (dlclose): Likewise.
1908 (dlmopen): Likewise.
1910 2013-08-27 Roland McGrath <roland@hack.frob.com>
1912 * include/netdb.h [!_ISOMAC]:
1913 Don't include <tls.h>.
1914 (h_errno, __libc_h_errno): Move declaration and macros out of
1917 * include/resolv.h [_RESOLV_H_]:
1918 Don't include <tls.h>.
1919 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1920 * resolv/res_libc.c: Don't include <tls.h>.
1921 (_res): Use __attribute__ ((nocommon)) in place of
1922 __attribute__ ((section (".bss"))).
1924 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1925 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1927 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1929 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1930 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1932 * resolv/res_mkquery.c: Include <sys/time.h>.
1934 * inet/ifreq.c: Moved to ...
1935 * sysdeps/unix/ifreq.c: ... here.
1936 * inet/ifreq.c: New file, true stub version.
1938 * socket/sa_len.c: New file.
1939 * socket/Makefile (aux): Add it.
1940 * sysdeps/unix/sysv/linux/Makefile
1941 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1942 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1943 and #include <socket/sa_len.c>.
1944 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1945 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1947 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1948 * bits/socket.h: ... here.
1950 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1951 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1952 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1954 2013-08-27 Andreas Schwab <schwab@suse.de>
1957 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1958 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1959 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1960 * string/test-strcasecmp.c (test_main): Run tests in several
1962 * string/test-strncasecmp.c (test_main): Likewise.
1964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1965 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1966 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1967 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1968 (__strncasecmp_ssse3) [PIC]: Likewise.
1970 2013-08-26 Roland McGrath <roland@hack.frob.com>
1972 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1974 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1975 instead of explicitly declaring xdecrypt.
1976 * nis/nss_nis/nis-publickey.c: Likewise.
1978 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1981 * nscd/aicache.c: Include res_hconf.h.
1982 (addhstaiX): Initialize res_hconf.
1984 2013-08-26 Andreas Schwab <schwab@suse.de>
1986 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1987 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1989 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1991 * nscd/aicache.c (addhstaiX): Fix indentation.
1993 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1995 * configure.ac: Quote $build_pt_chown test.
1996 * configure: Regenerated.
1998 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2001 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2002 * math/s_cexpf.c (__cexpf): Likewise.
2003 * math/s_cexpl.c (__cexpl): Likewise.
2004 * math/libm-test.inc (cexp_test_data): Correct expected return
2005 value for NaN + i0. Add another test.
2007 2013-08-22 David S. Miller <davem@davemloft.net>
2009 * po/ca.po: Update Catalan translation from translation project.
2010 * po/uk.po: Add Ukrainian translations from translation project.
2012 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2015 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2016 is infinite, not alongside NaN test.
2017 * math/s_fdimf.c (__fdimf): Likewise.
2018 * math/s_fdiml.c (__fdiml): Likewise.
2019 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2022 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2024 * argp/argp-help.c: Fix typos.
2025 * crypt/speeds.c: Likewise.
2026 * csu/check_fds.c: Likewise.
2027 * elf/dl-load.c: Likewise.
2028 * elf/dl-open.c: Likewise.
2029 * elf/reldep3.c: Likewise.
2030 * elf/reldep.c: Likewise.
2031 * elf/sprof.c: Likewise.
2032 * iconv/iconv_charmap.c: Likewise.
2033 * iconv/skeleton.c: Likewise.
2034 * iconv/strtab.c: Likewise.
2035 * io/lockf64.c: Likewise.
2036 * libio/libioP.h: Likewise.
2037 * resolv/gai_notify.c: Likewise.
2038 * resolv/ns_name.c: Likewise.
2039 * resolv/ns_samedomain.c: Likewise.
2040 * resolv/res_send.c: Likewise.
2041 * stdlib/random.c: Likewise.
2042 * sunrpc/rpc/xdr.h: Likewise.
2043 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2044 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2045 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2046 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2047 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2050 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2051 * sysdeps/mach/hurd/check_fds.c: Likewise.
2052 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2053 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2054 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2055 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2056 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2057 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2058 * sysdeps/pthread/aio_notify.c: Likewise.
2059 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2060 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2061 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2062 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2063 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2065 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2067 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2068 version if bit_Slow_SSE4_2 is set.
2069 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2070 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2072 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2075 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2076 trampoline stack frame information.
2077 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2078 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2079 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2080 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2081 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2082 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2083 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2084 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2086 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2087 interrupting a syscall and set with option SA_SIGINFO.
2089 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2092 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2093 argument is infinite.
2094 * math/s_cprojf.c (__cprojf): Likewise.
2095 * math/s_cprojl.c (__cprojl): Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2097 * math/libm-test.inc (cproj_test_data): Add more tests.
2099 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2101 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2102 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2103 size. Use __ffs to determine corresponding shift.
2105 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2106 Roland McGrath <roland@hack.frob.com>
2108 * Makefile (INSTALL): Remove trailing blank lines from output of
2111 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2113 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2114 Align 32 bit compat elf_greg to 8 bytes.
2116 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2118 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2120 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2122 * string/strcoll_l.c (coll_seq): New structure.
2123 (get_next_seq_cached): New function.
2124 (get_next_seq): New function.
2125 (do_compare): New function.
2126 (STRCOLL): Use GNU style definition. Simplify implementation
2127 by using get_next_seq, get_next_seq_cached and do_compare.
2129 2013-08-16 Florian Weimer <fweimer@redhat.com>
2133 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2135 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2137 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2138 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2139 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2141 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2142 GETDENTS_64BIT_ALIGNED.
2143 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2144 * manual/filesys.texi (Reading/Closing Directory): Document
2145 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2147 * manual/conf.texi (Limits for Files): Add portability note to
2149 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2151 2013-08-13 Andreas Schwab <schwab@suse.de>
2154 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2156 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2157 LDBL_MAX_EXP >= 16384]: Add tests for it.
2159 2013-08-12 David S. Miller <davem@davemloft.net>
2161 * version.h (RELEASE): Set to "development".
2162 (VERSION): Set to "2.18.90".
2163 * NEWS: Add 2.19 section.
2165 2013-08-03 David S. Miller <davem@davemloft.net>
2167 * po/ko.po: Update Korean translation from translation project.
2169 2013-08-01 David S. Miller <davem@davemloft.net>
2171 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2172 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2175 2013-07-30 David S. Miller <davem@davemloft.net>
2177 * po/fr.po: Update French translation from translation project.
2179 2013-07-28 David S. Miller <davem@davemloft.net>
2181 * po/cs.po: Update Czech translation from translation project.
2183 * po/sv.po: Update Swedish translation from translation project.
2185 2013-07-27 David S. Miller <davem@davemloft.net>
2187 * po/eo.po: Update Esperanto translation from translation project.
2189 * po/vi.po: Update Vietnamese translation from translation project.
2191 * po/de.po: Update German translation from translation project.
2193 2013-07-26 David S. Miller <davem@davemloft.net>
2195 * po/bg.po: Update Bulgarian translation from translation project.
2197 * po/nl.po: Update Dutch translation from translation project.
2198 * po/pl.po: Update Polish translation from translation project.
2199 * po/ru.po: Update Russian translation from translation project.
2201 2013-07-24 David S. Miller <davem@davemloft.net>
2203 * po/libc.pot: Update.
2205 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2207 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2209 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2210 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2211 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2213 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2215 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2217 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2218 Andreas Schwab <schwab@suse.de>
2219 Roland McGrath <roland@hack.frob.com>
2220 Joseph Myers <joseph@codesourcery.com>
2221 Carlos O'Donell <carlos@redhat.com>
2224 * config.h.in: Define HAVE_PT_CHOWN.
2225 * config.make.in (build-pt-chown): New variable.
2226 * configure.in (--enable-pt_chown): New configure option.
2227 * configure: Regenerate.
2228 * login/Makefile: Include Makeconfig. Build pt_chown only if
2229 build-pt-chown is enabled.
2230 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2231 pt_chown to fix pty ownership.
2232 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2234 * manual/install.texi (Configuring and compiling): Mention
2235 --enable-pt_chown. Add @findex for grantpt.
2236 * INSTALL: Regenerate.
2238 2013-07-20 David S. Miller <davem@davemloft.net>
2240 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2241 difference between 32-bit and 64-bit.
2243 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2246 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2247 Avoid system header dependency with -ffreestanding.
2248 ($(objpfx)bits/syscall%d): Likewise.
2250 2013-07-13 David S. Miller <davem@davemloft.net>
2252 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2253 underflows from atanl/atan2l due to bug 15319.
2254 (casinh_test_data): Likewise.
2256 2013-07-07 David S. Miller <davem@davemloft.net>
2258 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2260 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2262 * sysdeps/i386/fpu/libm-test-ulps: Update.
2263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2265 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2267 * configure.in (--enable-lock-elision): Fix message text.
2268 * INSTALL: Regenerate.
2269 * configure: Regenerate.
2271 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2275 2013-07-03 Andreas Jaeger <aj@suse.de>
2277 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2279 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2280 (ptrace_peeksiginfo_args): Add.
2281 (__ptrace_peeksiginfo_flags): Add.
2282 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2283 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2284 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2286 2013-07-03 Allan McRae <allan@archlinux.org>
2288 * sysdeps/i386/fpu/libm-test-ulps: Update.
2290 2013-07-02 David S. Miller <davem@davemloft.net>
2292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2294 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2298 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2300 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2303 2013-07-02 Andi Kleen <ak@linux.intel.com>
2305 * config.h.in (ENABLE_LOCK_ELISION): Add.
2306 * configure.in (--enable-lock-elision): Add option.
2307 * manual/install.texi: Document --enable lock elision.
2308 * configure: Regenerate
2309 * INSTALL: Regenerate.
2311 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2313 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2314 SSE4.2 strcasecmp for libc.a.
2315 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2317 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2320 * soft-fp/op-common.h (_FP_FMA): New macro.
2321 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2322 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2323 (_FP_MUL_MEAT_1_imm): ... here.
2324 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2325 (_FP_MUL_MEAT_1_wide): ... here.
2326 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2327 (_FP_MUL_MEAT_1_hard): ... here.
2328 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2329 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2330 (_FP_MUL_MEAT_2_wide): ... here.
2331 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2332 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2333 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2334 (_FP_MUL_MEAT_2_gmp): ... here.
2335 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2336 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2337 (_FP_MUL_MEAT_4_wide): ... here.
2338 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2339 (_FP_MUL_MEAT_4_gmp): ... here.
2340 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2341 (_FP_WFRACBITS_DW_S): Likewise.
2342 (_FP_WFRACXBITS_DW_S): Likewise.
2343 (_FP_HIGHBIT_DW_S): Likewise.
2344 (FP_FMA_S): Likewise.
2345 (_FP_FRAC_HIGH_DW_S): Likewise.
2346 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2347 (_FP_WFRACBITS_DW_D): Likewise.
2348 (_FP_WFRACXBITS_DW_D): Likewise.
2349 (_FP_HIGHBIT_DW_D): Likewise.
2350 (FP_FMA_D): Likewise.
2351 (_FP_FRAC_HIGH_DW_D): Likewise.
2352 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2353 (_FP_WFRACBITS_DW_E): Likewise.
2354 (_FP_WFRACXBITS_DW_E): Likewise.
2355 (_FP_HIGHBIT_DW_E): Likewise.
2356 (FP_FMA_E): Likewise.
2357 (_FP_FRAC_HIGH_DW_E): Likewise.
2358 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2359 (_FP_WFRACBITS_DW_Q): Likewise.
2360 (_FP_WFRACXBITS_DW_Q): Likewise.
2361 (_FP_HIGHBIT_DW_Q): Likewise.
2362 (FP_FMA_Q): Likewise.
2363 (_FP_FRAC_HIGH_DW_Q): Likewise.
2364 * soft-fp/fmasf4.c: New file.
2365 * soft-fp/fmadf4.c: Likewise.
2366 * soft-fp/fmatf4.c: Likewise.
2368 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2371 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2373 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2375 (index_Slow_SSE4_2): Likewise.
2376 (index_Prefer_PMINUB_for_stringop): Likewise.
2377 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2378 bit_Slow_SSE4_2 is set.
2379 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2380 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2382 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2384 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2385 rtld_global._dl_hwcap2.
2386 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2388 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2389 POWER8 feature descriptions defined in _dl_hwcap2.
2390 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2391 string handling for POWER8 feature bits.
2392 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2393 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2394 _dl_powerpc_cap_flags.
2395 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2396 * sysdeps/powerpc/rtld-global-offsets.sym
2397 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2398 _dl_hwcap2 in the rtld_global_ro structure.
2400 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2402 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2403 hardware capabilities in support of AT_HWCAP2.
2404 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2405 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2407 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2408 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2409 explicitly the unknown a_type display mechanism is used.
2410 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2411 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2413 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2414 to macro prototype for AT_HWCAP2 support.
2415 * sysdeps/i386/dl-procinfo.h: Likewise.
2416 * sysdeps/s390/dl-procinfo.h: Likewise.
2417 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2418 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2419 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2420 return -1 for unknown a_type display fallback.
2421 * sysdeps/sparc/dl-procinfo.h: Likewise.
2422 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2423 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2425 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2427 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2428 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2430 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2433 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2434 mprotect making __stack_prot writable.
2436 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2437 Joseph Myers <joseph@codesourcery.com>
2439 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2440 as being properly aligned.
2442 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2444 * dlfcn/modstatic5.c: New file.
2445 * dlfcn/tststatic5.c: New file.
2446 * dlfcn/Makefile (tests): Add tststatic5.
2447 (tests-static): Likewise.
2448 (modules-names): Add modstatic5.
2449 (tststatic5-ENV): New variable.
2450 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2453 * elf/dl-support.c (_dl_main_map): New variable.
2454 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2455 (_dl_nns, _dl_load_adds): Set to 1.
2456 (_dl_initial_searchlist): Refer to _dl_main_map.
2457 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2458 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2459 call to _dl_get_origin.
2460 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2462 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2463 * dlfcn/modstatic3.c: New file.
2464 * dlfcn/tststatic3.c: New file.
2465 * dlfcn/tststatic4.c: New file.
2466 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2467 (tests-static): Likewise.
2468 (modules-names): Add modstatic3.
2469 (tststatic3-ENV, tststatic4-ENV): New variables.
2470 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2471 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2473 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2475 * configure.in (CC): Require GCC version 4.4 or later.
2476 * configure: Regenerated.
2477 * manual/install.texi (Tools for Compilation): Update GCC version
2479 * INSTALL: Regenerated.
2481 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2484 * string/test-memcmp.c (check2): New.
2485 (main): Call check2.
2487 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2489 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2492 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2494 (dl_open_worker) [!SHARED]: ... here.
2496 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2498 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2500 2013-06-25 Richard Henderson <rth@redhat.com>
2502 * locale/programs/locarchive.c: Include <libc-internal.h>
2504 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2506 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2507 trailing whitespace removed.
2509 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2512 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2513 * locale/programs/locarchive.c: Include libc-mmap.h.
2514 (prepare_address_space): Take two new outputs (the mmap base and len).
2515 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2517 (create_archive): Declare new mmap base and len values for
2518 prepare_address_space, and store the result in ah.
2519 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2520 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2521 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2522 Declare new mmap base and len values for
2523 prepare_address_space, and store the result in new_ah.
2524 (open_archive): Declare new mmap base and len values for
2525 prepare_address_space, and store the result in ah.
2526 (close_archive): If ah->mmap_base is not NULL, use that and
2527 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2528 * sysdeps/generic/libc-mmap.h: New file.
2530 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2532 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2533 (ALIGN_UP): Likewise.
2534 (PTR_ALIGN_DOWN): Likewise.
2535 (PTR_ALIGN_UP): Likewise.
2537 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2539 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2540 entry mapped to PPC_PLATFORM_POWER8.
2541 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2543 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2544 (_dl_string_platform): Add case for exporting platform position for
2546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2547 search path to sysdeps/powerpc/powerpc32/power8 directory.
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2549 search path to sysdeps/powerpc/powerpc64/power8 directory.
2550 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2552 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2555 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2557 * INSTALL: Regenerate.
2559 * nscd/connections.c (nscd_init): Fix comment.
2561 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2563 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2566 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2567 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2569 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2571 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2573 (DL_DST_REQ_STATIC): Remove macro.
2575 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2578 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2579 with a shift of 0 bits.
2581 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2583 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2586 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2589 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2591 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2593 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2594 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2595 accepts -fno-tree-loop-distribute-patterns.
2596 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2597 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2599 * string/memset.c (memset): Likewise.
2600 * string/test-memmove.c (simple_memmove): Disable loop transformation
2602 * string/test-memset.c (simple_memset): Likewise.
2603 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2604 * benchtests/bench-memset.c (simple_memset): Likewise.
2605 * configure: Regenerated.
2607 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2609 * math/test-misc.c (main): Ignore fesetround failure when failures
2610 of subsequent rounding tests would be ignored.
2613 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2614 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2615 * math/fegetenv.c (__fegetenv): Return 0.
2616 * math/fegetexcept.c (fegetexcept): Return 0.
2617 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2619 * math/feholdexcpt.c (feholdexcept): Return 0.
2620 * math/fesetenv.c (__fesetenv): Return 0.
2621 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2622 argument FE_TONEAREST.
2623 * math/feupdateenv.c (__feupdateenv): Return 0.
2624 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2626 2013-06-18 Roland McGrath <roland@hack.frob.com>
2628 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2629 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2630 ($(objpfx)rtld-%.os rules): Use them.
2632 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2634 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2637 2013-06-17 Roland McGrath <roland@hack.frob.com>
2639 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2640 length of target pattern, then descending length of dependency pattern.
2641 * configure.in (AWK): Require gawk 3.1.2 or newer.
2642 * manual/install.texi (Tools for Compilation): Say that we do.
2643 * configure: Regenerated.
2645 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2646 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2647 * scripts/sysd-rules.awk: ... this new script.
2648 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2649 than a glob-style pattern.
2651 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2653 * math/test-misc.c (main): Do not treat incorrectly rounded
2654 conversions as failure unless ROUNDING_TESTS passes.
2656 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2659 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2660 restore exception state around main square root computation, then
2661 check for inexactness explicitly.
2663 * math/libm-test.inc (fma_test_data): Add another test.
2665 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2667 * manual/threads.texi (Non-POSIX Extensions): New document
2668 node. Document pthread_getattr_default_np and
2669 pthread_setattr_default_np.
2671 * Versions.def (libpthread): Add GLIBC_2.18.
2672 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2681 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2692 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2695 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2697 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2698 H.J. Lu <hjl.tools@gmail.com>
2701 * sysdeps/x86_64/rtld-memset.c: Remove file.
2702 * sysdeps/x86_64/rtld-memset.S: New file.
2704 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2706 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2707 (test_in_one_mode): Take arguments for whether the rounding mode
2708 is supported for each floating-point type.
2709 (do_test): Pass new arguments to test_in_one_mode using
2712 2013-06-13 Roland McGrath <roland@hack.frob.com>
2714 * posix/tst-waitid.c (do_test): Distinguish different instances of
2715 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2716 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2717 before entering the kernel for waitpid.
2719 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2721 * NEWS: Fix note on clock function precision. Text by Roland
2724 2013-06-13 Roland McGrath <roland@hack.frob.com>
2726 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2727 it into place only when and if the sanity check passes.
2729 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2731 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2732 output for whether conversion result is exact. Take argument
2733 indicating whether type is IBM long double.
2734 (round_for_all): Change need_exact field to ibm_ld.
2735 * stdlib/tst-strtod-round.c (struct exactness): New type.
2736 (struct test): Change bool ld_ok field to struct exactness exact.
2737 (TEST): Update all definitions for change to field.
2738 (tests): Regenerate array contents.
2739 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2740 field value. Check for IBM long double here.
2741 (do_test): Update calls to test_in_one_mode.
2743 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2746 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2747 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2749 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2752 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2753 generated by the compiler on loop optimizations.
2754 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2755 general definitions.
2757 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2759 * math/bug-nextafter.c: Include <math-tests.h>.
2760 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2762 * math/bug-nexttoward.c: Include <math-tests.h>.
2763 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2765 * math/test-misc.c: Include <math-tests.h>.
2766 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2769 2013-06-12 Andreas Jaeger <aj@suse.de>
2771 * po/ia.po: Update Interlingua translation from translation
2774 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2776 * include/fenv.h: Include stdbool.h.
2777 (struct rm_ctx): New structure.
2778 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2780 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2781 (SET_RESTORE_ROUNDF): Likewise.
2782 (SET_RESTORE_ROUNDL): Likewise.
2783 (SET_RESTORE_ROUND_NOEX): Likewise.
2784 (SET_RESTORE_ROUND_NOEXF): Likewise.
2785 (SET_RESTORE_ROUND_NOEXL): Likewise.
2786 (SET_RESTORE_ROUND_53BIT): Likewise.
2787 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2788 (libc_feresetround_noexf_ctx): Likewise.
2789 (libc_feresetround_noexl_ctx): Likewise.
2790 (libc_feholdsetround_53bit_ctx): Likewise.
2791 (libc_feresetround_53bit_ctx): Likewise.
2792 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2793 (libc_feholdexcept_setround_sse_ctx): New function.
2794 (libc_fesetenv_sse_ctx): Likewise.
2795 (libc_feupdateenv_sse_ctx): Likewise.
2796 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2797 (libc_feholdexcept_setround_387_ctx): Likewise.
2798 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2799 (libc_feholdsetround_387_prec_ctx): Likewise.
2800 (libc_feholdsetround_387_ctx): Likewise.
2801 (libc_feholdsetround_387_53bit_ctx): Likewise.
2802 (libc_feholdsetround_sse_ctx): Likewise.
2803 (libc_feresetround_sse_ctx): Likewise.
2804 (libc_feresetround_387_ctx): Likewise.
2805 (libc_feupdateenv_387_ctx): Likewise.
2806 (libc_feholdexcept_setroundf_ctx): Define macro.
2807 (libc_fesetenvf_ctx): Likewise.
2808 (libc_feupdateenvf_ctx): Likewise.
2809 (libc_feholdsetroundf_ctx): Likewise.
2810 (libc_feresetroundf_ctx): Likewise.
2811 (libc_feholdexcept_setround_ctx): Likewise.
2812 (libc_fesetenv_ctx): Likewise.
2813 (libc_feupdateenv_ctx): Likewise.
2814 (libc_feholdsetround_ctx): Likewise.
2815 (libc_feresetround_ctx): Likewise.
2816 (libc_feholdexcept_setroundl_ctx): Likewise.
2817 (libc_feupdateenvl_ctx): Likewise.
2818 (libc_feholdsetroundl_ctx): Likewise.
2819 (libc_feresetroundl_ctx): Likewise.
2820 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2821 (libc_feresetround_53bit_ctx): Likewise.
2823 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2825 * locale/iso-639.def: Convert to UTF-8.
2827 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2829 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2830 (EXCEPTION_TESTS_double): Likewise.
2831 (EXCEPTION_TESTS_long_double): Likewise.
2832 (EXCEPTION_TESTS): Likewise.
2833 * math/libm-test.inc (test_exceptions): Only test exceptions if
2834 EXCEPTION_TESTS (FLOAT).
2836 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2838 * benchtests/Makefile (string-bench): Add strcpy_chk and
2840 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2841 * benchtests/bench-stpcpy_chk.c: New file.
2842 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2843 * benchtests/bench-strcpy_chk.c: New file.
2844 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2846 (do_test): Likewise.
2848 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2850 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2851 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2852 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2853 with tabs where appropriate.
2854 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2856 [PPC_PLATFORM_PPC440]: Likewise.
2857 [PPC_PLATFORM_PPC464]: Likewise.
2858 [PPC_PLATFORM_PPC476]: Likewise.
2859 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2860 ppc464, and ppc476 platform strings merging from ports/
2863 2013-06-11 Andreas Schwab <schwab@suse.de>
2866 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2867 (from_ucs4_idx): Regenerate.
2868 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2869 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2870 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2871 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2872 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2873 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2874 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2875 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2876 from FROM_LOOP and TO_LOOP specific macros.
2877 (BODY): Handle combining characters.
2878 * iconvdata/BIG5HKSCS.irreversible: Update.
2879 * iconvdata/BIG5HKSCS.precomposed: New file.
2880 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2882 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2884 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2886 * include/sys/time.h: Fix indentation and add copyright header.
2888 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2889 (do_test): Likewise.
2890 * string/test-memchr.c (do_one_test): Likewise.
2891 (do_test): Likewise.
2892 * string/test-memcmp.c (do_one_test): Likewise.
2893 (do_test): Likewise.
2894 * string/test-memcpy.c (do_one_test): Likewise.
2895 (do_test): Likewise.
2896 * string/test-memmem.c (do_one_test): Likewise.
2897 (do_test): Likewise.
2898 (do_random_tests): Likewise.
2899 * string/test-memmove.c (do_one_test): Likewise.
2900 (do_test): Likewise.
2901 * string/test-memset.c (do_one_test): Likewise.
2902 (do_test): Likewise.
2903 * string/test-rawmemchr.c (do_one_test): Likewise.
2904 (do_test): Likewise.
2905 * string/test-strcasecmp.c (do_one_test): Likewise.
2906 (do_test): Likewise.
2907 * string/test-strcasestr.c (do_one_test): Likewise.
2908 (do_test): Likewise.
2909 * string/test-strcat.c (do_one_test): Likewise.
2910 (do_test): Likewise.
2911 * string/test-strchr.c (do_one_test): Likewise.
2912 (do_test): Likewise.
2913 * string/test-strcmp.c (do_one_test): Likewise.
2914 (do_test): Likewise.
2915 * string/test-strcpy.c (do_one_test): Likewise.
2916 (do_test): Likewise.
2917 * string/test-string.h: Likewise.
2918 (test_init): Likewise.
2919 * string/test-strlen.c (do_one_test): Likewise.
2920 (do_test): Likewise.
2921 * string/test-strncasecmp.c (do_one_test): Likewise.
2922 (do_test): Likewise.
2923 * string/test-strncat.c (do_one_test): Likewise.
2924 (do_test): Likewise.
2925 * string/test-strncmp.c (do_one_test): Likewise.
2926 (do_test_limit): Likewise.
2927 (do_test): Likewise.
2928 * string/test-strncpy.c (do_one_test): Likewise.
2929 (do_test): Likewise.
2930 * string/test-strnlen.c (do_one_test): Likewise.
2931 (do_test): Likewise.
2932 * string/test-strpbrk.c (do_one_test): Likewise.
2933 (do_test): Likewise.
2934 * string/test-strrchr.c (do_one_test): Likewise.
2935 (do_test): Likewise.
2936 * string/test-strspn.c (do_one_test): Likewise.
2937 (do_test): Likewise.
2938 * string/test-strstr.c (do_one_test): Likewise.
2939 (do_test): Likewise.
2941 * benchtests/Makefile (string-bench): Add string benchmarks.
2942 * benchtests/bench-bcopy-ifunc.c: New file.
2943 * benchtests/bench-bcopy.c: New file.
2944 * benchtests/bench-bzero-ifunc.c: New file.
2945 * benchtests/bench-bzero.c: New file.
2946 * benchtests/bench-memccpy-ifunc.c: New file.
2947 * benchtests/bench-memccpy.c: New file.
2948 * benchtests/bench-memchr-ifunc.c: New file.
2949 * benchtests/bench-memchr.c: New file.
2950 * benchtests/bench-memcmp-ifunc.c: New file.
2951 * benchtests/bench-memcmp.c: New file.
2952 * benchtests/bench-memmem-ifunc.c: New file.
2953 * benchtests/bench-memmem.c: New file.
2954 * benchtests/bench-memmove-ifunc.c: New file.
2955 * benchtests/bench-memmove.c: New file.
2956 * benchtests/bench-mempcpy-ifunc.c: New file.
2957 * benchtests/bench-mempcpy.c: New file.
2958 * benchtests/bench-memset-ifunc.c: New file.
2959 * benchtests/bench-memset.c: New file.
2960 * benchtests/bench-rawmemchr-ifunc.c: New file.
2961 * benchtests/bench-rawmemchr.c: New file.
2962 * benchtests/bench-stpcpy-ifunc.c: New file.
2963 * benchtests/bench-stpcpy.c: New file.
2964 * benchtests/bench-stpncpy-ifunc.c: New file.
2965 * benchtests/bench-stpncpy.c: New file.
2966 * benchtests/bench-strcasecmp-ifunc.c: New file.
2967 * benchtests/bench-strcasecmp.c: New file.
2968 * benchtests/bench-strcasestr-ifunc.c: New file.
2969 * benchtests/bench-strcasestr.c: New file.
2970 * benchtests/bench-strcat-ifunc.c: New file.
2971 * benchtests/bench-strcat.c: New file.
2972 * benchtests/bench-strchr-ifunc.c: New file.
2973 * benchtests/bench-strchr.c: New file.
2974 * benchtests/bench-strchrnul-ifunc.c: New file.
2975 * benchtests/bench-strchrnul.c: New file.
2976 * benchtests/bench-strcmp-ifunc.c: New file.
2977 * benchtests/bench-strcmp.c: New file.
2978 * benchtests/bench-strcpy-ifunc.c: New file.
2979 * benchtests/bench-strcpy.c: New file.
2980 * benchtests/bench-strcspn-ifunc.c: New file.
2981 * benchtests/bench-strcspn.c: New file.
2982 * benchtests/bench-strlen-ifunc.c: New file.
2983 * benchtests/bench-strlen.c: New file.
2984 * benchtests/bench-strncasecmp-ifunc.c: New file.
2985 * benchtests/bench-strncasecmp.c: New file.
2986 * benchtests/bench-strncat-ifunc.c: New file.
2987 * benchtests/bench-strncat.c: New file.
2988 * benchtests/bench-strncmp-ifunc.c: New file.
2989 * benchtests/bench-strncmp.c: New file.
2990 * benchtests/bench-strncpy-ifunc.c: New file.
2991 * benchtests/bench-strncpy.c: New file.
2992 * benchtests/bench-strnlen-ifunc.c: New file.
2993 * benchtests/bench-strnlen.c: New file.
2994 * benchtests/bench-strpbrk-ifunc.c: New file.
2995 * benchtests/bench-strpbrk.c: New file.
2996 * benchtests/bench-strrchr-ifunc.c: New file.
2997 * benchtests/bench-strrchr.c: New file.
2998 * benchtests/bench-strspn-ifunc.c: New file.
2999 * benchtests/bench-strspn.c: New file.
3000 * benchtests/bench-strstr-ifunc.c: New file.
3001 * benchtests/bench-strstr.c: New file.
3003 * benchtests/Makefile: Disable parallel execution of targets.
3004 (string-bench): Add memcpy.
3005 (benchset): New variable to store a list of benchmark sets.
3006 (bench-func): Renamed from bench.
3007 (bench-set): New target.
3008 (bench): Depend on bench-func and bench-set.
3009 * benchtests/README: Add section on benchmark sets.
3010 * benchtests/bench-memcpy-ifunc.c: New file.
3011 * benchtests/bench-memcpy.c: New file.
3012 * benchtests/bench-string.h: New file.
3014 2013-06-11 Andreas Schwab <schwab@suse.de>
3017 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3018 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3019 values in the triple.
3020 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3021 terminator in the group key.
3023 2013-06-11 Andreas Jaeger <aj@suse.de>
3025 * po/zh_TW.po: Update Chinese (traditional) translation from
3026 translation project.
3028 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3030 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3031 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3032 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3033 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3034 (clock_getcpuclockid): Likewise.
3035 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3036 Add weak_alias and libc_hidden_def.
3037 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3038 * rt/clock_gettime.c (clock_gettime): Rename to
3039 __clock_gettime. Add weak_alias and libc_hidden_def.
3040 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3041 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3042 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3043 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3044 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3046 * rt/clock_settime.c (clock_settime): Rename to
3047 __clock_settime. Add weak_alias and libc_hidden_def.
3048 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3050 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3052 * mach/err_boot.sub: Remove trailing whitespace.
3053 * mach/err_ipc.sub: Likewise.
3054 * mach/err_mach.sub: Likewise.
3056 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3057 (ROUNDING_TESTS_double): Likewise.
3058 (ROUNDING_TESTS_long_double): Likewise.
3059 (ROUNDING_TESTS): Likewise.
3060 * math/libm-test.inc: Include <math-tests.h>.
3061 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3062 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3063 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3064 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3066 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3068 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3071 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3073 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3074 otherwise empty TRANS lines.
3075 * sysdeps/gnu/errlist.c: Regenerated.
3077 * catgets/gencat.c (error_print): Use (void) in function
3079 * crypt/crypt_util.c (__init_des): Likewise.
3080 * crypt/speeds.c (Stop): Likewise.
3082 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3083 * inet/ruserpass.c (token): Likewise.
3084 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3085 * intl/localealias.c (extend_alias_table): Likewise.
3086 * intl/plural-exp.c (init_germanic_plural): Likewise.
3087 * libio/fcloseall.c (__fcloseall): Likewise.
3088 * libio/genops.c (_IO_flush_all): Likewise.
3089 (_IO_flush_all_linebuffered): Likewise.
3090 (_IO_cleanup): Likewise.
3091 (_IO_iter_begin): Likewise.
3092 (_IO_iter_end): Likewise.
3093 (_IO_list_lock): Likewise.
3094 (_IO_list_unlock): Likewise.
3095 (_IO_list_resetlock): Likewise.
3096 * libio/getchar.c (getchar): Likewise.
3097 * libio/getchar_u.c (getchar_unlocked): Likewise.
3098 * libio/getwchar.c (getwchar): Likewise.
3099 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3100 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3101 * login/getpt.c (__getpt): Likewise.
3102 * login/tst-utmp.c (main): Likewise.
3103 * malloc/hooks.c (__malloc_check_init): Likewise.
3104 * malloc/malloc.c (__malloc_stats): Likewise.
3105 * malloc/mtrace.c (tr_break): Likewise.
3107 (muntrace): Likewise.
3108 * misc/fstab.c (endfsent): Likewise.
3109 * misc/getclktck.c (__getclktck): Likewise.
3110 * misc/getdtsz.c (__getdtablesize): Likewise.
3111 * misc/gethostid.c (gethostid): Likewise.
3112 * misc/getpagesize.c (__getpagesize): Likewise.
3113 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3114 (__get_nprocs): Likewise.
3115 (__get_phys_pages): Likewise.
3116 (__get_avphys_pages): Likewise.
3117 * misc/getttyent.c (getttyent): Likewise.
3118 (setttyent): Likewise.
3119 (endttyent): Likewise.
3120 * misc/getusershell.c (getusershell): Likewise.
3121 (endusershell): Likewise.
3122 (setusershell): Likewise.
3123 (initshells): Likewise.
3124 * misc/hsearch.c (__hdestroy): Likewise.
3125 * misc/sync.c (sync): Likewise.
3126 * misc/syslog.c (closelog_internal): Likewise.
3127 (closelog): Likewise.
3128 * misc/ttyslot.c (ttyslot): Likewise.
3129 * misc/vhangup.c (vhangup): Likewise.
3130 * posix/fork.c (__fork): Likewise.
3131 * posix/getegid.c (__getegid): Likewise.
3132 * posix/geteuid.c (__geteuid): Likewise.
3133 * posix/getgid.c (__getgid): Likewise.
3134 * posix/getpid.c (__getpid): Likewise.
3135 * posix/getppid.c (__getppid): Likewise.
3136 * posix/getuid.c (__getuid): Likewise.
3137 * posix/pause.c (pause): Likewise.
3138 * posix/setpgrp.c (setpgrp): Likewise.
3139 * posix/setsid.c (__setsid): Likewise.
3140 * posix/test-vfork.c (noop): Likewise.
3141 * resolv/gethnamaddr.c (_endhtent): Likewise.
3142 (_gethtent): Likewise.
3143 (ht_endhostent): Likewise.
3144 (gethostent): Likewise.
3145 (dns_service): Likewise.
3146 * stdlib/drand48.c (drand48): Likewise.
3147 * stdlib/lrand48.c (lrand48): Likewise.
3148 * stdlib/mrand48.c (mrand48): Likewise.
3149 * stdlib/rand.c (rand): Likewise.
3150 * stdlib/random.c (__random): Likewise.
3151 * stdlib/setenv.c (clearenv): Likewise.
3152 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3153 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3154 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3155 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3156 (__get_nprocs): Likewise.
3157 (__get_phys_pages): Likewise.
3158 (__get_avphys_pages): Likewise.
3159 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3160 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3161 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3162 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3163 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3164 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3165 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3166 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3167 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3168 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3169 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3170 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3171 * sysdeps/posix/clock.c (clock): Likewise.
3172 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3173 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3174 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3175 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3176 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3178 (__get_nprocs_conf): Likewise.
3179 (__get_phys_pages): Likewise.
3180 (__get_avphys_pages): Likewise.
3181 * time/clock.c (clock): Likewise.
3182 * time/tzset.c (__tzname_max): Likewise.
3184 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3186 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3187 (__bswap_32): Do not use "register".
3188 * crypt/crypt.c (_ufc_doit_r): Likewise.
3189 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3190 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3191 * gmon/gmon.c (__monstartup): Likewise.
3192 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3193 * hurd/hurdmalloc.c (more_memory): Likewise.
3196 (realloc): Likewise.
3197 (malloc_fork_prepare): Likewise.
3198 (malloc_fork_parent): Likewise.
3199 (malloc_fork_child): Likewise.
3200 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3201 (_svcauth_des): Likewise.
3202 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3203 * inet/inet_net.c (inet_network): Likewise.
3204 * inet/inet_netof.c (inet_netof): Likewise.
3205 * inet/rcmd.c (__validuser2_sa): Likewise.
3206 * io/fts.c (fts_open): Likewise.
3207 (fts_load): Likewise.
3208 (fts_close): Likewise.
3209 (fts_read): Likewise.
3210 (fts_children): Likewise.
3211 (fts_build): Likewise.
3212 (fts_stat): Likewise.
3213 (fts_sort): Likewise.
3214 (fts_alloc): Likewise.
3215 (fts_lfree): Likewise.
3216 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3217 (_IO_file_xsgetn): Likewise.
3218 (_IO_file_xsgetn_mmap): Likewise.
3219 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3220 (_IO_cookie_write): Likewise.
3221 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3222 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3223 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3224 * malloc/obstack.c (_obstack_begin): Likewise.
3225 (_obstack_begin_1): Likewise.
3226 (_obstack_newchunk): Likewise.
3227 (_obstack_allocated_p): Likewise.
3228 (obstack_free): Likewise.
3229 (_obstack_memory_used): Likewise.
3230 * misc/getttyent.c (getttynam): Likewise.
3231 (getttyent): Likewise.
3234 * misc/getusershell.c (initshells): Likewise.
3235 * misc/syslog.c (__vsyslog_chk): Likewise.
3236 * misc/ttyslot.c (ttyslot): Likewise.
3237 * nis/nis_hash.c (__nis_hash): Likewise.
3238 * posix/fnmatch_loop.c (FCT): Likewise.
3239 * posix/getconf.c (print_all): Likewise.
3241 * posix/getopt.c (exchange): Likewise.
3242 * posix/glob.c (globfree): Likewise.
3243 (prefix_array): Likewise.
3244 (__glob_pattern_type): Likewise.
3245 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3246 (NS_GET32): Likewise.
3247 (NS_PUT16): Likewise.
3248 (NS_PUT32): Likewise.
3249 * resolv/gethnamaddr.c (getanswer): Likewise.
3250 (gethostbyname2): Likewise.
3251 (gethostbyaddr): Likewise.
3252 (_gethtent): Likewise.
3253 (_gethtbyname2): Likewise.
3254 (_gethtbyaddr): Likewise.
3255 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3256 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3257 * resolv/res_init.c (__res_vinit): Likewise.
3258 (net_mask): Likewise.
3259 * resolv/res_mkquery.c (outchar): Likewise.
3261 * stdio-common/printf_fp.c (outchar): Likewise.
3263 * stdio-common/printf_fphex.c (outchar): Likewise.
3265 * stdio-common/printf_size.c (outchar): Likewise.
3267 * stdio-common/test_rdwr.c (main): Likewise.
3268 * stdio-common/tfformat.c (matches): Likewise.
3269 * stdio-common/vfprintf.c (outchar): Likewise.
3270 (printf_unknown): Likewise.
3271 (buffered_vfprintf): Likewise.
3272 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3273 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3274 (ReadFile): Likewise.
3275 * stdlib/qsort.c (SWAP): Likewise.
3276 (_quicksort): Likewise.
3277 * stdlib/setenv.c (__add_to_environ): Likewise.
3278 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3279 * stdlib/strtol_l.c (__strtol_l): Likewise.
3280 * stdlib/tst-strtod.c (main): Likewise.
3281 * stdlib/tst-strtol.c (main): Likewise.
3282 * stdlib/tst-strtoll.c (main): Likewise.
3283 * string/bits/string2.h (__strcmp_cc): Likewise.
3284 (__strcmp_cg): Likewise.
3285 (__strcspn_c1): Likewise.
3286 (__strcspn_c2): Likewise.
3287 (__strcspn_c3): Likewise.
3288 (__strspn_c1): Likewise.
3289 (__strspn_c2): Likewise.
3290 (__strspn_c3): Likewise.
3291 (__strsep_1c): Likewise.
3292 (__strsep_2c): Likewise.
3293 (__strsep_3c): Likewise.
3294 * string/memccpy.c (__memccpy): Likewise.
3295 * string/stpcpy.c (__stpcpy): Likewise.
3296 * string/strcmp.c (strcmp): Likewise.
3297 * string/strrchr.c (strrchr): Likewise.
3298 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3300 * sysdeps/mach/hurd/getcwd.c
3301 (_hurd_canonicalize_directory_name_internal): Likewise.
3302 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3303 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3304 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3305 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3306 Likewise, in both definitions.
3307 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3309 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3310 64] (__bswap_64): Likewise.
3311 * time/test_time.c (main): Likewise.
3312 * time/tzfile.c (__tzfile_read): Likewise.
3313 (__tzfile_compute): Likewise.
3314 * time/tzset.c (__tzset_parse_tz): Likewise.
3315 (tzset_internal): Likewise.
3316 (compute_change): Likewise.
3317 * wcsmbs/wcscat.c (__wcscat): Likewise.
3318 * wcsmbs/wcschr.c (wcschr): Likewise.
3319 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3320 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3321 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3322 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3323 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3324 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3325 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3326 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3327 * wcsmbs/wmemset.c (wmemset): Likewise.
3329 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3331 * scripts/config.guess: Update to version 2013-05-16.
3332 * scripts/config.sub: Update to version 2013-04-24.
3333 * scripts/install-sh: Update to version 2011-11-20.07.
3334 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3335 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3337 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3339 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3340 * elf/sln.c: Likewise.
3341 * hurd/hurd/ioctl.h: Likewise.
3342 * hurd/hurdmalloc.c: Likewise.
3343 * hurd/xattr.c: Likewise.
3344 * include/shlib-compat.h: Likewise.
3345 * inet/ruserpass.c: Likewise.
3346 * libio/iofgets_u.c: Likewise.
3347 * libio/iofgetws_u.c: Likewise.
3348 * locale/programs/ld-identification.c: Likewise.
3349 * locale/programs/ld-time.c: Likewise.
3350 * mach/msg-destroy.c: Likewise.
3351 * nss/nss_files/files-netgrp.c: Likewise.
3352 * resolv/res_data.c: Likewise.
3353 * soft-fp/op-1.h: Likewise.
3354 * soft-fp/op-2.h: Likewise.
3355 * soft-fp/op-4.h: Likewise.
3356 * soft-fp/op-common.h: Likewise.
3357 * stdio-common/printf_fphex.c: Likewise.
3358 * stdlib/strtod_l.c: Likewise.
3359 * sunrpc/rpc/clnt.h: Likewise.
3360 * sysdeps/generic/framestate.c: Likewise.
3361 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3362 * sysdeps/i386/bsd-setjmp.S: Likewise.
3363 * sysdeps/i386/__longjmp.S: Likewise.
3364 * sysdeps/i386/setjmp.S: Likewise.
3365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3366 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3367 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3383 * sysdeps/ieee754/support.c: Likewise.
3384 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3385 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3386 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3387 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3388 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3389 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3390 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3391 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3392 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3393 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3394 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3395 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3396 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3397 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3398 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3399 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3400 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3403 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3405 * posix/transbug.c: Remove executable mode.
3407 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3409 * crypt/speeds.c: Remove trailing whitespace.
3410 * dlfcn/default.c: Likewise.
3411 * elf/ifuncdep2.c: Likewise.
3412 * elf/ifuncmain1.c: Likewise.
3413 * elf/ifuncmain1vis.c: Likewise.
3414 * elf/testobj.h: Likewise.
3415 * elf/tst-stackguard1.c: Likewise.
3416 * gmon/sys/gmon.h: Likewise.
3417 * hurd/hurdmsg.c: Likewise.
3418 * hurd/new-fd.c: Likewise.
3419 * hurd/ports-get.c: Likewise.
3420 * iconvdata/ibm1008_420.c: Likewise.
3421 * inet/tst-getni1.c: Likewise.
3422 * inet/tst-getni2.c: Likewise.
3423 * libio/ioungetc.c: Likewise.
3424 * libio/wfiledoalloc.c: Likewise.
3425 * manual/libm-err-tab.pl: Likewise.
3426 * math/w_dremf.c: Likewise.
3427 * misc/ftruncate.c: Likewise.
3428 * posix/bug-glob2.c: Likewise.
3429 * posix/tst-pcre.c: Likewise.
3430 * posix/wait4.c: Likewise.
3431 * resolv/README: Likewise.
3432 * resolv/res_debug.h: Likewise.
3433 * resolv/tst-inet_ntop.c: Likewise.
3434 * setjmp/bug269-setjmp.c: Likewise.
3435 * soft-fp/extended.h: Likewise.
3436 * soft-fp/op-1.h: Likewise.
3437 * soft-fp/op-2.h: Likewise.
3438 * soft-fp/op-4.h: Likewise.
3439 * soft-fp/op-8.h: Likewise.
3440 * soft-fp/testit.c: Likewise.
3441 * stdio-common/bug16.c: Likewise.
3442 * stdlib/random.c: Likewise.
3443 * sunrpc/rpcsvc/rquota.x: Likewise.
3444 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3445 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3446 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3447 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3448 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3449 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3450 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3451 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3452 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3453 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3454 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3455 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3456 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3457 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3458 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3460 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3461 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3462 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3463 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3464 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3465 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3466 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3467 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3468 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3469 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3471 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3472 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3473 * sysdeps/ieee754/s_lib_version.c: Likewise.
3474 * sysdeps/mach/hurd/check_fds.c: Likewise.
3475 * sysdeps/mach/hurd/getsockname.c: Likewise.
3476 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3477 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3478 * sysdeps/powerpc/bits/link.h: Likewise.
3479 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3480 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3481 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3482 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3483 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3484 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3485 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3486 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3487 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3488 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3489 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3490 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3491 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3492 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3493 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3494 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3495 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3496 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3498 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3499 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3500 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3502 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3503 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3504 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3505 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3506 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3507 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3508 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3509 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3510 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3511 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3512 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3513 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3514 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3515 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3516 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3517 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3518 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3519 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3520 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3521 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3522 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3523 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3524 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3525 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3526 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3527 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3528 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3531 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3532 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3533 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3534 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3535 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3536 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3537 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3538 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3539 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3540 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3541 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3542 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3543 * sysdeps/powerpc/sysdep.h: Likewise.
3544 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3545 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3546 * sysdeps/sh/dl-trampoline.S: Likewise.
3547 * sysdeps/sh/memset.S: Likewise.
3548 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3549 * sysdeps/sh/strlen.S: Likewise.
3550 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3551 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3552 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3553 * sysdeps/sparc/sparc32/rem.S: Likewise.
3554 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3555 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3556 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3557 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3558 * sysdeps/sparc/sparc32/urem.S: Likewise.
3559 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3560 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3561 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3562 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3563 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3564 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3565 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3566 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3567 * sysdeps/unix/bsd/times.c: Likewise.
3568 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3569 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3573 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3574 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3575 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3576 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3577 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3578 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3579 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3580 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3581 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3582 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3583 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3584 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3585 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3586 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3587 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3588 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3589 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3590 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3591 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3592 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3593 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3594 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3595 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3596 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3597 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3598 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3599 * sysdeps/x86_64/strcspn.S: Likewise.
3601 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3603 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3604 generated file. Regenerate properly from gen-translit.pl.
3605 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3606 locale/C-translit.h.
3608 2013-06-05 Andreas Schwab <schwab@suse.de>
3611 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3612 week as 6 instead of -1.
3613 * time/tst-strptime.c (day_tests): Add test case.
3615 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3617 * sysdeps/generic/math_private.h
3618 (libc_feholdexcept_setround_53bit): Replace with
3619 libc_feholdsetround_53bit.
3620 (libc_feupdateenv_53bit): Replace with
3621 libc_feresetround_53bit.
3622 (SET_RESTORE_ROUND_53BIT): Adjust.
3624 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3626 * string/test-strchrnul.c: Add copyright header.
3628 * posix/tst-getaddrinfo4.c: Increase test timeout.
3630 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3633 * math/libm-test.inc (MAX_EXP): Remove
3635 (ulp): Use MIN_EXP - MANT_DIG.
3636 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3638 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3640 * po/be.po: Revert last change.
3641 * po/zh_CN.po: Likewise.
3642 * po/header.pot: Likewise.
3644 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3646 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3647 link-libc-deps to empty as target-specific variable.
3648 * Makerules (link-libc-args): New variable.
3649 (libc-for-link): Likewise.
3650 (link-libc-deps): Likewise.
3651 (lib%.so): Depend on $(link-libc-deps). Link with
3653 (build-module): Link with $(link-libc-args).
3654 (build-module-asneeded): Likewise.
3655 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3657 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3658 target-specific variable.
3659 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3660 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3661 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3663 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3665 ($(objpfx)libpcprofile.so): Likewise.
3666 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3668 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3669 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3670 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3672 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3673 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3674 * login/Makefile ($(objpfx)libutil.so): Likewise.
3675 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3676 * math/Makefile ($(objpfx)libm.so): Likewise.
3677 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3678 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3679 variable instead of depending directly on libc.
3680 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3681 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3683 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3685 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3686 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3687 ($(objpfx)libanl.so): Likewise.
3688 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3690 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3692 * sysdeps/i386/fpu/Makefile: Remove file.
3693 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3694 ($(objpfx)libm.so): Remove dependency on ld.so.
3696 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3699 * nis/yp_xdr.c (XDRMAXNAME): Define.
3700 (XDRMAXRECORD): Define.
3701 (xdr_domainname): Use XDRMAXNAME.
3702 (xdr_mapname): Likewise.
3703 (xdr_peername): Likewise.
3704 (xdr_keydat): Use XDRMAXRECORD.
3705 (xdr_valdat): Likewise.
3707 2013-05-30 Jeff Law <law@redhat.com>
3710 * manual/errno.texi (ESTALE): Update to account for more than
3711 just NFS file systems.
3712 * sysdeps/gnu/errlist.c: Regenerated.
3714 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3717 * elf/Makefile (tests): Add tst-null-argv.
3718 (modules-names): Add tst-null-argv-lib.
3719 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3720 (tst-null-argv-ENV): Set environment for tst-null-argv.
3721 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3722 (RTLD_PROGNAME): New macro.
3723 * elf/tst-null-argv.c: New test case.
3724 * elf/tst-null-argv-lib.c: Library for test case.
3725 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3726 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3727 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3728 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3729 * elf/dl-init.c (call_init): Likewise.
3730 (_dl_init): Likewise.
3731 * elf/dl-load.c (print_search_path): Likewise.
3732 (_dl_map_object): Likewise.
3733 * elf/dl-lookup.c (do_lookup_x): Likewise.
3734 (add_dependency): Likewise.
3735 (_dl_lookup_symbol_x): Likewise.
3736 (_dl_debug_bindings): Likewise.
3737 * elf/dl-open.c (_dl_show_scope): Likewise.
3738 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3739 * elf/dl-version.c (match_symbol): Likewise.
3740 (_dl_check_map_versions): Likewise.
3741 * elf/rtld.c (dl_main): Likewise.
3742 (print_unresolved): Use RTLD_PROGNAME.
3743 (print_missing_version): Likewise.
3744 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3745 (elf_machine_rela): Likewise.
3746 * sysdeps/powerpc/powerpc32/dl-machine.c
3747 (__process_machine_rela): Likewise.
3748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3750 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3752 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3754 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3755 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3757 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3761 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3763 * po/be.po: Add descriptive title.
3764 * po/zh_CN.po: Likewise.
3765 * po/header.pot: Likewise.
3767 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3769 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3771 (enlarge_archive): Likewise.
3773 2013-05-28 Ben North <ben@redfrontdoor.org>
3775 * manual/arith.texi (frexp): It is the magnitude of the return
3776 value which lies in [0.5, 1), not the return value itself.
3778 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3782 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3784 * stdio-common/bug26.c (main): Correct fscanf template.
3786 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3787 declare _dl_skip_args.
3789 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3792 * manual/platform.texi: Add missing @end deftypefun.
3794 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3797 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3798 bit of mantissa of 2^16382.
3799 * math/libm-test.inc (hypot_test_data): Add more tests.
3801 * math/libm-test.inc: Add drem and pow10 to list of tested
3803 (pow10_test): New function.
3804 (drem_test): Likewise.
3805 (drem_test_tonearest): Likewise.
3806 (drem_test_towardzero): Likewise.
3807 (drem_test_downward): Likewise.
3808 (drem_test_upward): Likewise.
3809 (main): Call the new functions.
3811 * math/libm-test.inc (finite_test_data): Remove.
3812 (finite_test): Run tests from isfinite_test_data.
3813 (gamma_test_data): Remove.
3814 (gamma_test): Run tests from lgamma_test_data.
3815 * sysdeps/i386/fpu/libm-test-ulps: Update.
3816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3818 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3820 * manual/platform.texi: Add PowerPC PPR function set documentation.
3821 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3824 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3826 * math/libm-test.inc (MAX_EXP): Define.
3828 (ulp): New function.
3829 (check_float_internal): Use ULPDIFF.
3830 (cpow_test): Disable failing test.
3831 (check_ulp): Test ulp() implemetnation.
3832 (main): Call check_ulp before starting tests.
3834 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3836 * math/gen-libm-test.pl (generate_testfile): Do not handle
3837 START_DATA and END_DATA.
3838 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3840 (acos_tonearest_test_data): Likewise.
3841 (acos_towardzero_test_data): Likewise.
3842 (acos_downward_test_data): Likewise.
3843 (acos_upward_test_data): Likewise.
3844 (acosh_test_data): Likewise.
3845 (asin_test_data): Likewise.
3846 (asin_tonearest_test_data): Likewise.
3847 (asin_towardzero_test_data): Likewise.
3848 (asin_downward_test_data): Likewise.
3849 (asin_upward_test_data): Likewise.
3850 (asinh_test_data): Likewise.
3851 (atan_test_data): Likewise.
3852 (atanh_test_data): Likewise.
3853 (atan2_test_data): Likewise.
3854 (cabs_test_data): Likewise.
3855 (cacos_test_data): Likewise.
3856 (cacosh_test_data): Likewise.
3857 (carg_test_data): Likewise.
3858 (casin_test_data): Likewise.
3859 (casinh_test_data): Likewise.
3860 (catan_test_data): Likewise.
3861 (catanh_test_data): Likewise.
3862 (cbrt_test_data): Likewise.
3863 (ccos_test_data): Likewise.
3864 (ccosh_test_data): Likewise.
3865 (ceil_test_data): Likewise.
3866 (cexp_test_data): Likewise.
3867 (cimag_test_data): Likewise.
3868 (clog_test_data): Likewise.
3869 (clog10_test_data): Likewise.
3870 (conj_test_data): Likewise.
3871 (copysign_test_data): Likewise.
3872 (cos_test_data): Likewise.
3873 (cos_tonearest_test_data): Likewise.
3874 (cos_towardzero_test_data): Likewise.
3875 (cos_downward_test_data): Likewise.
3876 (cos_upward_test_data): Likewise.
3877 (cosh_test_data): Likewise.
3878 (cosh_tonearest_test_data): Likewise.
3879 (cosh_towardzero_test_data): Likewise.
3880 (cosh_downward_test_data): Likewise.
3881 (cosh_upward_test_data): Likewise.
3882 (cpow_test_data): Likewise.
3883 (cproj_test_data): Likewise.
3884 (creal_test_data): Likewise.
3885 (csin_test_data): Likewise.
3886 (csinh_test_data): Likewise.
3887 (csqrt_test_data): Likewise.
3888 (ctan_test_data): Likewise.
3889 (ctan_tonearest_test_data): Likewise.
3890 (ctan_towardzero_test_data): Likewise.
3891 (ctan_downward_test_data): Likewise.
3892 (ctan_upward_test_data): Likewise.
3893 (ctanh_test_data): Likewise.
3894 (ctanh_tonearest_test_data): Likewise.
3895 (ctanh_towardzero_test_data): Likewise.
3896 (ctanh_downward_test_data): Likewise.
3897 (ctanh_upward_test_data): Likewise.
3898 (erf_test_data): Likewise.
3899 (erfc_test_data): Likewise.
3900 (exp_test_data): Likewise.
3901 (exp_tonearest_test_data): Likewise.
3902 (exp_towardzero_test_data): Likewise.
3903 (exp_downward_test_data): Likewise.
3904 (exp_upward_test_data): Likewise.
3905 (exp10_test_data): Likewise.
3906 (exp2_test_data): Likewise.
3907 (expm1_test_data): Likewise.
3908 (fabs_test_data): Likewise.
3909 (fdim_test_data): Likewise.
3910 (finite_test_data): Likewise.
3911 (floor_test_data): Likewise.
3912 (fma_test_data): Likewise.
3913 (fma_towardzero_test_data): Likewise.
3914 (fma_downward_test_data): Likewise.
3915 (fma_upward_test_data): Likewise.
3916 (fmax_test_data): Likewise.
3917 (fmin_test_data): Likewise.
3918 (fmod_test_data): Likewise.
3919 (fpclassify_test_data): Likewise.
3920 (frexp_test_data): Likewise.
3921 (gamma_test_data): Likewise.
3922 (hypot_test_data): Likewise.
3923 (ilogb_test_data): Likewise.
3924 (isfinite_test_data): Likewise.
3925 (isgreater_test_data): Likewise.
3926 (isgreaterequal_test_data): Likewise.
3927 (isinf_test_data): Likewise.
3928 (isless_test_data): Likewise.
3929 (islessequal_test_data): Likewise.
3930 (islessgreater_test_data): Likewise.
3931 (isnan_test_data): Likewise.
3932 (isnormal_test_data): Likewise.
3933 (issignaling_test_data): Likewise.
3934 (isunordered_test_data): Likewise.
3935 (j0_test_data): Likewise.
3936 (j1_test_data): Likewise.
3937 (jn_test_data): Likewise.
3938 (ldexp_test_data): Likewise.
3939 (lgamma_test_data): Likewise.
3940 (lrint_test_data): Likewise.
3941 (lrint_tonearest_test_data): Likewise.
3942 (lrint_towardzero_test_data): Likewise.
3943 (lrint_downward_test_data): Likewise.
3944 (lrint_upward_test_data): Likewise.
3945 (llrint_test_data): Likewise.
3946 (llrint_tonearest_test_data): Likewise.
3947 (llrint_towardzero_test_data): Likewise.
3948 (llrint_downward_test_data): Likewise.
3949 (llrint_upward_test_data): Likewise.
3950 (log_test_data): Likewise.
3951 (log10_test_data): Likewise.
3952 (log1p_test_data): Likewise.
3953 (log2_test_data): Likewise.
3954 (logb_test_data): Likewise.
3955 (logb_downward_test_data): Likewise.
3956 (lround_test_data): Likewise.
3957 (llround_test_data): Likewise.
3958 (modf_test_data): Likewise.
3959 (nearbyint_test_data): Likewise.
3960 (nextafter_test_data): Likewise.
3961 (nexttoward_test_data): Likewise.
3962 (pow_test_data): Likewise.
3963 (pow_tonearest_test_data): Likewise.
3964 (pow_towardzero_test_data): Likewise.
3965 (pow_downward_test_data): Likewise.
3966 (pow_upward_test_data): Likewise.
3967 (remainder_test_data): Likewise.
3968 (remainder_tonearest_test_data): Likewise.
3969 (remainder_towardzero_test_data): Likewise.
3970 (remainder_downward_test_data): Likewise.
3971 (remainder_upward_test_data): Likewise.
3972 (remquo_test_data): Likewise.
3973 (rint_test_data): Likewise.
3974 (rint_tonearest_test_data): Likewise.
3975 (rint_towardzero_test_data): Likewise.
3976 (rint_downward_test_data): Likewise.
3977 (rint_upward_test_data): Likewise.
3978 (round_test_data): Likewise.
3979 (scalb_test_data): Likewise.
3980 (scalbn_test_data): Likewise.
3981 (scalbln_test_data): Likewise.
3982 (signbit_test_data): Likewise.
3983 (sin_test_data): Likewise.
3984 (sin_tonearest_test_data): Likewise.
3985 (sin_towardzero_test_data): Likewise.
3986 (sin_downward_test_data): Likewise.
3987 (sin_upward_test_data): Likewise.
3988 (sincos_test_data): Likewise.
3989 (sinh_test_data): Likewise.
3990 (sinh_tonearest_test_data): Likewise.
3991 (sinh_towardzero_test_data): Likewise.
3992 (sinh_downward_test_data): Likewise.
3993 (sinh_upward_test_data): Likewise.
3994 (sqrt_test_data): Likewise.
3995 (tan_test_data): Likewise.
3996 (tan_tonearest_test_data): Likewise.
3997 (tan_towardzero_test_data): Likewise.
3998 (tan_downward_test_data): Likewise.
3999 (tan_upward_test_data): Likewise.
4000 (tanh_test_data): Likewise.
4001 (tgamma_test_data): Likewise.
4002 (trunc_test_data): Likewise.
4003 (y0_test_data): Likewise.
4004 (y1_test_data): Likewise.
4005 (yn_test_data): Likewise.
4006 (significand_test_data): Likewise.
4008 * math/gen-libm-test.pl (@functions): Remove variable.
4009 (generate_testfile): Don't handle START and END lines.
4010 * math/libm-test.inc (START): New macro.
4012 (END_COMPLEX): Likewise.
4013 (acos_test): Use END macro without arguments.
4014 (acos_test_tonearest): Likewise.
4015 (acos_test_towardzero): Likewise.
4016 (acos_test_downward): Likewise.
4017 (acos_test_upward): Likewise.
4018 (acosh_test): Likewise.
4019 (asin_test): Likewise.
4020 (asin_test_tonearest): Likewise.
4021 (asin_test_towardzero): Likewise.
4022 (asin_test_downward): Likewise.
4023 (asin_test_upward): Likewise.
4024 (asinh_test): Likewise.
4025 (atan_test): Likewise.
4026 (atanh_test): Likewise.
4027 (atan2_test): Likewise.
4028 (cabs_test): Likewise.
4029 (cacos_test): Use END_COMPLEX macro without arguments.
4030 (cacosh_test): Likewise.
4031 (carg_test): Use END macro without arguments.
4032 (casin_test): Use END_COMPLEX macro without arguments.
4033 (casinh_test): Likewise.
4034 (catan_test): Likewise.
4035 (catanh_test): Likewise.
4036 (cbrt_test): Use END macro without arguments.
4037 (ccos_test): Use END_COMPLEX macro without arguments.
4038 (ccosh_test): Likewise.
4039 (ceil_test): Use END macro without arguments.
4040 (cexp_test): Use END_COMPLEX macro without arguments.
4041 (cimag_test): Use END macro without arguments.
4042 (clog_test): Use END_COMPLEX macro without arguments.
4043 (clog10_test): Likewise.
4044 (conj_test): Likewise.
4045 (copysign_test): Use END macro without arguments.
4046 (cos_test): Likewise.
4047 (cos_test_tonearest): Likewise.
4048 (cos_test_towardzero): Likewise.
4049 (cos_test_downward): Likewise.
4050 (cos_test_upward): Likewise.
4051 (cosh_test): Likewise.
4052 (cosh_test_tonearest): Likewise.
4053 (cosh_test_towardzero): Likewise.
4054 (cosh_test_downward): Likewise.
4055 (cosh_test_upward): Likewise.
4056 (cpow_test): Use END_COMPLEX macro without arguments.
4057 (cproj_test): Likewise.
4058 (creal_test): Use END macro without arguments.
4059 (csin_test): Use END_COMPLEX macro without arguments.
4060 (csinh_test): Likewise.
4061 (csqrt_test): Likewise.
4062 (ctan_test): Likewise.
4063 (ctan_test_tonearest): Likewise.
4064 (ctan_test_towardzero): Likewise.
4065 (ctan_test_downward): Likewise.
4066 (ctan_test_upward): Likewise.
4067 (ctanh_test): Likewise.
4068 (ctanh_test_tonearest): Likewise.
4069 (ctanh_test_towardzero): Likewise.
4070 (ctanh_test_downward): Likewise.
4071 (ctanh_test_upward): Likewise.
4072 (erf_test): Use END macro without arguments.
4073 (erfc_test): Likewise.
4074 (exp_test): Likewise.
4075 (exp_test_tonearest): Likewise.
4076 (exp_test_towardzero): Likewise.
4077 (exp_test_downward): Likewise.
4078 (exp_test_upward): Likewise.
4079 (exp10_test): Likewise.
4080 (exp2_test): Likewise.
4081 (expm1_test): Likewise.
4082 (fabs_test): Likewise.
4083 (fdim_test): Likewise.
4084 (finite_test): Likewise.
4085 (floor_test): Likewise.
4086 (fma_test): Likewise.
4087 (fma_test_towardzero): Likewise.
4088 (fma_test_downward): Likewise.
4089 (fma_test_upward): Likewise.
4090 (fmax_test): Likewise.
4091 (fmin_test): Likewise.
4092 (fmod_test): Likewise.
4093 (fpclassify_test): Likewise.
4094 (frexp_test): Likewise.
4095 (gamma_test): Likewise.
4096 (hypot_test): Likewise.
4097 (ilogb_test): Likewise.
4098 (isfinite_test): Likewise.
4099 (isgreater_test): Likewise.
4100 (isgreaterequal_test): Likewise.
4101 (isinf_test): Likewise.
4102 (isless_test): Likewise.
4103 (islessequal_test): Likewise.
4104 (islessgreater_test): Likewise.
4105 (isnan_test): Likewise.
4106 (isnormal_test): Likewise.
4107 (issignaling_test): Likewise.
4108 (isunordered_test): Likewise.
4109 (j0_test): Likewise.
4110 (j1_test): Likewise.
4111 (jn_test): Likewise.
4112 (ldexp_test): Likewise.
4113 (lgamma_test): Likewise.
4114 (lrint_test): Likewise.
4115 (lrint_test_tonearest): Likewise.
4116 (lrint_test_towardzero): Likewise.
4117 (lrint_test_downward): Likewise.
4118 (lrint_test_upward): Likewise.
4119 (llrint_test): Likewise.
4120 (llrint_test_tonearest): Likewise.
4121 (llrint_test_towardzero): Likewise.
4122 (llrint_test_downward): Likewise.
4123 (llrint_test_upward): Likewise.
4124 (log_test): Likewise.
4125 (log10_test): Likewise.
4126 (log1p_test): Likewise.
4127 (log2_test): Likewise.
4128 (logb_test): Likewise.
4129 (logb_test_downward): Likewise.
4130 (lround_test): Likewise.
4131 (llround_test): Likewise.
4132 (modf_test): Likewise.
4133 (nearbyint_test): Likewise.
4134 (nextafter_test): Likewise.
4135 (nexttoward_test): Likewise.
4136 (pow_test): Likewise.
4137 (pow_test_tonearest): Likewise.
4138 (pow_test_towardzero): Likewise.
4139 (pow_test_downward): Likewise.
4140 (pow_test_upward): Likewise.
4141 (remainder_test): Likewise.
4142 (remainder_test_tonearest): Likewise.
4143 (remainder_test_towardzero): Likewise.
4144 (remainder_test_downward): Likewise.
4145 (remainder_test_upward): Likewise.
4146 (remquo_test): Likewise.
4147 (rint_test): Likewise.
4148 (rint_test_tonearest): Likewise.
4149 (rint_test_towardzero): Likewise.
4150 (rint_test_downward): Likewise.
4151 (rint_test_upward): Likewise.
4152 (round_test): Likewise.
4153 (scalb_test): Likewise.
4154 (scalbn_test): Likewise.
4155 (scalbln_test): Likewise.
4156 (signbit_test): Likewise.
4157 (sin_test): Likewise.
4158 (sin_test_tonearest): Likewise.
4159 (sin_test_towardzero): Likewise.
4160 (sin_test_downward): Likewise.
4161 (sin_test_upward): Likewise.
4162 (sincos_test): Likewise.
4163 (sinh_test): Likewise.
4164 (sinh_test_tonearest): Likewise.
4165 (sinh_test_towardzero): Likewise.
4166 (sinh_test_downward): Likewise.
4167 (sinh_test_upward): Likewise.
4168 (sqrt_test): Likewise.
4169 (tan_test): Likewise.
4170 (tan_test_tonearest): Likewise.
4171 (tan_test_towardzero): Likewise.
4172 (tan_test_downward): Likewise.
4173 (tan_test_upward): Likewise.
4174 (tanh_test): Likewise.
4175 (tgamma_test): Likewise.
4176 (trunc_test): Likewise.
4177 (y0_test): Likewise.
4178 (y1_test): Likewise.
4179 (yn_test): Likewise.
4180 (significand_test): Likewise.
4182 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4185 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4187 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4190 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4191 __ppc_mdoio and __ppc_mdoom.
4192 * manual/platform.texi: Document new functions __ppc_yield,
4193 __ppc_mdoio and __ppc_mdoom.
4195 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4197 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4198 (main): Mention "tls" pseudo-hwcap is legacy.
4199 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4201 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4203 * math/gen-libm-test.pl (parse_args): Output only string of
4204 arguments as text for test name, not full call or descriptions of
4205 tests for extra outputs.
4206 (generate_testfile): Do not pass function name to parse_args.
4207 Generate this_func variable from START.
4208 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4210 (struct test_ff_f_data): Likewise.
4211 (test_ff_f_data_nexttoward): Likewise.
4212 (struct test_fi_f_data): Likewise.
4213 (struct test_fl_f_data): Likewise.
4214 (struct test_if_f_data): Likewise.
4215 (struct test_fff_f_data): Likewise.
4216 (struct test_c_f_data): Likewise.
4217 (struct test_f_f1_data): Likewise. Remove field extra_name.
4218 (struct test_fF_f1_data): Likewise.
4219 (struct test_ffI_f1_data): Likewise.
4220 (struct test_c_c_data): Rename test_name field to arg_str.
4221 (struct test_cc_c_data): Likewise.
4222 (struct test_f_i_data): Likewise.
4223 (struct test_ff_i_data): Likewise.
4224 (struct test_f_l_data): Likewise.
4225 (struct test_f_L_data): Likewise.
4226 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4228 (COMMON_TEST_SETUP): New macro.
4229 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4230 (COMMON_TEST_CLEANUP): Likewise.
4231 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4232 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4234 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4235 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4237 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4238 (RUN_TEST_fff_f): Take argument string. Call new setup and
4240 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4241 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4243 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4244 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4246 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4247 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4249 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4250 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4252 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4253 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4255 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4256 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4258 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4259 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4261 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4262 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4264 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4265 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4267 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4268 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4270 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4271 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4273 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4274 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4276 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4277 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4279 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4280 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4282 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4283 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4285 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4287 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4289 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4290 to _sifields.sigfault.
4291 (si_addr_lsb): Define new macro.
4292 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4294 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4296 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4299 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4301 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4303 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4306 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4308 * math/gen-libm-test.pl (parse_args): Do not include expected
4309 result in test name.
4310 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4312 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4313 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4314 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4317 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4319 * benchtests/Makefile: Sort function entries.
4321 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4322 tanh, asinh, acosh, atanh.
4323 * benchtests/acos-inputs: New file.
4324 * benchtests/acosh-inputs: New file.
4325 * benchtests/asin-inputs: New file.
4326 * benchtests/asinh-inputs: New file.
4327 * benchtests/atanh-inputs: New file.
4328 * benchtests/cosh-inputs: New file.
4329 * benchtests/log-inputs: New file.
4330 * benchtests/sinh-inputs: New file.
4331 * benchtests/tanh-inputs: New file.
4333 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4336 * posix/tst-getaddrinfo4.c: New test.
4337 * posix/Makefile (tests): Add it.
4339 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4342 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4343 when no services were used.
4344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4345 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4347 2013-05-21 Andreas Schwab <schwab@suse.de>
4350 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4351 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4353 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4354 redundant variable declarations and reallocation of buffer when
4355 parsing as IPv6 address. Always set NSS status when called from
4356 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4357 buffer too small. Correct computation of needed size.
4358 * nss/Makefile (tests): Add test-digits-dots.
4359 * nss/test-digits-dots.c: New test.
4361 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4363 * benchtests/Makefile: Remove instructions for adding
4365 * benchtests/README: New file to explain how to execute and
4366 enhance the benchmark tests.
4368 2013-05-21 Andreas Schwab <schwab@suse.de>
4371 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4372 * setjmp/tst-sigsetjmp.c: New test.
4374 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4376 * sysdeps/x86_64/memset.S (memset): New implementation.
4377 (__bzero): Likewise.
4378 (__memset_tail): New function.
4380 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4382 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4383 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4384 __memcpy_sse2_unaligned ifunc selection.
4385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4386 Add memcpy-sse2-unaligned.S.
4387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4388 Add: __memcpy_sse2_unaligned.
4390 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4393 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4394 math_force_eval before restoring floating-point envrionment.
4395 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4396 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4398 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4400 (__nearbyintl): Use math_force_eval before restoring
4401 floating-point environment.
4402 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4404 * math/gen-libm-test.pl (special_functions): Remove.
4405 (parse_args): Don't handle TEST_extra. Handle functions with no
4407 * math/libm-test.inc (struct test_sincos_data): Replace with
4408 struct test_fFF_11_data.
4409 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4410 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4411 (sincos_test_data): Change element type to struct
4412 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4413 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4414 RUN_TEST_LOOP_sincos.
4415 * math/README.libm-test: Don't mention special handling of
4416 individual functions.
4417 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4419 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4420 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4421 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424 * math/gen-libm-test.pl (get_variable): Remove function.
4425 (parse_args): Don't show pointer parameters to call in test
4426 names. Use "extra output N" in test names for extra outputs
4427 rather than naming variables.
4429 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4432 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4433 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4434 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4436 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4438 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4441 * math/gen-libm-test.pl (@tests): Remove variable.
4443 (new_test): Remove function.
4444 (show_exceptions): New function.
4445 (special_functions): Use show_exceptions instead of new_test.
4446 (parse_args): Likewise.
4447 (generate_testfile): Pass only function name in generated call to
4448 print_max_error or print_complex_max_error.
4449 (get_ulps): Do not handle complex tests specially.
4450 (output_test): Rename to ...
4451 (get_all_ulps_for_test): ... this. Return a string rather than
4452 printing to a file. Require ulps to be present.
4453 (output_ulps): Generate arrays rather than #defines.
4454 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4455 (struct ulp_data): New type.
4456 (BUILD_COMPLEX_ULP): Remove macro.
4457 (compare_ulp_data): New function.
4458 (find_ulps): Likewise.
4459 (find_test_ulps): Likewise.
4460 (find_function_ulps): Likewise.
4461 (find_complex_function_ulps): Likewise.
4462 (print_max_error): Determine allowed ulps using
4464 (print_complex_max_error): Determine allowed ulps using
4465 find_complex_function_ulps.
4466 (check_float_internal): Determine max ulps using find_test_ulps.
4467 (check_float): Do not take max_ulp parameter. Update call to
4468 check_float_internal.
4469 (check_complex): Likewise.
4470 (check_int): Do not take max_ulp parameter.
4471 (check_long): Likewise.
4472 (check_bool): Likewise.
4473 (check_longlong): Likewise.
4474 (struct test_f_f_data): Remove max_ulp field.
4475 (struct test_ff_f_data): Likewise.
4476 (struct test_ff_f_data_nexttoward): Likewise.
4477 (struct test_fi_f_data): Likewise.
4478 (struct test_fl_f_data): Likewise.
4479 (struct test_if_f_data): Likewise.
4480 (struct test_fff_f_data): Likewise.
4481 (struct test_c_f_data): Likewise.
4482 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4483 (struct test_fF_f1_data): Likewise.
4484 (struct test_ffI_f1_data): Likewise.
4485 (struct test_c_c_data): Remove max_ulp field.
4486 (struct test_cc_c_data): Likewise.
4487 (struct test_f_i_data): Likewise.
4488 (struct test_ff_i_data): Likewise.
4489 (struct test_f_l_data): Likewise.
4490 (struct test_f_L_data): Likewise.
4491 (struct test_sincos_data): Likewise.
4492 (RUN_TEST_f_f): Do not handle ulps.
4493 (RUN_TEST_LOOP_f_f): Likewise.
4494 (RUN_TEST_2_f): Likewise.
4495 (RUN_TEST_LOOP_2_f): Likewise.
4496 (RUN_TEST_fff_f): Likewise.
4497 (RUN_TEST_LOOP_fff_f): Likewise.
4498 (RUN_TEST_c_f): Likewise.
4499 (RUN_TEST_LOOP_c_f): Likewise.
4500 (RUN_TEST_f_f1): Likewise.
4501 (RUN_TEST_LOOP_f_f1): Likewise.
4502 (RUN_TEST_fF_f1): Likewise.
4503 (RUN_TEST_LOOP_fF_f1): Likewise.
4504 (RUN_TEST_fI_f1): Likewise.
4505 (RUN_TEST_LOOP_fI_f1): Likewise.
4506 (RUN_TEST_ffI_f1): Likewise.
4507 (RUN_TEST_LOOP_ffI_f1): Likewise.
4508 (RUN_TEST_c_c): Likewise.
4509 (RUN_TEST_LOOP_c_c): Likewise.
4510 (RUN_TEST_cc_c): Likewise.
4511 (RUN_TEST_LOOP_cc_c): Likewise.
4512 (RUN_TEST_f_i): Likewise.
4513 (RUN_TEST_LOOP_f_i): Likewise.
4514 (RUN_TEST_f_i_tg): Likewise.
4515 (RUN_TEST_LOOP_f_i_tg): Likewise.
4516 (RUN_TEST_ff_i_tg): Likewise.
4517 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4518 (RUN_TEST_f_b): Likewise.
4519 (RUN_TEST_LOOP_f_b): Likewise.
4520 (RUN_TEST_f_b_tg): Likewise.
4521 (RUN_TEST_LOOP_f_b_tg): Likewise.
4522 (RUN_TEST_f_l): Likewise.
4523 (RUN_TEST_LOOP_f_l): Likewise.
4524 (RUN_TEST_f_L): Likewise.
4525 (RUN_TEST_LOOP_f_L): Likewise.
4526 (RUN_TEST_sincos): Likewise.
4527 (RUN_TEST_LOOP_sincos): Likewise.
4529 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4533 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4534 main case of finite arguments, set rounding mode to FE_TONEAREST
4535 and discard exceptions.
4536 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4538 (remainder_tonearest_test_data): New variable.
4539 (remainder_test_tonearest): New function.
4540 (remainder_towardzero_test_data): New variable.
4541 (remainder_test_towardzero): New function.
4542 (remainder_downward_test_data): New variable.
4543 (remainder_test_downward): New function.
4544 (remainder_upward_test_data): New variable.
4545 (remainder_test_upward): New function.
4546 (main): Call the new test functions.
4548 * math/libm-test.inc (struct test_f_f1_data): Remove field
4550 (struct test_fF_f1_data): Likewise.
4551 (struct test_ffI_f1_data): Likewise.
4552 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4553 based on value of EXTRA_EXPECTED.
4554 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4555 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4556 EXTRA_VAR based on value of EXTRA_EXPECTED.
4557 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4558 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4559 EXTRA_VAR based on value of EXTRA_EXPECTED.
4560 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4561 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4562 EXTRA_VAR based on value of EXTRA_EXPECTED.
4563 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4564 * math/gen-libm-test.pl (parse_args): Don't output initializers
4565 for extra output values.
4567 * math/libm-test.inc (check_int): Expect result to be exactly
4568 equal to expected value and do not handle ulps.
4569 (check_long): Likewise.
4570 (check_longlong): Likewise.
4572 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4574 (cimag_test_data): Likewise.
4575 (conj_test_data): Likewise.
4576 (copysign_test_data): Likewise.
4577 (cproj_test_data): Likewise.
4578 (creal_test_data): Likewise.
4579 (fabs_test_data): Likewise.
4580 (fdim_test_data): Likewise.
4581 (finite_test_data): Likewise.
4582 (floor_test_data): Likewise.
4583 (fmax_test_data): Likewise.
4584 (fmin_test_data): Likewise.
4585 (fmod_test_data): Likewise.
4586 (fpclassify_test_data): Likewise.
4587 (frexp_test_data): Likewise.
4588 (ilogb_test_data): Likewise.
4589 (isfinite_test_data): Likewise.
4590 (isgreater_test_data): Likewise.
4591 (isgreaterequal_test_data): Likewise.
4592 (isinf_test_data): Likewise.
4593 (isless_test_data): Likewise.
4594 (islessequal_test_data): Likewise.
4595 (islessgreater_test_data): Likewise.
4596 (isnan_test_data): Likewise.
4597 (isnormal_test_data): Likewise.
4598 (issignaling_test_data): Likewise.
4599 (isunordered_test_data): Likewise.
4600 (ldexp_test_data): Likewise.
4601 (lrint_test_data): Likewise.
4602 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4603 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4604 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4605 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4606 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4607 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4609 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4610 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4611 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4612 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4614 (lrint_downward_test_data): Test for "inexact" exceptions.
4615 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4616 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4617 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4619 (lrint_upward_test_data): Test for "inexact" exceptions.
4620 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4622 (llrint_test_data): Test for "inexact" exceptions.
4623 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4624 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4625 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4626 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4627 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4628 (llrint_downward_test_data): Test for "inexact" exceptions.
4629 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4630 (llrint_upward_test_data): Test for "inexact" exceptions.
4631 (logb_test_data): Likewise.
4632 (logb_downward_test_data): Likewise.
4633 (nextafter_test_data): Likewise.
4634 (nexttoward_test_data): Likewise.
4635 (remainder_test_data): Likewise.
4636 (remquo_test_data): Likewise.
4637 (scalbn_test_data): Likewise.
4638 (scalbln_test_data): Likewise.
4639 (signbit_test_data): Likewise.
4640 (sqrt_test_data): Likewise.
4641 (significand_test_data): Likewise.
4643 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4646 * benchtests/bench-modf.c (struct args): Mark arg0 as
4648 * scripts/bench.pl: Mark members of struct args as volatile.
4650 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4653 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4654 negative infinity on POWER6 or lower.
4655 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4657 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4660 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4661 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4662 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4663 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4664 (_FP_SETQNAN): New macro.
4665 (_FP_SETQNAN_SEMIRAW): Likewise.
4666 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4667 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4668 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4669 (FP_EXTEND): Use _FP_FRAC_SNANP.
4670 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4671 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4673 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4675 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4678 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4680 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4681 with DIVIDE_BY_ZERO_EXCEPTION.
4682 (gamma_test_data): Likewise.
4683 (lgamma_test_data): Likewise.
4684 (log_test_data): Likewise.
4685 (log10_test_data): Likewise.
4686 (log2_test_data): Likewise.
4687 (tgamma_test_data): Likewise.
4689 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4690 (acos_test_tonearest): Likewise.
4691 (acos_test_towardzero): Likewise.
4692 (acos_test_downward): Likewise.
4693 (acos_test_upward): Likewise.
4694 (acosh_test): Likewise.
4695 (asin_test): Likewise.
4696 (asin_test_tonearest): Likewise.
4697 (asin_test_towardzero): Likewise.
4698 (asin_test_downward): Likewise.
4699 (asin_test_upward): Likewise.
4700 (asinh_test): Likewise.
4701 (atan_test): Likewise.
4702 (atanh_test): Likewise.
4703 (atan2_test): Likewise.
4704 (cabs_test): Likewise.
4705 (cacos_test): Likewise.
4706 (cacosh_test): Likewise.
4707 (casin_test): Likewise.
4708 (casinh_test): Likewise.
4709 (catan_test): Likewise.
4710 (catanh_test): Likewise.
4711 (cbrt_test): Likewise.
4712 (ccos_test): Likewise.
4713 (ccosh_test): Likewise.
4714 (cexp_test): Likewise.
4715 (clog_test): Likewise.
4716 (clog10_test): Likewise.
4717 (cos_test): Likewise.
4718 (cos_test_tonearest): Likewise.
4719 (cos_test_towardzero): Likewise.
4720 (cos_test_downward): Likewise.
4721 (cos_test_upward): Likewise.
4722 (cosh_test): Likewise.
4723 (cosh_test_tonearest): Likewise.
4724 (cosh_test_towardzero): Likewise.
4725 (cosh_test_downward): Likewise.
4726 (cosh_test_upward): Likewise.
4727 (cpow_test): Likewise.
4728 (csin_test): Likewise.
4729 (csinh_test): Likewise.
4730 (csqrt_test): Likewise.
4731 (ctan_test): Likewise.
4732 (ctan_test_tonearest): Likewise.
4733 (ctan_test_towardzero): Likewise.
4734 (ctan_test_downward): Likewise.
4735 (ctan_test_upward): Likewise.
4736 (ctanh_test): Likewise.
4737 (ctanh_test_tonearest): Likewise.
4738 (ctanh_test_towardzero): Likewise.
4739 (ctanh_test_downward): Likewise.
4740 (ctanh_test_upward): Likewise.
4741 (erf_test): Likewise.
4742 (erfc_test): Likewise.
4743 (exp_test): Likewise.
4744 (exp_test_tonearest): Likewise.
4745 (exp_test_towardzero): Likewise.
4746 (exp_test_downward): Likewise.
4747 (exp_test_upward): Likewise.
4748 (exp10_test): Likewise.
4749 (exp2_test): Likewise.
4750 (expm1_test): Likewise.
4751 (fmod_test): Likewise.
4752 (gamma_test): Likewise.
4753 (hypot_test): Likewise.
4754 (j0_test): Likewise.
4755 (j1_test): Likewise.
4756 (jn_test): Likewise.
4757 (lgamma_test): Likewise.
4758 (log_test): Likewise.
4759 (log10_test): Likewise.
4760 (log1p_test): Likewise.
4761 (log2_test): Likewise.
4762 (logb_test_downward): Likewise.
4763 (pow_test): Likewise.
4764 (pow_test_tonearest): Likewise.
4765 (pow_test_towardzero): Likewise.
4766 (pow_test_downward): Likewise.
4767 (pow_test_upward): Likewise.
4768 (remainder_test): Likewise.
4769 (remquo_test): Likewise.
4770 (sin_test): Likewise.
4771 (sin_test_tonearest): Likewise.
4772 (sin_test_towardzero): Likewise.
4773 (sin_test_downward): Likewise.
4774 (sin_test_upward): Likewise.
4775 (sincos_test): Likewise.
4776 (sinh_test): Likewise.
4777 (sinh_test_tonearest): Likewise.
4778 (sinh_test_towardzero): Likewise.
4779 (sinh_test_downward): Likewise.
4780 (sinh_test_upward): Likewise.
4781 (sqrt_test): Likewise.
4782 (tan_test): Likewise.
4783 (tan_test_tonearest): Likewise.
4784 (tan_test_towardzero): Likewise.
4785 (tan_test_downward): Likewise.
4786 (tan_test_upward): Likewise.
4787 (tanh_test): Likewise.
4788 (tgamma_test): Likewise.
4789 (y0_test): Likewise.
4790 (y1_test): Likewise.
4791 (yn_test): Likewise.
4793 * math/gen-libm-test.pl (adjust_arg): Remove function.
4794 (special_function): Remove argument $in_func. Only handle
4795 generating output for tables of tests, not inside functions.
4796 (parse_args): Likewise.
4797 (generate_testfile): Remove variable $in_func. Update call to
4799 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4800 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4801 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4802 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4803 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4804 (MAX_VALUE_INIT): Rename macro to max_value.
4805 (MIN_VALUE_INIT): Rename macro to min_value.
4806 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4807 (plus_zero): Remove variable.
4808 (minus_zero): Likewise.
4809 (plus_infty): Likewise.
4810 (minus_infty): Likewise.
4811 (qnan_value): Likewise.
4812 (max_value): Likewise.
4813 (min_value): Likewise.
4814 (min_subnorm_value): Likewise.
4816 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4818 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4819 uint64_t or uint32_t usage.
4820 * crypt/sha256-block.c: Likewise.
4821 * crypt/sha256-crypt.c: Likewise.
4822 * crypt/sha256.c: Likewise.
4823 * crypt/sha512-block.c: Likewise.
4824 * crypt/sha512-crypt.c: Likewise.
4825 * crypt/sha512.c: Likewise.
4826 * debug/backtrace-tst.c: Likewise.
4827 * debug/pcprofiledump.c: Likewise.
4828 * elf/cache.c: Likewise.
4829 * elf/dl-cache.c: Likewise.
4830 * elf/dl-misc.c: Likewise.
4831 * elf/dl-profile.c: Likewise.
4832 * elf/dl-support.c: Likewise.
4833 * elf/ldconfig.c: Likewise.
4834 * elf/sprof.c: Likewise.
4835 * iconv/dummy-repertoire.c: Likewise.
4836 * iconv/iconv_charmap.c: Likewise.
4837 * iconv/skeleton.c: Likewise.
4838 * iconvdata/8bit-generic.c: Likewise.
4839 * iconvdata/cp737.h: Likewise.
4840 * iconvdata/cp775.h: Likewise.
4841 * iconvdata/ibm1008.h: Likewise.
4842 * iconvdata/ibm1025.h: Likewise.
4843 * iconvdata/ibm1046.h: Likewise.
4844 * iconvdata/ibm1097.h: Likewise.
4845 * iconvdata/ibm1112.h: Likewise.
4846 * iconvdata/ibm1122.h: Likewise.
4847 * iconvdata/ibm1123.h: Likewise.
4848 * iconvdata/ibm1124.h: Likewise.
4849 * iconvdata/ibm1129.h: Likewise.
4850 * iconvdata/ibm1130.h: Likewise.
4851 * iconvdata/ibm1132.h: Likewise.
4852 * iconvdata/ibm1133.h: Likewise.
4853 * iconvdata/ibm1137.h: Likewise.
4854 * iconvdata/ibm1140.h: Likewise.
4855 * iconvdata/ibm1141.h: Likewise.
4856 * iconvdata/ibm1142.h: Likewise.
4857 * iconvdata/ibm1143.h: Likewise.
4858 * iconvdata/ibm1144.h: Likewise.
4859 * iconvdata/ibm1145.h: Likewise.
4860 * iconvdata/ibm1146.h: Likewise.
4861 * iconvdata/ibm1147.h: Likewise.
4862 * iconvdata/ibm1148.h: Likewise.
4863 * iconvdata/ibm1149.h: Likewise.
4864 * iconvdata/ibm1153.h: Likewise.
4865 * iconvdata/ibm1154.h: Likewise.
4866 * iconvdata/ibm1155.h: Likewise.
4867 * iconvdata/ibm1156.h: Likewise.
4868 * iconvdata/ibm1157.h: Likewise.
4869 * iconvdata/ibm1158.h: Likewise.
4870 * iconvdata/ibm1160.h: Likewise.
4871 * iconvdata/ibm1161.h: Likewise.
4872 * iconvdata/ibm1162.h: Likewise.
4873 * iconvdata/ibm1163.h: Likewise.
4874 * iconvdata/ibm1164.h: Likewise.
4875 * iconvdata/ibm1166.h: Likewise.
4876 * iconvdata/ibm1167.h: Likewise.
4877 * iconvdata/ibm12712.h: Likewise.
4878 * iconvdata/ibm1390.h: Likewise.
4879 * iconvdata/ibm1399.h: Likewise.
4880 * iconvdata/ibm16804.h: Likewise.
4881 * iconvdata/ibm4517.h: Likewise.
4882 * iconvdata/ibm4899.h: Likewise.
4883 * iconvdata/ibm4909.h: Likewise.
4884 * iconvdata/ibm4971.h: Likewise.
4885 * iconvdata/ibm5347.h: Likewise.
4886 * iconvdata/ibm803.h: Likewise.
4887 * iconvdata/ibm856.h: Likewise.
4888 * iconvdata/ibm901.h: Likewise.
4889 * iconvdata/ibm902.h: Likewise.
4890 * iconvdata/ibm9030.h: Likewise.
4891 * iconvdata/ibm9066.h: Likewise.
4892 * iconvdata/ibm921.h: Likewise.
4893 * iconvdata/ibm922.h: Likewise.
4894 * iconvdata/ibm9448.h: Likewise.
4895 * iconvdata/isiri-3342.h: Likewise.
4896 * iconvdata/jis0201.h: Likewise.
4897 * include/link.h: Likewise.
4898 * include/netdb.h: Likewise.
4899 * inet/check_native.c: Likewise.
4900 * inet/check_pf.c: Likewise.
4901 * inet/getipv4sourcefilter.c: Likewise.
4902 * inet/getnameinfo.c: Likewise.
4903 * inet/getsourcefilter.c: Likewise.
4904 * inet/htonl.c: Likewise.
4905 * inet/setipv4sourcefilter.c: Likewise.
4906 * inet/setsourcefilter.c: Likewise.
4907 * inet/test-inet6_opt.c: Likewise.
4908 * inet/tst-network.c: Likewise.
4909 * locale/C-collate.c: Likewise.
4910 * locale/C-ctype.c: Likewise.
4911 * locale/C-time.c: Likewise.
4912 * locale/C-translit.h: Likewise.
4913 * locale/loadarchive.c: Likewise.
4914 * locale/programs/3level.h: Likewise.
4915 * locale/programs/charmap.c: Likewise.
4916 * locale/programs/charmap.h: Likewise.
4917 * locale/programs/ld-address.c: Likewise.
4918 * locale/programs/ld-collate.c: Likewise.
4919 * locale/programs/ld-ctype.c: Likewise.
4920 * locale/programs/ld-identification.c: Likewise.
4921 * locale/programs/ld-measurement.c: Likewise.
4922 * locale/programs/ld-messages.c: Likewise.
4923 * locale/programs/ld-monetary.c: Likewise.
4924 * locale/programs/ld-name.c: Likewise.
4925 * locale/programs/ld-numeric.c: Likewise.
4926 * locale/programs/ld-paper.c: Likewise.
4927 * locale/programs/ld-telephone.c: Likewise.
4928 * locale/programs/ld-time.c: Likewise.
4929 * locale/programs/linereader.c: Likewise.
4930 * locale/programs/locale.c: Likewise.
4931 * locale/programs/locarchive.c: Likewise.
4932 * locale/programs/locfile.h: Likewise.
4933 * locale/programs/repertoire.c: Likewise.
4934 * locale/programs/simple-hash.c: Likewise.
4935 * locale/programs/simple-hash.h: Likewise.
4936 * malloc/memusage.c: Likewise.
4937 * malloc/memusagestat.c: Likewise.
4938 * nis/nis_defaults.c: Likewise.
4939 * nis/nis_hash.c: Likewise.
4940 * nis/nis_print.c: Likewise.
4941 * nis/nis_xdr.c: Likewise.
4942 * nscd/connections.c: Likewise.
4943 * nscd/hstcache.c: Likewise.
4944 * nscd/nscd_gethst_r.c: Likewise.
4945 * nscd/nscd_getserv_r.c: Likewise.
4946 * nscd/nscd_helper.c: Likewise.
4947 * nscd/servicescache.c: Likewise.
4948 * nss/makedb.c: Likewise.
4949 * nss/nss_db/db-XXX.c: Likewise.
4950 * nss/nss_db/db-initgroups.c: Likewise.
4951 * nss/nss_db/db-netgrp.c: Likewise.
4952 * nss/nss_files/files-network.c: Likewise.
4953 * nss/nss_files/files-parse.c: Likewise.
4954 * posix/bug-regex5.c: Likewise.
4955 * posix/fnmatch_loop.c: Likewise.
4956 * posix/regcomp.c: Likewise.
4957 * posix/regexec.c: Likewise.
4958 * posix/tst-rfc3484-2.c: Likewise.
4959 * posix/tst-rfc3484-3.c: Likewise.
4960 * posix/tst-rfc3484.c: Likewise.
4961 * resolv/nss_dns/dns-canon.c: Likewise.
4962 * resolv/nss_dns/dns-network.c: Likewise.
4963 * resolv/res_init.c: Likewise.
4964 * resolv/res_mkquery.c: Likewise.
4965 * resolv/tst-aton.c: Likewise.
4966 * stdlib/cxa_atexit.c: Likewise.
4967 * stdlib/cxa_finalize.c: Likewise.
4968 * stdlib/gen-fpioconst.c: Likewise.
4969 * stdlib/strtol_l.c: Likewise.
4970 * string/tst-endian.c: Likewise.
4971 * sunrpc/auth_des.c: Likewise.
4972 * sunrpc/clnt_udp.c: Likewise.
4973 * sunrpc/rtime.c: Likewise.
4974 * sunrpc/svcauth_des.c: Likewise.
4975 * sunrpc/xdr.c: Likewise.
4976 * sunrpc/xdr_intXX_t.c: Likewise.
4977 * sunrpc/xdr_rec.c: Likewise.
4978 * sysdeps/generic/ldconfig.h: Likewise.
4979 * sysdeps/generic/ldsodefs.h: Likewise.
4980 * sysdeps/generic/memusage.h: Likewise.
4981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4982 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4984 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4985 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4990 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4991 * sysdeps/posix/getaddrinfo.c: Likewise.
4992 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4993 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4994 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4995 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4996 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4997 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4998 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4999 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5000 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5001 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5002 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5003 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5004 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5005 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5006 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5007 * sysdeps/x86_64/dl-tls.h: Likewise.
5008 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5009 * time/alt_digit.c: Likewise.
5010 * time/era.c: Likewise.
5011 * wcsmbs/tst-c16c32-1.c: Likewise.
5013 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5015 * math/libm-test.inc (struct test_sincos_data): New type.
5016 (RUN_TEST_LOOP_sincos): New macro.
5017 (sincos_test_data): New variable.
5018 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5020 2013-05-16 Richard Henderson <rth@redhat.com>
5022 * math/atest-exp2.c (LIMB64): New macro.
5023 (CONSTSZ): New macro.
5024 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5026 (print_mpn_fp): ... to function scope.
5027 (read_mpn_hex): Remove.
5029 (exp2_mpn): Use mp_log2.
5030 (main): Use mp_exp1.
5032 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5034 * math/libm-test.inc: Remove comment about not testing "inexact"
5036 (INEXACT_EXCEPTION): New macro.
5037 (NO_INEXACT_EXCEPTION): Likewise.
5038 (INVALID_EXCEPTION_OK): Update value.
5039 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5040 (OVERFLOW_EXCEPTION_OK): Likewise.
5041 (UNDERFLOW_EXCEPTION_OK): Likewise.
5042 (IGNORE_ZERO_INF_SIGN): Likewise.
5043 (ERRNO_UNCHANGED): Likewise.
5044 (ERRNO_EDOM): Likewise.
5045 (ERRNO_ERANGE): Likewise.
5046 (test_exceptions): Handle testing "inexact" exceptions.
5047 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5048 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5049 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5050 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5052 (rint_towardzero_test_data): Likewise.
5053 (rint_downward_test_data): Likewise.
5054 (rint_upward_test_data): Likewise.
5056 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5057 with OVERFLOW_EXCEPTION.
5058 (exp10_test_data): Likewise.
5059 (exp2_test_data): Likewise.
5060 (expm1_test_data): Likewise.
5061 (lgamma_test_data): Likewise.
5062 (pow_test_data): Likewise.
5063 (tgamma_test_data): Likewise.
5064 (yn_test_data): Remove duplicate test of overflow.
5066 * math/libm-test.inc (struct test_cc_c_data): New type.
5067 (RUN_TEST_LOOP_cc_c): New macro.
5068 (cpow_test_data): New variable.
5069 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5071 * math/libm-test.inc (struct test_f_L_data): New type.
5072 (RUN_TEST_LOOP_f_L): New macro.
5073 (llrint_test_data): New variable.
5074 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5075 (llrint_tonearest_test_data): New variable.
5076 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5077 (llrint_towardzero_test_data): New variable.
5078 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5079 (llrint_downward_test_data): New variable.
5080 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5081 (llrint_upward_test_data): New variable.
5082 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5083 (llround_test_data): New variable.
5084 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5086 2013-05-13 Peter Collingbourne <pcc@google.com>
5088 * math/atest-exp2.c (get_log2): Remove const attribute.
5090 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5092 * math/libm-test.inc (struct test_f_l_data): New type.
5093 (RUN_TEST_LOOP_f_l): New macro.
5094 (lrint_test_data): New variable.
5095 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5096 (lrint_tonearest_test_data): New variable.
5097 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5098 (lrint_towardzero_test_data): New variable.
5099 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5100 (lrint_downward_test_data): New variable.
5101 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5102 (lrint_upward_test_data): New variable.
5103 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5104 (lround_test_data): New variable.
5105 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5107 2013-05-15 Peter Collingbourne <pcc@google.com>
5109 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5110 (EXTRACT_WORDS64) Use where appropriate.
5111 (INSERT_WORDS64) Likewise.
5113 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5114 constraints with x constraints.
5115 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5117 * malloc/obstack.c (_obstack_compat): Add initializer.
5119 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5122 si_trapno and add si_addr_lsb to _sifields.sigfault.
5123 (si_trapno): Remove macro.
5124 (si_addr_lsb): Define new macro.
5125 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5127 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5129 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5130 instead of TEST_f_l.
5131 (llrint_test_tonearest): Likewise.
5132 (llrint_test_towardzero): Likewise.
5133 (llrint_test_downward): Likewise.
5134 (llrint_test_upward): Likewise.
5135 (llround_test): Likewise.
5137 * math/libm-test.inc (struct test_f_i_data): Add comment.
5138 (RUN_TEST_LOOP_f_b): New macro.
5139 (RUN_TEST_LOOP_f_b_tg): Likewise.
5140 (finite_test_data): New variable.
5141 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5142 (isfinite_test_data): New variable.
5143 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5144 (isinf_test_data): New variable.
5145 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5146 (isnan_test_data): New variable.
5147 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5148 (isnormal_test_data): New variable.
5149 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5150 (issignaling_test_data): New variable.
5151 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5152 (signbit_test_data): New variable.
5153 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5155 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5156 with INVALID_EXCEPTION.
5157 (acosh_test_data): Likewise.
5158 (asin_test_data): Likewise.
5159 (atanh_test_data): Likewise.
5160 (fmod_test_data): Likewise.
5161 (log_test_data): Likewise.
5162 (log10_test_data): Likewise.
5163 (log2_test_data): Likewise.
5164 (pow_test_data): Likewise.
5165 (sqrt_test_data): Likewise.
5166 (y0_test_data): Likewise.
5167 (y1_test_data): Likewise.
5168 (yn_test_data): Likewise.
5170 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5173 * math/libm-test.inc (struct test_ff_i_data): New type.
5174 (RUN_TEST_LOOP_ff_i_tg): New macro.
5175 (isgreater_test_data): New variable.
5176 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5177 (isgreaterequal_test_data): New variable.
5178 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5179 (isless_test_data): New variable.
5180 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5181 (islessequal_test_data): New variable.
5182 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5183 (islessgreater_test_data): New variable.
5184 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5185 (isunordered_test_data): New variable.
5186 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5188 2013-05-14 David S. Miller <davem@davemloft.net>
5190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5192 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5194 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5196 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5198 (struct test_f_i_data): Change type of max_ulp to int.
5200 * math/libm-test.inc (test_ffI_f1_data): New type.
5201 (RUN_TEST_LOOP_ffI_f1): New macro.
5202 (remquo_test_data): New variable.
5203 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5205 * setjmp/tst-setjmp-fp.c: New file.
5206 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5207 (link-libm): New variable.
5208 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5210 * math/libm-test.inc (struct test_f_i_data): New type.
5211 (RUN_TEST_LOOP_f_i): New macro.
5212 (RUN_TEST_LOOP_f_i_tg): Likewise.
5213 (fpclassify_test_data): New variable.
5214 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5215 (ilogb_test_data): New variable.
5216 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5218 * math/libm-test.inc (scalbln_test): Correct function name in END
5221 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5222 (RUN_TEST_LOOP_fI_f1): New macro.
5223 (frexp_test_data): New variable.
5224 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5226 * math/libm-test.inc (struct test_fF_f1_data): New type.
5227 (RUN_TEST_LOOP_fF_f1): New macro.
5228 (modf_test_data): New variable.
5229 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5231 * math/libm-test.inc (struct test_f_f1_data): New type.
5232 (RUN_TEST_LOOP_f_f1): New macro.
5233 (gamma_test_data): New variable.
5234 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5235 (lgamma_test_data): New variable.
5236 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5238 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5240 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5241 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5242 (main): Comment "tls" pseudo-hwcap.
5244 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5246 * math/libm-test.inc (struct test_fl_f_data): New type.
5247 (RUN_TEST_LOOP_fl_f): New variable.
5248 (scalbln_test_data): New variable.
5249 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5251 * math/libm-test.inc (struct test_fi_f_data): New type.
5252 (RUN_TEST_LOOP_fi_f): New macro.
5253 (ldexp_test_data): New variable.
5254 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5255 (scalbn_test_data): New variable.
5256 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5258 * math/libm-test.inc (struct test_c_f_data): New type.
5259 (RUN_TEST_LOOP_c_f): New macro.
5260 (cabs_test_data): New variable.
5261 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5262 (carg_test_data): New variable.
5263 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5264 (cimag_test_data): New variable.
5265 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5266 (creal_test_data): New variable.
5267 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5269 * math/libm-test.inc (struct test_if_f_data): New type.
5270 (RUN_TEST_LOOP_if_f): New macro.
5271 (jn_test_data): New variable.
5272 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5273 (yn_test_data): New variable.
5274 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5276 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5278 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5280 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5281 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5283 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5285 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5286 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5287 (bench-deps): Add bench-timing.h.
5288 * benchtests-bench-skeleton.c: Include bench-timing.h.
5289 (main): Use TIMING_* macros instead of clock_gettime.
5290 * benchtests/bench-timing.h: New file.
5293 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5294 Renamed from _LIB_VERSION.
5295 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5297 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5299 * math/libm-test.inc (struct test_fff_f_data): New type.
5300 (RUN_TEST_LOOP_fff_f): New macro.
5301 (fma_test_data): New variable.
5302 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5303 (fma_towardzero_test_data): New variable.
5304 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5305 (fma_downward_test_data): New variable.
5306 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5307 (fma_upward_test_data): New variable.
5308 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5310 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5311 (struct test_c_c_data): New type.
5312 (RUN_TEST_LOOP_c_c): New macro.
5313 (cacos_test_data): New variable.
5314 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5315 (cacosh_test_data): New variable.
5316 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5317 (casin_test_data): New variable.
5318 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5319 (casinh_test_data): New variable.
5320 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5321 (catan_test_data): New variable.
5322 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5323 (catanh_test_data): New variable.
5324 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5325 (ccos_test_data): New variable.
5326 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5327 (ccosh_test_data): New variable.
5328 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5329 (cexp_test_data): New variable.
5330 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5331 (clog_test_data): New variable.
5332 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5333 (clog10_test_data): New variable.
5334 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5335 (conj_test_data): New variable.
5336 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5337 (cproj_test_data): New variable.
5338 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5339 (csin_test_data): New variable.
5340 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5341 (csinh_test_data): New variable.
5342 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5343 (csqrt_test_data): New variable.
5344 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5345 (ctan_test_data): New variable.
5346 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5347 (ctan_tonearest_test_data): New variable.
5348 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5349 (ctan_towardzero_test_data): New variable.
5350 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5351 (ctan_downward_test_data): New variable.
5352 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5353 (ctan_upward_test_data): New variable.
5354 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5355 (ctanh_test_data): New variable.
5356 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5357 (ctanh_tonearest_test_data): New variable.
5358 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5359 (ctanh_towardzero_test_data): New variable.
5360 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5361 (ctanh_downward_test_data): New variable.
5362 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5363 (ctanh_upward_test_data): New variable.
5364 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5365 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5368 * math/libm-test.inc (struct test_ff_f_data): New type.
5369 (struct test_ff_f_data_nexttoward): Likewise.
5370 (RUN_TEST_LOOP_2_f): New macro.
5371 (RUN_TEST_LOOP_ff_f): Likewise.
5372 (atan2_test_data): New variable.
5373 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5374 (copysign_test_data): New variable.
5375 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5376 (fdim_test_data): New variable.
5377 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5378 (fmax_test_data): New variable.
5379 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5380 (fmin_test_data): New variable.
5381 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5382 (fmod_test_data): New variable.
5383 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5384 (hypot_test_data): New variable.
5385 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5386 (nextafter_test_data): New variable.
5387 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5388 (nexttoward_test_data): New variable.
5389 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5390 (pow_test_data): New variable.
5391 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5392 (pow_tonearest_test_data): New variable.
5393 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5394 (pow_towardzero_test_data): New variable.
5395 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5396 (pow_downward_test_data): New variable.
5397 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5398 (pow_upward_test_data): New variable.
5399 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5400 (remainder_test_data): New variable.
5401 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5402 (scalb_test_data): New variable.
5403 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5404 * sysdeps/i386/fpu/libm-test-ulps: Update.
5406 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5408 * math/libm-test.inc (fma_test): Use max_value instead of local
5410 (nextafter_test): Likewise.
5412 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5413 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5414 (acos_downward_test_data): New variable.
5415 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5416 (acos_upward_test_data): New variable.
5417 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5418 (acosh_test_data): New variable.
5419 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5420 (asin_test_data): New variable.
5421 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5422 (asin_tonearest_test_data): New variable.
5423 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5424 (asin_towardzero_test_data): New variable.
5425 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5426 (asin_downward_test_data): New variable.
5427 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5428 (asin_upward_test_data): New variable.
5429 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5430 (asinh_test_data): New variable.
5431 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5432 (atan_test_data): New variable.
5433 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5434 (atanh_test_data): New variable.
5435 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5436 (cbrt_test_data): New variable.
5437 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5438 (ceil_test_data): New variable.
5439 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5440 (cos_test_data): New variable.
5441 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5442 (cos_tonearest_test_data): New variable.
5443 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5444 (cos_towardzero_test_data): New variable.
5445 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5446 (cos_downward_test_data): New variable.
5447 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5448 (cos_upward_test_data): New variable.
5449 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5450 (cosh_test_data): New variable.
5451 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5452 (cosh_tonearest_test_data): New variable.
5453 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5454 (cosh_towardzero_test_data): New variable.
5455 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5456 (cosh_downward_test_data): New variable.
5457 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5458 (cosh_upward_test_data): New variable.
5459 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5460 (erf_test_data): New variable.
5461 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5462 (erfc_test_data): New variable.
5463 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5464 (exp_test_data): New variable.
5465 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5466 (exp_tonearest_test_data): New variable.
5467 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5468 (exp_towardzero_test_data): New variable.
5469 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5470 (exp_downward_test_data): New variable.
5471 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5472 (exp_upward_test_data): New variable.
5473 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5474 (exp10_test_data): New variable.
5475 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5476 (exp2_test_data): New variable.
5477 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5478 (expm1_test_data): New variable.
5479 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5480 (fabs_test_data): New variable.
5481 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5482 (floor_test_data): New variable.
5483 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5484 (j0_test_data): New variable.
5485 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5486 (j1_test_data): New variable.
5487 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5488 (log_test_data): New variable.
5489 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5490 (log10_test_data): New variable.
5491 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5492 (log1p_test_data): New variable.
5493 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5494 (log2_test_data): New variable.
5495 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5496 (logb_test_data): New variable.
5497 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5498 (logb_downward_test_data): New variable.
5499 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5500 (nearbyint_test_data): New variable.
5501 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5502 (rint_test_data): New variable.
5503 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5504 (rint_tonearest_test_data): New variable.
5505 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5506 (rint_towardzero_test_data): New variable.
5507 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5508 (rint_downward_test_data): New variable.
5509 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5510 (rint_upward_test_data): New variable.
5511 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5512 (round_test_data): New variable.
5513 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5514 (sin_test_data): New variable.
5515 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5516 (sin_tonearest_test_data): New variable.
5517 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5518 (sin_towardzero_test_data): New variable.
5519 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5520 (sin_downward_test_data): New variable.
5521 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5522 (sin_upward_test_data): New variable.
5523 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5524 (sinh_test_data): New variable.
5525 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5526 (sinh_tonearest_test_data): New variable.
5527 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5528 (sinh_towardzero_test_data): New variable.
5529 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5530 (sinh_downward_test_data): New variable.
5531 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5532 (sinh_upward_test_data): New variable.
5533 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5534 (sqrt_test_data): New variable.
5535 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5536 (tan_test_data): New variable.
5537 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5538 (tan_tonearest_test_data): New variable.
5539 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5540 (tan_towardzero_test_data): New variable.
5541 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5542 (tan_downward_test_data): New variable.
5543 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5544 (tan_upward_test_data): New variable.
5545 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5546 (tanh_test_data): New variable.
5547 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5548 (tgamma_test_data): New variable.
5549 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5550 (trunc_test_data): New variable.
5551 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5552 (y0_test_data): New variable.
5553 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5554 (y1_test_data): New variable.
5555 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5556 (significand_test_data): New variable.
5557 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5559 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5562 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5564 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5566 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5568 2013-05-10 Andreas Jaeger <aj@suse.de>
5571 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5572 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5574 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5576 * math/gen-libm-test.pl (adjust_arg): New function.
5577 (special_functions): Handle generating output in both functions
5579 (parse_args): Likewise.
5580 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5581 $in_func argument to parse_args.
5582 * math/libm-test.inc (struct test_f_f_data): New type.
5583 (IF_ROUND_INIT_): New macro.
5584 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5585 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5586 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5587 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5588 (ROUND_RESTORE_): Likewise.
5589 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5590 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5591 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5592 (ROUND_RESTORE_FE_UPWARD): Likewise.
5593 (RUN_TEST_LOOP_f_f): New macro.
5594 (acos_test_data): New variable.
5595 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5596 (acos_tonearest_test_data): New variable.
5597 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5599 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5601 * benchtests/bench-skeleton.c (startup): Fix coding style.
5603 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5606 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5607 negative infinity argument.
5608 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5609 negative infinity argument.
5610 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5611 negative infinity argument.
5612 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5615 2013-05-10 Florian Weimer <fweimer@redhat.com>
5617 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5618 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5619 * iconv/iconv_prog.c (main): Likewise.
5620 * locale/programs/charmap-dir.c (charmap_readdir)
5621 (fopen_uncompressed): Likewise.
5622 * locale/programs/locfile.c (siblings_uncached)
5623 (write_locale_data): Use lstat64 instead of lstat.
5624 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5627 2013-05-10 Andreas Jaeger <aj@suse.de>
5630 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5634 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5636 * elf/dl-close.c (_dl_close_worker): Add comments.
5638 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5641 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5643 (__ieee754_rem_pio2l): Update comments.
5646 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5648 (__ieee754_rem_pio2l): Update comments.
5650 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5651 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5653 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5656 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5657 (M_PI_34_LOG10El): Likewise.
5658 (M_PI2_LOG10El): Likewise.
5659 (M_PI4_LOG10El): Likewise.
5660 (M_PI_LOG10El): Likewise.
5662 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5666 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5668 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5669 (MINUS_ZERO_INIT): Likewise.
5670 (PLUS_INFTY_INIT): Likewise.
5671 (MINUS_INFTY_INIT): Likewise.
5672 (QNAN_VALUE_INIT): Likewise.
5673 (MAX_VALUE_INIT): Likewise.
5674 (MIN_VALUE_INIT): Likewise.
5675 (MIN_SUBNORM_VALUE_INIT): Likewise.
5676 (plus_zero): Initialize with PLUS_ZERO_INIT.
5677 (minus_zero): Initialize with MINUS_ZERO_INIT.
5678 (plus_infty): Initialize with PLUS_INFTY_INIT.
5679 (minus_infty): Initialize with MINUS_INFTY_INIT.
5680 (qnan_value): Initialize with QNAN_VALUE_INIT.
5681 (max_value): Initialize with MAX_VALUE_INIT.
5682 (min_value): Initialize with MIN_VALUE_INIT.
5683 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5685 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5686 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5687 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5688 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5690 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5691 (RUN_TEST_2_f): Likewise.
5692 (RUN_TEST_ff_f): Likewise.
5693 (RUN_TEST_fi_f): Likewise.
5694 (RUN_TEST_fl_f): Likewise.
5695 (RUN_TEST_fff_f): Likewise.
5696 (RUN_TEST_c_f): Likewise.
5697 (RUN_TEST_f_f1): Likewise.
5698 (RUN_TEST_fF_f1): Likewise.
5699 (RUN_TEST_fI_f1): Likewise.
5700 (RUN_TEST_ffI_f1): Likewise.
5701 (RUN_TEST_c_c): Likewise.
5702 (RUN_TEST_cc_c): Likewise.
5703 (RUN_TEST_f_i): Likewise.
5704 (RUN_TEST_f_i_tg): Likewise.
5705 (RUN_TEST_ff_i_tg): Likewise.
5706 (RUN_TEST_f_b): Likewise.
5707 (RUN_TEST_f_b_tg): Likewise.
5708 (RUN_TEST_f_l): Likewise.
5709 (RUN_TEST_f_L): Likewise.
5710 (RUN_TEST_sincos): Likewise.
5711 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5712 whether to show exceptions. Do not include ");\n" in return
5714 (special_functions): Output call to RUN_TEST_sincos instead of
5715 check_float calls. Update calls to new_test.
5716 (parse_args): Output call to single RUN_TEST_* macro instead of
5717 check_* calls and other assignments. Update calls to new_test.
5723 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5724 input to result for tgamma overflow.
5725 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5726 (gamma_coeff): New variable.
5727 (NCOEFF): New macro.
5728 (gamma_positive): New function.
5729 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5730 underflow here. Use gamma_positive instead of exp (lgamma) for
5732 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5733 (gamma_coeff): New variable.
5734 (NCOEFF): New macro.
5735 (gammaf_positive): New function.
5736 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5737 underflow here. Use gamma_positive instead of exp (lgamma) for
5739 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5740 (gamma_coeff): New variable.
5741 (NCOEFF): New macro.
5742 (gammal_positive): New function.
5743 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5744 underflow here. Use gamma_positive instead of exp (lgamma) for
5746 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5747 (gamma_coeff): New variable.
5748 (NCOEFF): New macro.
5749 (gammal_positive): New function.
5750 (__ieee754_gammal_r): Handle positive infinity, overflow and
5751 underflow here. Handle NaN the same as positive infinity. Remove
5752 check x < 0xffffffff for negative integers. Use gamma_positive
5753 instead of exp (lgamma) for other arguments.
5754 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5755 (gamma_coeff): New variable.
5756 (NCOEFF): New macro.
5757 (gammal_positive): New function.
5758 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5759 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5763 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5764 * sysdeps/generic/math_private.h (__gamma_productf): New
5766 (__gamma_product): Likewise.
5767 (__gamma_productl): Likewise.
5768 * math/Makefile (libm-calls): Add gamma_product.
5769 * math/libm-test.inc (tgamma_test): Add more tests.
5770 * sysdeps/i386/fpu/libm-test-ulps: Update.
5771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5773 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5775 * benchtests/bench-skeleton.c (main): Preheat CPU.
5777 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5779 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5781 2013-05-07 Roland McGrath <roland@hack.frob.com>
5783 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5784 and _dl_skip_args_internal.
5786 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5788 * manual/message.texi (Message Translation): Talk about users.
5789 Message to key mapping impacts design.
5791 2013-05-06 Roland McGrath <roland@hack.frob.com>
5793 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5795 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5797 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5798 * sysdeps/wordsize-64/glob64.c: ... here.
5800 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5801 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5804 * debug/getlogin_r_chk.c: Moved to ...
5805 * login/getlogin_r_chk.c: ... here.
5806 * debug/Makefile (routines): Move getlogin_r_chk to ...
5807 * login/Makefile (routines): ... here.
5808 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5809 * login/Versions (libc: GLIBC_2.4): ... here.
5811 * io/poll.c (__poll): Renamed from poll.
5812 Add libc_hidden_def.
5813 (poll): Define as weak alias.
5815 * debug/ptsname_r_chk.c: Moved to ...
5816 * login/ptsname_r_chk.c: ... here.
5817 * debug/Makefile (routines): Move ptsname_r_chk to ...
5818 * login/Makefile (routines): ... here.
5819 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5820 * login/Versions (libc: GLIBC_2.4): ... here.
5822 * posix/getlogin.c: Moved to ...
5823 * login/getlogin.c: ... here.
5824 * posix/getlogin_r.c: Moved to ...
5825 * login/getlogin_r.c: ... here.
5826 * posix/getlogin_r.c: Moved to ...
5827 * login/getlogin_r.c: ... here.
5828 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5829 * login/Makefile (routines): ... here.
5830 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5831 * login/Versions (libc: GLIBC_2.0): ... here.
5833 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5834 (setrlimit): Define as weak alias.
5836 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5837 Call __ names for open, ftruncate, and close.
5838 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5839 (truncate): Define as weak alias.
5841 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5843 * math/gen-libm-test.pl (parse_args): Initialize x before each
5844 test of frexp, modf and remquo.
5846 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5849 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5853 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5855 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5857 2013-05-06 Roland McGrath <roland@hack.frob.com>
5859 * elf/dl-writev.h: New file.
5860 * elf/dl-misc.c: Include it.
5861 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5862 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5864 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5866 * math/libm-test.inc (noXFails): Remove variable.
5867 (noXPasses): Likewise.
5868 (BUILD_COMPLEX_INT): Remove macro.
5869 (print_screen): Remove xfail argument.
5870 (print_screen_max_error): Likewise.
5871 (update_stats): Likewise.
5872 (print_max_error): Likewise. Update calls to other affected
5874 (print_complex_max_error): Likewise.
5875 (test_single_exception): Update calls to print_screen.
5876 (test_single_errno): Likewise.
5877 (check_float_internal): Remove xfail argument. Update calls to
5878 other affected functions.
5879 (check_float): Likewise.
5880 (check_complex): Likewise.
5881 (check_int): Likewise.
5882 (check_long): Likewise.
5883 (check_bool): Likewise.
5884 (check_longlong): Likewise.
5885 (main): Don't print noXFails and noXPasses.
5886 * math/gen-libm-test.pl (top level): Don't mention expected
5887 failure handling in comment.
5888 (new_test): Don't handle expected failures.
5889 (parse_args): Don't mention expected failure handling in comment.
5890 (generate_testfile): Don't handle expected failures.
5891 (parse_ulps): Likewise.
5892 (print_ulps_file): Likewise.
5893 (get_failure): Remove function.
5894 (output_test): Don't handle expected failures.
5895 * make/README.libm-test: Don't mention expected failure handling.
5897 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5898 (minus_zero): Likewise.
5899 (plus_infty): Likewise.
5900 (minus_infty): Likewise.
5901 (qnan_value): Likewise.
5902 (max_value): Likewise.
5903 (min_value): Likewise.
5904 (min_subnorm_value): Likewise.
5905 (initialize): Do not initialize those variables dynamically.
5907 2013-05-03 Roland McGrath <roland@hack.frob.com>
5909 * io/open.c (__open_2): Moved to ...
5910 * io/open_2.c: ... this new file.
5911 * io/open64.c (__open64_2): Moved to ...
5912 * io/open64_2.c: ... this new file.
5913 * io/openat.c (__openat_2): Moved to ...
5914 * io/openat_2.c: ... this new file.
5915 * io/openat64.c (__openat64_2): Moved to ...
5916 * io/openat64_2.c: ... this new file.
5917 * io/Makefile (routines): Add them.
5918 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5919 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5920 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5921 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5922 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5923 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5924 (__openat64): Add hidden_ver.
5925 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5926 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5928 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5929 Separately conditionalize setting of GLRO(dl_sysinfo) so
5930 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5931 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5933 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5936 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5938 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5939 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5940 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5941 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5942 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5944 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5946 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5949 * math/libm-test.inc (hypot_test): Do not use
5950 IGNORE_ZERO_INF_SIGN.
5952 2013-05-03 Andreas Jaeger <aj@suse.de>
5954 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5956 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5957 (PF_MAX): Adjust for VSOCK change.
5959 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5963 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5966 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5967 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5968 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5970 2013-05-02 David S. Miller <davem@davemloft.net>
5972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5974 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5976 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5978 2013-05-01 Roland McGrath <roland@hack.frob.com>
5980 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5982 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5985 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5986 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5987 Use __attribute__ ((__gnu_inline__)).
5988 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5989 Don't use __attribute__ ((__gnu_inline__)).
5991 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5994 * math/s_catan.c (__catan): Handle small real or imaginary part of
5995 input specially to avoid spurious underflow.
5996 * math/s_catanf.c (__catanf): Likewise.
5997 * math/s_catanh.c (__catanh): Likewise.
5998 * math/s_catanhf.c (__catanhf): Likewise.
5999 * math/s_catanhl.c (__catanhl): Likewise.
6000 * math/s_catanl.c (__catanl): Likewise.
6001 * math/libm-test.inc (catan_test): Add more tests.
6002 (catanh_test): Likewise.
6003 * sysdeps/i386/fpu/libm-test-ulps: Update.
6004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6006 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6010 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6013 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6014 accurately for denominator in atan2.
6015 * math/s_catanf.c (__catanf): Likewise.
6016 * math/s_catanh.c (__catanh): Likewise.
6017 * math/s_catanhf.c (__catanhf): Likewise.
6018 * math/s_catanhl.c (__catanhl): Likewise.
6019 * math/s_catanl.c (__catanl): Likewise.
6020 * math/libm-test.inc (catan_test): Add more tests.
6021 (catanh_test): Likewise.
6022 * sysdeps/i386/fpu/libm-test-ulps: Update.
6023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6025 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6027 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6029 * benchtests/Makefile (bench): Remove slow benchmarks.
6030 * benchtests/atan-inputs: Add slow benchmark inputs.
6031 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6032 (BENCH_FUNC): Accept variant offset.
6034 * benchtests/bench-skeleton.c (main): Run benchmark for each
6036 * benchtests/cos-inputs: Add slow benchmark inputs.
6037 * benchtests/exp-inputs: Likewise.
6038 * benchtests/pow-inputs: Likewise.
6039 * benchtests/sin-inputs: Likewise.
6040 * benchtests/slowatan-inputs: Remove.
6041 * benchtests/slowatan.c: Remove.
6042 * benchtests/slowcos-inputs: Remove.
6043 * benchtests/slowcos.c: Remove.
6044 * benchtests/slowexp-inputs: Remove.
6045 * benchtests/slowexp.c: Remove.
6046 * benchtests/slowpow-inputs: Remove.
6047 * benchtests/slowpow.c: Remove.
6048 * benchtests/slowsin-inputs: Remove.
6049 * benchtests/slowsin.c: Remove.
6050 * benchtests/slowtan-inputs: Remove.
6051 * benchtests/slowtan.c: Remove.
6052 * benchtests/tan-inputs: Add slow benchmark inputs.
6053 * scripts/bench.pl: Parse comments and directives.
6055 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6057 ($(objpfx)bench-%.c): Remove *-ITER.
6058 * benchtests/bench-modf.c: Remove definition of ITER.
6059 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6060 (main): Loop for DURATION seconds instead of fixed number of
6062 * scripts/bench.pl: Don't expect iterations in parameters.
6064 2013-04-29 Roland McGrath <roland@hack.frob.com>
6066 * io/fchdir.c (__fchdir): Renamed from fchdir.
6067 (fchdir): Define as weak alias.
6069 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6071 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6072 (ERRNO_EDOM): Likewise.
6073 (ERRNO_ERANGE): Likewise.
6074 (noErrnoTests): New variable.
6075 (init_max_error): Set errno to 0.
6076 (test_single_errno): New function.
6077 (test_errno): Likewise.
6078 (check_float_internal): Call test_errno. Set errno to 0.
6079 (check_complex): Refer to errno tests in comment.
6080 (check_int): Call test_errno. Set errno to 0.
6081 (check_long): Likewise.
6082 (check_bool): Likewise.
6083 (check_longlong): Likewise.
6084 (cos_test): Use ERRNO_* flags for errno tests instead of
6086 (expm1_test): Likewise.
6087 (fmod_test): Likewise.
6088 (ilogb_test): Likewise.
6089 (lgamma_test): Likewise.
6090 (pow_test): Likewise.
6091 (remainder_test): Likewise.
6092 (sin_test): Likewise.
6093 (tan_test): Likewise.
6094 (yn_test): Likewise.
6095 (initialize): Set errno to 0.
6096 (main): Print number of errno tests.
6097 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6099 2013-04-29 Andreas Jaeger <aj@suse.de>
6102 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6106 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6107 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6111 * stdlib/random.c (__initstate): Return NULL if
6115 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6116 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6119 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6123 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6125 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6126 of individual tests.
6127 (casin_test): Likewise.
6128 (casinh_test): Likewise.
6130 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6133 * math/s_catan.c (__catan): Handle arguments with large real or
6134 imaginary part separately without squaring.
6135 * math/s_catanf.c (__catanf): Likewise.
6136 * math/s_catanh.c (__catanh): Likewise.
6137 * math/s_catanhf.c (__catanhf): Likewise.
6138 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6140 (__catanhl): Handle arguments with large real or imaginary part
6141 separately without squaring.
6142 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6144 (__catanl): Handle arguments with large real or imaginary part
6145 separately without squaring.
6146 * math/libm-test.inc (catan_test): Add more tests.
6147 (catanh_test): Likewise.
6148 * sysdeps/i386/fpu/libm-test-ulps: Update.
6149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6151 2013-04-27 Andreas Jaeger <aj@suse.de>
6154 * stdlib/stdlib.h: Update guards for qecvt.
6155 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6158 2013-04-27 Allan McRae <allan@archlinux.org>
6160 * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6165 * math/s_catan.c: Include <float.h>.
6166 (__catan): Ensure underflow exception occurs for underflowed
6168 * math/s_catanf.c: Include <float.h>.
6169 (__catanf): Ensure underflow exception occurs for underflowed
6171 * math/s_catanh.c: Include <float.h>.
6172 (__catanh): Ensure underflow exception occurs for underflowed
6174 * math/s_catanhf.c: Include <float.h>.
6175 (__catanhf): Ensure underflow exception occurs for underflowed
6177 * math/s_catanhl.c: Include <float.h>.
6178 (__catanhl): Ensure underflow exception occurs for underflowed
6180 * math/s_catanl.c: Include <float.h>.
6181 (__catanl): Ensure underflow exception occurs for underflowed
6183 * math/libm-test.inc (catan_test): Add more tests.
6184 (catanh_test): Likewise.
6187 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6189 * math/s_ccoshf.c (__ccoshf): Likewise.
6190 * math/s_ccoshl.c (__ccoshl): Likewise.
6191 * math/s_csin.c (__csin): Likewise.
6192 * math/s_csinf.c (__csinf): Likewise.
6193 * math/s_csinh.c (__csinh): Likewise.
6194 * math/s_csinhf.c (__csinhf): Likewise.
6195 * math/s_csinhl.c (__csinhl): Likewise.
6196 * math/s_csinl.c (__csinl): Likewise.
6197 * math/libm-test.inc (ccos_test): Add more tests.
6198 (ccosh_test): Likewise.
6199 (csin_test): Likewise.
6200 (csinh_test): Likewise.
6202 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6204 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6205 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6206 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6207 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6208 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6209 powerpc/power5+/fpu folders.
6210 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6213 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6217 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6219 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6220 additions to variable.
6221 [$(config-machine) = x86_64] (modules-names): Likewise.
6222 ($(objpfx)tst-audit3): Remove dependency.
6223 ($(objpfx)tst-audit3.out): Likewise.
6224 ($(objpfx)tst-audit4): Likewise.
6225 ($(objpfx)tst-audit4.out): Likewise.
6226 ($(objpfx)tst-audit5): Likewise.
6227 ($(objpfx)tst-audit5.out): Likewise.
6228 ($(objpfx)tst-audit6): Likewise.
6229 ($(objpfx)tst-audit6.out): Likewise.
6230 ($(objpfx)tst-audit7): Likewise.
6231 ($(objpfx)tst-audit7.out): Likewise.
6232 (tst-audit3-ENV): Remove variable.
6233 (tst-audit4-ENV): Likewise.
6234 (tst-audit5-ENV): Likewise.
6235 (tst-audit6-ENV): Likewise.
6236 (tst-audit7-ENV): Likewise.
6237 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6238 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6239 addition to variable.
6240 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6241 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6242 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6243 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6244 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6245 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6246 tst-audit3, tst-audit4 and tst-audit5.
6247 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6248 tst-audit6 and tst-audit7.
6249 [$(subdir) = elf] (modules-names): Add audit modules for those
6251 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6252 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6253 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6254 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6255 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6256 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6257 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6258 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6259 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6260 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6261 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6262 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6263 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6264 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6265 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6266 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6268 [$(subdir) = elf && $(config-cflags-avx) = yes]
6269 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6270 [$(subdir) = elf && $(config-cflags-avx) = yes]
6271 (CFLAGS-tst-auditmod4a.c): Likewise.
6272 [$(subdir) = elf && $(config-cflags-avx) = yes]
6273 (CFLAGS-tst-auditmod4b.c): Likewise.
6274 [$(subdir) = elf && $(config-cflags-avx) = yes]
6275 (CFLAGS-tst-auditmod6b.c): Likewise.
6276 [$(subdir) = elf && $(config-cflags-avx) = yes]
6277 (CFLAGS-tst-auditmod6c.c): Likewise.
6278 [$(subdir) = elf && $(config-cflags-avx) = yes]
6279 (CFLAGS-tst-auditmod7b.c): Likewise.
6280 * elf/tst-audit3.c: Move to ...
6281 * sysdeps/x86_64/tst-audit3.c: ... here.
6282 * elf/tst-audit4.c: Move to ...
6283 * sysdeps/x86_64/tst-audit4.c: ... here.
6284 * elf/tst-audit5.c: Move to ...
6285 * sysdeps/x86_64/tst-audit5.c: ... here.
6286 * elf/tst-audit6.c: Move to ...
6287 * sysdeps/x86_64/tst-audit6.c: ... here.
6288 * elf/tst-audit7.c: Move to ...
6289 * sysdeps/x86_64/tst-audit7.c: ... here.
6290 * elf/tst-auditmod3a.c: Move to ...
6291 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6292 * elf/tst-auditmod3b.c: Move to ...
6293 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6294 * elf/tst-auditmod4a.c: Move to ...
6295 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6296 * elf/tst-auditmod4b.c: Move to ...
6297 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6298 * elf/tst-auditmod5a.c: Move to ...
6299 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6300 * elf/tst-auditmod5b.c: Move to ...
6301 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6302 * elf/tst-auditmod6a.c: Move to ...
6303 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6304 * elf/tst-auditmod6b.c: Move to ...
6305 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6306 * elf/tst-auditmod6c.c: Move to ...
6307 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6308 * elf/tst-auditmod7a.c: Move to ...
6309 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6310 * elf/tst-auditmod7b.c: Move to ...
6311 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6313 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6316 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6317 define unconditionally.
6318 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6319 define unconditionally.
6320 (INT8_C, INT16_C, etc.): Likewise.
6322 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6324 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6325 __ehdr_start with hidden visibility.
6327 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6329 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6331 * math/libm-test.inc (cos_test): Use accurate hex constants.
6332 (sincost_test): Likewise.
6334 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6336 * math/libm-test.inc (catan_test): Add more tests.
6337 (catanh_test): Likewise.
6339 * math/s_catanf.c (__catanf): Use suffixed floating-point
6341 * math/s_catanhf.c (__catanhf): Likewise.
6342 * math/s_catanhl.c (__catanhl): Likewise.
6343 * math/s_catanl.c (__catanl): Likewise.
6346 * math/s_catan.c (__catan): Calculate imaginary part of result
6347 with log1p not log unless computing log of number close to 0.
6348 * math/s_catanf.c (__catanf): Likewise.
6349 * math/s_catanl.c (__catanl): Likewise.
6350 * math/s_catanh.c (__catanh): Calculate real part of result with
6351 log1p not log unless computing log of number close to 0.
6352 * math/s_catanhf.c (__catanhf): Likewise.
6353 * math/s_catanhl.c (__catanhl): Likewise.
6354 * math/libm-test.inc (catan_test): Add more tests.
6355 (catanh_test): Likewise.
6356 * sysdeps/i386/fpu/libm-test-ulps: Update.
6357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6359 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6361 * benchtests/Makefile: Mention files in which fast and slow
6362 paths of math functions are implemented.
6364 2013-04-23 Roland McGrath <roland@hack.frob.com>
6366 * sysdeps/posix/timespec_get.c: New file.
6368 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6370 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6372 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6374 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6375 powerpc/power5/fpu folders.
6376 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6377 * benchtests/Makefile: Add modf testcase.
6378 * benchtests/bench-modf.c: New file: Benchmark test for mo
6380 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6383 * time/Makefile (tests): Add tst-strptime-whitespace.
6384 * time/strptime_l.c (get_number): Use ISSPACE.
6385 (__strptime_internal): Likewise.
6386 * time/tst-strptime-whitespace.c: New test case.
6388 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6390 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6392 (_nss_files_init): Set it here.
6394 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6396 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6397 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6400 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6402 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6404 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6409 2013-04-21 David S. Miller <davem@davemloft.net>
6411 * po/ru.po: Update Russion translation from translation project.
6413 2013-04-17 Adam Conrad <adconrad@0c3.net>
6415 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6418 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6420 * configure.in: Remove i386 configure warning. Remove i386 case.
6421 * configure: Regenerate.
6422 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6423 Add example to error message.
6424 * sysdeps/i386/configure: Regenerate.
6426 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6428 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6430 * benchtests/cos-inputs: New file.
6431 * benchtests/slowcos-inputs: New file.
6432 * benchtests/slowcos.c: New file.
6433 * benchtests/slowtan-inputs: New file.
6434 * benchtests/slowtan.c: New file.
6435 * benchtests/tan-inputs: New file.
6437 2013-04-16 Roland McGrath <roland@hack.frob.com>
6439 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6442 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6444 * benchtests/Makefile: Include cppflags-iterator.mk to add
6445 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6447 * Makefile.in (bench-clean): New target.
6448 * benchtests/Makefile (bench-clean): Likewise.
6450 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6452 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6454 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6456 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6458 2013-04-15 Andreas Schwab <schwab@suse.de>
6460 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6462 * nscd/pwdcache.c (cache_addpw): Likewise.
6463 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6466 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6468 * benchtests/Makefile (bench): Write all output to
6469 bench-out.tmp together.
6471 2013-04-15 Andreas Schwab <schwab@suse.de>
6473 * nscd/nscd.c (main): Don't fork again after closing files.
6475 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6477 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6479 * benchtests/Rules (bench-deps): Collect dependencies into a
6480 single variable. Add Makefile to dependencies.
6481 ($(objpfx)bench-%.c): Depend on bench-deps.
6483 2013-04-12 Roland McGrath <roland@hack.frob.com>
6484 Xavier Roche <roche+kml2@exalead.com>
6487 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6488 just that it's a file descriptor.
6489 * manual/llio.texi (Synchronizing AIO Operations): Update description
6490 for EBADF error from aio_fsync.
6492 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6494 * Rules (bench): Move target definition...
6495 * benchtests/Makefile: ... here.
6497 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6499 * math/libm-test.inc (cos_test): Fix PI/2 test.
6500 (sincos_test): Likewise.
6501 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6502 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6504 2013-04-11 Andreas Schwab <schwab@suse.de>
6507 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6508 accept exponent character only when digits were seen.
6509 * stdio-common/Makefile (tests): Add bug26.
6510 * stdio-common/bug26.c: New file.
6513 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6516 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6518 * Makeconfig (rtld-prefix): Define built linker prefix.
6519 * Rules (run-bench): Use it.
6520 * math/Makefile (run-regen-ulps): Likewise.
6522 * Rules (bench): Remove eval.
6524 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6525 Roland McGrath <roland@hack.frob.com>
6526 Ondrej Bilka <neleai@seznam.cz>
6529 * time/getdate.c: Include ctype.h and alloca.h.
6530 (__getdate_r): Trim leading and trailing spaces of input.
6531 * time/tst-getdate.c (tests): Add tests with leading and
6534 2013-04-08 Roland McGrath <roland@hack.frob.com>
6537 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6538 when computing value.
6540 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6542 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6543 Use testrun.sh to run libm tests.
6546 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6548 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6551 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6553 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6555 * Makefile.in (regen-ulps): New target.
6556 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6557 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6558 [ifneq (no,$(PERL)] (regen-ulps): New target.
6559 [ifeq (no,$(PERL)] (regen-ulps): New target.
6560 * math/libm-test.inc (ulps_file_name): Define.
6561 (output_dir): New variable.
6562 (options): Add "output-dir" option.
6563 (parse_opt): Handle 'o' case.
6564 (main): If output_dir is non-NULL use it as a prefix
6566 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6568 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6571 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6572 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6573 fail configure if __sync_val_compare_and_swap is not inlined.
6574 * sysdeps/i386/configure: Regenerate.
6575 * configure.in: Build for i686 when configured for i386.
6576 * configure: Regenerate.
6577 * README: Remove i386 reference.
6579 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6581 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6582 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6584 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6586 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6587 (lmsnanval): New variables.
6588 (F): Add conversion tests.
6589 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6590 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6592 * stdio-common/tstdiomisc.c (F): Properly collect individual
6596 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6597 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6598 Instead, use input NaN values or generate a qNaN by arithmetic
6599 operation. Also fix bugs to comply with the standard.
6600 * math/libm-test.inc (remainder_test): Add more tests.
6603 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6605 input NaN values or generate a qNaN by arithmetic operation.
6607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6610 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6613 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6616 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6618 * math/s_cexpf.c (__cexpf): Likewise.
6619 * math/s_cexpl.c (__cexpl): Likewise.
6620 * math/libm-test.inc (cexp_test): Add more tests.
6622 2013-04-03 Andreas Schwab <schwab@suse.de>
6625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6626 order arrays from heap if bigger than alloca cutoff.
6628 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6630 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6631 (SNAN_TESTS_double): Refer to GCC PR56831.
6632 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6635 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6637 * Rules (bench): Move bench.out after the run is complete.
6639 * Rules (bench): Echo currently running benchmark.
6641 * benchtests/Makefile (bench): Add atan and slowatan.
6642 * benchtests/atan-inputs: New file.
6643 * benchtests/slowatan-inputs: New file.
6644 * benchtests/slowatan.c: New file.
6646 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6647 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6651 * sysdeps/unix/sysv/linux/kernel-features.h
6652 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6653 __ASSUME_XFS_RESTRICTED_CHOWN.
6654 * sysdeps/unix/sysv/linux/pathconf.c
6655 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6656 Save and restore errno.
6658 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6661 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6662 arguments using __kernel_casinh.
6663 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6664 arguments using __kernel_casinhf.
6665 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6666 arguments using __kernel_casinhl.
6667 * math/libm-test.inc (cacosh_test): Add more tests.
6668 * sysdeps/i386/fpu/libm-test-ulps: Update.
6669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6671 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6673 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6676 * bench/Makefile (bench): Add sin and slowsin.
6677 * benchtests/sin-inputs: New file.
6678 * benchtests/slowsin-inputs: New file.
6679 * benchtests/slowsin.c: New file.
6681 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6682 (bench): Add slowexp and slowpow.
6683 (exp-ITER): Increase iterations.
6684 (pow-ITER): Likewise.
6685 * benchtests/exp-inputs: Change input.
6686 * benchtests/pow-inputs: Likewise.
6687 * benchtests/slowexp-inputs: New file.
6688 * benchtests/slowexp.c: New file.
6689 * benchtests/slowpow-inputs: New file.
6690 * benchtests/slowpow.c: New file.
6692 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6694 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6696 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6697 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6698 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6699 * benchtests/Makefile: Add rint benchtest.
6700 * benchtests/rint-inputs: Input for rint benchtest.
6702 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6704 * Versions.def (libm): Add GLIBC_2.18.
6705 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6706 hidden libm prototypes.
6707 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6708 * math/Makefile (libm-calls): Add s_issignaling.
6709 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6710 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6711 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6713 * math/math.h [__USE_GNU] (issignaling): New macro.
6714 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6715 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6716 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6720 * manual/arith.texi (issignaling): New section.
6721 * manual/libm-err-tab.pl (@all_functions): Update comment.
6722 * math/gen-libm-test.pl (parse_args): Apply special handling for
6724 * math/libm-test.inc (print_float, issignaling_test): New
6726 (check_float_internal): Add issignaling checks.
6727 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6729 * sysdeps/powerpc/math-tests.h: New file.
6730 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6732 * math/test-snan.c (TEST_FUNC): Likewise.
6734 2013-03-30 David S. Miller <davem@davemloft.net>
6736 * po/de.po: Update from translation team.
6738 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6741 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6742 imaginary part less than 1.0 and real part less than 0.5
6744 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6745 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6746 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6747 (cacos_test): Add more tests.
6748 (casin_test): Likewise.
6749 (casinh_test): Likewise.
6750 * sysdeps/i386/fpu/libm-test-ulps: Update.
6751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6753 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6755 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6758 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6759 (__pow_mp): Replace ONE and MONE with their values.
6760 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6761 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6762 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6763 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6764 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6765 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6767 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6769 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6770 (__pow_mp): Replace ZERO and MZERO with their values.
6771 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6772 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6773 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6774 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6775 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6776 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6779 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6781 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6783 2013-03-28 Roland McGrath <roland@hack.frob.com>
6785 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6786 Declare with __attribute__ ((weak)).
6787 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6788 Call __call_tls_dtors only if it's not NULL.
6790 2013-03-28 Roland McGrath <roland@hack.frob.com>
6792 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6793 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6794 magic __ehdr_start linker symbol if it's defined.
6795 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6796 them up here if it was already done.
6798 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6799 (_dl_aux_init): Use const in cast when setting it.
6800 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6801 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6802 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6804 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6806 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6807 * csu/libc-tls.c: Nor here.
6808 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6810 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6811 (__libc_message): Never call vsyslog.
6813 2013-03-28 Alan Modra <amodra@gmail.com>
6815 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6817 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6820 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6827 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6830 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6831 Don't add gid passed as argument.
6833 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6835 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6838 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6839 imaginary part between 1.0 and 1.5 and real part less than 0.5
6841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6843 * math/libm-test.inc (cacos_test): Add more tests.
6844 (casin_test): Likewise.
6845 (casinh_test): Likewise.
6846 * sysdeps/i386/fpu/libm-test-ulps: Update.
6847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6849 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6851 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6855 (__dbl_mp): Likewise.
6856 (add_magnitudes): Likewise.
6857 (sub_magnitudes): Likewise.
6865 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6867 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6868 (__dubcos): Likewise.
6869 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6870 (__ieee754_acos): Likewise.
6871 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6872 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6874 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6875 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6877 (my_log2): Likewise.
6878 (checkint): Likewise.
6879 * sysdeps/ieee754/dbl-64/e_remainder.c
6880 (__ieee754_remainder): Likewise.
6881 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6884 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6886 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6887 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6888 MANTISSA_STORE_T to store computations on mantissa. Use
6889 macros for rounding and division.
6891 (__dbl_mp): Likewise.
6892 (add_magnitudes): Likewise.
6893 (sub_magnitudes): Likewise.
6896 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6897 powers of two in terms of TWOPOW macro.
6898 (mp_no): Make type of mantissa as MANTISSA_T.
6899 [!RADIXI]: Define RADIXI.
6900 [!TWO52]: Define TWO52.
6901 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6903 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6905 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6906 llroundl symbol when building for PPC32.
6908 2013-03-24 Mark H Weaver <mhw@netris.org>
6910 * manual/arith.texi (Normalization Functions): Fix prototypes for
6911 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6913 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6916 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6917 high value to check if expl overflow.
6918 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6919 to check for underflow and overflow.
6920 * math/libm-test.inc: Add exp test.
6922 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6925 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6928 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6930 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6933 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6935 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6936 wrap blocks consisting of several statements.
6938 * sysdeps/generic/math-tests.h: New file.
6939 * sysdeps/i386/fpu/math-tests.h: Likewise.
6940 * math/test-snan.c: Include it.
6941 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6943 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6946 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6947 (__ieee754_j0l): Do not improve calculations using cos of twice
6948 input for inputs above LDBL_MAX / 2.0L.
6949 (__ieee754_y0l): Likewise.
6950 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6951 (__ieee754_j1l): Do not improve calculations using cos of twice
6952 input for inputs above LDBL_MAX / 2.0L.
6953 (__ieee754_y1l): Likewise.
6954 * math/libm-test.inc (j0_test): Add another test.
6955 (j1_test): Likewise.
6956 (y0_test): Likewise.
6957 (y1_test): Likewise.
6958 * sysdeps/i386/fpu/libm-test-ulps: Update.
6960 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6962 * Rules ($(objpfx)bench-%.c): Include code from a C source
6965 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6968 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6969 imaginary part 1.0 and real part less than 0.5 specially.
6970 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6971 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6972 * math/libm-test.inc (cacos_test): Add more tests.
6973 (casin_test): Likewise.
6974 (casinh_test): Likewise.
6975 * sysdeps/i386/fpu/libm-test-ulps: Update.
6976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6978 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6980 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6981 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6983 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6985 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6986 * config.make.in (config-cflags-sse4): Remove variable.
6987 (config-cflags-avx): Likewise.
6988 (config-cflags-sse2avx): Likewise.
6989 (config-cflags-novzeroupper): Likewise.
6990 (config-asflags-i686): Likewise.
6991 (have-mfma4): Likewise.
6992 (have-as-vis3): Likewise.
6994 * configure.in (MIG): Do not AC_SUBST.
6995 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6996 (libc_cv_cc_sse4): Do not AC_SUBST.
6997 (libc_cv_cc_avx): Likewise.
6998 (libc_cv_cc_sse2avx): Likewise.
6999 (libc_cv_cc_novzeroupper): Likewise.
7000 (libc_cv_cc_fma4): Likewise.
7001 (libc_cv_as_i686): Likewise.
7002 (libc_cv_sparc_as_vis3): Likewise.
7003 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7005 (config-asflags-i686): Likewise.
7006 (config-cflags-avx): Likewise.
7007 (config-cflags-sse2avx): Likewise.
7008 (have-mfma4): Likewise.
7009 (config-cflags-novzeroupper): Likewise.
7010 * sysdeps/mach/configure.in (MIG): Likewise.
7011 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7012 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7014 (config-cflags-avx): Likewise.
7015 (config-cflags-sse2avx): Likewise.
7016 (have-mfma4): Likewise.
7017 (config-cflags-novzeroupper): Likewise.
7018 * configure: Regenerated.
7019 * sysdeps/i386/configure: Likewise.
7020 * sysdeps/mach/configure: Likewise.
7021 * sysdeps/sparc/configure: Likewise.
7022 * sysdeps/x86_64/configure: Likewise.
7024 2013-03-20 Roland McGrath <roland@hack.frob.com>
7027 * locale/programs/localedef.c (options): Put N_ translation marker
7028 on argument names, not just descriptions.
7030 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7032 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7034 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7037 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7039 2013-03-19 Roland McGrath <roland@hack.frob.com>
7041 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7042 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7043 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7044 [!BEFORE_ABORT] (before_abort): New function.
7045 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7046 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7047 (writev_for_fatal): New function.
7048 (WRITEV_FOR_FATAL): New macro; call that.
7049 (backtrace_and_maps): New function.
7050 (BEFORE_ABORT): New macro; call that.
7051 (struct str_list): Type removed.
7052 (__libc_message, __libc_fatal): Functions removed.
7053 Include <sysdeps/posix/libc_fatal.c> instead.
7055 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7057 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7059 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7062 2013-03-19 Andreas Schwab <schwab@suse.de>
7064 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7065 * sysdeps/gnu/configure: Regenerate.
7067 * configure.in: Substitute libc_cv_rtlddir.
7068 * configure: Regenerate.
7069 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7070 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7071 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7072 * elf/Makefile (install-others, CFLAGS-interp.c)
7073 (ldso_install, common-ldd-rewrite): Likewise.
7074 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7075 $(inst_slibdir)/$(rtld-installed-name).
7076 * scripts/rellns-sh: Add -p option.
7077 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7080 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7082 * manual/nptl.texi: Renamed to ...
7083 * manual/threads.texi: ... this.
7084 * manual/Makefile (chapters): Update.
7086 2013-03-18 Roland McGrath <roland@hack.frob.com>
7089 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7090 on argument names, not just descriptions.
7091 * malloc/memusagestat.c (options): Likewise.
7092 * nss/getent.c (options): Likewise.
7094 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7097 * iconv/iconv_prog.c (options): Put N_ translation marker
7098 on argument names, not just descriptions.
7099 * iconv/iconvconfig.c (options): Likewise.
7101 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7103 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7104 implementation which is faster on all x86_64 architectures.
7105 Tested on AMD, Intel Nehalem, SNB, IVB.
7106 * sysdeps/x86_64/strnlen.S: Likewise.
7108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7109 Remove all multiarch strlen and strnlen versions.
7110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7111 Remove strlen and strnlen related parts.
7113 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7115 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7117 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7118 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7119 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7120 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7121 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7122 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7124 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7126 * manual/memory.texi (Malloc Tunable Parameters):
7127 Sort parameters alphabetically. Add comments for missing entries.
7129 2013-03-17 David S. Miller <davem@davemloft.net>
7131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7133 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7136 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7137 for arguments at most half maximum finite value.
7138 * math/libm-test.inc (j0_test): Add more tests.
7139 (j1_test): Likewise.
7140 (y0_test): Likewise.
7141 (y1_test): Likewise.
7142 * sysdeps/i386/fpu/libm-test-ulps: Update.
7143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7146 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7147 1 / x and functions P and Q for arguments above 0x1p256L.
7148 (__ieee754_y0l): Likewise.
7149 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7150 (__ieee754_y1l): Likewise.
7151 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7152 (j1_test): Likewise.
7153 (y0_test): Likewise.
7154 (y1_test): Likewise.
7156 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7158 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7161 2013-03-15 Roland McGrath <roland@hack.frob.com>
7163 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7164 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7165 zero since it's initialized to EXEC_PAGESIZE.
7167 * sysdeps/unix/sysv/linux/ldsodefs.h
7168 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7169 * sysdeps/generic/ldsodefs.h: ... here.
7171 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7173 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7175 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7177 * math/test-snan.c: Renamed from
7178 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7179 * math/Makefile (tests): Add test-snan.
7180 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7183 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7184 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7186 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7187 __builtin_nan family of functions.
7188 * math/libm-test.inc (initialize): Initialize qnan_value with
7189 __builtin_nan family of functions.
7190 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7192 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7194 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7195 storage class. Initialize qNaN_var and sNaN_var with
7196 __builtin_nan and __builtin_nans families of functions,
7199 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7200 (sqrt_test): Remove duplicate test with qNaN input.
7201 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7202 (round_test, signbit_test, significand_test): Note missing +/-Inf
7203 as well as qNaN tests.
7205 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7206 qNaN_var. Fix a few strings, too.
7207 * math/libm-test.inc (nan_value): Rename to qnan_value.
7208 * math/gen-libm-test.pl (%beautify): Adjust to that.
7209 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7210 * math/test-misc.c (main): Likewise.
7211 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7212 to __qnan_bytes, and __qnan_union, respectively.
7213 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7215 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7216 and lqnanval, respectively.
7217 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7218 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7219 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7220 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7222 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7223 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7226 * math/test-misc.c (main): Fix copy'n'pastos.
7227 * misc/tst-efgcvt.c (special): Likewise.
7229 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7230 Remove declarations.
7232 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7234 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7235 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7236 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7237 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7239 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7241 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7242 macro to return vdso values correctly in IFUNC implementations.
7243 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7244 Optimization by using IFUNC.
7246 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7247 Richard Henderson <rth@redhat.com>
7248 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7250 * Makefile.in (bench): New target.
7251 * NEWS: Mention the benchmark framework.
7252 * Rules (bench): Likewise.
7253 (binaries-bench): Generate binaries for functions to
7255 * benchtests/Makefile: New makefile for benchmark tests.
7256 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7258 * benchtests/exp-inputs: New input file for EXP function.
7259 * benchtests/pow-inputs: New input file for POW function.
7260 * scripts/bench.pl: New script to generate source files for
7263 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7265 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7266 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7267 computations on mantissa. Use macros for rounding and
7270 (__dbl_mp): Likewise.
7271 (add_magnitudes): Likewise.
7272 (sub_magnitudes): Likewise.
7275 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7276 powers of two in terms of TWOPOW macro.
7277 (mp_no): Make type of mantissa as MANTISSA_T.
7278 [!RADIXI]: Define RADIXI.
7279 [!TWO52]: Define TWO52.
7280 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7282 * manual/nptl.texi (cindex): Modify threads to pthreads.
7284 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7286 * sysdeps/x86_64/preconfigure: Regenerated.
7288 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7291 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7293 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7294 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7296 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7297 * math/libm-test.inc (j0_test): Do not allow one spurious
7298 underflow exception.
7299 (y1_test): Likewise.
7301 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7303 * manual/Makefile (chapters): Add nptl.
7304 * manual/debug.texi (Debugging Support): Add link to Threads
7306 * manual/nptl.texi: New file.
7308 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7310 2013-03-14 Petr Baudis <pasky@ucw.cz>
7312 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7313 for non-NULL pointer before the memory validity test. Pointed
7314 out by Holger Brunck <holger.brunck@keymile.com>.
7316 2013-03-13 Andreas Schwab <schwab@suse.de>
7318 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7321 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7323 * timezone/zic.c: Update from tzcode 2013b.
7325 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7327 * manual/install.texi (Configuring and compiling):
7328 Mention i686 and i586.
7329 * INSTALL: Regenerate.
7331 2013-03-12 Roland McGrath <roland@hack.frob.com>
7333 * sysdeps/init_array/elf-init.c: New file.
7335 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7336 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7338 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7339 __gmon_start__ as global, but as static with a .preinit_array pointer.
7340 * sysdeps/init_array/gmon-start.c: New file. Use that.
7341 * sysdeps/init_array/crti.S: New file, empty except for comments.
7342 * sysdeps/init_array/crtn.S: Likewise.
7344 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7346 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7349 Remove Prefer_SSE_for_memop.
7350 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7351 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7352 HAS_PREFER_SSE_FOR_MEMOP.
7353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7356 Remove bzero, memset ifunc support.
7357 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7358 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7359 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7360 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7362 2013-03-11 Andreas Schwab <schwab@suse.de>
7365 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7368 (GLIBC_2.16): Remove pthread_atfork.
7370 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7372 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7373 (ptestcases.h): Likewise.
7375 2013-03-08 Roland McGrath <roland@hack.frob.com>
7377 * Makeconfig ($(common-objpfx)config.status): Depend on
7378 sysdeps/*/preconfigure{,.in} too.
7380 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7382 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7383 (__free_hook): Use void * instead of __malloc_ptr_t.
7384 (__malloc_hook): Likewise.
7385 (__realloc_hook): Likewise.
7386 (__memalign_hook): Likewise.
7387 (__after_morecore_hook): Likewise.
7388 * malloc/arena.c (save_malloc_hook): Likewise.
7389 (save_free_hook): Likewise.
7390 * malloc/hooks.c (malloc_hook_ini): Likewise.
7391 (realloc_hook_ini): Likewise.
7392 (memalign_hook_ini): Likewise.
7393 * malloc/malloc.c (malloc_hook_ini): Likewise.
7394 (realloc_hook_ini): Likewise.
7395 (memalign_hook_ini): Likewise.
7396 (__free_hook): Likewise.
7397 (__malloc_hook): Likewise.
7398 (__realloc_hook): Likewise.
7399 (__memalign_hook): Likewise.
7400 (__libc_malloc): Likewise.
7401 (__libc_free): Likewise.
7402 (__libc_realloc): Likewise.
7403 (__libc_memalign): Likewise.
7404 (__libc_valloc): Likewise.
7405 (__libc_pvalloc): Likewise.
7406 (__libc_calloc): Likewise.
7407 (__posix_memalign): Likewise.
7408 * malloc/morecore.c (__sbrk): Likewise.
7409 (__default_morecore): Likewise.
7411 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7413 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7414 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7417 * malloc/malloc.h (__malloc_size_t): Remove macro.
7418 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7420 (old_memalign_hook): Likewise.
7421 (old_realloc_hook): Likewise.
7422 (struct hdr): Likewise.
7424 (mallochook): Likewise.
7425 (memalignhook): Likewise.
7426 (reallochook): Likewise.
7427 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7428 (tr_old_realloc_hook): Likewise.
7429 (tr_old_memalign_hook): Likewise.
7430 (tr_mallochook): Likewise.
7431 (tr_reallochook): Likewise.
7432 (tr_memalignhook): Likewise.
7434 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7436 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7437 default_ldbl_pack and using as default implementation.
7438 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7440 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7441 redundant definition.
7442 (ldbl_insert_mantissa): Likewise.
7443 (ldbl_canonicalize): Likewise.
7444 (ldbl_nearbyint): Likewise.
7445 (ldbl_pack): Rename to ldbl_pack_ppc.
7446 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7447 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7448 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7450 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7453 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7454 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7455 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7457 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7458 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7459 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7461 2013-03-07 Andreas Jaeger <aj@suse.de>
7463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7466 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7468 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7469 Include mpa.h and declare __MPEXP.
7470 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7471 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7472 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7473 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7474 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7475 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7476 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7478 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7479 (__slowpow): Use long double EXPL and LOGL functions to
7481 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7482 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7483 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7484 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7485 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7486 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7489 intermediate variable to calculate exponent.
7491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7495 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7496 [!NO__SQR]: Define __sqr.
7497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7498 and NO__SQR. Remove all code except __mul and __sqr. Include
7499 sysdeps/ieee754/dbl-64/mpa.c.
7500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7503 * posix/Makefile (tests): Add tst-pathconf.
7504 * posix/tst-pathconf.c: New test case.
7505 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7507 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7509 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7511 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7513 2013-03-06 Andreas Jaeger <aj@suse.de>
7515 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7516 definition via __MAP_ANONYMOUS.
7518 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7519 it's not part of Linux headers.
7521 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7522 (MAP_HUGE_MASK): Define.
7524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7526 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7529 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7530 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7532 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7535 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7537 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7538 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7539 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7540 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7541 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7542 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7544 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7547 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7548 Handle f2fs and efivarfs.
7550 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7553 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7554 (EFIVARFS_MAGIC): Add.
7555 (F2FS_LINK_MAX): Add.
7557 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7559 * stdio-common/vfprintf.c: Replace __builtin_expect with
7562 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7565 * sysdeps/generic/bp-sym.h: Remove file.
7566 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7567 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7568 <bp-sym.h> and <bp-asm.h>.
7569 (__longjmp): Don't use BP_SYM.
7570 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7572 (memcpy): Don't use BP_SYM.
7573 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7574 <bp-sym.h> and <bp-asm.h>.
7575 (memcpy): Don't use BP_SYM.
7576 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7578 (memcpy): Don't use BP_SYM.
7579 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7581 (memset): Don't use BP_SYM.
7582 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7583 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7584 (__bzero): Don't use BP_SYM.
7585 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7586 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7587 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7588 <bp-sym.h> and <bp-asm.h>.
7589 (memcmp): Don't use BP_SYM. Remove comment about bounded
7591 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7592 <bp-sym.h> and <bp-asm.h>.
7593 (memcpy): Don't use BP_SYM.
7594 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7595 <bp-sym.h> and <bp-asm.h>.
7596 (memset): Don't use BP_SYM.
7597 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7598 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7599 (__bzero): Don't use BP_SYM.
7600 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7601 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7602 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7603 <bp-sym.h> and <bp-asm.h>.
7604 (strncmp): Don't use BP_SYM. Remove comment about bounded
7606 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7607 <bp-sym.h> and <bp-asm.h>.
7608 (memcpy): Don't use BP_SYM.
7609 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7610 <bp-sym.h> and <bp-asm.h>.
7611 (memset): Don't use BP_SYM.
7612 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7613 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7614 (__bzero): Don't use BP_SYM.
7615 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7616 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7617 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7618 <bp-sym.h> and <bp-asm.h>.
7619 (__memchr): Don't use BP_SYM.
7620 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7621 <bp-sym.h> and <bp-asm.h>.
7622 (memcmp): Don't use BP_SYM. Remove comment about bounded
7624 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7625 <bp-sym.h> and <bp-asm.h>.
7626 (memcpy): Don't use BP_SYM.
7627 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7628 <bp-sym.h> and <bp-asm.h>.
7629 (__mempcpy): Don't use BP_SYM.
7630 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7631 <bp-sym.h> and <bp-asm.h>.
7632 (__memrchr): Don't use BP_SYM.
7633 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7634 <bp-sym.h> and <bp-asm.h>.
7635 (memset): Don't use BP_SYM.
7636 (__bzero): Likewise.
7637 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7638 <bp-sym.h> and <bp-asm.h>.
7639 (__rawmemchr): Don't use BP_SYM.
7640 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7641 <bp-sym.h> and <bp-asm.h>.
7642 (__STRCMP): Don't use BP_SYM.
7643 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7644 <bp-sym.h> and <bp-asm.h>.
7645 (strchr): Don't use BP_SYM.
7646 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7647 <bp-sym.h> and <bp-asm.h>.
7648 (__strchrnul): Don't use BP_SYM.
7649 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7650 <bp-sym.h> and <bp-asm.h>.
7651 (strlen): Don't use BP_SYM.
7652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7653 <bp-sym.h> and <bp-asm.h>.
7654 (strncmp): Don't use BP_SYM. Remove comment about bounded
7656 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7657 <bp-sym.h> and <bp-asm.h>.
7658 (__strnlen): Don't use BP_SYM.
7659 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7660 <bp-sym.h> and <bp-asm.h>.
7661 (__GI__setjmp): Don't use BP_SYM.
7662 (_setjmp): Likewise.
7663 (__sigsetjmp): Likewise.
7664 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7665 (L(start_addresses)): Don't use BP_SYM.
7667 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7669 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7670 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7671 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7672 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7673 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7675 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7676 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7677 about bounded pointers.
7678 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7679 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7680 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7682 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7683 about bounded pointers. Remove GKM FIXME comments.
7684 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7685 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7687 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7688 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7689 Remove GKM FIXME comments.
7690 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7691 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7692 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7694 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7695 about bounded pointers. Remove GKM FIXME comment.
7696 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7698 (strncmp): Don't use BP_SYM. Remove comment about bounded
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7701 <bp-sym.h> and <bp-asm.h>.
7702 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7704 <bp-sym.h> and <bp-asm.h>.
7705 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7708 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7710 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7713 2013-03-05 David S. Miller <davem@davemloft.net>
7715 * po/es.po: Update from translation team.
7717 2013-03-05 Andreas Jaeger <aj@suse.de>
7719 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7720 <bits/mman-linux.h>.
7721 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7723 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7724 <bits/mman-linux.h> to end of file.
7725 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7727 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7728 <bits/mman-linux.h> to end of file.
7729 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7731 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7732 <bits/mman-linux.h> to end of file.
7734 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7735 (MCL_CURRENT, MCL_FUTURE): Define here.
7737 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7740 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7742 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7744 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7746 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7747 fourth parameter needed for rt_sigprocmask syscall.
7748 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7749 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7750 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7751 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7752 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7753 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7755 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7758 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7759 comment about bounded pointers.
7760 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7761 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7763 2013-03-04 Andreas Jaeger <aj@suse.de>
7765 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7768 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7769 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7770 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7772 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7775 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7778 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7779 __ieee754_sqrl instead of __sqrl.
7781 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7783 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7784 * sysdeps/powerpc/fpu_control.h: ... here.
7785 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7786 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7787 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7788 * sysdeps/powerpc/bits/mathinline.h: ... here.
7790 2013-03-01 Roland McGrath <roland@hack.frob.com>
7792 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7793 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7794 to just [NEED_DL_SYSINFO_DSO].
7795 * elf/dl-support.c: Likewise.
7796 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7797 * elf/rtld.c (dl_main): Likewise.
7798 * elf/setup-vdso.h (setup_vdso): Likewise.
7799 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7800 * sysdeps/unix/sysv/linux/dl-sysdep.c
7801 (_dl_discover_osversion): Likewise.
7803 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7805 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7806 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7808 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7810 * NEWS: Mention libm performance improvements and non-x86 PI
7813 * csu/libc-start.c (__pthread_initialize_minimal): Change
7815 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7817 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7820 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7821 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7822 <bp-sym.h> and <bp-asm.h>.
7823 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7824 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7826 (memcpy): Don't use BP_SYM.
7827 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7829 (__mpn_add_n): Don't use BP_SYM.
7830 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7831 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7833 (__mpn_addmul_1): Don't use BP_SYM.
7834 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7835 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7837 (_setjmp): Don't use BP_SYM.
7838 (__novmx_setjmp): Likewise.
7839 (__GI__setjmp): Likewise.
7840 (__vmx_setjmp): Likewise.
7841 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7843 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7844 (__bzero): Don't use BP_SYM.
7845 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7846 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7847 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7848 <bp-sym.h> and <bp-asm.h>.
7849 (memcpy): Don't use BP_SYM.
7850 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7851 <bp-sym.h> and <bp-asm.h>.
7852 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7853 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7854 <bp-sym.h> and <bp-asm.h>.
7855 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7856 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7858 (__mpn_lshift): Don't use BP_SYM.
7859 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7860 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7862 (memset): Don't use BP_SYM.
7863 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7864 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7865 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7867 (__mpn_mul_1): Don't use BP_SYM.
7868 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7869 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7870 <bp-sym.h> and <bp-asm.h>.
7871 (memcmp): Don't use BP_SYM.
7872 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7873 <bp-sym.h> and <bp-asm.h>.
7874 (memcpy): Don't use BP_SYM.
7875 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7876 <bp-sym.h> and <bp-asm.h>.
7877 (memset): Don't use BP_SYM.
7878 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7879 <bp-sym.h> and <bp-asm.h>.
7880 (strncmp): Don't use BP_SYM.
7881 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7882 <bp-sym.h> and <bp-asm.h>.
7883 (memcpy): Don't use BP_SYM.
7884 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7885 <bp-sym.h> and <bp-asm.h>.
7886 (memset): Don't use BP_SYM.
7887 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7888 <bp-sym.h> and <bp-asm.h>.
7889 (__memchr): Don't use BP_SYM.
7890 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7891 <bp-sym.h> and <bp-asm.h>.
7892 (memcmp): Don't use BP_SYM.
7893 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7894 <bp-sym.h> and <bp-asm.h>.
7895 (memcpy): Don't use BP_SYM.
7896 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7897 <bp-sym.h> and <bp-asm.h>.
7898 (__mempcpy): Don't use BP_SYM.
7899 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7900 <bp-sym.h> and <bp-asm.h>.
7901 (__memrchr): Don't use BP_SYM.
7902 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7903 <bp-sym.h> and <bp-asm.h>.
7904 (memset): Don't use BP_SYM.
7905 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7906 <bp-sym.h> and <bp-asm.h>.
7907 (__rawmemchr): Don't use BP_SYM.
7908 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7909 <bp-sym.h> and <bp-asm.h>.
7910 (__STRCMP): Don't use BP_SYM.
7911 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7912 <bp-sym.h> and <bp-asm.h>.
7913 (strchr): Don't use BP_SYM.
7914 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7915 <bp-sym.h> and <bp-asm.h>.
7916 (__strchrnul): Don't use BP_SYM.
7917 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7918 <bp-sym.h> and <bp-asm.h>.
7919 (strlen): Don't use BP_SYM.
7920 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7921 <bp-sym.h> and <bp-asm.h>.
7922 (strncmp): Don't use BP_SYM.
7923 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7924 <bp-sym.h> and <bp-asm.h>.
7925 (__strnlen): Don't use BP_SYM.
7926 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7928 (__mpn_rshift): Don't use BP_SYM.
7929 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7930 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7931 <bp-sym.h> and <bp-asm.h>.
7932 (__sigsetjmp): Don't use BP_SYM.
7933 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7934 (L(start_addresses)): Don't use BP_SYM.
7936 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7938 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7939 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7940 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7941 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7943 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7944 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7945 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7946 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7948 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7950 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7951 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7953 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7955 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7956 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7957 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7959 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7961 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7963 (strncmp): Don't use BP_SYM,
7964 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7966 (__mpn_sub_n): Don't use BP_SYM.
7967 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7968 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7970 (__mpn_submul_1): Don't use BP_SYM.
7971 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7973 <bp-sym.h> and <bp-asm.h>.
7974 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7976 <bp-sym.h> and <bp-asm.h>.
7977 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7980 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7983 Use ZK to minimize writes to Z.
7984 (sub_magnitudes): Simplify code a bit.
7985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7986 Use ZK to minimize writes to Z.
7987 (sub_magnitudes): Simplify code a bit.
7989 2013-02-27 Roland McGrath <roland@hack.frob.com>
7991 * csu/gmon-start.c: Add special exception to license text.
7993 2013-02-27 Richard Henderson <rth@redhat.com>
7995 * scripts/config.guess: Update from config.git.
7996 * scripts/config.sub: Likewise.
7998 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8002 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8004 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8006 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8008 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8010 2013-02-26 Roland McGrath <roland@hack.frob.com>
8012 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8013 [$(build-shared = yes].
8015 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8017 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8018 (__mul): Reduce iterations for calculating mantissa.
8020 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8022 (__mpranred): Likewise.
8025 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8026 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8028 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8030 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8031 Define __attribute__.
8033 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8035 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8037 * posix/regex_internal.h (__attribute): Remove.
8038 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8039 (re_string_context_at): Likewise.
8040 (bitset_not): Use __attribute__ and mark function as possibly
8042 (bitset_merge): Likewise.
8043 (bitset_mask): Likewise.
8044 (re_string_char_size_at): Likewise.
8045 (re_string_wchar_at): Likewise.
8046 (re_string_elem_size_at): Likewise.
8048 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8050 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8054 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8059 (__dbl_mp): Likewise.
8060 (add_magnitudes): Likewise.
8061 (sub_magnitudes): Likewise.
8065 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8068 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8071 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8075 up changes with default code.
8076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8079 2013-02-24 Allan McRae <allan@archlinux.org>
8081 * manual/socket.texi (The Internet Namespace): Order menu items
8082 to match that in the file.
8084 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8085 node listing of the info page menu.
8087 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/i386/bp-asm.h: Remove file.
8091 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8092 (PARMS): Do not use macros from bp-asm.h.
8096 (__mpn_add_n): Do not use BP_SYM
8097 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8099 (PARMS): Do not use macros from bp-asm.h.
8102 (__mpn_addmul_1): Do not use BP_SYM
8103 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8105 (PARMS): Do not use macros from bp-asm.h.
8107 (_setjmp): Likewise. Do not use BP_SYM.
8108 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8110 (PARMS): Do not use macros from bp-asm.h.
8112 (setjmp): Likewise. Do not use BP_SYM.
8113 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8115 (PARMS): Do not use macros from bp-asm.h.
8116 (__frexp): Do not use BP_SYM.
8118 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8120 (PARMS): Do not use macros from bp-asm.h.
8121 (__frexpf): Do not use BP_SYM.
8123 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8125 (PARMS): Do not use macros from bp-asm.h.
8126 (__frexpl): Do not use BP_SYM.
8128 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8130 (PARMS): Do not use macros from bp-asm.h.
8131 (__remquo): Do not use BP_SYM.
8133 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8135 (PARMS): Do not use macros from bp-asm.h.
8136 (__remquof): Do not use BP_SYM.
8137 (remquof): Likewise.
8138 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8140 (PARMS): Do not use macros from bp-asm.h.
8141 (__remquol): Do not use BP_SYM.
8142 (remquol): Likewise.
8143 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8145 (PARMS): Do not use macros from bp-asm.h.
8148 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8149 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8151 (PARMS): Do not use macros from bp-asm.h.
8152 (strlen): Do not use BP_SYM.
8153 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8155 (PARMS): Do not use macros from bp-asm.h.
8159 (__mpn_add_n): Do not use BP_SYM.
8160 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8162 (PARMS): Do not use macros from bp-asm.h.
8165 (__mpn_addmul_1): Do not use BP_SYM.
8166 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8169 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8171 (PARMS): Do not use macros from bp-asm.h.
8174 (__mpn_lshift): Do not use BP_SYM.
8175 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8177 (PARMS): Do not use macros from bp-asm.h.
8181 (memcpy): Likewise. Do not use BP_SYM.
8182 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8183 libc_hidden_def and weak_alias.
8184 (mempcpy): Do not use BP_SYM in weak_alias.
8185 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8187 (PARMS): Do not use macros from bp-asm.h.
8190 [!BZERO_P] (CHR): Likewise.
8191 (memset): Likewise. Do not use BP_SYM.
8192 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8194 (PARMS): Do not use macros from bp-asm.h.
8197 (__mpn_mul_1): Do not use BP_SYM.
8198 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8200 (PARMS): Do not use macros from bp-asm.h.
8203 (__mpn_rshift): Do not use BP_SYM.
8204 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8206 (PARMS): Do not use macros from bp-asm.h.
8209 (strchr): Likewise. Do not use BP_SYM.
8210 (index): Do not use BP_SYM in weak_alias.
8211 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8213 (PARMS): Do not use macros from bp-asm.h.
8216 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8217 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8219 (PARMS): Do not use macros from bp-asm.h.
8220 (strlen): Do not use BP_SYM.
8221 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8223 (PARMS): Do not use macros from bp-asm.h.
8227 (__mpn_sub_n): Do not use BP_SYM.
8228 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8230 (PARMS): Do not use macros from bp-asm.h.
8233 (__mpn_submul_1): Do not use BP_SYM.
8234 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8236 (PARMS): Do not use macros from bp-asm.h.
8240 (__mpn_add_n): Do not use BP_SYM.
8241 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8244 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8246 (PARMS): Do not use macros from bp-asm.h.
8249 (memcmp): Do not use BP_SYM.
8250 (bcmp): Do not use BP_SYM in weak_alias.
8251 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8253 (PARMS): Do not use macros from bp-asm.h.
8257 (memcpy): Likewise. Do not use BP_SYM.
8258 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8260 (PARMS): Do not use macros from bp-asm.h.
8264 (memmove): Likewise. Do not use BP_SYM.
8265 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8267 (PARMS): Do not use macros from bp-asm.h.
8271 (__mempcpy): Likewise. Do not use BP_SYM.
8272 (mempcpy): Do not use BP_SYM in weak_alias.
8273 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8275 (PARMS): Do not use macros from bp-asm.h.
8278 [!BZERO_P] (CHR): Likewise.
8279 (memset): Likewise. Do not use BP_SYM.
8280 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8282 (PARMS): Do not use macros from bp-asm.h.
8284 (strcmp): Do not use BP_SYM.
8285 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8287 (PARMS): Do not use macros from bp-asm.h.
8290 [USE_AS_STRTOK_R] (SAVE): Likewise.
8291 (FUNCTION): Likewise. Do not use BP_SYM.
8292 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8294 (strtok_r): Likewise.
8295 (__GI___strtok_r): Likewise.
8296 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8297 (PARMS): Do not use macros from bp-asm.h.
8300 (__mpn_lshift): Do not use BP_SYM.
8301 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8302 (PARMS): Do not use macros from bp-asm.h.
8305 (__memchr): Do not use BP_SYM.
8306 (memchr): Do not use BP_SYM in weak_alias.
8307 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8308 (PARMS): Do not use macros from bp-asm.h.
8311 (memcmp): Do not use BP_SYM.
8312 (bcmp): Do not use BP_SYM in weak_alias.
8313 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8314 (PARMS): Do not use macros from bp-asm.h.
8317 (__mpn_mul_1): Do not use BP_SYM.
8318 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8320 (PARMS): Do not use macros from bp-asm.h.
8323 (__rawmemchr): Do not use BP_SYM.
8324 (rawmemchr): Do not use BP_SYM in weak_alias.
8325 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8326 (PARMS): Do not use macros from bp-asm.h.
8329 (__mpn_rshift): Do not use BP_SYM.
8330 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8331 (PARMS): Do not use macros from bp-asm.h.
8333 (__sigsetjmp): Likewise. Do not use BP_SYM.
8334 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8335 (_start): Do not use BP_SYM.
8336 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8337 (PARMS): Do not use macros from bp-asm.h.
8340 (__stpcpy): Likewise. Do not use BP_SYM.
8341 (stpcpy): Do not use BP_SYM in weak_alias.
8342 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8344 (PARMS): Do not use macros from bp-asm.h.
8348 (__stpncpy): Likewise. Do not use BP_SYM.
8349 (stpncpy): Do not use BP_SYM in weak_alias.
8350 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8351 (PARMS): Do not use macros from bp-asm.h.
8354 (strchr): Likewise. Do not use BP_SYM.
8355 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8357 (PARMS): Do not use macros from bp-asm.h.
8360 (__strchrnul): Likewise. Do not use BP_SYM.
8361 (strchrnul): Do not use BP_SYM in weak_alias.
8362 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8364 (PARMS): Do not use macros from bp-asm.h.
8366 (strcspn): Do not use BP_SYM.
8367 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8369 (PARMS): Do not use macros from bp-asm.h.
8372 (strpbrk): Likewise. Do not use BP_SYM.
8373 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8375 (PARMS): Do not use macros from bp-asm.h.
8378 (strrchr): Likewise. Do not use BP_SYM.
8379 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8380 (PARMS): Do not use macros from bp-asm.h.
8382 (strspn): Do not use BP_SYM.
8383 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8384 (PARMS): Do not use macros from bp-asm.h.
8388 (FUNCTION): Likewise. Do not use BP_SYM.
8389 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8391 (strtok_r): Likewise.
8392 (__GI___strtok_r): Likewise.
8393 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8394 (PARMS): Do not use macros from bp-asm.h.
8398 (__mpn_sub_n): Do not use BP_SYM.
8399 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8401 (PARMS): Do not use macros from bp-asm.h.
8404 (__mpn_submul_1): Do not use BP_SYM.
8405 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8407 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8409 (PARMS): Do not use macros from bp-asm.h.
8414 (__clone): Do not use BP_SYM.
8415 (clone): Do not use BP_SYM in weak_alias.
8416 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8418 (PARMS): Do not use macros from bp-asm.h.
8420 (__mmap64): Do not use BP_SYM.
8421 (mmap64): Do not use BP_SYM in weak_alias.
8422 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8423 <bp-sym.h> and <bp-asm.h>.
8424 (PARMS): Do not use macros from bp-asm.h.
8425 (__posix_fadvise64_l64): Do not use BP_SYM.
8426 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8427 (PARMS): Do not use macros from bp-asm.h.
8429 (semtimedop): Do not use BP_SYM.
8430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8433 2013-02-21 Allan McRae <allan@archlinux.org>
8435 * manual/message.texi (Charset conversion in gettext):
8436 Move @end statement to beginning of line.
8438 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8445 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8450 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8452 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8453 tail-call to the resolved function if pltexit isn't needed.
8455 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8458 or Y being zero as being unlikely.
8459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8462 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8464 * manual/nss.texi (System Databases and Name Service Switch):
8465 Remove frobnicate @pxref.
8467 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8469 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8470 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8472 2013-02-20 Petr Machata <pmachata@redhat.com>
8474 * elf/elf.h (R_ARM_TARGET1): New macro.
8475 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8476 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8477 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8478 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8479 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8480 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8481 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8482 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8483 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8484 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8485 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8486 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8487 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8488 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8489 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8490 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8491 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8492 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8493 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8494 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8495 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8496 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8497 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8498 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8499 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8500 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8501 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8502 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8503 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8504 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8505 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8506 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8507 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8508 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8509 (R_ARM_THM_GOT_BREL12): Likewise.
8510 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8511 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8512 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8513 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8514 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8515 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8516 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8517 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8518 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8520 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8522 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8523 __attribute_used__ to __attribute__ ((unused)).
8525 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8527 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8533 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8536 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8538 (ENTER): Remove both macro definitions.
8540 (CHECK_BOUNDS_LOW): Likewise.
8541 (CHECK_BOUNDS_HIGH): Likewise.
8542 (CHECK_BOUNDS_BOTH): Likewise.
8543 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8544 (RETURN_BOUNDED_POINTER): Likewise.
8545 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8546 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8547 (POP_ERRNO_LOCATION_RETURN): Likewise.
8548 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8549 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8550 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8552 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8553 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8554 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8555 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8556 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8557 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8558 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8559 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8560 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8561 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8562 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8563 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8564 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8565 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8567 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8568 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8570 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8571 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8572 * sysdeps/i386/i586/memset.S (memset): Likewise.
8573 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8574 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8575 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8577 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8578 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8579 Change uses of L(2) to L(out).
8580 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8581 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8582 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8583 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8584 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8586 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8587 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8589 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8590 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8591 (RETURN): Do not use macro LEAVE.
8592 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8593 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8594 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8595 * sysdeps/i386/i686/memset.S (memset): Likewise.
8596 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8597 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8598 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8599 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8601 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8602 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8603 L(1_2) and L(1_3) into L(1).
8604 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8605 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8606 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8607 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8608 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8609 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8610 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8611 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8612 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8614 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8615 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8616 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8617 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8618 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8619 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8620 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8621 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8622 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8623 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8624 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8625 * sysdeps/i386/strspn.S (strspn): Likewise.
8626 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8628 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8629 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8630 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8631 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8633 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8634 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8635 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8637 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8639 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8641 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8644 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8646 * math/atest-exp.c (exp_mpn): Remove ROUND.
8647 * math/atest-exp2.c (exp_mpn): Likewise.
8648 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8650 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8651 * stdlib/tst-tls-atexit-lib.c: Likewise.
8652 * stdlib/tst-tls-atexit.c: Likewise.
8654 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8656 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8657 and __attribute_alloc_size__.
8659 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8661 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8662 __attribute_alloc_size__.
8663 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8664 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8666 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8668 * include/programs/xmalloc.h: New file.
8669 * catgets/gencat.c: Include it.
8670 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8671 * elf/pldd.c: Likewise.
8672 * iconv/iconv_charmap.c: Likewise.
8673 * iconv/iconvconfig.c: Likewise.
8674 * iconv/strtab.c: Likewise.
8675 * locale/programs/locale.c: Likewise.
8676 * locale/programs/localedef.h: Likewise.
8677 * locale/programs/simple-hash.c: Likewise.
8678 * nscd/nscd.h: Likewise.
8679 * nss/makedb.c: Likewise.
8680 * sysdeps/generic/ldconfig.h: Likewise.
8682 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8684 * Versions.def: Add GLIBC_2.18.
8685 * include/link.h (struct link_map): New member l_tls_dtor_count.
8686 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8687 (__call_tls_dtors): Likewise.
8688 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8689 __cxa_thread_atexit_impl.
8690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8706 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8707 (tests): Add test case tst-tls-atexit.
8708 (modules-names): Add shared library for tst-tls-atexit.
8709 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8710 (GLIBC_PRIVATE): Add __call_tls_dtors.
8711 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8713 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8714 * stdlib/tst-tls-atexit.c: New test case.
8715 * stdlib/tst-tls-atexit-lib.c: New test case.
8717 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8719 * elf/Versions (ld): Add _dl_find_dso_for_object.
8720 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8721 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8722 (dl_open_worker): Use _dl_find_dso_for_object.
8723 * elf/dl-sym.c (do_sym): Likewise.
8724 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8726 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8728 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8729 Syntactic changes only.
8730 (_dl_runtime_profile): Do a tail-call to the resolved function.
8732 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8735 * sysdeps/x86_64/bp-asm.h: Remove file.
8736 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8737 <bp-sym.h> and <bp-asm.h>.
8738 (__clone): Do not use BP_SYM.
8739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8740 <bp-sym.h> and <bp-asm.h>.
8741 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8742 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8744 (_setjmp): Do not use BP_SYM.
8745 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8747 (setjmp): Do not use BP_SYM.
8748 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8750 (mempcpy): Do not use BP_SYM in weak_alias.
8751 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8753 (strchr): Do not use BP_SYM.
8754 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8756 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8757 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8758 (_start): Do not use BP_SYM.
8759 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8761 (strcat): Do not use BP_SYM.
8762 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8764 (STRCMP): Do not use BP_SYM.
8765 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8767 (STRCPY): Do not use BP_SYM.
8768 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8770 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8772 (FUNCTION): Do not use BP_SYM.
8773 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8775 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8777 2013-02-17 Andreas Jaeger <aj@suse.de>
8779 * time/Versions: Sort entries.
8780 * string/Versions: Likewise.
8781 * resolv/Versions: Likewise.
8782 * posix/Versions: Likewise.
8783 * iconv/Versions: Likewise.
8784 * elf/Versions: Likewise.
8785 * wcsmbs/Versions: Likewise.
8787 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8789 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8790 loop termination condition.
8792 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8793 variable to calculate EZ.
8796 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8797 the lower precision input.
8799 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8802 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8803 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8804 (run-via-rtld-prefix): Do not handle %-bp tests.
8805 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8806 (all-object-suffixes): Remove .ob.
8807 (bppfx): Remove variable.
8808 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8809 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8810 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8811 [$(build-bounded) = yes] (libtype.ob): Likewise.
8812 * Makerules (elide-routines.ob): Remove variable.
8813 (do-tests-clean): Do not handle *-bp.out.
8814 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8815 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8816 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8817 (tests): Do not include $(tests-bp.out).
8818 (xtests): Do not include $(xtests-bp.out).
8819 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8820 [$(build-bounded) = yes] ($(addprefix
8821 $(objpfx),$(binaries-bounded))): Remove rule.
8822 ($(objpfx)%-bp.out): Remove rule.
8823 * config.make.in (build-bounded): Remove variable.
8824 * crypt/Makefile [$(build-bounded) = yes]
8825 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8826 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8828 [$(build-bounded) = yes] (install-lib): Likewise.
8829 [$(build-bounded) = yes] (generated): Likewise.
8830 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8832 * intl/Makefile [$(build-bounded) = yes]
8833 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8834 * math/Makefile [$(build-bounded) = yes]
8835 ($(tests:%=$(objpfx)%-bp): Likewise.
8836 * misc/Makefile [$(build-bounded) = yes]
8837 ($(objpfx)tst-tsearch-bp): Likewise.
8838 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8839 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8841 * string/Makefile (o-objects.ob): Remove variable.
8842 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8843 (CFLAGS-.ob): Remove variable.
8844 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8845 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8846 both definitions of variable.
8847 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8848 (ASFLAGS-.ob): Remove variable.
8850 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8853 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8854 Remove __BOUNDED_POINTERS__ from condition.
8855 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8856 * string/bits/string2.h [!__NO_STRING_INLINES &&
8857 !__BOUNDED_POINTERS__]: Likewise.
8858 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8860 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8861 Remove conditional code.
8862 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8863 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8864 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8868 * csu/libc-start.c: Do not include <bp-sym.h>.
8869 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8870 * elf/dl-open.c: Do not include <bp-sym.h>.
8871 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8872 * math/fegetenv.c: Do not include <bp-sym.h>.
8873 (fegetenv): Do not use BP_SYM in versioned symbols.
8874 * nptl/sysdeps/pthread/bits/libc-lockP.h
8875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8878 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8880 (__pthread_mutex_destroy): Likewise.
8881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8882 (__pthread_mutex_lock): Likewise.
8883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8884 (__pthread_mutex_trylock): Likewise.
8885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8886 (__pthread_mutex_unlock): Likewise.
8887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8888 (__pthread_mutexattr_init): Likewise.
8889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8890 (__pthread_mutexattr_destroy): Likewise.
8891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8892 (__pthread_mutexattr_settype): Likewise.
8893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8894 (__pthread_rwlock_init): Likewise.
8895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8896 (__pthread_rwlock_destroy): Likewise.
8897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8898 (__pthread_rwlock_rdlock): Likewise.
8899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8900 (__pthread_rwlock_tryrdlock): Likewise.
8901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8902 (__pthread_rwlock_wrlock): Likewise.
8903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8904 (__pthread_rwlock_trywrlock): Likewise.
8905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8906 (__pthread_rwlock_unlock): Likewise.
8907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8908 (__pthread_key_create): Likewise.
8909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8910 (__pthread_setspecific): Likewise.
8911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8912 (__pthread_getspecific): Likewise.
8913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8916 (_pthread_cleanup_push_defer): Likewise.
8917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8918 (_pthread_cleanup_pop_restore): Likewise.
8919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8920 (pthread_setcancelstate): Likewise.
8921 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8923 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8924 (memchr): Do not use BP_SYM in weak_alias.
8925 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8926 (fegetenv): Do not use BP_SYM in versioned symbols.
8927 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8928 (fesetenv): Do not use BP_SYM in versioned symbols.
8929 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8930 (feupdateenv): Do not use BP_SYM in versioned symbols.
8931 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8932 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8933 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8934 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8935 (open64): Do not use BP_SYM in weak_alias.
8936 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8937 (fegetenv): Do not use BP_SYM in versioned symbols.
8938 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8939 (fesetenv): Do not use BP_SYM in versioned symbols.
8940 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8941 (feupdateenv): Do not use BP_SYM in versioned symbols.
8942 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8943 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8944 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8945 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8946 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8947 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8948 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8950 (__libc_start_main): Do not use BP_SYM.
8952 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8955 redundant return line.
8959 (sub_magnitudes): Likewise.
8965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8969 (sub_magnitudes): Likewise.
8976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8978 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8979 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8982 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8983 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8985 of __mul for squares.
8986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8990 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8991 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8993 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8996 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8998 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8999 prototype or function definition. Rename ubp_* variables and
9000 parameters. Remove argv definitions conditional on
9001 [__BOUNDED_POINTERS__].
9002 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9003 * elf/dl-runtime.c (_dl_fixup): Likewise.
9004 * include/set-hooks.h (RUN_HOOK): Likewise.
9005 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9007 * string/strcpy.c (strcpy): Do not use __unbounded.
9008 * sysdeps/generic/frame.h (struct layout): Likewise.
9009 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9010 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9011 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9012 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9013 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9014 (__backtrace): Likewise.
9015 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9017 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9018 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9019 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9021 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9022 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9023 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9024 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9025 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9026 Do not use __unbounded.
9027 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9028 Rename __unboundedrlimits parameter to rlimits in prototype.
9029 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9030 Do not use __unbounded.
9031 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9033 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9034 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9035 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9036 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9037 __ptrvalue or __unbounded.
9038 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9039 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9041 (__new_msgctl): Do not use __ptrvalue.
9042 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9044 (__libc_msgrcv): Do not use __ptrvalue.
9045 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9046 startup_info): Do not use __unbounded.
9047 (__libc_start_main): Likewise. Rename ubp_* variables and
9048 parameters. Remove argv definitions conditional on
9049 [__BOUNDED_POINTERS__].
9050 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9052 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9054 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9056 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9058 (__new_shmctl): Do not use __ptrvalue.
9059 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9060 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9062 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9064 (__libc_sigaction): Likewise.
9065 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9066 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9068 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9070 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9072 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9074 * string/mempcpy.c: Implement by calling memcpy.
9076 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9078 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9083 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9084 values in the mantissa.
9086 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9087 minimize writes to Z.
9088 (sub_magnitudes): Simplify code a bit.
9090 2013-02-12 Roland McGrath <roland@hack.frob.com>
9092 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9093 from the message. The linker prefixes all warnings with that already.
9095 2013-02-12 Andreas Schwab <schwab@suse.de>
9098 * posix/regexec.c (extend_buffers): Add parameter min_len.
9099 (check_matching): Pass minimum needed length.
9100 (clean_state_log_if_needed): Likewise.
9101 (get_subexp): Likewise.
9102 * posix/Makefile (tests): Add bug-regex34.
9103 (bug-regex34-ENV): Define.
9104 * posix/bug-regex34.c: New file.
9107 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9108 elements compare against the byte sequence of it, not its name.
9109 * posix/Makefile (tests): Add bug-regex35.
9110 (bug-regex35-ENV): Define.
9111 * posix/bug-regex35.c: New file.
9113 2013-02-11 Tom de Vries <tom@codesourcery.com>
9115 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9117 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9118 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9119 (CHECK_EOL): Add undef.
9121 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9123 * bits/stdlib-bsearch.h: New file.
9124 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9125 * stdlib/stdlib.h: Likewise.
9127 2013-02-11 Roland McGrath <roland@hack.frob.com>
9129 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9130 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9132 * manual/search.texi (Array Search Function): Add missing const in
9134 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9135 declaration to use rlim_t.
9136 (Basic Scheduling Functions): Remove erroneous const from
9137 sched_getparam prototype. Remove erroneous * from
9138 sched_get_priority_max and sched_get_priority_min prototypes.
9139 (Resource Usage): Fix summary @comment on vtimes to refer to
9140 sys/vtimes.h rather than vtimes.h.
9141 Add missing *s in vtimes prototype.
9142 (Limits on Resources): Fix ulimit prototype to return long int.
9143 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9144 prototypes to use long int rather than double.
9145 (BSD Random): Fix initstate and setstate to use char *, not void *.
9146 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9147 prototype to make second argument 'struct aiocb64 *const[]'.
9148 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9149 (Status of AIO Operations): Remove erroneous const in aio_return and
9150 aio_return64 prototypes.
9151 (Synchronizing I/O): Fix sync prototype to return void.
9152 * manual/startup.texi (Suboptions): Remove an erroneous const in
9153 getsubopt prototype.
9154 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9155 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9156 use size_t rather than int.
9157 (Scanning All Users): Likewise for getpwent_r.
9158 (Setting Groups): Add missing const to setgroups prototype.
9159 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9160 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9161 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9162 'const void *' rather than 'const char *'.
9163 (Host Address Functions): Likewise for inet_ntop.
9164 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9165 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9166 ssize_t for return value.
9167 (Sending Data): Likewise for send, sendto, sendmsg.
9168 (Socket Option Functions): Add a missing const in setsockopt prototype.
9169 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9170 use wchar_t for the argument.
9171 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9172 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9174 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9175 double/float/long double for second argument.
9176 Fix return types of significand, significandf, significandl.
9177 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9178 argument in fchmod prototype.
9179 (File Owner): Use uid_t and gid_t in fchown prototype.
9180 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9181 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9182 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9183 use 'const struct dirent **' as argument types to CMP function pointer
9185 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9186 (File Times): Fix summary magic @comment for struct utimbuf and utime
9187 to refer to utime.h, not time.h.
9188 * manual/string.texi (Argz Functions): Add missing const in
9189 argz_extract and argz_next prototypes.
9190 (Finding Tokens in a String): Likewise for basename.
9191 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9192 (Copying and Concatenation): Fix typo in wmemmove prototype.
9193 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9194 (Signal Stack): Remove erroneous const in sigstack prototype.
9195 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9197 (Simple Calendar Time): Likewise for stime.
9198 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9200 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9201 say sys/sysctl.h instead.
9202 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9203 and vsyslog prototypes.
9205 2013-02-11 Tom de Vries <tom@codesourcery.com>
9207 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9210 2013-02-11 Roland McGrath <roland@hack.frob.com>
9212 * misc/sys/mman.h: Fix typo in mremap comment.
9214 2013-02-08 Roland McGrath <roland@hack.frob.com>
9216 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9217 the '\0' terminator.
9219 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9222 * debug/segfault.c: Don't include <bp-checks.h>.
9223 * sysdeps/generic/bp-checks.h: Remove file.
9224 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9225 (__GETDENTS): Don't use CHECK_N.
9226 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9227 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9228 (__getgroups): Don't use CHECK_N.
9229 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9230 (setgroups): Don't use CHECK_N.
9231 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9232 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9233 (__libc_msgrcv): Don't use CHECK_N.
9234 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9235 (__libc_msgsnd): Don't use CHECK_N.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9238 (__libc_pread): Don't use CHECK_N.
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9240 include <bp-checks.h>.
9241 (__libc_pread64): Don't use CHECK_N.
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9243 include <bp-checks.h>.
9244 (__libc_pwrite): Don't use CHECK_N.
9245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9246 include <bp-checks.h>.
9247 (__libc_pwrite64): Don't use CHECK_N.
9248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9250 (__libc_pread): Don't use CHECK_N.
9251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9252 include <bp-checks.h>.
9253 (__libc_pread64): Don't use CHECK_N.
9254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9255 include <bp-checks.h>.
9256 (__libc_pwrite): Don't use CHECK_N.
9257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9258 include <bp-checks.h>.
9259 (__libc_pwrite64): Don't use CHECK_N.
9260 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9261 (do_pread): Don't use CHECK_N.
9262 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9263 (do_pread64): Don't use CHECK_N.
9264 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9265 (do_pwrite): Don't use CHECK_N.
9266 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9267 (do_pwrite64): Don't use CHECK_N.
9268 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9269 (__libc_readv): Don't use CHECK_N.
9270 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9271 (semop): Don't use CHECK_N.
9272 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9274 (semtimedop): Don't use CHECK_N.
9275 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9276 (__libc_pread): Don't use CHECK_N.
9277 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9279 (__libc_pread64): Don't use CHECK_N.
9280 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9282 (__libc_pwrite): Don't use CHECK_N.
9283 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9285 (__libc_pwrite64): Don't use CHECK_N.
9286 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9288 (__libc_msgrcv): Don't use CHECK_N.
9289 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9290 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9291 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9292 (__libc_writev): Don't use CHECK_N.
9294 2013-02-08 Roland McGrath <roland@hack.frob.com>
9296 * string/strcpy.c: Removed unused variable.
9298 * Makeconfig (+sysdep-includes): Define with := rather than =.
9299 Use an existing include/ subdir of each sysdeps dir before it.
9301 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9303 * nscd/connection.c (register_traced_file): Comment function.
9304 [HAVE_INOTIFY] (union __inev): Define.
9305 [HAVE_INOTIFY] (inotify_check_files): New function.
9306 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9307 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9309 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9311 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9313 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9314 loaded if not already and that a failure is permanent.
9316 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9319 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9320 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9322 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9325 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9326 (CHECK_1_NULL_OK): Likewise.
9327 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9328 (__fxstat): Do not use CHECK_1.
9329 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9331 (___fxstat64): Do not use CHECK_1.
9332 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9334 (__fxstatat): Do not use CHECK_1.
9335 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9337 (__fxstatat64): Do not use CHECK_1.
9338 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9340 (__fxstat): Do not use CHECK_1.
9341 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9343 (__fxstatat): Do not use CHECK_1.
9344 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9346 (__getresgid): Do not use CHECK_1.
9347 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9349 (__getresuid): Do not use CHECK_1.
9350 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9352 (__lxstat): Do not use CHECK_1.
9353 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9355 (__old_msgctl): Do not use CHECK_1.
9356 (__new_msgctl): Likewise.
9357 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9359 (__new_setrlimit): Do not use CHECK_1.
9360 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9362 (__old_shmctl): Do not use CHECK_1.
9363 (__new_shmctl): Likewise.
9364 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9366 (__xstat): Do not use CHECK_1.
9367 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9368 (__lxstat): Do not use CHECK_1.
9369 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9371 (___lxstat64): Do not use CHECK_1.
9372 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9373 (__old_msgctl): Do not use CHECK_1.
9374 (__new_msgctl): Likewise.
9375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9377 (__gettimeofday): Do not use CHECK_1.
9378 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9379 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9380 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9382 (__gettimeofday): Do not use CHECK_1.
9383 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9384 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9385 (__new_shmctl): Do not use CHECK_1.
9386 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9388 (do_sigtimedwait): Do not use CHECK_1.
9389 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9391 (do_sigwaitinfo): Do not use CHECK_1.
9392 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9394 (msgctl): Do not use CHECK_1.
9395 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9397 (shmctl): Do not use CHECK_1.
9398 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9399 (ustat): Do not use CHECK_1.
9400 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9402 (__fxstat): Do not use CHECK_1.
9403 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9405 (__fxstatat): Do not use CHECK_1.
9406 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9408 (__lxstat): Do not use CHECK_1.
9409 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9411 (__xstat): Do not use CHECK_1.
9412 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9413 (__xstat): Do not use CHECK_1.
9414 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9415 (___xstat64): Do not use CHECK_1.
9418 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9420 (CHECK_BOUNDS_HIGH): Likewise.
9421 * string/strcpy.c: Do not include <bp-checks.h>.
9422 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9424 2013-02-07 Roland McGrath <roland@hack.frob.com>
9426 * nscd/nscd-client.h (__nscd_drop_map_ref):
9427 Add __attribute__ ((unused)).
9428 * nis/nss-nisplus.h (niserr2nss): Likewise.
9430 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9431 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9433 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9434 Remove inline keyword.
9435 * include/rounding-mode.h (round_away): Likewise.
9436 * libio/wfileops.c (adjust_wide_data): Likewise.
9437 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9438 (__m128i_strloadu_tolower): Likewise.
9439 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9440 (__m128i_strloadu_tolower): Likewise.
9441 * time/mktime.c (ydhms_diff): Likewise.
9442 * locale/elem-hash.h (elem_hash): Likewise.
9443 * locale/setlocale.c (setdata): Likewise.
9444 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9445 (re_string_wchar_at): Likewise.
9446 (bitset_not, bitset_merge, bitset_mask): Likewise.
9447 [!(__GNUC__ > 3)] (inline): Remove macro.
9448 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9449 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9450 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9451 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9452 * string/memcmp.c (memcmp_bytes): Likewise.
9453 * locale/programs/locarchive.c (compute_hashval): Likewise.
9454 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9455 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9456 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9457 * nss/getent.c (print_rpc, print_protocols): Likewise.
9458 (print_passwd, print_group, print_aliases): Likewise.
9459 * nis/nss-nisplus.h (niserr2nss): Likewise.
9460 * nscd/connections.c (restart_p): Likewise.
9461 Change return type to bool.
9463 2013-02-05 Roland McGrath <roland@hack.frob.com>
9465 * Makeconfig (all-Depend-files): Add existing
9466 $(sorted-subdirs:=/Depend) files.
9467 (all-subdirs): Remove nss.
9468 * sysdeps/unix/inet/Subdirs: Add it here instead.
9469 * hesiod/Depend: New file.
9471 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9472 instead of calling alloca.
9474 * io/lseek.c (__lseek): Rename to __libc_lseek.
9475 Define __lseek as an alias.
9477 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9479 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9481 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9482 else clause and remove check for non-standard endianness.
9484 2013-02-04 David S. Miller <davem@davemloft.net>
9486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9488 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9491 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9492 (__ubp_memchr): Remove prototype.
9493 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9494 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9495 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9496 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9497 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9499 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9500 (__ubp_memchr): Likewise.
9501 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9502 (__ubp_memchr): Likewise.
9503 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9504 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9505 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9506 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9508 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9509 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9510 (__getcwd): Do not use CHECK_STRING.
9511 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9513 (__real_chown): Do not use CHECK_STRING.
9514 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9516 (fchownat): Do not use CHECK_STRING.
9517 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9519 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9521 (__lchown): Do not use CHECK_STRING.
9522 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9523 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9524 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9525 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9527 include <bp-checks.h>.
9528 (truncate64): Do not use CHECK_STRING.
9529 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9531 (__real_chown): Do not use CHECK_STRING.
9532 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9534 (__lchown): Do not use CHECK_STRING.
9535 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9537 (__chown): Do not use CHECK_STRING.
9538 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9540 (truncate64): Do not use CHECK_STRING.
9541 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9543 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9544 (__xmknod): Do not use CHECK_STRING.
9545 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9547 (__xmknodat): Do not use CHECK_STRING.
9548 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9549 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9551 2013-02-04 Andreas Schwab <schwab@suse.de>
9554 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9555 * include/netdb.h: Likewise for h_errno.
9556 * elf/tst-stackguard1.c: Include <tls.h>.
9558 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9560 * elf/link.h (struct link_map): Extend the l_addr comment.
9561 * include/link.h (struct link_map): Likewise.
9563 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9566 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9567 (BOUNDED_1): Remove macro.
9568 * debug/backtrace.c: Don't include <bp-checks.h>.
9569 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9570 (__backtrace): Likewise.
9571 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9573 (__backtrace): Don't use BOUNDED_1.
9574 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9576 (__backtrace): Don't use BOUNDED_1.
9577 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9578 (__backtrace): Don't use BOUNDED_1.
9579 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9580 (shmat): Don't use BOUNDED_N.
9582 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9585 * sysdeps/generic/bp-start.h: Remove file.
9586 * csu/libc-start.c: Don't include <bp-start.h>.
9587 (LIBC_START_MAIN): Set up __environ directly instead of using
9588 INIT_ARGV_and_ENVIRON.
9589 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9593 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9595 (CHECK_FCNTL): Likewise.
9596 (CHECK_N_PAGES): Likewise.
9599 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9601 (CHECK_SIGSET_NULL_OK): Likewise.
9602 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9604 (sigpending): Don't use CHECK_SIGSET.
9605 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9607 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9608 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9610 (do_sigsuspend): Don't use CHECK_SIGSET.
9611 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9613 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9614 (do_sigwait): Don't use CHECK_SIGSET.
9615 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9617 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9618 include <bp-checks.h>.
9619 (sigpending): Don't use CHECK_SIGSET.
9620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9621 include <bp-checks.h>.
9622 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9623 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9625 (sigpending): Don't use CHECK_SIGSET.
9626 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9628 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9631 * sysdeps/generic/bp-semctl.h: Remove file.
9632 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9633 <bp-checks.h> and <bp-semctl.h>.
9634 (__old_semctl): Don't use CHECK_SEMCTL.
9635 (__new_semctl): Likewise.
9636 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9638 (__old_semctl): Don't use CHECK_SEMCTL.
9639 (__new_semctl): Likewise.
9640 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9641 <bp-checks.h> and <bp-semctl.h>.
9642 (__old_semctl): Don't use CHECK_SEMCTL.
9643 (__new_semctl): Likewise.
9644 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9645 <bp-checks.h> and <bp-semctl.h>.
9646 (semctl): Don't use CHECK_SEMCTL.
9649 * Makerules (elide-bp-thunks): Remove variable.
9650 (elide-routines.oS): Don't use $(elide-bp-thunks).
9651 (elide-routines.os): Likewise.
9652 (elide-routines.o): Likewise.
9653 (elide-routines.op): Likewise.
9654 (elide-routines.og): Likewise.
9655 (objects): Don't use $(bp-thunks).
9656 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9658 (common-generated): Do not add s-proto-bp.d.
9659 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9662 Do not generate makefile rules for bounded-pointer thunks.
9663 * sysdeps/generic/bp-thunks.h: Remove file.
9664 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9665 * sysdeps/unix/s-proto-bp.S: Likewise.
9668 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9669 parts of result separately when argument is not close to line from
9670 -i to i and one part of argument is small.
9671 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9672 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9673 * math/libm-test.inc (cacos_test): Add more tests.
9674 (casin_test): Likewise.
9675 (casinh_test): Likewise.
9676 * sysdeps/i386/fpu/libm-test-ulps: Update.
9677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9679 2013-01-31 David S. Miller <davem@davemloft.net>
9681 * po/de.po: Update from translation team.
9683 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9685 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9687 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9689 * configure.in (_AC_PROG_CC_C89): New definition.
9690 * configure: Regenerate.
9692 * configure.in (AC_PROG_CPP): New definition.
9693 * configure: Regenerate.
9695 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9697 * debug/tst-backtrace.h: New file.
9698 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9699 (ret): Remove variable.
9701 (FAIL): Remove macro.
9702 (NO_INLINE): Likewise.
9703 (fn1): Use match function instead of strstr.
9704 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9705 (ret): Remove variable.
9707 (FAIL): Remove macro.
9708 (NO_INLINE): Likewise.
9709 (fn): Use match function instead of strstr.
9710 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9711 (ret): Remove variable.
9713 (FAIL): Remove macro.
9714 (NO_INLINE): Likewise.
9715 (handle_signal): Use match function instead of strstr.
9716 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9717 (ret): Remove variable.
9719 (FAIL): Remove macro.
9720 (NO_INLINE): Likewise.
9721 (handle_signal): Use match function instead of strstr.
9723 2013-01-23 Roland McGrath <roland@hack.frob.com>
9725 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9727 2013-01-23 David S. Miller <davem@davemloft.net>
9729 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9730 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9731 argument of CAS if possible.
9732 * sysdeps/sparc/sparc64/bits/atomic.h
9733 (__arch_compare_and_exchange_val_32_acq): Likewise.
9734 (__arch_compare_and_exchange_val_64_acq): Likewise.
9736 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9738 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9739 * sysdeps/posix/ulimit.c: ... this.
9741 * sysdeps/unix/bsd/ulimit.c: Remove file.
9743 2013-01-23 Adam Conrad <adconrad@0c3.net>
9745 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9746 (LDFLAGS-tst-array5): Likewise.
9748 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9751 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9752 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9753 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9754 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9756 2013-01-21 David S. Miller <davem@davemloft.net>
9758 * sysdeps/sparc/backtrace.c: New file.
9759 * sysdeps/sparc/sparc32/backtrace.h: New file.
9760 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9761 * sysdeps/sparc/sparc64/backtrace.h: New file.
9762 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9763 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9766 2013-01-21 Andreas Schwab <schwab@suse.de>
9769 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9772 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9778 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9779 Mark Mitchell <mark@codesourcery.com>
9780 Tom de Vries <tom@codesourcery.com>
9781 Paul Pluzhnikov <ppluzhnikov@google.com>
9783 * debug/tst-backtrace2.c: New file.
9784 * debug/tst-backtrace3.c: Likewise.
9785 * debug/tst-backtrace4.c: Likewise.
9786 * debug/tst-backtrace5.c: Likewise.
9787 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9788 (CFLAGS-tst-backtrace3.c): Likewise.
9789 (CFLAGS-tst-backtrace4.c): Likewise.
9790 (CFLAGS-tst-backtrace5.c): Likewise.
9791 (LDFLAGS-tst-backtrace2): Likewise.
9792 (LDFLAGS-tst-backtrace3): Likewise.
9793 (LDFLAGS-tst-backtrace4): Likewise.
9794 (LDFLAGS-tst-backtrace5): Likewise.
9795 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9796 tst-backtrace4 and tst-backtrace5.
9798 2013-01-18 Anton Blanchard <anton@samba.org>
9799 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9801 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9802 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9803 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9804 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9806 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9807 "+r" and remove output regs list as redundant. Add explicit inline
9808 asm to specify register of return val to work around compiler codegen
9809 bug. Remove (int) cast on return value. Add return type parameter to
9810 use in macro so that this macro does not truncate return value for
9812 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9813 pass to INTERNAL_VSYSCALL_NCS.
9814 (INLINE_VSYSCALL): Add 'long int' as return type to
9815 INTERNAL_VSYSCALL_NCS macro invocation.
9816 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9817 INTERNAL_VSYSCALL_NCS macro invocation.
9818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9820 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9823 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9824 Fix application of SIMD FP exception mask.
9826 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9827 mp_no from a power of two.
9828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9829 __mpexp_twomm1. Use __pow_mp.
9831 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9834 2013-01-17 David S. Miller <davem@davemloft.net>
9836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9838 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9841 * include/complex.h: Condition contents on [!_COMPLEX_H].
9842 (__kernel_casinhf): New prototype.
9843 (__kernel_casinh): Likewise.
9844 (__kernel_casinhl): Likewise.
9845 * math/Makefile (libm_calls): Add k_casinh.
9846 * math/k_casinh.c: New file.
9847 * math/k_casinhf.c: Likewise.
9848 * math/k_casinhl.c: Likewise.
9849 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9850 finite nonzero arguments.
9851 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9852 finite nonzero arguments.
9853 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9854 finite nonzero arguments.
9855 * math/s_casinh.c: Do not include <float.h>.
9856 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9857 * math/s_casinhf.c: Do not include <float.h>.
9858 (__casinhf): Move code for finite nonzero arguments to
9860 * math/s_casinhl.c: Do not include <float.h>.
9861 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9863 (__casinhl): Move code for finite nonzero arguments to
9865 * math/libm-test.inc (cacos_test): Add more tests.
9866 * sysdeps/i386/fpu/libm-test-ulps: Update.
9867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9869 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9871 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9872 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9873 [!HAVE_MREMAP]: Remove [defined linux] case.
9874 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9876 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9878 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9880 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9882 * elf/elf.h (R_386_SIZE32): New relocation.
9883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9885 (elf_machine_rela): Likewise.
9886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9887 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9889 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9891 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9892 (FP_FAST_FMA): Do not define.
9893 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9894 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9895 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9896 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9897 !_SOFT_FLOAT]: Likewise.
9898 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9899 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9901 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9902 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9903 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9904 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9905 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9906 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9909 2013-01-16 Andreas Schwab <schwab@suse.de>
9912 * include/stdlib.h (__mktemp): Add declaration.
9913 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9914 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9916 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9918 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9920 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9921 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9922 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9924 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9925 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9927 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9929 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9930 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9931 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9933 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9934 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9936 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9938 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9940 2013-01-15 David S. Miller <davem@davemloft.net>
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9943 trunc{,f} to libm-sysdep_routes.
9944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9954 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9955 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9956 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9957 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9958 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9959 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9962 nearbyint{,f} to libm-sysdep_routes.
9963 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9976 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9977 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9979 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9980 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9981 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9983 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9984 libc_feholdexcept and libc_fesetenv.
9986 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9988 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9990 2013-01-14 David S. Miller <davem@davemloft.net>
9992 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9993 (SPARC_ASM_VIS2_IFUNC): Likewise.
9994 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9996 use of 'siam' instruction.
9997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10030 routines to libm-sysdep_routines.
10031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10034 fdim/fdimf to libm-sysdep_routines.
10035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10043 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10044 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10045 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10046 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10048 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10051 to optimize copies.
10053 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10058 local variable MPTWO.
10059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10062 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10064 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10067 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10069 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10071 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10073 * manual/pattern.texi (glob_t): Document gl_flags.
10074 (glob64_t): Likewise.
10076 2013-01-11 David S. Miller <davem@davemloft.net>
10078 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10079 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10080 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10081 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10082 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10083 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10084 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10085 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10086 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10087 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10088 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10089 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10090 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10092 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10093 sparc V9 rather than using V8 code.
10094 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10095 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10097 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10099 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10102 2013-01-11 Roland McGrath <roland@hack.frob.com>
10104 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10105 not in the main loop.
10106 * configure: Regenerated.
10108 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10110 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10111 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10113 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10114 [!__GLIBC_HAVE_LONG_LONG] case.
10115 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10116 condition to just #else.
10117 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10118 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10119 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10120 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10122 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10123 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10124 #elif condition to just #else.
10125 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10126 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10127 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10128 #elif condition to just #else.
10130 2013-01-11 Steve Ellcey <sellcey@mips.com>
10132 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10133 (EF_MIPS_ARCH_64): Fix value.
10134 (EF_MIPS_ARCH_32R2): New.
10135 (EF_MIPS_ARCH_64R2): New.
10137 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10139 * Makeconfig (+link-pie-before-libc): New.
10140 (+link-pie-after-libc): Likewise.
10141 (+link-pie-tests): Likewise.
10142 (+link-pie): Rewritten.
10143 (link-before-libc): Remove $(config-LDFLAGS).
10144 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10145 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10146 (config-LDFLAGS): Renamed to ...
10147 (rtld-LDFLAGS): This.
10148 (rtld-tests-LDFLAGS): New macro.
10149 (link-libc-rpath-link): Likewise.
10150 (link-libc-tests-rpath-link): Likewise.
10151 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10152 (link-libc): Prepand $(link-libc-rpath-link).
10153 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10154 (test-program-prefix): New macro.
10155 (test-via-rtld-prefix): Likewise.
10156 (test-program-cmd): Likewise.
10157 (host-test-program-cmd): Likewise.
10158 * Makefile ($(common-objpfx)testrun.sh): Replace
10159 $(run-program-prefix) with $(test-program-prefix).
10160 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10162 ($(common-objpfx)shlib.lds): Likewise.
10163 (build-module-helper): Likewise.
10164 ($(common-objpfx)format.lds): Likewise.
10165 * Rules (binaries-pie-tests): New.
10166 (binaries-pie-notests): Likewise.
10167 (binaries-pie): Rewritten.
10168 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10169 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10170 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10171 (make-test-out): Replace $(host-built-program-cmd) with
10172 $(host-test-program-cmd).
10173 * config.make.in (build-hardcoded-path-in-tests): New variable.
10174 * configure.in (--enable-hardcoded-path-in-tests): New configure
10176 (hardcoded_path_in_tests): New AC_SUBST.
10177 * configure: Regenerated.
10178 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10179 $(built-program-cmd) with $(test-program-cmd).
10180 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10181 (test_program_cmd): This.
10182 * elf/Makefile ($(objpfx)order.out): Run test with
10183 $(test-program-prefix).
10184 ($(objpfx)order2.out): Likewise.
10185 ($(objpfx)tst-initorder.out): Likewise.
10186 ($(objpfx)tst-initorder2.out): Likewise.
10187 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10188 $(test-program-cmd).
10189 ($(objpfx)tst-array1-static.out): Likewise.
10190 ($(objpfx)tst-array2.out): Likewise.
10191 ($(objpfx)tst-array3.out): Likewise.
10192 ($(objpfx)tst-array4.out): Likewise.
10193 ($(objpfx)tst-array5.out): Likewise.
10194 ($(objpfx)tst-array5-static.out): Likewise.
10195 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10196 $(test-program-cmd).
10197 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10198 $(run-program-prefix) with $(test-program-prefix).
10199 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10200 (test_program_prefix): This.
10201 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10202 $(run-program-prefix) with $(test-program-prefix).
10203 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10204 (test_program_prefix): This.
10205 * iconvdata/tst-tables.sh: Likewise.
10206 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10207 $(run-program-prefix) with $(test-program-prefix).
10208 ($(objpfx)tst-translit.out): Likewise.
10209 ($(objpfx)tst-gettext2.out): Likewise.
10210 ($(objpfx)tst-gettext4.out): Likewise.
10211 ($(objpfx)tst-gettext6.out): Likewise.
10212 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10213 (test_program_prefix): This.
10214 * intl/tst-gettext2.sh: Likewise.
10215 * intl/tst-gettext4.sh Likewise.
10216 * intl/tst-gettext6.sh: Likewise.
10217 * intl/tst-translit.sh: Likewise.
10218 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10219 with $(test-program-cmd).
10220 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10221 $(run-program-prefix) with $(test-program-prefix).
10222 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10223 (test_program_prefix): This.
10224 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10225 $(run-program-prefix) with $(test-program-prefix).
10226 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10227 (test_program_prefix): This.
10228 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10229 * posix/Makefile ($(objpfx)globtest.out): Replace
10230 $(run-via-rtld-prefix) and $(test-wrapper) with
10231 $(test-program-prefix) and $(test-via-rtld-prefix).
10232 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10233 $(test-program-prefix).
10234 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10235 $(host-test-program-cmd).
10236 (tst-spawn-ARGS): Likewise.
10237 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10238 $(test-program-prefix).
10239 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10240 (test_via_rtld_prefix): This.
10241 (test_wrapper): Renamed to ...
10242 (test_program_prefix): This.
10243 (run_program_prefix): Replaced by test_program_prefix.
10244 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10245 (test_program_prefix): This.
10246 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10247 with $(host-test-program-cmd).
10248 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10249 $(run-program-prefix) with $(test-program-prefix).
10250 ($(objpfx)tst-printf.out): Likewise.
10251 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10252 $(test-program-cmd).
10253 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10254 (test_program_prefix): This.
10255 * stdio-common/tst-unbputc.sh: Likewise.
10256 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10257 $(run-program-prefix) with $(test-program-prefix).
10258 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10259 (test_program_prefix): This.
10260 * string/Makefile ($(objpfx)tst-svc.out): Replace
10261 $(built-program-cmd) with $(test-program-cmd).
10263 2013-01-11 Andreas Jaeger <aj@suse.de>
10266 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10267 value. Sync with Linux 3.7.
10269 2013-01-10 David S. Miller <davem@davemloft.net>
10271 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10272 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10273 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10275 2013-01-10 Roland McGrath <roland@hack.frob.com>
10277 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10279 * configure: Regenerated.
10281 2013-01-10 David S. Miller <davem@davemloft.net>
10283 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10284 sparc V9 rather than using V8 code.
10285 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10286 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10288 2013-01-10 Roland McGrath <roland@hack.frob.com>
10290 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10291 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10292 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10293 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10294 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10295 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10296 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10297 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10298 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10299 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10300 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10301 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10302 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10303 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10304 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10305 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10306 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10307 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10308 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10309 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10310 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10311 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10312 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10313 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10314 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10315 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10316 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10318 2013-01-10 David S. Miller <davem@davemloft.net>
10320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10322 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10324 * posix/Makefile (tests-static): New variable.
10325 (tests): Add $(tests-static).
10326 (tst-exec-static-ARGS): New variable.
10327 (tst-spawn-static-ARGS): Likewise.
10328 * posix/tst-exec-static.c: New file.
10329 * posix/tst-spawn-static.c: Likewise.
10330 * posix/tst-exec.c: Support run directly.
10331 * posix/tst-spawn.c: Likewise.
10333 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10335 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10337 * math/bits/mathcalls.h (llrint): Likewise.
10338 (llround): Likewise.
10339 * stdlib/stdlib.h (struct drand48_data): Likewise.
10340 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10341 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10342 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10344 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10346 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10347 (elf_greg_t): Likewise.
10348 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10349 (__jmp_buf): Likewise.
10350 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10352 (llrint): Likewise, for all definitions.
10353 (llrintl): Likewise.
10355 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10356 Remove [__GNUC__] condition.
10357 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10358 condition to just [__USE_ISOC99].
10359 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10361 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10364 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10365 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10367 (_POSIX_V6_ILP32_OFF32): Likewise.
10368 (_XBS5_ILP32_OFF32): Likewise.
10369 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10370 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10372 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10374 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10377 doubles __mpexp_twomm1. Adjust usage.
10378 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10381 2013-01-10 Andreas Schwab <schwab@suse.de>
10384 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10385 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10387 2013-01-09 David S. Miller <davem@davemloft.net>
10390 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10391 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10392 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10393 TCP_FASTOPEN): Define.
10394 (tcp_repair_opt): New structure.
10395 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10397 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10398 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10399 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10400 (tcp_cookie_transactions): New structure.
10402 2013-01-09 Anton Blanchard <anton@samba.org>
10404 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10405 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10406 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10407 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10409 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10411 * include/features.h (__USE_ANSI): Remove.
10413 2013-01-09 Roland McGrath <roland@hack.frob.com>
10415 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10417 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10419 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10421 * sysdeps/s390/fpu/libm-test-ulps: Update.
10423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10425 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10429 (denorm): Likewise.
10430 (__mp_dbl): Likewise.
10431 (__dbl_mp): Likewise.
10432 (add_magnitudes): Likewise.
10433 (sub_magnitudes): Likewise.
10439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10443 (denorm): Likewise.
10444 (__mp_dbl): Likewise.
10445 (__dbl_mp): Likewise.
10446 (add_magnitudes): Likewise.
10447 (sub_magnitudes): Likewise.
10453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10457 (denorm): Likewise.
10458 (__mp_dbl): Likewise.
10459 (__dbl_mp): Likewise.
10460 (add_magnitudes): Likewise.
10461 (sub_magnitudes): Likewise.
10468 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10470 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10471 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10472 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10473 2 && __USE_EXTERN_INLINES]: Likewise.
10475 2013-01-08 Andreas Jaeger <aj@suse.de>
10478 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10480 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10481 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10483 2013-01-07 Anton Blanchard <anton@samba.org>
10485 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10486 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10487 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10488 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10489 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10490 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10491 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10492 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10494 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10495 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10496 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10497 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10498 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10499 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10500 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10501 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10502 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10503 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10504 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10505 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10506 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10508 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10509 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10510 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10511 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10512 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10513 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10514 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10515 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10517 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10518 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10519 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10520 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10522 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10523 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10524 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10525 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10526 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10527 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10529 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10531 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10532 (__MALLOC_PMT): Likewise.
10533 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10534 [__GNUC__], only on [_LIBC].
10535 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10536 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10537 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10538 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10539 forward declaration.
10540 (realloc_hook_ini): Likewise.
10541 (memalign_hook_ini): Likewise.
10542 (__libc_memalign): Do not use __MALLOC_PMT in variable
10544 (__libc_valloc): Likewise.
10545 (__libc_pvalloc): Likewise.
10546 (__libc_calloc): Likewise.
10547 (__posix_memalign): Likewise.
10550 * math/s_casinh.c: Include <float.h>.
10551 (__casinh): Do not do computation with squaring and square root
10552 for large arguments.
10553 * math/s_casinhf.c: Include <float.h>.
10554 (__casinhf): Do not do computation with squaring and square root
10555 for large arguments.
10556 * math/s_casinhl.c: Include <float.h>.
10557 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10558 (__casinhl): Do not do computation with squaring and square root
10559 for large arguments.
10560 * math/libm-test.inc (casin_test): Add more tests.
10561 (casinh_test): Likewise.
10562 * sysdeps/i386/fpu/libm-test-ulps: Update.
10563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10565 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10567 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10568 (__x86_64_raw_data_cache_size): Likewise.
10569 (__x86_64_data_cache_size_half): Likewise.
10570 (__x86_64_raw_data_cache_size_half): Likewise.
10571 (__x86_64_shared_cache_size): Likewise.
10572 (__x86_64_raw_shared_cache_size): Likewise.
10573 (__x86_64_shared_cache_size_half): Likewise.
10574 (__x86_64_raw_shared_cache_size_half): Likewise.
10575 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10577 (__x86_data_cache_size): This.
10578 (__x86_64_raw_data_cache_size): Renamed to ...
10579 (__x86_raw_data_cache_size): This.
10580 (__x86_64_data_cache_size_half): Renamed to ...
10581 (__x86_data_cache_size_half): This.
10582 (__x86_64_raw_data_cache_size_half): Renamed to ...
10583 (__x86_raw_data_cache_size_half): This.
10584 (__x86_64_shared_cache_size): Renamed to ...
10585 (__x86_shared_cache_size): This.
10586 (__x86_64_raw_shared_cache_size): Renamed to ...
10587 (__x86_raw_shared_cache_size): This.
10588 (__x86_64_shared_cache_size_half): Renamed to ...
10589 (__x86_shared_cache_size_half): This.
10590 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10591 (__x86_raw_shared_cache_size_half): This.
10592 * sysdeps/x86_64/memcpy.S: Updated.
10593 * sysdeps/x86_64/memset.S: Likewise.
10594 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10596 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10598 2013-01-04 David S. Miller <davem@davemloft.net>
10600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10602 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10604 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10605 1 to avoid redefinition warning.
10606 (__USE_GNU): Don't define.
10607 (init_signaling_nan): Protoize.
10609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10611 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10613 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10615 (__cpymn): Likewise.
10616 (norm): Remove commented code.
10617 (denorm): Likewise.
10618 (__mp_dbl): Likewise.
10620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10621 (__cpymn): Likewise.
10622 (norm): Remove commented code.
10623 (denorm): Likewise.
10624 (__mp_dbl): Likewise.
10627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10628 mp_no value for 1.0 and 2.0.
10629 (norm): Use RADIXI instead of radixi.d.
10630 (denorm): Likewise.
10631 (__mul): Use 0.0 instead of zero.d.
10632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10633 mp_no value for 1.0 and 2.0.
10634 (norm): Use RADIXI instead of radixi.d.
10635 (denorm): Likewise.
10636 (__mul): Use 0.0 instead of zero.d.
10638 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10641 * math/s_casinh.c (__casinh): Reduce finite argument to first
10642 quadrant then set signs of results at the end.
10643 * math/s_casinhf.c (__casinhf): Likewise.
10644 * math/s_casinhl.c (__casinhl): Likewise.
10645 * math/libm-test.inc (casin_test): Add more tests.
10646 (casinh_test): Likewise.
10647 * sysdeps/i386/fpu/libm-test-ulps: Update.
10648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10650 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10652 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10654 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10656 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10658 (denorm): Likewise.
10659 (__mp_dbl): Likewise.
10662 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10663 and adjust the header comment.
10665 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10666 variable name from declaration.
10668 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10671 Initialize COMMON_CPUID_INDEX_7 element.
10672 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10673 (CPUID_RTM): Likewise.
10674 (HAS_RTM): Likewise.
10675 (COMMON_CPUID_INDEX_7): New enum.
10677 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10680 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10681 size is zero, record memory as freed.
10683 2013-01-03 Andreas Jaeger <aj@suse.de>
10685 * po/ia.po: Add new Interlingua translation.
10687 2012-01-03 Allan McRae <allan@archlinux.org>
10689 * locale/programs/localedef.c: Fix description of '--posix' flag.
10691 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10693 * NEWS: Update dates in second copyright notice.
10694 * README: Update copyright dates in example.
10695 * manual/libc.texinfo: Update copyright dates.
10696 * scripts/test-installation.pl: Update copyright date in --version
10699 * hurd/ctty-input.c: Fix copyright notice formatting.
10700 * hurd/ctty-output.c: Likewise.
10701 * hurd/dtable.c: Likewise.
10702 * hurd/hurd-raise.c: Likewise.
10703 * hurd/hurdprio.c: Likewise.
10704 * hurd/msgportdemux.c: Likewise.
10705 * misc/sys/file.h: Likewise.
10706 * misc/sys/ioctl.h: Likewise.
10707 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10708 * sysdeps/mach/hurd/chdir.c: Likewise.
10709 * sysdeps/mach/hurd/fchdir.c: Likewise.
10710 * sysdeps/mach/hurd/rename.c: Likewise.
10711 * sysdeps/mach/hurd/rmdir.c: Likewise.
10712 * sysdeps/mach/hurd/seekdir.c: Likewise.
10713 * sysdeps/mach/hurd/setsid.c: Likewise.
10714 * sysdeps/posix/wait3.c: Likewise.
10716 * All files with FSF copyright notices: Update copyright dates
10717 using scripts/update-copyrights.
10718 * intl/plural.c: Regenerated.
10719 * locale/programs/charmap-kw.h: Likewise.
10720 * locale/programs/locfile-kw.h: Likewise.
10722 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10724 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10727 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10728 calculation loop and add branch prediction.
10730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10731 check access beyond bounds of m1np.
10733 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10735 (__inv): Remove local variable MPTWO to use the global
10737 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10738 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10740 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10741 MP3HALFS static const.
10743 2013-01-01 David S. Miller <davem@davemloft.net>
10745 * po/ca.po: Update from translation team.
10747 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10749 * scripts/update-copyrights: New file.
10750 * Makeconfig: Reformat copyright notice.
10751 * ctype/ctype.h: Likewise.
10752 * debug/swprintf_chk.c: Likewise.
10753 * elf/dl-cache.c: Likewise.
10754 * elf/dl-debug.c: Likewise.
10755 * elf/dl-object.c: Likewise.
10756 * grp/initgroups.c: Likewise.
10757 * hurd/Makefile: Likewise.
10758 * hurd/hurd/signal.h: Likewise.
10759 * hurd/hurdfault.c: Likewise.
10760 * hurd/hurdioctl.c: Likewise.
10761 * hurd/hurdlookup.c: Likewise.
10762 * hurd/intr-msg.c: Likewise.
10763 * iconv/gconv_open.c: Likewise.
10764 * libio/swprintf.c: Likewise.
10765 * locale/lc-ctype.c: Likewise.
10766 * locale/nl_langinfo.c: Likewise.
10767 * mach/Machrules: Likewise.
10768 * mach/Makefile: Likewise.
10769 * malloc/obstack.h: Likewise.
10770 * manual/Makefile: Likewise.
10771 * manual/tsort.awk: Likewise.
10772 * misc/bits/stab.def: Likewise.
10773 * nis/nis_print_group_entry.c: Likewise.
10774 * nis/nis_table.c: Likewise.
10775 * nis/nss_compat/compat-pwd.c: Likewise.
10776 * nis/nss_compat/compat-spwd.c: Likewise.
10777 * po/Makefile: Likewise.
10778 * posix/fnmatch.c: Likewise.
10779 * posix/regex.h: Likewise.
10780 * resolv/Makefile: Likewise.
10781 * resolv/nss_dns/dns-network.c: Likewise.
10782 * resolv/res_hconf.c: Likewise.
10783 * scripts/gen-sorted.awk: Likewise.
10784 * soft-fp/soft-fp.h: Likewise.
10785 * stdio-common/printf.h: Likewise.
10786 * stdlib/monetary.h: Likewise.
10787 * stdlib/random.c: Likewise.
10788 * stdlib/random_r.c: Likewise.
10789 * sysdeps/generic/Makefile: Likewise.
10790 * sysdeps/gnu/Makefile: Likewise.
10791 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10802 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10804 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10805 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10806 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10807 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10809 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10810 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10811 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10812 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10814 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10815 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10819 * sysdeps/mach/hurd/errnos.awk: Likewise.
10820 * sysdeps/mach/hurd/fork.c: Likewise.
10821 * sysdeps/mach/hurd/getcwd.c: Likewise.
10822 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10823 * sysdeps/mach/hurd/mmap.c: Likewise.
10824 * sysdeps/mach/hurd/utimes.c: Likewise.
10825 * sysdeps/mach/hurd/xmknod.c: Likewise.
10826 * sysdeps/posix/profil.c: Likewise.
10827 * sysdeps/posix/readdir_r.c: Likewise.
10828 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10829 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10830 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10831 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10833 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10834 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10835 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10837 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10838 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10839 * sysdeps/pthread/lio_listio.c: Likewise.
10840 * sysdeps/sparc/dl-procinfo.h: Likewise.
10841 * sysdeps/unix/i386/sysdep.S: Likewise.
10842 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10843 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10844 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10845 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10847 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10848 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10849 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10850 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10851 * sysdeps/wordsize-32/divdi3.c: Likewise.
10852 * time/sys/time.h: Likewise.
10853 * wcsmbs/Makefile: Likewise.
10855 2013-01-01 David S. Miller <davem@davemloft.net>
10857 * po/fr.po: Update from translation team.
10859 * catgets/gencat.c: Update copyright year.
10860 * csu/version.c: Likewise.
10861 * debug/catchsegv.sh: Likewise.
10862 * debug/pcprofiledump.c: Likewise.
10863 * debug/xtrace.sh: Likewise.
10864 * elf/ldconfig.c: Likewise.
10865 * elf/ldd.bash.in: Likewise.
10866 * elf/pldd.c: Likewise.
10867 * elf/sotruss.ksh: Likewise.
10868 * elf/sprof.c: Likewise.
10869 * iconv/iconv_prog.c: Likewise.
10870 * iconv/iconvconfig.c: Likewise.
10871 * locale/programs/locale.c: Likewise.
10872 * locale/programs/localedef.c: Likewise.
10873 * login/programs/pt_chown.c: Likewise.
10874 * malloc/memusage.sh: Likewise.
10875 * malloc/memusagestat.c: Likewise.
10876 * malloc/mtrace.pl: Likewise.
10877 * nscd/nscd.c: Likewise.
10878 * nss/getent.c: Likewise.
10879 * nss/makedb.c: Likewise.
10880 * posix/getconf.c: Likewise.
10882 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10884 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10887 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10889 * math/bits/mathcalls.h (modf): Use __nonnull.
10891 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10893 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10894 (split): Use macro CN instead of the bare value.
10895 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10898 instead of the bare value.
10899 (power1): Likewise.
10901 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10903 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10905 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10907 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10909 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10911 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10912 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10914 2012-12-28 Andreas Jaeger <aj@suse.de>
10916 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10917 values are from Linux 3.7.
10919 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10920 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10922 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10924 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10927 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10929 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10930 variables with preprocessor constants.
10931 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10932 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10933 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10935 2012-12-27 Bruno Haible <bruno@clisp.org>
10938 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10941 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10944 and use variable directly.
10945 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10947 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10949 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10950 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10952 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10953 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10954 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10955 include directive. Remove local variable MPONE.
10956 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10957 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10960 2012-12-25 David S. Miller <davem@davemloft.net>
10962 * version.h (RELEASE): Set to "development".
10963 (VERSION): Set to "2.17.90".
10964 * NEWS: Add 2.18 section.
10966 2012-12-21 David S. Miller <davem@davemloft.net>
10968 * po/hr.po: Update from translation team.
10970 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10972 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10974 2012-12-19 Steve Ellcey <sellcey@mips.com>
10976 * NEWS: Mention new memcpy for MIPS.
10978 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10980 * manual/contrib.texi (Contributors): Spelling correction.
10982 2012-12-15 David S. Miller <davem@davemloft.net>
10984 * po/ru.po: Update from translation team.
10986 2012-12-13 David S. Miller <davem@davemloft.net>
10988 * NEWS: Mention IFUNC testsuite enhancements.
10990 * po/pl.po: Update from translation team.
10991 * po/bg.po: Likewise.
10993 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10994 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10996 2012-12-11 David S. Miller <davem@davemloft.net>
10998 * po/sv.po: Update from translation team.
11000 * po/vi.po: Update from translation team.
11002 * po/cs.po: Update from translation team.
11004 * po/de.po: Update from translation team.
11005 * po/eo.po: Likewise.
11006 * po/nl.po: Likewise.
11008 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11011 * manual/argp.texi (Argp Helper Functions): Move node to follow
11012 Argp Parsing State.
11015 * manual/conf.texi (Limits on File System Capacity): Mention if
11016 terminating null is included in the max size.
11018 2012-12-10 Andreas Jaeger <aj@suse.de>
11020 * po/cs.po: Update from translation team.
11022 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11024 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11025 void pointer and cast to uintptr_t.
11026 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11028 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11029 * sysdeps/s390/s390-64/memset.S: Likewise.
11031 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11034 * menual/message.texi (Message Translation): Fix typos.
11035 (Helper programs for gettext): Likewise.
11037 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11040 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11043 2012-12-07 David S. Miller <davem@davemloft.net>
11045 * po/libc.pot: Update.
11047 2012-12-07 Richard Henderson <rth@redhat.com>
11050 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11051 normal/normal case to before the switch.
11052 (_FP_DIV): Likewise.
11054 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11055 Mike Frysinger <vapier@gentoo.org>
11057 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11058 check for __NR_fadvise64_64.
11060 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11062 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11063 0, not just to plain "0" as a statement.
11064 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11067 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11069 * NEWS: Use sourceware.org in Bugzilla URL.
11071 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11074 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11076 * stdio-common/tst-put-error.c (do_test): Add newline to the
11077 padded test to ensure flush.
11079 2012-12-05 Jeff Law <law@redhat.com>
11081 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11083 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11085 * README: Don't refer to ports add-on as distributed separately.
11086 Mention AArch64 in list of systems supported in the ports add-on.
11088 * LICENSES: Add more non-FSF copyright and license notices.
11090 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11093 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11095 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11096 10000 as width of padded output.
11098 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11100 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11102 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11103 variable LX with __attribute__ ((unused)).
11104 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11106 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11109 with __attribute__ ((unused)).
11111 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11113 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11115 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11117 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11118 (CFLAGS-nldbl-acos.c): New variable.
11119 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11120 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11121 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11122 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11123 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11124 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11125 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11126 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11127 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11128 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11129 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11130 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11131 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11132 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11133 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11134 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11135 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11136 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11137 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11138 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11139 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11140 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11141 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11142 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11143 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11144 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11145 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11146 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11147 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11148 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11149 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11150 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11151 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11152 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11153 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11154 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11155 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11156 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11157 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11158 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11159 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11160 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11161 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11162 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11163 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11164 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11165 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11166 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11167 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11168 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11169 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11170 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11171 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11172 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11173 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11174 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11175 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11176 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11177 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11178 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11179 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11180 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11181 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11182 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11183 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11184 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11185 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11186 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11187 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11188 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11189 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11190 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11191 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11192 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11193 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11194 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11195 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11196 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11197 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11198 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11199 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11200 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11201 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11202 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11203 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11204 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11205 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11206 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11207 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11208 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11209 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11210 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11211 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11212 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11213 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11214 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11215 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11218 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11222 whole low double instead of just low 47 bits when splitting values
11225 2012-12-03 Allan McRae <allan@archlinux.org>
11227 * manual/stdio.texi (Predefined Printf Handlers): Remove
11228 @hsep and @vsep usage.
11230 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11232 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11233 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11235 2012-12-03 Jeff Law <law@redhat.com>
11237 * time/sys/time.h (settimeofday): Do not mark TV argument
11240 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11242 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11243 when currently writing and seek to current position when not.
11244 * libio/Makefile (tests): Remove bug-fclose1.
11245 * libio/bug-fclose1.c: Delete.
11247 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11249 * manual/arith.texi (feenableexcept): Fix typo.
11250 (fedisableexcept): Likewise.
11252 2012-11-30 Roland McGrath <roland@hack.frob.com>
11254 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11255 second, differently-typed declaration, rather than a cast.
11257 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11259 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11260 * include/rpc/svc.h: ... here.
11262 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11265 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11266 depending n and resplen2 to catch cases where answer
11269 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11271 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11272 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11274 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11276 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11278 2012-11-29 Roland McGrath <roland@hack.frob.com>
11280 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11282 2012-11-28 Jeff Law <law@redhat.com>
11285 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11286 dataset_temporary. Track alloca usage into alloca_used.
11287 If dataset is large allocate and release it via malloc/free.
11289 2012-06-04 Florian Weimer <fweimer@redhat.com>
11292 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11294 2012-11-28 David S. Miller <davem@davemloft.net>
11296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11298 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11301 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11302 of pi/2 rounded to nearest to 64 bits.
11303 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11304 nearest to 64 bits.
11305 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11308 2012-11-28 Jeff Law <law@redhat.com>
11309 Martin Osvald <mosvald@redhat.com>
11312 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11313 * sunrpc/svc.c: Include time.h.
11314 (__svc_accept_failed): New function.
11315 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11316 any reason other than EINTR, call __svc_accept_failed.
11317 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11318 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11320 2012-11-28 Andreas Schwab <schwab@suse.de>
11322 * scripts/abilist.awk: Also handle indirect functions in .opd
11325 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11328 * sysdeps/x86/fpu/powl_helper.c: New file.
11329 * sysdeps/x86/fpu/Makefile: Likewise.
11330 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11332 (__ieee754_powl): Use __powl_helper for finite arguments except
11333 integer exponents below 8.
11334 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11336 (__ieee754_powl): Use __powl_helper for finite arguments except
11337 integer exponents below 8.
11338 * math/libm-test.inc (pow_test): Add more tests and enable some
11339 previously disabled tests.
11340 * sysdeps/i386/fpu/libm-test-ulps: Update.
11341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11343 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11344 Carlos O'Donell <carlos_odonell@mentor.com>
11346 * nss/makedb.c (is_prime): Assert that input is odd and greater
11347 than 4. Note that fact in a comment too.
11348 (next_prime): Add 4 to input.
11350 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11353 * libio/Makefile (tests): Add test case tst-fwrite-error.
11354 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11355 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11356 * libio/tst-fwrite-error.c: New test case.
11358 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11360 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11361 before casting to void *.
11362 * include/libc-internal.h (__pointer_type): New macro.
11363 (__integer_if_pointer_type_sub): Likewise.
11364 (__integer_if_pointer_type): Likewise.
11365 (cast_to_integer): Likewise.
11366 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11367 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11368 before casting to atomic64_t.
11369 (atomic_exchange_acq): Likewise.
11370 (__arch_exchange_and_add_body): Likewise.
11371 (__arch_add_body): Likewise.
11372 (atomic_add_negative): Likewise.
11373 (atomic_add_zero): Likewise.
11375 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11377 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11378 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11379 (add_fdes): Likewise.
11380 (linear_search_fdes): Likewise.
11381 (binary_search_unencoded_fdes): Likewise.
11383 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11385 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11387 2012-11-24 Adam Conrad <adconrad@0c3.net>
11389 * configure.in: Autodetect C++ header directories.
11390 * configure: Regenerated.
11392 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11394 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11396 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11400 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11402 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11403 LDBL_MANT_DIG == 106]: Disable some tests.
11404 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11406 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11410 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11411 input for small inputs. Return +/- pi/2 for large inputs.
11412 * math/libm-test.inc (atan_test): Add more tests.
11414 * sysdeps/generic/unwind-dw2-fde-glibc.c
11415 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11416 __attribute__ ((unused)).
11419 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11420 x * y if x and y are nonzero and z is zero.
11423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11424 nonzero exponents with absolute value below 0x1p-117 to +/-
11428 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11429 up arguments below 2**-450, not just those below 2**-500.
11430 * math/libm-test.inc (hypot_test): Add another test.
11433 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11434 Return a+b for ratio over 2**120, not 2**60.
11435 * math/libm-test.inc (hypot_test): Add another test.
11437 * math/libm-test.inc (clog_test): Use
11438 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11439 (clog10_test): Likewise.
11442 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11444 2012-11-22 Andreas Schwab <schwab@suse.de>
11446 * sysdeps/i386/fpu/libm-test-ulps: Update.
11448 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11450 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11451 printf output with newline.
11453 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11456 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11457 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11458 -z nodlopen, -z initfirst and -z execstack support.
11459 * configure: Regenerated.
11461 * elf/elf.h (DF_1_NODIRECT): New macro.
11462 (DF_1_IGNMULDEF): Likewise.
11463 (DF_1_NOKSYMS): Likewise.
11464 (DF_1_NOHDR): Likewise.
11465 (DF_1_EDITED): Likewise.
11466 (DF_1_NORELOC): Likewise.
11467 (DF_1_SYMINTPOSE): Likewise.
11468 (DF_1_GLOBAUDIT): Likewise.
11469 (DF_1_SINGLETON): Likewise.
11470 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11471 DT_1_SUPPORTED_MASK bits.
11472 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11474 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11476 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11478 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11480 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11483 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11484 (sendmmsg): Move declarations...
11485 * socket/sys/socket.h: ... here.
11486 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11487 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11489 * socket/recvmmsg.c: ... this new file.
11490 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11491 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11492 definition of __sendmmsg hidden.
11493 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11494 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11495 Move ENOSYS stub into and include it from...
11496 * socket/sendmmsg.c: ... this new file.
11497 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11498 (sysdep_routines): Move recvmmsg and sendmmsg...
11499 * socket/Makefile (routines): ... here.
11500 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11501 (GLIBC_PRIVATE): Add __sendmmsg.
11502 * include/sys/socket.h (__sendmmsg): Add declarations.
11503 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11506 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11508 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11509 variable I1 with __attribute__ ((unused)).
11510 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11512 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11514 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11515 DUMMY variables with __attribute__ ((unused)).
11517 * bits/byteswap.h: Include <bits/types.h>.
11518 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11520 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11522 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11523 string_t. Do not manually set errno.
11524 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11525 length with __strnlen. Make sure to both set errno and return it on
11528 2012-11-19 David S. Miller <davem@davemloft.net>
11530 With help from Joseph Myers.
11531 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11532 very large arguments properly.
11533 * math/libm-test.inc (atan_test): New tests.
11534 (atan2_test): New tests.
11535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11538 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11541 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11544 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11545 [POSIX] (EADDRNOTAVAIL): Likewise.
11546 [POSIX] (EAFNOSUPPORT): Likewise.
11547 [POSIX] (EALREADY): Likewise.
11548 [POSIX] (ECONNABORTED): Likewise.
11549 [POSIX] (ECONNREFUSED): Likewise.
11550 [POSIX] (ECONNRESET): Likewise.
11551 [POSIX] (EDESTADDRREQ): Likewise.
11552 [POSIX] (EDQUOT): Likewise.
11553 [POSIX] (EHOSTUNREACH): Likewise.
11554 [POSIX] (EIDRM): Likewise.
11555 [POSIX] (EISCONN): Likewise.
11556 [POSIX] (ELOOP): Likewise.
11557 [POSIX] (EMULTIHOP): Likewise.
11558 [POSIX] (ENETDOWN): Likewise.
11559 [POSIX] (ENETUNREACH): Likewise.
11560 [POSIX] (ENOBUFS): Likewise.
11561 [POSIX] (ENODATA): Likewise.
11562 [POSIX] (ENOLINK): Likewise.
11563 [POSIX] (ENOMSG): Likewise.
11564 [POSIX] (ENOPROTOOPT): Likewise.
11565 [POSIX] (ENOSR): Likewise.
11566 [POSIX] (ENOSTR): Likewise.
11567 [POSIX] (ENOTCONN): Likewise.
11568 [POSIX] (ENOTSOCK): Likewise.
11569 [POSIX] (EOPNOTSUPP): Likewise.
11570 [POSIX] (EOVERFLOW): Likewise.
11571 [POSIX] (EPROTO): Likewise.
11572 [POSIX] (EPROTONOSUPPORT): Likewise.
11573 [POSIX] (EPROTOTYPE): Likewise.
11574 [POSIX] (ESTALE): Likewise.
11575 [POSIX] (ETIME): Likewise.
11576 [POSIX] (ETXTBSY): Likewise.
11577 [POSIX] (EWOULDBLOCK): Likewise.
11578 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11579 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11580 [POSIX] (SEEK_CUR): Likewise.
11581 [POSIX] (SEEK_END): Likewise.
11582 [POSIX || UNIX98] (mode_t): Do not require.
11583 [POSIX] (off_t): Likewise.
11584 [POSIX] (pid_t): Likewise.
11585 [POSIX] (sys/stat.h): Do not allow header.
11586 [POSIX] (unistd.h): Likewise.
11587 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11588 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11589 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11590 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11592 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11593 sigevent): Specify elements.
11594 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11596 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11597 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11599 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11600 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11601 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11602 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11603 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11604 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11605 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11606 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11607 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11608 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11609 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11610 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11611 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11612 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11614 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11616 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11618 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11620 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11621 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11622 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11623 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11624 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11625 Specify lower bound on value.
11626 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11627 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11628 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11629 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11630 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11631 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11632 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11633 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11635 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11637 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11638 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11639 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11640 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11641 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11642 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11643 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11644 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11645 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11646 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11647 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11648 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11649 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11650 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11651 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11652 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11654 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11656 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11657 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11658 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11659 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11660 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11661 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11663 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11664 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11665 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11666 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11667 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11668 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11669 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11671 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11672 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11673 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11674 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11675 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11676 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11677 specify as optional.
11678 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11679 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11680 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11681 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11682 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11683 [XPG3] (NL_LANGMAX): Likewise.
11684 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11685 [POSIX || XPG3] (NL_NMAX): Likewise.
11686 [POSIX || XPG3] (NL_SETMAX): Likewise.
11687 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11688 [XPG3] (NZERO): Likewise.
11689 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11690 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11691 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11692 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11693 (REG_ERANGE): Expect.
11694 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11696 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11697 Use (void) in prototype.
11698 [POSIX] (*_t): Allow.
11699 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11700 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11701 (WRDE_BADVAL): Expect.
11703 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11705 [XPG3 || XPG4] (O_RSYNC): Likewise.
11706 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11708 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11709 [XPG3 || XPG4] (sigqueue): Likewise.
11710 [XPG3 || XPG4] (sigtimedwait): Likewise.
11711 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11712 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11713 [XPG3 || XPG4] (vsnprintf): Likewise.
11714 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11716 [XPG3 || XPG4] (blksize_t): Likewise.
11717 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11719 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11720 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11721 [XPG3 || XPG4] (struct itimerspec): Likewise.
11722 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11723 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11724 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11725 [XPG3 || XPG4] (clockid_t): Likewise.
11726 [XPG3 || XPG4] (timer_t): Likewise.
11727 [XPG3 || XPG4] (clock_getres): Likewise.
11728 [XPG3 || XPG4] (clock_gettime): Likewise.
11729 [XPG3 || XPG4] (clock_settime): Likewise.
11730 [XPG3 || XPG4] (nanosleep): Likewise.
11731 [XPG3 || XPG4] (timer_create): Likewise.
11732 [XPG3 || XPG4] (timer_delete): Likewise.
11733 [XPG3 || XPG4] (timer_gettime): Likewise.
11734 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11735 [XPG3 || XPG4] (timer_settime): Likewise.
11736 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11737 [XPG3 || XPG4] (getlogin_r): Likewise.
11738 [XPG3 || XPG4] (pread): Likewise.
11739 [XPG3 || XPG4] (pthread_atfork): Likewise.
11740 [XPG3 || XPG4] (pwrite): Likewise.
11743 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11746 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11748 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11749 finalizing MALLSTREAM.
11751 * sysdeps/mach/hurd/syncfs.c: New file.
11753 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11756 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11757 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11758 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11759 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11760 (_nss_dns_gethostbyname4_r): Likewise.
11761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11762 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11764 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11767 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11769 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11771 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11772 * elf/cache.c (print_entry): Print ",AArch64" for
11775 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11776 * elf/cache.c (print_entry): Print ",hard-float" for
11779 2012-11-18 David S. Miller <davem@davemloft.net>
11781 With help from Joseph Myers.
11782 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11784 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11786 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11787 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11789 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11790 * math/libm-test.inc (y0_test): New tests.
11791 (y1_test): New tests.
11792 * sysdeps/i386/fpu/libm-test-ulps: Update.
11793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11796 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11798 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11800 * configure: Regenerated.
11802 2012-11-17 David S. Miller <davem@davemloft.net>
11805 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11806 nonzero exponents with absolute value below 0x1p-128 to +/-
11809 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11811 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11813 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11815 * posix/getconf-speclist.c: New file.
11816 * posix/posix-envs.def: Likewise.
11817 * posix/confstr.c (START_ENV_GROUP): New macro.
11818 (END_ENV_GROUP): Likewise.
11819 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11820 (KNOWN_PRESENT_ENV_STRING): Likewise.
11821 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11822 (UNKNOWN_ENVIRONMENT): Likewise.
11823 (confstr): Include posix-envs.def instead of handling
11824 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11825 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11826 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11827 (END_ENV_GROUP): Likewise.
11828 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11829 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11830 (UNKNOWN_ENVIRONMENT): Likewise.
11831 (__sysconf): Include posix-envs.def instead of handling associated
11832 cases directly here.
11833 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11834 preprocessing getconf-speclist.c rather than running getconf or
11835 generating empty file.
11837 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11839 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11841 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11844 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11846 2012-11-16 David S. Miller <davem@davemloft.net>
11848 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11849 smaller than LDBL_EPSILON/2.0L, just return xm1.
11851 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11853 * elf/tst-array1.c (init): Set constructor priority to 1000.
11854 (fini): Set destructor priority to 1000.
11855 * elf/tst-array2dep.c: Likewise.
11857 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11860 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11861 (_IO_new_file_xsputn): Also return EOF if none of the input
11862 data was written when overflow failed.
11863 * libio/iopadn.c (_IO_padn): Likewise.
11864 * libio/iowpadn.c (_IO_wpadn): Likewise.
11865 * stdio-common/tst-put-error.c: Add copyright notice.
11866 (do_test): Add case for printing padded string.
11867 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11868 _IO_padn returned error.
11869 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11870 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11873 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11875 * libio/libioP.h: Add comment note that the references to C++
11876 bits are now obsolete.
11878 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11880 * math/libm-test.inc (check_complex): Use asprintf.
11882 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11884 * debug/pcprofiledump.c (print_version): Update copyright year.
11885 * malloc/memusagestat.c (print_version): Likewise.
11887 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11890 * elf/Makefile (tests): Add tst-audit8.
11891 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11892 ($(objpfx)tst-audit8.out): New target.
11893 (tst-audit8-ENV): New variable.
11894 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11895 audit if l_reloc_result is NULL.
11896 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11897 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11898 * elf/tst-audit8.c: New file.
11900 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11902 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11903 * misc/Makefile (CFLAGS-select.c): Define.
11904 * posix/Makefile (CFLAGS-pause.c): Define.
11906 2012-11-13 David S. Miller <davem@davemloft.net>
11908 * crypt/Makefile: Move test targets after toplevel Rules
11909 inclusion. Grab any necessary sysdep routines when linking.
11910 * crypt/md5.c (md5_process_block): Remove define, we will always
11911 name it __md5_process_block.
11912 (md5_finish_ctx): Update md5_process_block call.
11913 (md5_stream): Likewise.
11914 (md5_process_bytes): Likewise.
11915 (md5_process_block): Rename to __md5_process_block and move to ...
11916 * crypt/md5-block.c: ... here.
11917 * crypt/sha256.c (sha256_process_block): Move to ...
11918 * crypt/sha256-block.c: ... here.
11919 * crypt/sha512.c (sha512_process_block): Move to ...
11920 * crypt/sha512-block.c: ... here.
11921 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11923 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11924 * sysdeps/sparc/sparc64/multiarch/Makefile
11925 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11927 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11928 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11930 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11931 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11932 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11933 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11934 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11935 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11936 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11937 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11940 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11941 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11943 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11945 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11947 * timezone/tzselect.ksh: Update from tzcode git revision
11948 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11949 * timezone/zdump.c: Likewise.
11950 * timezone/zic.c: Likewise.
11951 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11952 in TZVERSION setting, not $(PKGVERSION).
11953 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11954 REPORT_BUGS_TO settings.
11957 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11960 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11962 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11963 detection to immediately after _FP_ROUND().
11964 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11967 2012-11-11 David S. Miller <davem@davemloft.net>
11969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11971 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11972 __close rather than their public counterparts.
11974 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11976 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11978 [UNIX98] (sem_timedwait): Do not expect.
11979 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11980 [XPG4 || UNIX98] (sockatmark): Do not expect.
11981 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11982 (clock_getcpuclockid): Do not expect.
11983 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11984 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11986 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11987 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11988 [UNIX98] (vwscanf): Likewise.
11989 [UNIX98] (vswscanf): Likewise.
11991 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11993 * timezone/version.h: Remove file.
11994 * timezone/README: Do not refer to version.h.
11995 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11996 $(objpfx)version.h.
11997 ($(objpfx)zdump.o): Likewise.
11998 ($(objpfx)version.h): New target.
12000 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12002 * timezone/README: Don't mention modification to tzselect.ksh.
12003 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12004 work on unmodified tzselect.ksh. Substitute version numbers in
12007 * Makefile (format-me): Remove.
12008 (INSTALL): Adjust indentation. Use commands directly instead of
12009 using $(format-me).
12011 * aclocal.m4 (ACX_PKGVERSION): New macro.
12012 (ACX_BUGURL): Likewise.
12013 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12014 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12015 (REPORT_BUGS_TO): Likewise.
12016 * configure: Regenerated.
12017 * config.h.in (PKGVERSION): New macro.
12018 (REPORT_BUGS_TO): Likewise.
12019 * config.make.in (PKGVERSION): New variable.
12020 (PKGVERSION_TEXI): Likewise.
12021 (REPORT_BUGS_TO): Likewise.
12022 (REPORT_BUGS_TEXI): Likewise.
12023 * Makefile (format-me): Use -I$(common-objpfx)manual.
12024 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12025 ($(common-objpfx)manual/%): New target.
12026 (manual/%): Remove target.
12027 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12028 (print_version): Use PKGVERSION.
12029 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12030 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12031 and REPORT_BUGS_TO.
12032 ($(objpfx)xtrace): Likewise.
12033 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12034 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12035 (print_version): Use PKGVERSION.
12036 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12037 (do_version): Use PKGVERSION.
12038 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12040 (common-ldd-rewrite): Likewise.
12041 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12042 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12043 (print_version): Use PKGVERSION.
12044 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12045 * elf/pldd.c (argp_program_bug_address): Remove variable.
12046 (more_help): New function.
12047 (argp): Use more_help.
12048 (print_version): Use PKGVERSION.
12049 * elf/sln.c (main): Use PKGVERSION.
12050 (usage): Use REPORT_BUGS_TO.
12051 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12052 (top level): Use PKGVERSION.
12053 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12054 (print_version): Use PKGVERSION.
12055 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12056 (print_version): Use PKGVERSION.
12057 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12058 (print_version): Use PKGVERSION.
12059 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12060 (print_version): Use PKGVERSION.
12061 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12062 (print_version): Use PKGVERSION.
12063 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12064 (print_version): Use PKGVERSION.
12065 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12067 ($(objpfx)memusage): Likewise.
12068 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12069 (do_version): Use PKGVERSION.
12070 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12071 (print_version): Use PKGVERSION.
12072 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12073 ($PKGVERSION): New variable.
12074 ($REPORT_BUGS_TO): Likewise.
12075 (usage): Use $REPORT_BUGS_TO.
12076 (top level): Use $PKGVERSION.
12077 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12078 ($(objpfx)pkgvers.texi): New rule.
12079 ($(objpfx)stamp-pkgvers): Likewise.
12080 * manual/install.texi: Include pkgvers.texi.
12081 (--with-pkgversion): Document new configure option.
12082 (--with-bugurl): Likewise.
12083 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12084 than necessarily for this particular distribution. Use
12085 REPORT_BUGS_TO for where to report bugs.
12086 * INSTALL: Regenerated.
12087 * manual/libc.texinfo: Include pkgvers.texi.
12088 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12089 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12090 (print_version): Use PKGVERSION.
12091 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12092 (print_version): Use PKGVERSION.
12093 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12094 (print_version): Use PKGVERSION.
12095 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12096 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12098 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12099 (print_version): Use PKGVERSION.
12100 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12101 (print_version): Use PKGVERSION.
12102 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12105 * timezone/checktab.awk: Update from tzcode 2012i.
12106 * timezone/ialloc.c: Likewise.
12107 * timezone/private.h: Likewise.
12108 * timezone/scheck.c: Likewise.
12109 * timezone/tzfile.h: Likewise.
12110 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12111 (TZVERSION): Hardcode tzcode version number.
12112 * timezone/zdump.c: Update from tzcode 2012i.
12113 * timezone/zic.c: Likewise.
12114 * timezone/version.h: New file.
12115 * timezone/README: Describe version.h. Update upstream location.
12118 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12119 (mktemp): Enable declaration.
12120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12127 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12137 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12138 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12139 for copies of such integer values.
12140 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12141 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12143 2012-11-09 Andreas Jaeger <aj@suse.de>
12145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12146 definitions and declarations that are provided by
12147 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12149 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12151 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12152 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12153 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12156 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12158 * elf/elf.h: Update comment before AArch64 relocations.
12160 2012-11-07 David S. Miller <davem@davemloft.net>
12162 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12163 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12164 (__start_context): Declare.
12165 (__makecontext_ret): Delete.
12166 (__makecontext): Hook up __start_context instead of
12168 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12169 (sysdep_routines): Add __start_context when in stdlib.
12171 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12173 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12174 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12175 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12177 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12178 (READELF): New variable. Use it instead of hardcoded "readelf".
12180 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12182 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12183 * sysdeps/x86/Makefile: Here.
12184 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12185 * sysdeps/x86/tst-xmmymm.sh: This.
12187 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12189 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12191 [UNIX98] (pthread_barrier_t): Do not expect.
12192 [UNIX98] (pthread_barrierattr_t): Likewise.
12193 [UNIX98] (pthread_spinlock_t): Likewise.
12194 [UNIX98] (pthread_barrier_destroy): Likewise.
12195 [UNIX98] (pthread_barrier_init): Likewise.
12196 [UNIX98] (pthread_barrier_wait): Likewise.
12197 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12198 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12199 [UNIX98] (pthread_barrierattr_init): Likewise.
12200 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12201 [UNIX98] (pthread_getcpuclockid): Likewise.
12202 [UNIX98] (pthread_mutex_timedlock): Likewise.
12203 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12204 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12205 [UNIX98] (pthread_sigmask): Likewise.
12206 [UNIX98] (pthread_spin_destroy): Likewise.
12207 [UNIX98] (pthread_spin_init): Likewise.
12208 [UNIX98] (pthread_spin_lock): Likewise.
12209 [UNIX98] (pthread_spin_trylock): Likewise.
12210 [UNIX98] (pthread_spin_unlock): Likewise.
12211 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12213 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12214 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12215 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12216 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12217 [XPG3 || XPG4] (pthread_key_t): Likewise.
12218 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12219 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12220 [XPG3 || XPG4] (pthread_once_t): Likewise.
12221 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12222 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12223 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12224 [XPG3 || XPG4] (pthread_t): Likewise.
12226 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12228 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12230 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12231 Change function return type to int.
12233 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12234 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12235 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12236 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12237 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12238 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12239 [!POSIX] (posix_madvise): Likewise.
12240 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12242 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12243 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12244 (mode_t): Likewise.
12245 (posix_mem_offset): Likewise.
12246 (posix_typed_mem_get_info): Likewise.
12247 (posix_typed_mem_open): Likewise.
12249 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12250 Change condition to [XOPEN2K8].
12252 * conform/conformtest.pl: Preprocess allow-header data with -x c
12253 instead of from stdin.
12254 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12255 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12256 [C99-based standards] (cerfc): Likewise.
12257 [C99-based standards] (cexp2): Likewise.
12258 [C99-based standards] (cexpm1): Likewise.
12259 [C99-based standards] (clog10): Likewise.
12260 [C99-based standards] (clog1p): Likewise.
12261 [C99-based standards] (clog2): Likewise.
12262 [C99-based standards] (clgamma): Likewise.
12263 [C99-based standards] (ctgamma): Likewise.
12264 [C99-based standards] (cerff): Likewise.
12265 [C99-based standards] (cerfcf): Likewise.
12266 [C99-based standards] (cexp2f): Likewise.
12267 [C99-based standards] (cexpm1f): Likewise.
12268 [C99-based standards] (clog10f): Likewise.
12269 [C99-based standards] (clog1pf): Likewise.
12270 [C99-based standards] (clog2f): Likewise.
12271 [C99-based standards] (clgammaf): Likewise.
12272 [C99-based standards] (ctgammaf): Likewise.
12273 [C99-based standards] (cerfl): Likewise.
12274 [C99-based standards] (cerfcl): Likewise.
12275 [C99-based standards] (cexp2l): Likewise.
12276 [C99-based standards] (cexpm1l): Likewise.
12277 [C99-based standards] (clog10l): Likewise.
12278 [C99-based standards] (clog1pl): Likewise.
12279 [C99-based standards] (clog2l): Likewise.
12280 [C99-based standards] (clgammal): Likewise.
12281 [C99-based standards] (ctgammal): Likewise.
12282 * conform/data/inttypes.h-data [C99-based standards]: Include
12283 stdint.h-data. Remove all expectations for stdint.h contents.
12284 [C99-based standards] (PRI*): Do not allow.
12285 [C99-based standards] (SCN*): Likewise.
12286 [C99-based standards] (*_t): Likewise.
12287 [C99-based-standards] (PRId8): Expect macro.
12288 [C99-based-standards] (PRIi8): Likewise.
12289 [C99-based-standards] (PRIo8): Likewise.
12290 [C99-based-standards] (PRIu8): Likewise.
12291 [C99-based-standards] (PRIx8): Likewise.
12292 [C99-based-standards] (PRIX8): Likewise.
12293 [C99-based-standards] (SCNd8): Likewise.
12294 [C99-based-standards] (SCNi8): Likewise.
12295 [C99-based-standards] (SCNo8): Likewise.
12296 [C99-based-standards] (SCNu8): Likewise.
12297 [C99-based-standards] (SCNx8): Likewise.
12298 [C99-based-standards] (PRIdLEAST8): Likewise.
12299 [C99-based-standards] (PRIiLEAST8): Likewise.
12300 [C99-based-standards] (PRIoLEAST8): Likewise.
12301 [C99-based-standards] (PRIuLEAST8): Likewise.
12302 [C99-based-standards] (PRIxLEAST8): Likewise.
12303 [C99-based-standards] (PRIXLEAST8): Likewise.
12304 [C99-based-standards] (SCNdLEAST8): Likewise.
12305 [C99-based-standards] (SCNiLEAST8): Likewise.
12306 [C99-based-standards] (SCNoLEAST8): Likewise.
12307 [C99-based-standards] (SCNuLEAST8): Likewise.
12308 [C99-based-standards] (SCNxLEAST8): Likewise.
12309 [C99-based-standards] (PRIdFAST8): Likewise.
12310 [C99-based-standards] (PRIiFAST8): Likewise.
12311 [C99-based-standards] (PRIoFAST8): Likewise.
12312 [C99-based-standards] (PRIuFAST8): Likewise.
12313 [C99-based-standards] (PRIxFAST8): Likewise.
12314 [C99-based-standards] (PRIXFAST8): Likewise.
12315 [C99-based-standards] (SCNdFAST8): Likewise.
12316 [C99-based-standards] (SCNiFAST8): Likewise.
12317 [C99-based-standards] (SCNoFAST8): Likewise.
12318 [C99-based-standards] (SCNuFAST8): Likewise.
12319 [C99-based-standards] (SCNxFAST8): Likewise.
12320 [C99-based-standards] (PRId16): Likewise.
12321 [C99-based-standards] (PRIi16): Likewise.
12322 [C99-based-standards] (PRIo16): Likewise.
12323 [C99-based-standards] (PRIu16): Likewise.
12324 [C99-based-standards] (PRIx16): Likewise.
12325 [C99-based-standards] (PRIX16): Likewise.
12326 [C99-based-standards] (SCNd16): Likewise.
12327 [C99-based-standards] (SCNi16): Likewise.
12328 [C99-based-standards] (SCNo16): Likewise.
12329 [C99-based-standards] (SCNu16): Likewise.
12330 [C99-based-standards] (SCNx16): Likewise.
12331 [C99-based-standards] (PRIdLEAST16): Likewise.
12332 [C99-based-standards] (PRIiLEAST16): Likewise.
12333 [C99-based-standards] (PRIoLEAST16): Likewise.
12334 [C99-based-standards] (PRIuLEAST16): Likewise.
12335 [C99-based-standards] (PRIxLEAST16): Likewise.
12336 [C99-based-standards] (PRIXLEAST16): Likewise.
12337 [C99-based-standards] (SCNdLEAST16): Likewise.
12338 [C99-based-standards] (SCNiLEAST16): Likewise.
12339 [C99-based-standards] (SCNoLEAST16): Likewise.
12340 [C99-based-standards] (SCNuLEAST16): Likewise.
12341 [C99-based-standards] (SCNxLEAST16): Likewise.
12342 [C99-based-standards] (PRIdFAST16): Likewise.
12343 [C99-based-standards] (PRIiFAST16): Likewise.
12344 [C99-based-standards] (PRIoFAST16): Likewise.
12345 [C99-based-standards] (PRIuFAST16): Likewise.
12346 [C99-based-standards] (PRIxFAST16): Likewise.
12347 [C99-based-standards] (PRIXFAST16): Likewise.
12348 [C99-based-standards] (SCNdFAST16): Likewise.
12349 [C99-based-standards] (SCNiFAST16): Likewise.
12350 [C99-based-standards] (SCNoFAST16): Likewise.
12351 [C99-based-standards] (SCNuFAST16): Likewise.
12352 [C99-based-standards] (SCNxFAST16): Likewise.
12353 [C99-based-standards] (PRId32): Likewise.
12354 [C99-based-standards] (PRIi32): Likewise.
12355 [C99-based-standards] (PRIo32): Likewise.
12356 [C99-based-standards] (PRIu32): Likewise.
12357 [C99-based-standards] (PRIx32): Likewise.
12358 [C99-based-standards] (PRIX32): Likewise.
12359 [C99-based-standards] (SCNd32): Likewise.
12360 [C99-based-standards] (SCNi32): Likewise.
12361 [C99-based-standards] (SCNo32): Likewise.
12362 [C99-based-standards] (SCNu32): Likewise.
12363 [C99-based-standards] (SCNx32): Likewise.
12364 [C99-based-standards] (PRIdLEAST32): Likewise.
12365 [C99-based-standards] (PRIiLEAST32): Likewise.
12366 [C99-based-standards] (PRIoLEAST32): Likewise.
12367 [C99-based-standards] (PRIuLEAST32): Likewise.
12368 [C99-based-standards] (PRIxLEAST32): Likewise.
12369 [C99-based-standards] (PRIXLEAST32): Likewise.
12370 [C99-based-standards] (SCNdLEAST32): Likewise.
12371 [C99-based-standards] (SCNiLEAST32): Likewise.
12372 [C99-based-standards] (SCNoLEAST32): Likewise.
12373 [C99-based-standards] (SCNuLEAST32): Likewise.
12374 [C99-based-standards] (SCNxLEAST32): Likewise.
12375 [C99-based-standards] (PRIdFAST32): Likewise.
12376 [C99-based-standards] (PRIiFAST32): Likewise.
12377 [C99-based-standards] (PRIoFAST32): Likewise.
12378 [C99-based-standards] (PRIuFAST32): Likewise.
12379 [C99-based-standards] (PRIxFAST32): Likewise.
12380 [C99-based-standards] (PRIXFAST32): Likewise.
12381 [C99-based-standards] (SCNdFAST32): Likewise.
12382 [C99-based-standards] (SCNiFAST32): Likewise.
12383 [C99-based-standards] (SCNoFAST32): Likewise.
12384 [C99-based-standards] (SCNuFAST32): Likewise.
12385 [C99-based-standards] (SCNxFAST32): Likewise.
12386 [C99-based-standards] (PRId64): Likewise.
12387 [C99-based-standards] (PRIi64): Likewise.
12388 [C99-based-standards] (PRIo64): Likewise.
12389 [C99-based-standards] (PRIu64): Likewise.
12390 [C99-based-standards] (PRIx64): Likewise.
12391 [C99-based-standards] (PRIX64): Likewise.
12392 [C99-based-standards] (SCNd64): Likewise.
12393 [C99-based-standards] (SCNi64): Likewise.
12394 [C99-based-standards] (SCNo64): Likewise.
12395 [C99-based-standards] (SCNu64): Likewise.
12396 [C99-based-standards] (SCNx64): Likewise.
12397 [C99-based-standards] (PRIdLEAST64): Likewise.
12398 [C99-based-standards] (PRIiLEAST64): Likewise.
12399 [C99-based-standards] (PRIoLEAST64): Likewise.
12400 [C99-based-standards] (PRIuLEAST64): Likewise.
12401 [C99-based-standards] (PRIxLEAST64): Likewise.
12402 [C99-based-standards] (PRIXLEAST64): Likewise.
12403 [C99-based-standards] (SCNdLEAST64): Likewise.
12404 [C99-based-standards] (SCNiLEAST64): Likewise.
12405 [C99-based-standards] (SCNoLEAST64): Likewise.
12406 [C99-based-standards] (SCNuLEAST64): Likewise.
12407 [C99-based-standards] (SCNxLEAST64): Likewise.
12408 [C99-based-standards] (PRIdFAST64): Likewise.
12409 [C99-based-standards] (PRIiFAST64): Likewise.
12410 [C99-based-standards] (PRIoFAST64): Likewise.
12411 [C99-based-standards] (PRIuFAST64): Likewise.
12412 [C99-based-standards] (PRIxFAST64): Likewise.
12413 [C99-based-standards] (PRIXFAST64): Likewise.
12414 [C99-based-standards] (SCNdFAST64): Likewise.
12415 [C99-based-standards] (SCNiFAST64): Likewise.
12416 [C99-based-standards] (SCNoFAST64): Likewise.
12417 [C99-based-standards] (SCNuFAST64): Likewise.
12418 [C99-based-standards] (SCNxFAST64): Likewise.
12419 [C99-based-standards] (PRIdMAX): Likewise.
12420 [C99-based-standards] (PRIiMAX): Likewise.
12421 [C99-based-standards] (PRIoMAX): Likewise.
12422 [C99-based-standards] (PRIuMAX): Likewise.
12423 [C99-based-standards] (PRIxMAX): Likewise.
12424 [C99-based-standards] (PRIXMAX): Likewise.
12425 [C99-based-standards] (SCNdMAX): Likewise.
12426 [C99-based-standards] (SCNiMAX): Likewise.
12427 [C99-based-standards] (SCNoMAX): Likewise.
12428 [C99-based-standards] (SCNuMAX): Likewise.
12429 [C99-based-standards] (SCNxMAX): Likewise.
12430 [C99-based-standards] (PRIdPTR): Likewise.
12431 [C99-based-standards] (PRIiPTR): Likewise.
12432 [C99-based-standards] (PRIoPTR): Likewise.
12433 [C99-based-standards] (PRIuPTR): Likewise.
12434 [C99-based-standards] (PRIxPTR): Likewise.
12435 [C99-based-standards] (PRIXPTR): Likewise.
12436 [C99-based-standards] (SCNdPTR): Likewise.
12437 [C99-based-standards] (SCNiPTR): Likewise.
12438 [C99-based-standards] (SCNoPTR): Likewise.
12439 [C99-based-standards] (SCNuPTR): Likewise.
12440 [C99-based-standards] (SCNxPTR): Likewise.
12441 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12443 * conform/data/stdint.h-data: Update comments to clarify
12445 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12447 [C99-based standards] (INT8_MAX): Likewise.
12448 [C99-based standards] (INT16_MIN): Likewise.
12449 [C99-based standards] (INT16_MAX): Likewise.
12450 [C99-based standards] (INT32_MIN): Likewise.
12451 [C99-based standards] (INT32_MAX): Likewise.
12452 [C99-based standards] (INT64_MIN): Likewise.
12453 [C99-based standards] (INT64_MAX): Likewise.
12454 [C99-based standards] (UINT8_MAX): Likewise.
12455 [C99-based standards] (UINT16_MAX): Likewise.
12456 [C99-based standards] (UINT32_MAX): Likewise.
12457 [C99-based standards] (UINT64_MAX): Likewise.
12458 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12459 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12460 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12461 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12462 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12463 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12464 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12465 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12466 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12467 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12468 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12469 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12470 [C99-based standards] (INT_FAST8_MIN): Likewise.
12471 [C99-based standards] (INT_FAST8_MAX): Likewise.
12472 [C99-based standards] (INT_FAST16_MIN): Likewise.
12473 [C99-based standards] (INT_FAST16_MAX): Likewise.
12474 [C99-based standards] (INT_FAST32_MIN): Likewise.
12475 [C99-based standards] (INT_FAST32_MAX): Likewise.
12476 [C99-based standards] (INT_FAST64_MIN): Likewise.
12477 [C99-based standards] (INT_FAST64_MAX): Likewise.
12478 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12479 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12480 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12481 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12482 [C99-based standards] (INTPTR_MIN): Likewise.
12483 [C99-based standards] (INTPTR_MAX): Likewise.
12484 [C99-based standards] (UINTPTR_MAX): Likewise.
12485 [C99-based standards] (INTMAX_MIN): Likewise.
12486 [C99-based standards] (INTMAX_MAX): Likewise.
12487 [C99-based standards] (UINTMAX_MAX): Likewise.
12488 [C99-based standards] (PTRDIFF_MIN): Likewise.
12489 [C99-based standards] (PTRDIFF_MAX): Likewise.
12490 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12491 [C99-based standards] (SIZE_MAX): Likewise.
12492 [C99-based standards] (WCHAR_MAX): Likewise.
12493 [C99-based standards] (WINT_MAX): Likewise.
12494 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12495 constraint on value.
12496 [C99-based standards] (WCHAR_MIN): Likewise.
12497 [C99-based standards] (WINT_MIN): Likewise.
12498 [C99-based standards] (*_t): Allow.
12499 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12500 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12501 Include math.h-data and complex.h-data. Remove all expectations
12502 of math.h and complex.h contents.
12503 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12505 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12506 (struct tm): Expect tag.
12507 [C99-based-standards] (wcstof): Expect function.
12508 [C99-based-standards] (wcstold): Likewise.
12509 [C99-based-standards] (wcstoll): Likewise.
12510 [C99-based-standards] (wcstoull): Likewise.
12511 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12512 macro-int-constant. Specify type.
12513 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12514 constraint on value.
12515 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12517 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12519 [ISO C standards]: Do not allow headers.
12520 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12521 wcs[abcdefghijklmnopqrstuvwxyz]*.
12522 [ISO C standards] (*_t): Do not allow.
12523 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12525 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12526 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12528 [ISO C standards]: Do not allow headers.
12529 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12530 is[abcdefghijklmnopqrstuvwxyz]*.
12531 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12532 to[abcdefghijklmnopqrstuvwxyz]*.
12533 [ISO C standards] (*_t): Do not allow.
12534 * conform/data/stdalign.h-data: New file.
12535 * conform/data/stdbool.h-data: Likewise.
12536 * conform/data/stdnoreturn.h-data: Likewise.
12538 2012-11-07 Roland McGrath <roland@hack.frob.com>
12541 * manual/filesys.texi (Directory Entries): Typo fix.
12542 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12544 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12546 * elf/elf.h (EM_AARCH64): New macro.
12547 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12548 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12549 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12550 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12551 (R_AARCH64_TLSDESC): Likewise.
12552 (NT_ARM_TLS): Likewise.
12553 (NT_ARM_HW_BREAK): Likewise.
12554 (NT_ARM_HW_WATCH): Likewise.
12556 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12559 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12560 (__ieee754_powl): Saturate nonzero exponents with absolute value
12561 below 0x1p-79 to +/- 0x1p-79.
12562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12563 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12564 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12565 nonzero exponents with absolute value below 0x1p-32 to +/-
12567 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12568 (__ieee754_powl): Saturate nonzero exponents with absolute value
12569 below 0x1p-79 to +/- 0x1p-79.
12570 * math/libm-test.inc (pow_test): Add more tests.
12572 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12574 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12575 _dl_s390_cap_flags with kernel. Increase string length.
12576 (_dl_s390_platforms): Add z196 and zEC12.
12578 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12580 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12581 Change XOPEN21K to XOPEN2K.
12583 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12585 * string/memmove.c: Use memcpy when possible.
12587 2012-11-06 Andreas Jaeger <aj@suse.de>
12589 * po/eo.po: Update from translation team.
12591 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12595 exponent and small x and y exponents, scale x or y up. Increase
12596 by 2 the exponent used in scaling up.
12597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12599 * math/libm-test.inc (fma_test): Add more tests.
12600 (fma_test_towardzero): Likewise.
12601 (fma_test_downward): Likewise.
12602 (fma_test_upward): Likewise.
12604 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12607 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12611 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12612 namespace for names of struct fields.
12613 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12615 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12616 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12618 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12621 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12623 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12625 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12629 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12632 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12636 definitely overflow as x * y not x * y + z.
12637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12639 * math/libm-test.inc (fma_test): Add more tests.
12640 (fma_test_towardzero): Likewise.
12641 (fma_test_downward): Likewise.
12642 (fma_test_upward): Likewise.
12644 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12648 * include/stub-tag.h: Remove file.
12649 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12651 * manual/maint.texi (Porting): Don't reference it.
12652 * Makerules ($(objpfx)stubs): Likewise.
12653 * dirent/closedir.c: Don't include <stub-tag.h>.
12654 * dirent/dirfd.c: Likewise.
12655 * dirent/fdopendir.c: Likewise.
12656 * dirent/getdents.c: Likewise.
12657 * dirent/getdents64.c: Likewise.
12658 * dirent/opendir.c: Likewise.
12659 * dirent/readdir.c: Likewise.
12660 * dirent/readdir64.c: Likewise.
12661 * dirent/readdir64_r.c: Likewise.
12662 * dirent/readdir_r.c: Likewise.
12663 * dirent/rewinddir.c: Likewise.
12664 * dirent/seekdir.c: Likewise.
12665 * dirent/telldir.c: Likewise.
12666 * gmon/profil.c: Likewise.
12667 * grp/setgroups.c: Likewise.
12668 * inet/if_index.c: Likewise.
12669 * io/access.c: Likewise.
12670 * io/chdir.c: Likewise.
12671 * io/chmod.c: Likewise.
12672 * io/chown.c: Likewise.
12673 * io/close.c: Likewise.
12674 * io/dup.c: Likewise.
12675 * io/dup2.c: Likewise.
12676 * io/dup3.c: Likewise.
12677 * io/euidaccess.c: Likewise.
12678 * io/faccessat.c: Likewise.
12679 * io/fchdir.c: Likewise.
12680 * io/fchmod.c: Likewise.
12681 * io/fchmodat.c: Likewise.
12682 * io/fchown.c: Likewise.
12683 * io/fchownat.c: Likewise.
12684 * io/fcntl.c: Likewise.
12685 * io/flock.c: Likewise.
12686 * io/fstatfs.c: Likewise.
12687 * io/fstatfs64.c: Likewise.
12688 * io/fstatvfs.c: Likewise.
12689 * io/fstatvfs64.c: Likewise.
12690 * io/futimens.c: Likewise.
12691 * io/fxstat.c: Likewise.
12692 * io/fxstat64.c: Likewise.
12693 * io/fxstatat.c: Likewise.
12694 * io/fxstatat64.c: Likewise.
12695 * io/getcwd.c: Likewise.
12696 * io/isatty.c: Likewise.
12697 * io/lchmod.c: Likewise.
12698 * io/lchown.c: Likewise.
12699 * io/link.c: Likewise.
12700 * io/linkat.c: Likewise.
12701 * io/lseek.c: Likewise.
12702 * io/lseek64.c: Likewise.
12703 * io/lxstat64.c: Likewise.
12704 * io/mkdir.c: Likewise.
12705 * io/mkdirat.c: Likewise.
12706 * io/mkfifo.c: Likewise.
12707 * io/mkfifoat.c: Likewise.
12708 * io/open.c: Likewise.
12709 * io/open64.c: Likewise.
12710 * io/openat.c: Likewise.
12711 * io/openat64.c: Likewise.
12712 * io/pipe.c: Likewise.
12713 * io/pipe2.c: Likewise.
12714 * io/poll.c: Likewise.
12715 * io/posix_fadvise.c: Likewise.
12716 * io/posix_fadvise64.c: Likewise.
12717 * io/posix_fallocate.c: Likewise.
12718 * io/posix_fallocate64.c: Likewise.
12719 * io/read.c: Likewise.
12720 * io/readlink.c: Likewise.
12721 * io/readlinkat.c: Likewise.
12722 * io/rmdir.c: Likewise.
12723 * io/sendfile.c: Likewise.
12724 * io/sendfile64.c: Likewise.
12725 * io/statfs.c: Likewise.
12726 * io/statfs64.c: Likewise.
12727 * io/statvfs.c: Likewise.
12728 * io/statvfs64.c: Likewise.
12729 * io/symlink.c: Likewise.
12730 * io/symlinkat.c: Likewise.
12731 * io/ttyname.c: Likewise.
12732 * io/ttyname_r.c: Likewise.
12733 * io/umask.c: Likewise.
12734 * io/unlink.c: Likewise.
12735 * io/unlinkat.c: Likewise.
12736 * io/utime.c: Likewise.
12737 * io/utimensat.c: Likewise.
12738 * io/write.c: Likewise.
12739 * io/xmknod.c: Likewise.
12740 * io/xmknodat.c: Likewise.
12741 * io/xstat.c: Likewise.
12742 * io/xstat64.c: Likewise.
12743 * login/getpt.c: Likewise.
12744 * login/grantpt.c: Likewise.
12745 * login/unlockpt.c: Likewise.
12746 * math/e_acoshl.c: Likewise.
12747 * math/e_acosl.c: Likewise.
12748 * math/e_asinl.c: Likewise.
12749 * math/e_atan2l.c: Likewise.
12750 * math/e_atanhl.c: Likewise.
12751 * math/e_coshl.c: Likewise.
12752 * math/e_expl.c: Likewise.
12753 * math/e_fmodl.c: Likewise.
12754 * math/e_gammal_r.c: Likewise.
12755 * math/e_hypotl.c: Likewise.
12756 * math/e_j0l.c: Likewise.
12757 * math/e_j1l.c: Likewise.
12758 * math/e_jnl.c: Likewise.
12759 * math/e_lgammal_r.c: Likewise.
12760 * math/e_log10l.c: Likewise.
12761 * math/e_log2l.c: Likewise.
12762 * math/e_logl.c: Likewise.
12763 * math/e_powl.c: Likewise.
12764 * math/e_rem_pio2l.c: Likewise.
12765 * math/e_sinhl.c: Likewise.
12766 * math/e_sqrtl.c: Likewise.
12767 * math/fclrexcpt.c: Likewise.
12768 * math/fedisblxcpt.c: Likewise.
12769 * math/feenablxcpt.c: Likewise.
12770 * math/fegetenv.c: Likewise.
12771 * math/fegetexcept.c: Likewise.
12772 * math/fegetround.c: Likewise.
12773 * math/feholdexcpt.c: Likewise.
12774 * math/fesetenv.c: Likewise.
12775 * math/fesetround.c: Likewise.
12776 * math/feupdateenv.c: Likewise.
12777 * math/fgetexcptflg.c: Likewise.
12778 * math/fraiseexcpt.c: Likewise.
12779 * math/fsetexcptflg.c: Likewise.
12780 * math/ftestexcept.c: Likewise.
12781 * math/k_cosl.c: Likewise.
12782 * math/k_rem_pio2l.c: Likewise.
12783 * math/k_sinl.c: Likewise.
12784 * math/k_tanl.c: Likewise.
12785 * math/s_asinhl.c: Likewise.
12786 * math/s_atanl.c: Likewise.
12787 * math/s_cbrtl.c: Likewise.
12788 * math/s_erfl.c: Likewise.
12789 * math/s_expm1l.c: Likewise.
12790 * math/s_log1pl.c: Likewise.
12791 * math/s_tanhl.c: Likewise.
12792 * misc/acct.c: Likewise.
12793 * misc/brk.c: Likewise.
12794 * misc/chflags.c: Likewise.
12795 * misc/chroot.c: Likewise.
12796 * misc/fchflags.c: Likewise.
12797 * misc/fgetxattr.c: Likewise.
12798 * misc/flistxattr.c: Likewise.
12799 * misc/fremovexattr.c: Likewise.
12800 * misc/fsetxattr.c: Likewise.
12801 * misc/fsync.c: Likewise.
12802 * misc/ftruncate.c: Likewise.
12803 * misc/futimes.c: Likewise.
12804 * misc/futimesat.c: Likewise.
12805 * misc/getdomain.c: Likewise.
12806 * misc/getdtsz.c: Likewise.
12807 * misc/gethostid.c: Likewise.
12808 * misc/gethostname.c: Likewise.
12809 * misc/getloadavg.c: Likewise.
12810 * misc/getpagesize.c: Likewise.
12811 * misc/getsysstats.c: Likewise.
12812 * misc/getxattr.c: Likewise.
12813 * misc/gtty.c: Likewise.
12814 * misc/ioctl.c: Likewise.
12815 * misc/lgetxattr.c: Likewise.
12816 * misc/listxattr.c: Likewise.
12817 * misc/llistxattr.c: Likewise.
12818 * misc/lremovexattr.c: Likewise.
12819 * misc/lsetxattr.c: Likewise.
12820 * misc/lutimes.c: Likewise.
12821 * misc/madvise.c: Likewise.
12822 * misc/mincore.c: Likewise.
12823 * misc/mlock.c: Likewise.
12824 * misc/mlockall.c: Likewise.
12825 * misc/mmap.c: Likewise.
12826 * misc/mprotect.c: Likewise.
12827 * misc/msync.c: Likewise.
12828 * misc/munlock.c: Likewise.
12829 * misc/munlockall.c: Likewise.
12830 * misc/munmap.c: Likewise.
12831 * misc/preadv.c: Likewise.
12832 * misc/preadv64.c: Likewise.
12833 * misc/ptrace.c: Likewise.
12834 * misc/pwritev.c: Likewise.
12835 * misc/pwritev64.c: Likewise.
12836 * misc/readv.c: Likewise.
12837 * misc/reboot.c: Likewise.
12838 * misc/remap_file_pages.c: Likewise.
12839 * misc/removexattr.c: Likewise.
12840 * misc/revoke.c: Likewise.
12841 * misc/select.c: Likewise.
12842 * misc/setdomain.c: Likewise.
12843 * misc/setegid.c: Likewise.
12844 * misc/seteuid.c: Likewise.
12845 * misc/sethostid.c: Likewise.
12846 * misc/sethostname.c: Likewise.
12847 * misc/setregid.c: Likewise.
12848 * misc/setreuid.c: Likewise.
12849 * misc/setxattr.c: Likewise.
12850 * misc/sstk.c: Likewise.
12851 * misc/stty.c: Likewise.
12852 * misc/swapoff.c: Likewise.
12853 * misc/swapon.c: Likewise.
12854 * misc/sync.c: Likewise.
12855 * misc/syncfs.c: Likewise.
12856 * misc/syscall.c: Likewise.
12857 * misc/truncate.c: Likewise.
12858 * misc/ualarm.c: Likewise.
12859 * misc/usleep.c: Likewise.
12860 * misc/ustat.c: Likewise.
12861 * misc/utimes.c: Likewise.
12862 * misc/vhangup.c: Likewise.
12863 * misc/writev.c: Likewise.
12864 * posix/_exit.c: Likewise.
12865 * posix/alarm.c: Likewise.
12866 * posix/execve.c: Likewise.
12867 * posix/fexecve.c: Likewise.
12868 * posix/fork.c: Likewise.
12869 * posix/fpathconf.c: Likewise.
12870 * posix/getaddrinfo.c: Likewise.
12871 * posix/getegid.c: Likewise.
12872 * posix/geteuid.c: Likewise.
12873 * posix/getgid.c: Likewise.
12874 * posix/getgroups.c: Likewise.
12875 * posix/getlogin.c: Likewise.
12876 * posix/getlogin_r.c: Likewise.
12877 * posix/getpgid.c: Likewise.
12878 * posix/getpid.c: Likewise.
12879 * posix/getppid.c: Likewise.
12880 * posix/getresgid.c: Likewise.
12881 * posix/getresuid.c: Likewise.
12882 * posix/getsid.c: Likewise.
12883 * posix/getuid.c: Likewise.
12884 * posix/glob64.c: Likewise.
12885 * posix/nanosleep.c: Likewise.
12886 * posix/pathconf.c: Likewise.
12887 * posix/pause.c: Likewise.
12888 * posix/posix_madvise.c: Likewise.
12889 * posix/pread.c: Likewise.
12890 * posix/pread64.c: Likewise.
12891 * posix/pwrite.c: Likewise.
12892 * posix/pwrite64.c: Likewise.
12893 * posix/sched_getaffinity.c: Likewise.
12894 * posix/sched_getp.c: Likewise.
12895 * posix/sched_gets.c: Likewise.
12896 * posix/sched_primax.c: Likewise.
12897 * posix/sched_primin.c: Likewise.
12898 * posix/sched_rr_gi.c: Likewise.
12899 * posix/sched_setaffinity.c: Likewise.
12900 * posix/sched_setp.c: Likewise.
12901 * posix/sched_sets.c: Likewise.
12902 * posix/sched_yield.c: Likewise.
12903 * posix/setgid.c: Likewise.
12904 * posix/setlogin.c: Likewise.
12905 * posix/setpgid.c: Likewise.
12906 * posix/setresgid.c: Likewise.
12907 * posix/setresuid.c: Likewise.
12908 * posix/setsid.c: Likewise.
12909 * posix/setuid.c: Likewise.
12910 * posix/sleep.c: Likewise.
12911 * posix/spawni.c: Likewise.
12912 * posix/sysconf.c: Likewise.
12913 * posix/times.c: Likewise.
12914 * posix/wait.c: Likewise.
12915 * posix/wait3.c: Likewise.
12916 * posix/wait4.c: Likewise.
12917 * posix/waitpid.c: Likewise.
12918 * resolv/gai_sigqueue.c: Likewise.
12919 * resource/getpriority.c: Likewise.
12920 * resource/getrlimit.c: Likewise.
12921 * resource/getrusage.c: Likewise.
12922 * resource/nice.c: Likewise.
12923 * resource/setpriority.c: Likewise.
12924 * resource/setrlimit.c: Likewise.
12925 * resource/ulimit.c: Likewise.
12926 * rt/aio_cancel.c: Likewise.
12927 * rt/aio_fsync.c: Likewise.
12928 * rt/aio_read.c: Likewise.
12929 * rt/aio_sigqueue.c: Likewise.
12930 * rt/aio_suspend.c: Likewise.
12931 * rt/aio_write.c: Likewise.
12932 * rt/clock_getres.c: Likewise.
12933 * rt/clock_gettime.c: Likewise.
12934 * rt/clock_nanosleep.c: Likewise.
12935 * rt/clock_settime.c: Likewise.
12936 * rt/lio_listio.c: Likewise.
12937 * rt/mq_close.c: Likewise.
12938 * rt/mq_getattr.c: Likewise.
12939 * rt/mq_notify.c: Likewise.
12940 * rt/mq_open.c: Likewise.
12941 * rt/mq_receive.c: Likewise.
12942 * rt/mq_send.c: Likewise.
12943 * rt/mq_setattr.c: Likewise.
12944 * rt/mq_timedreceive.c: Likewise.
12945 * rt/mq_timedsend.c: Likewise.
12946 * rt/mq_unlink.c: Likewise.
12947 * rt/shm_open.c: Likewise.
12948 * rt/shm_unlink.c: Likewise.
12949 * rt/timer_create.c: Likewise.
12950 * rt/timer_delete.c: Likewise.
12951 * rt/timer_getoverr.c: Likewise.
12952 * rt/timer_gettime.c: Likewise.
12953 * rt/timer_settime.c: Likewise.
12954 * setjmp/__longjmp.c: Likewise.
12955 * setjmp/setjmp.c: Likewise.
12956 * signal/kill.c: Likewise.
12957 * signal/killpg.c: Likewise.
12958 * signal/raise.c: Likewise.
12959 * signal/sigaction.c: Likewise.
12960 * signal/sigaltstack.c: Likewise.
12961 * signal/sigblock.c: Likewise.
12962 * signal/sigignore.c: Likewise.
12963 * signal/sigintr.c: Likewise.
12964 * signal/signal.c: Likewise.
12965 * signal/sigpause.c: Likewise.
12966 * signal/sigpending.c: Likewise.
12967 * signal/sigqueue.c: Likewise.
12968 * signal/sigreturn.c: Likewise.
12969 * signal/sigset.c: Likewise.
12970 * signal/sigsetmask.c: Likewise.
12971 * signal/sigstack.c: Likewise.
12972 * signal/sigsuspend.c: Likewise.
12973 * signal/sigtimedwait.c: Likewise.
12974 * signal/sigvec.c: Likewise.
12975 * signal/sigwait.c: Likewise.
12976 * signal/sigwaitinfo.c: Likewise.
12977 * signal/sysv_signal.c: Likewise.
12978 * socket/accept.c: Likewise.
12979 * socket/accept4.c: Likewise.
12980 * socket/bind.c: Likewise.
12981 * socket/connect.c: Likewise.
12982 * socket/getpeername.c: Likewise.
12983 * socket/getsockname.c: Likewise.
12984 * socket/getsockopt.c: Likewise.
12985 * socket/isfdtype.c: Likewise.
12986 * socket/listen.c: Likewise.
12987 * socket/recv.c: Likewise.
12988 * socket/recvfrom.c: Likewise.
12989 * socket/recvmsg.c: Likewise.
12990 * socket/send.c: Likewise.
12991 * socket/sendmsg.c: Likewise.
12992 * socket/sendto.c: Likewise.
12993 * socket/setsockopt.c: Likewise.
12994 * socket/shutdown.c: Likewise.
12995 * socket/sockatmark.c: Likewise.
12996 * socket/socket.c: Likewise.
12997 * socket/socketpair.c: Likewise.
12998 * stdio-common/ctermid.c: Likewise.
12999 * stdio-common/cuserid.c: Likewise.
13000 * stdio-common/remove.c: Likewise.
13001 * stdio-common/rename.c: Likewise.
13002 * stdio-common/renameat.c: Likewise.
13003 * stdio-common/tempname.c: Likewise.
13004 * stdlib/getcontext.c: Likewise.
13005 * stdlib/makecontext.c: Likewise.
13006 * stdlib/setcontext.c: Likewise.
13007 * stdlib/swapcontext.c: Likewise.
13008 * stdlib/system.c: Likewise.
13009 * streams/fattach.c: Likewise.
13010 * streams/fdetach.c: Likewise.
13011 * streams/getmsg.c: Likewise.
13012 * streams/getpmsg.c: Likewise.
13013 * streams/putmsg.c: Likewise.
13014 * streams/putpmsg.c: Likewise.
13015 * sysdeps/unix/bsd/getpt.c: Likewise.
13016 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13017 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13018 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13021 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13022 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13023 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13024 * sysvipc/msgctl.c: Likewise.
13025 * sysvipc/msgget.c: Likewise.
13026 * sysvipc/msgrcv.c: Likewise.
13027 * sysvipc/msgsnd.c: Likewise.
13028 * sysvipc/semctl.c: Likewise.
13029 * sysvipc/semget.c: Likewise.
13030 * sysvipc/semop.c: Likewise.
13031 * sysvipc/semtimedop.c: Likewise.
13032 * sysvipc/shmat.c: Likewise.
13033 * sysvipc/shmctl.c: Likewise.
13034 * sysvipc/shmdt.c: Likewise.
13035 * sysvipc/shmget.c: Likewise.
13036 * termios/tcdrain.c: Likewise.
13037 * termios/tcflow.c: Likewise.
13038 * termios/tcflush.c: Likewise.
13039 * termios/tcgetattr.c: Likewise.
13040 * termios/tcgetpgrp.c: Likewise.
13041 * termios/tcsendbrk.c: Likewise.
13042 * termios/tcsetattr.c: Likewise.
13043 * termios/tcsetpgrp.c: Likewise.
13044 * time/adjtime.c: Likewise.
13045 * time/clock.c: Likewise.
13046 * time/getitimer.c: Likewise.
13047 * time/gettimeofday.c: Likewise.
13048 * time/setitimer.c: Likewise.
13049 * time/settimeofday.c: Likewise.
13050 * time/stime.c: Likewise.
13051 * time/time.c: Likewise.
13053 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13055 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13058 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13060 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13062 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13066 FE_TONEAREST before applying Dekker multiplication and Knuth
13067 addition. Clear inexact exceptions and check for exact zero
13068 results afterwards.
13069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13070 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13072 * math/libm-test.inc (fma_test): Add more tests.
13073 (fma_test_towardzero): Likewise.
13074 (fma_test_downward): Likewise.
13075 (fma_test_upward): Likewise.
13076 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13078 (libc_fesetround): New macro.
13079 (libc_fesetroundf): Likewise.
13080 (libc_fesetroundl): Likewise.
13081 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13083 (libc_fesetround_387): Likewise.
13084 (libc_fesetroundf): New macro.
13085 (libc_fesetround): Likewise.
13086 (libc_fesetroundl): Likewise.
13087 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13089 (libc_fesetroundf): New macro.
13090 (libc_fesetround): Likewise.
13091 (libc_fesetroundl): Likewise.
13092 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13093 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13094 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13096 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13097 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13099 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13100 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13102 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13106 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13107 integer constant usable in #if and use that to give value to enum
13109 (FE_DIVBYZERO): Likewise.
13110 (FE_UNDERFLOW): Likewise.
13111 (FE_OVERFLOW): Likewise.
13112 (FE_INVALID): Likewise.
13113 (FE_INVALID_SNAN): Likewise.
13114 (FE_INVALID_ISI): Likewise.
13115 (FE_INVALID_IDI): Likewise.
13116 (FE_INVALID_ZDZ): Likewise.
13117 (FE_INVALID_IMZ): Likewise.
13118 (FE_INVALID_COMPARE): Likewise.
13119 (FE_INVALID_SOFTWARE): Likewise.
13120 (FE_INVALID_SQRT): Likewise.
13121 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13122 (FE_TONEAREST): Likewise.
13123 (FE_TOWARDZERO): Likewise.
13124 (FE_UPWARD): Likewise.
13125 (FE_DOWNWARD): Likewise.
13126 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13127 (FE_DIVBYZERO): Likewise.
13128 (FE_OVERFLOW): Likewise.
13129 (FE_UNDERFLOW): Likewise.
13130 (FE_INEXACT): Likewise.
13131 (FE_TONEAREST): Likewise.
13132 (FE_DOWNWARD): Likewise.
13133 (FE_UPWARD): Likewise.
13134 (FE_TOWARDZERO): Likewise.
13135 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13136 (FE_UNDERFLOW): Likewise.
13137 (FE_OVERFLOW): Likewise.
13138 (FE_DIVBYZERO): Likewise.
13139 (FE_INVALID): Likewise.
13140 (FE_TONEAREST): Likewise.
13141 (FE_TOWARDZERO): Likewise.
13142 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13143 (FE_OVERFLOW): Likewise.
13144 (FE_UNDERFLOW): Likewise.
13145 (FE_DIVBYZERO): Likewise.
13146 (FE_INEXACT): Likewise.
13147 (FE_TONEAREST): Likewise.
13148 (FE_TOWARDZERO): Likewise.
13149 (FE_UPWARD): Likewise.
13150 (FE_DOWNWARD): Likewise.
13151 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13152 (FE_DIVBYZERO): Likewise.
13153 (FE_OVERFLOW): Likewise.
13154 (FE_UNDERFLOW): Likewise.
13155 (FE_INEXACT): Likewise.
13156 (FE_TONEAREST): Likewise.
13157 (FE_DOWNWARD): Likewise.
13158 (FE_UPWARD): Likewise.
13159 (FE_TOWARDZERO): Likewise.
13161 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13163 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13165 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13167 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13168 commands. Quote $PWD.
13169 (blacklist_exports): Don't use remove_newlines. Replace "declare
13171 (remove_newlines): Remove.
13173 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13175 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13176 * stdlib/stdlib.h (atof): Moved to ...
13177 * include/bits/stdlib-float.h: Here. New file.
13178 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13179 * stdlib/bits/stdlib-float.h: New file.
13180 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13182 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13185 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13187 * conform/conformtest.pl (@headers): Add fenv.h.
13188 * conform/data/fenv.h-data: New file.
13189 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13190 include of <math/fenv.h>.
13192 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13193 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13194 && !UNIX98]. Enables tests for XOPEN2K8.
13195 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13196 POSIX2008]: Likewise.
13198 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13199 (struct rusage): Do not expect type or its members.
13202 * math/math.h (FP_NAN): Define macro to integer constant usable in
13203 #if and use that to give value to enum constant.
13204 (FP_INFINITE): Likewise.
13205 (FP_ZERO): Likewise.
13206 (FP_SUBNORMAL): Likewise.
13207 (FP_NORMAL): Likewise.
13209 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13211 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13212 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13215 2012-11-02 Roland McGrath <roland@hack.frob.com>
13217 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13218 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13219 autoconf-time if not.
13220 * configure.in: Remove AC_PREREQ.
13222 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13224 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13225 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13226 of the internal implementation.
13228 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13230 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13231 except include of <misc/sys/syslog.h>.
13233 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13236 function returns with a NULL context exit with zero.
13238 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13240 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13242 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13244 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13245 (run_program_cmd): This.
13246 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13247 (tst_langinfo): New variable. Use it.
13249 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13251 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13252 floating point opcodes.
13254 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13256 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13259 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13261 * sysdeps/mach/hurd/powerpc: Remove directory.
13262 * sysdeps/mach/powerpc: Likewise.
13264 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13266 * scripts/check-local-headers.sh: Ignore c++ headers.
13268 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13270 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13271 __libc_cleanup_region_start argument.
13273 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13278 x * y using scaling, not as x * y + z.
13279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13281 * math/libm-test.inc (fma_test): Add more tests.
13282 (fma_test_towardzero): Likewise.
13283 (fma_test_downward): Likewise.
13284 (fma_test_upward): Likewise.
13286 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13288 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13290 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13292 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13295 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13297 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13299 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13306 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13309 Fix the order of the list for glibc 2.17.
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13313 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13317 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13320 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13321 for low part of x being zero before using __atanl (y).
13322 * math/libm-test.inc (atan2_test): Add another test.
13324 * manual/install.texi (Configuring and compiling): Document
13325 general use of test-wrapper and test-wrapper-env.
13326 * INSTALL: Regenerated.
13328 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13329 (__fma): Do not extract and scale down low bits on after-rounding
13330 systems when result rounded to normal precision would have normal
13332 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13333 (__fmal): Do not extract and scale down low bits on after-rounding
13334 systems when result rounded to normal precision would have normal
13336 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13337 (__fmal): Do not extract and scale down low bits on after-rounding
13338 systems when result rounded to normal precision would have normal
13340 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13342 (fma_test): Add more tests.
13343 (fma_test_towardzero): Likewise.
13344 (fma_test_downward): Likewise.
13345 (fma_test_upward): Likewise.
13347 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13349 * sysdeps/i386/tininess.h: Renamed to ...
13350 * sysdeps/x86/tininess.h: This.
13351 * sysdeps/x86_64/tininess.h: Removed.
13353 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13355 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13356 input. Use $(build-program-cmd).
13357 ($(objpfx)tst-array1-static.out): Likewise.
13358 ($(objpfx)tst-array2.out): Likewise.
13359 ($(objpfx)tst-array3.out): Likewise.
13360 ($(objpfx)tst-array4.out): Likewise.
13361 ($(objpfx)tst-array5.out): Likewise.
13362 ($(objpfx)tst-array5-static.out): Likewise.
13364 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13366 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13369 * nss/nsswitch.h (nss_interface_function): Provide new
13370 macro for use with NSS functions.
13371 * grp/initgroups.c: Use new macro.
13372 * nss/getXXbyYY.c: Likewise.
13373 * nss/getXXbyYY_r.c: Likewise.
13374 * nss/getXXent.c: Likewise.
13375 * nss/getXXent_r.c: Likewise.
13376 * sysdeps/posix/getaddrinfo.c: Likewise.
13378 2012-10-30 Andreas Jaeger <aj@suse.de>
13380 * po/ru.po: Update Russion translation from translation project.
13382 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13387 result and shift together with sticky bit instead of replicating
13388 round-to-nearest rounding.
13389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13391 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13392 missing underflow exceptions.
13393 (fma_test_towardzero): Add more tests.
13394 (fma_test_downward): Likewise.
13395 (fma_test_upward): Likewise.
13398 * sysdeps/generic/tininess.h: New file.
13399 * sysdeps/i386/tininess.h: Likewise.
13400 * sysdeps/sh/tininess.h: Likewise.
13401 * sysdeps/x86_64/tininess.h: Likewise.
13402 * stdlib/tst-strtod-underflow.c: Likewise.
13403 * stdlib/tst-tininess.c: Likewise.
13404 * stdlib/strtod_l.c: Include <tininess.h>.
13405 (round_and_return): Do not set errno for exact underflow cases.
13406 Force an underflow exception when setting errno for underflow.
13407 Determine underflow based on rounding to normal precision if
13408 TININESS_AFTER_ROUNDING.
13409 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13410 ERANGE for exact underflow cases.
13411 * stdlib/Makefile (tests): Add tst-tininess and
13412 tst-strtod-underflow.
13413 ($(objpfx)tst-tininess): Use $(link-libm).
13414 ($(objpfx)tst-strtod-underflow): Likewise.
13416 2012-10-30 Andreas Jaeger <aj@suse.de>
13419 * elf/Makefile (tests): Remove conditional for have-initfini-array
13420 since this is now always required and the variable does not exist
13422 (tests-static): Likewise.
13423 (modules-names): Likewise.
13425 * po/eo.po: Add Esperanto translation from translation project.
13427 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13428 merged with constructor/destructor.
13429 (init_array): Likewise.
13430 * elf/tst-array2dep.c (fini_array): Likewise.
13431 (init_array): Likewise.
13433 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13435 * manual/message.texi: Delete @cartouche tags.
13437 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13439 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13441 * sysdeps/mach/hurd/fsync.c: Likewise.
13443 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13444 [_POSIX_REALTIME_SIGNALS]: Change condition to
13445 [_POSIX_REALTIME_SIGNALS > 0].
13447 2012-10-27 Andreas Jaeger <aj@suse.de>
13449 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13450 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13452 [__WORDSIZE != 64]: Likewise.
13454 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13456 * iconvdata/tst-table.sh: Remove ${SHELL}.
13457 * iconvdata/tst-tables.sh: Likewise.
13459 2012-10-25 David S. Miller <davem@davemloft.net>
13461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13462 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13467 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13468 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13469 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13472 2012-10-25 Roland McGrath <roland@hack.frob.com>
13474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13475 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13478 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13479 Jim Blandy <jimb@codesourcery.com>
13481 * scripts/cross-test-ssh.sh: New file.
13482 * manual/install.texi (Configuring and compiling): Document use of
13484 * INSTALL: Regenerated.
13486 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13488 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13491 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13493 * Makeconfig (run-program-prefix): Fix comment.
13495 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13496 Jim Blandy <jimb@codesourcery.com>
13498 * Makeconfig (test-wrapper): New variable,
13499 (test-wrapper-env): Likewise.
13500 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13501 (run-built-tests): Define to yes.
13502 (run-program-prefix): Use $(test-wrapper).
13503 (built-program-cmd): Likewise.
13504 * Rules (make-test-out): Use $(test-wrapper-env) and
13505 $(host-built-program-cmd).
13506 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13507 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13509 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13510 $(test-wrapper-env) to tst-rtld-load-self.sh.
13511 ($(objpfx)order2.out): Use $(test-wrapper).
13512 ($(objpfx)tst-initorder.out): Likewise.
13513 ($(objpfx)tst-initorder2.out): Likewise.
13514 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13515 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13516 (test_wrapper_env): New variable. Use it to run ld.so.
13517 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13518 Use it to run ld.so.
13519 (test_wrapper_env): Likewise.
13520 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13521 $(test-wrapper) to run-iconv-test.sh.
13522 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13523 (ICONV): Use $test_wrapper.
13524 * posix/Makefile ($(objpfx)globtest.out): Pass
13525 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13526 globtest.sh, not $(run-program-prefix).
13527 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13528 (test_wrapper): Likewise.
13529 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13530 set together with run_via_rtld_prefix.
13531 (run_program_prefix): Define in terms of test_wrapper and
13532 run_via_rtld_prefix.
13534 2012-10-24 Roland McGrath <roland@hack.frob.com>
13536 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13537 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13541 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13542 Declare __clock_getres, __clock_gettime, __clock_settime,
13543 __clock_nanosleep, and __clock_getcpuclockid.
13544 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13545 Remove librt_hidden_def (clock_gettime).
13546 * sysdeps/unix/clock_gettime.c: Likewise.
13547 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13548 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13549 * rt/clock_getres.c: Define __clock_getres as an alias.
13550 * sysdeps/posix/clock_getres.c: Likewise.
13551 * rt/clock_settime.c: Define __clock_settime as an alias.
13552 * sysdeps/unix/clock_settime.c: Likewise.
13553 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13554 * sysdeps/unix/clock_nanosleep.c: Likewise.
13555 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13556 * rt/clock-compat.c: New file.
13557 * rt/Makefile (librt-routines): Add clock-compat and move
13558 $(clock-routines) to ...
13559 (routines): ... here, new variable.
13560 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13561 Don't add get_clockfreq here.
13562 * rt/Versions (libc: GLIBC_2.17): New version set.
13563 Add clock_* symbols here.
13564 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13566 (GLIBC_2.17): Add clock_* symbols.
13567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13578 * NEWS: Mention the move.
13580 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13581 Use __open, __read, __close rather than their public counterparts.
13582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13583 (__get_clockfreq_via_cpuinfo): Likewise.
13584 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13585 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13587 * config.h.in (HAVE_IFUNC): New #undef.
13588 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13590 * configure: Regenerated.
13592 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13594 * configure.in: Move READELF check to start of file.
13595 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13596 libc_cv_asm_gnu_indirect_function in the process.
13597 * configure: Regenerated.
13599 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13601 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13602 send the output to /dev/null.
13603 (libc_cv_cc_with_libunwind): Likewise.
13604 (libc_cv_as_noexecstack): Likewise.
13605 * configure: Regenerate.
13607 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13609 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13611 * posix/globtest.sh (TMPDIR): Do not set.
13612 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13613 (testout): Likewise.
13615 2012-10-24 Andreas Jaeger <aj@suse.de>
13617 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13618 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13619 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13620 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13621 posix_fadvise64, posix_fallocate64.
13623 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13624 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13625 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13627 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13629 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13632 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13633 <bits/fcntl-linux.h>.
13634 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13637 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13638 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13639 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13640 [__WORDSIZE != 64]: Likewise.
13642 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13644 * Makeconfig (run-built-tests): New variable.
13645 * Rules [$(cross-compiling) = yes]: Change condition to
13646 [$(run-built-tests) = no].
13647 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13648 to [$(run-built-tests) = yes].
13649 * elf/Makefile [$(cross-compiling) = no]: Likewise
13650 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13651 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13652 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13653 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13654 * io/Makefile [$(cross-compiling) = no]: Likewise.
13655 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13656 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13657 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13658 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13659 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13660 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13661 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13662 * string/Makefile [$(cross-compiling) = no]: Likewise.
13664 * posix/Makefile ($(objpfx)globtest.out): Pass
13665 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13666 $(rtld-installed-name).
13667 * posix/globtest.sh (elf_objpfx): Remove variable.
13668 (rtld_installed_name): Likewise.
13669 (library_path): Likewise.
13670 (run_program_prefix): New variable. Use for running globtest
13673 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13674 Joseph Myers <joseph@codesourcery.com>
13676 * Makeconfig (host-built-program-cmd): New variable.
13677 * elf/Makefile (tst-stackguard1-ARGS): Use
13678 $(host-built-program-cmd).
13679 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13680 (tst-spawn-ARGS): Likewise.
13681 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13683 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13684 Jim Blandy <jimb@codesourcery.com>
13686 * Makeconfig (run-via-rtld-prefix): New variable.
13687 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13688 (built-program-cmd): Likewise.
13690 2012-10-22 Andreas Jaeger <aj@suse.de>
13692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13693 __O_RSYNC if it exists, otherwise to O_SYNC.
13695 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13696 Joseph Myers <joseph@codesourcery.com>
13698 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13700 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13702 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13705 2012-10-22 Andreas Jaeger <aj@suse.de>
13707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13712 bits/fcntl-linux.h.
13714 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13715 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13722 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13723 Joseph Myers <joseph@codesourcery.com>
13725 * config.make.in (NM): New variable.
13727 2012-10-21 Andreas Jaeger <aj@suse.de>
13729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13730 definitions and declarations that are provided by
13731 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13733 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13736 * elf/Makefile (tests-static): Add tst-leaks1-static.
13737 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13738 ($(objpfx)tst-leaks1-static): New rule.
13739 ($(objpfx)tst-leaks1-static-mem): Likewise.
13740 (tst-leaks1-static-ENV): New macro.
13741 * elf/dl-open.c (dl_open_worker): Check the main application
13742 only if SHARED is defined.
13743 * elf/tst-leaks1-static.c: New file.
13745 2012-10-20 Andreas Jaeger <aj@suse.de>
13747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13748 generic values for Linux.
13749 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13750 and declarations that are provided by <bits/fcntl-linux.h> and
13751 include <bits/fcntl-linux.h>.
13752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13755 2012-10-20 Roland McGrath <roland@hack.frob.com>
13757 * io/fcntl.h: Move include of <bits/types.h> to the top and
13758 include it unconditionally.
13760 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13762 * wcsmbs/Makefile (tests-ifunc): New variable.
13763 (tests): Add $(tests-ifunc).
13764 * wcsmbs/test-wcschr-ifunc.c: New file.
13765 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13766 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13767 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13768 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13769 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13771 * string/Makefile (tests-ifunc): New variable.
13772 (tests): Add $(tests-ifunc).
13773 * string/test-memccpy.c (TEST_NAME): New macro.
13774 * string/test-memchr.c (TEST_NAME): Likewise.
13775 * string/test-memcmp.c (TEST_NAME): Likewise.
13776 * string/test-memcpy.c (TEST_NAME): Likewise.
13777 * string/test-memmem.c (TEST_NAME): Likewise.
13778 * string/test-memmove.c (TEST_NAME): Likewise.
13779 * string/test-memset.c (TEST_NAME): Likewise.
13780 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13781 * string/test-stpcpy.c (TEST_NAME): Likewise.
13782 * string/test-stpncpy.c (TEST_NAME): Likewise.
13783 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13784 * string/test-strcasestr.c (TEST_NAME): Likewise.
13785 * string/test-strcat.c (TEST_NAME): Likewise.
13786 * string/test-strchr.c (TEST_NAME): Likewise.
13787 * string/test-strcmp.c(TEST_NAME): Likewise.
13788 * string/test-strcpy.c (TEST_NAME): Likewise.
13789 * string/test-strcspn.c (TEST_NAME): Likewise.
13790 * string/test-strlen.c (TEST_NAME): Likewise.
13791 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13792 * string/test-strncmp.c (TEST_NAME): Likewise.
13793 * string/test-strncpy.c (TEST_NAME): Likewise.
13794 * string/test-strnlen.c (TEST_NAME): Likewise.
13795 * string/test-strpbrk.c (TEST_NAME): Likewise.
13796 * string/test-strrchr.c (TEST_NAME): Likewise.
13797 * string/test-strspn.c (TEST_NAME): Likewise.
13798 * string/test-strstr.c (TEST_NAME): Likewise.
13799 * string/test-bcopy-ifunc.c: New file.
13800 * string/test-bzero-ifunc.c: Likewise.
13801 * string/test-memccpy-ifunc.c: Likewise.
13802 * string/test-memchr-ifunc.c: Likewise.
13803 * string/test-memcmp-ifunc.c: Likewise.
13804 * string/test-memcpy-ifunc.c: Likewise.
13805 * string/test-memmem-ifunc.c: Likewise.
13806 * string/test-memmove-ifunc.c: Likewise.
13807 * string/test-mempcpy-ifunc.c: Likewise.
13808 * string/test-memset-ifunc.c: Likewise.
13809 * string/test-rawmemchr-ifunc.c: Likewise.
13810 * string/test-stpcpy-ifunc.c: Likewise.
13811 * string/test-stpncpy-ifunc.c: Likewise.
13812 * string/test-strcasecmp-ifunc.c: Likewise.
13813 * string/test-strcasestr-ifunc.c: Likewise.
13814 * string/test-strcat-ifunc.c: Likewise.
13815 * string/test-strchr-ifunc.c: Likewise.
13816 * string/test-strchrnul-ifunc.c: Likewise.
13817 * string/test-strcmp-ifunc.c: Likewise.
13818 * string/test-strcpy-ifunc.c: Likewise.
13819 * string/test-strcspn-ifunc.c: Likewise.
13820 * string/test-strlen-ifunc.c: Likewise.
13821 * string/test-strncasecmp-ifunc.c: Likewise.
13822 * string/test-strncat-ifunc.c: Likewise.
13823 * string/test-strncmp-ifunc.c: Likewise.
13824 * string/test-strncpy-ifunc.c: Likewise.
13825 * string/test-strnlen-ifunc.c: Likewise.
13826 * string/test-strpbrk-ifunc.c: Likewise.
13827 * string/test-strrchr-ifunc.c: Likewise.
13828 * string/test-strspn-ifunc.c: Likewise.
13829 * string/test-strstr-ifunc.c: Likewise.
13831 * debug/Makefile (tests-ifunc): New variable.
13832 (tests): Add $(tests-ifunc).
13833 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13834 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13835 * debug/test-stpcpy_chk-ifunc.c: New file.
13836 * debug/test-strcpy_chk-ifunc.c: Likewise.
13838 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13841 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13842 header is not read in.
13844 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13846 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13847 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13848 directly. Pass built executable to script as
13849 $(built-program-cmd).
13850 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13851 $testprogram without using LD_LIBRARY_PATH and $ldso.
13853 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13854 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13855 $(rtld-installed-name).
13856 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13857 (rtld_installed_name): Likewise.
13858 (library_path): Likewise.
13859 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13860 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13861 $(run-program-prefix) to tst-tables.sh.
13862 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13863 it to run tst-table-from and tst-table-to.
13864 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13865 Pass it to tst-table.sh.
13866 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13867 $(run-program-prefix) to tst-gettext.sh.
13868 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13870 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13872 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13873 to run tst-gettext.
13874 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13875 to run tst-gettext2.
13876 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13877 to run tst-translit.
13878 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13879 $(run-program-prefix) to tst-mtrace.sh.
13880 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13882 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13883 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13884 $(rtld-installed-name).
13885 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13886 (rtld_installed_name): Likewise.
13887 (run_program_prefix): New variable. Use it to run wordexp-test.
13889 * Makeconfig (ARCH): Remove all definitions.
13890 (machine): Likewise.
13891 [ARCH]: Remove conditional code.
13892 [!objdir]: Give error.
13893 [!objdir] (objpfx): Remove.
13894 [!objdir] (common-objpfx): Likewise.
13895 [!objdir] (common-objdir): Likewise.
13896 * configure.in (config_makefile): Remove. Hardcode Makefile in
13897 AC_CONFIG_FILES call.
13898 * configure: Regenerated.
13901 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13903 (testout): Likewise.
13905 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13906 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13907 $(rtld-installed-name).
13908 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13909 (rtld_installed_name): Likwise.
13910 (runit): Remove function.
13911 (run_getconf): New variable, Use it for running getconf binary.
13913 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13916 * string/test-memmem.c (check_result): New function.
13917 (do_one_test): Use it.
13918 (check1): New function.
13919 (test_main): Use it.
13921 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13923 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13925 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13927 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13928 (_G_LSEEK64): Likewise.
13929 (_G_MMAP64): Likewise.
13930 (_G_FSTAT64): Likewise.
13931 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13932 (_G_LSEEK64): Likewise.
13933 (_G_MMAP64): Likewise.
13934 (_G_FSTAT64): Likewise.
13935 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13936 unconditional. Call __mmap64 directly.
13937 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13938 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13939 __lseek64 directly.
13940 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13941 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13943 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13944 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13945 __lseek64 directly.
13946 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13947 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13948 __lseek64 directly.
13949 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13950 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13951 __lseek64 directly.
13952 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13953 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13954 __fxstat64 directly.
13955 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13956 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13958 (freopen64) [!_G_OPEN64]: Remove conditional code.
13959 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13961 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13962 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13964 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13965 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13967 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13968 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13970 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13971 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13973 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13974 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13976 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13977 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13979 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13981 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13984 * manual/memory.texi (Malloc Tunable Parameters): Add note
13985 about free list pointers overwriting some perturb bytes.
13986 Wording suggested by Roland McGrath.
13988 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13990 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13991 (lgamma_test): Likewise.
13992 (tgamma_test): Likewise.
13994 2012-10-16 Florian Weimer <fweimer@redhat.com>
13997 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13998 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14000 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14002 * NEWS: Mention BZ #14716.
14003 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14004 when removing AVAILABLE1_USES_J macro.
14006 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14008 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14009 (__bswap_64): __uint64_t for unsigned 64-bit int.
14011 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14013 * include/string.h (memmem): Declare libc hidden alias.
14014 * string/memmem.c (memmem): Define libc hidden alias.
14015 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14016 __read, __close instead of open, read, close.
14018 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14021 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14023 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14024 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14025 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14027 (__rawmemchr_sse2): Likewise.
14028 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14029 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14030 (__strchr_sse2): Likewise.
14031 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14032 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14033 (__strcasecmp_sse2): Likewise.
14034 (__strncasecmp_sse2): Likewise.
14035 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14036 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14037 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14038 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14039 (__strrchr_sse2): Likewise.
14040 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14042 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14043 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14044 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14045 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14046 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14047 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14048 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14049 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14050 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14051 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14052 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14053 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14054 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14055 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14056 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14057 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14058 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14059 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14060 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14061 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14062 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14063 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14064 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14065 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14066 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14067 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14068 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14069 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14070 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14071 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14073 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14075 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14076 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14077 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14078 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14080 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14082 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14083 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14084 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14085 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14088 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14089 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14090 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14091 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14092 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14093 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14094 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14095 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14096 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14097 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14098 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14099 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14100 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14101 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14102 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14103 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14104 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14105 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14106 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14108 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14109 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14110 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14112 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14113 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14114 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14115 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14116 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14117 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14120 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14121 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14122 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14123 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14124 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14125 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14126 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14127 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14129 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14130 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14131 * include/ifunc-impl-list.h: New file.
14132 * misc/ifunc-impl-list.c: Likewise.
14133 * misc/Makefile (routines): Add ifunc-impl-list.
14134 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14135 * string/test-string.h: Include <ifunc-impl-list.h>.
14136 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14137 impl_array): New variables.
14138 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14140 (test_init): Call __libc_ifunc_impl_list to initialize
14141 func_list if TEST_IFUNC and TEST_NAME are defined.
14143 * string/Makefile (strop-tests): Add bcopy and bzero.
14144 * string/test-bcopy.c: New file.
14145 * string/test-bzero.c: Likewise.
14146 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14148 * string/test-memset.c: Support bzero test if TEST_BZERO is
14150 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14152 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14154 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14157 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14159 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14160 * configure: Regenerated.
14162 * Makeconfig (+link-static-before-libc): Don't include
14163 $(link-static-libc).
14165 * libio/libio.h (_IO_pos_t): Remove.
14167 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14169 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14172 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14174 * crypt/crypt-entry.c: Include fips-private.h.
14175 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14176 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14177 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14178 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14180 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14182 * crypt/crypt-private.h: Include stdbool.h.
14183 (_ufc_setup_salt_r): Return bool.
14184 * crypt/crypt-entry.c: Include errno.h.
14185 (__crypt_r): Return NULL with EINVAL for bad salt.
14186 * crypt/crypt_util.c (bad_for_salt): New.
14187 (_ufc_setup_salt_r): Check that salt is long enough and within
14188 the specified alphabet.
14189 * crypt/badsalttest.c: New file.
14190 * crypt/Makefile (tests): Add it.
14191 ($(objpfx)badsalttest): New.
14193 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14195 * NEWS: Add entry for BZ #14602.
14197 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14199 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14201 * math/libm-test.inc: Update comment listing what functions and
14203 (isgreater_test): New function.
14204 (isgreaterequal_test): Likewise.
14205 (isless_test): Likewise.
14206 (islessequal_test): Likewise.
14207 (islessgreater_test): Likewise.
14208 (isunordered_test): Likewise.
14209 (main): Call the new functions.
14211 2012-10-09 Roland McGrath <roland@hack.frob.com>
14213 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14214 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14215 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14216 * sysdeps/i386/configure: Regenerated.
14217 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14218 * sysdeps/mach/configure: Regenerated.
14219 * sysdeps/mach/hurd/configure: Regenerated.
14220 * sysdeps/powerpc/configure: Regenerated.
14221 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14222 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14223 * sysdeps/s390/s390-32/configure: Regenerated.
14224 * sysdeps/s390/s390-64/configure: Regenerated.
14225 * sysdeps/sh/configure: Regenerated.
14226 * sysdeps/sparc/configure: Regenerated.
14227 * sysdeps/unix/sysv/linux/configure: Regenerated.
14228 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14229 * sysdeps/x86_64/configure: Regenerated.
14231 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14232 defined. Don't check if MAP is NULL.
14234 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14236 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14237 (_G_stat64): Likewise.
14238 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14239 (_G_stat64): Likewise.
14240 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14241 instead of struct _G_stat64.
14242 * libio/fileops.c (mmap_remap_check): Likewise.
14243 (decide_maybe_mmap): Likewise.
14244 (_IO_new_file_seekoff): Likewise.
14245 (_IO_file_stat): Likewise.
14246 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14248 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14249 instead of struct _G_stat64.
14250 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14252 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14255 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14257 (CHECK_EOL): New macro.
14258 (two_way_short_needle): Check beginning of haystack for EOL. Use
14260 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14261 Replace with CHECK_EOL.
14262 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14263 Replace with CHECK_EOL.
14265 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14267 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14269 * math/libm-test.inc: Update comment listing what functions and
14271 (finite_test): New function.
14272 (isinf_test): Likewise.
14273 (isnan_test): Likewise.
14274 (fpclassify_test): Test subnormal input.
14275 (isfinite_test): Likewise.
14276 (isnormal_test): Likewise.
14277 (main): Call the new functions.
14279 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14282 * Makerules (%.dynsym): Force C locale when running
14283 $(OBJDUMP) --dynamic-syms.
14285 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14287 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14290 2012-10-06 David S. Miller <davem@davemloft.net>
14292 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14293 upper 32-bits of the length value in %o2 since we use branch-on-register
14294 tests which consider the entire 64-bit register.
14296 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14298 * string/test-strstr.c (check2): Add a test for page boundary.
14300 2012-10-05 David S. Miller <davem@davemloft.net>
14302 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14303 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14305 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14307 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14308 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14309 and bzero when HWCAP_SPARC_CRYPTO is present.
14311 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14314 * string/test-strstr.c (check2): New function.
14315 (test_main): Call check2.
14317 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14319 * string/bug-strcasestr1.c (do_test): Moved to ...
14320 * string/test-strcasestr.c (check1): Here. New function.
14321 (do_one_test): Break out result checking code into ...
14322 (check_result): This. New function.
14323 (do_one_test): Call check_result.
14324 (test_main): Call check1.
14325 * string/bug-strchr1.c (do_test): Moved to ...
14326 * string/test-strchr.c (check1): Here. New function.
14327 (do_one_test): Break out result checking code into ...
14328 (check_result): This. New function.
14329 (do_one_test): Call check_result.
14330 (test_main): Call check1.
14331 * string/bug-strstr1.c (main): Moved to ...
14332 * string/test-strstr.c (check1): Here. New function.
14333 (do_one_test): Break out result checking code into ...
14334 (check_result): This. New function.
14335 (do_one_test): Call check_result.
14336 (test_main): Call check1.
14337 * string/bug-strcasestr1.c: Removed.
14338 * string/bug-strchr1.c: Likewise.
14339 * string/bug-strstr1.c: Likewise.
14341 * elf/Makefile (dl-routines): Add hwcaps.
14342 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14343 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14344 (_dl_important_hwcaps): Moved to ...
14345 * elf/dl-hwcaps.c: Here. New file.
14346 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14349 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14350 if IS_IN_rtld isn't defined.
14352 * elf/dl-support.c (_dl_sysinfo_map): New.
14353 Include "get-dynamic-info.h" and "setup-vdso.h".
14354 (_dl_non_dynamic_init): Call setup_vdso.
14355 * elf/dynamic-link.h: Don't include <assert.h>.
14356 (elf_get_dynamic_info): Moved to ...
14357 * elf/get-dynamic-info.h: Here. New file.
14358 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14359 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14360 * elf/setup-vdso.h: Here. New file.
14361 * elf/rtld.c: Include "setup-vdso.h".
14362 (dl_main): Call setup_vdso.
14364 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14366 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14367 creal in comment listing functions tested. List finite, isinf,
14368 isnan, isless, islessequal, isgreater, isgreaterequal,
14369 islessgreater, isunordered, lgamma_r and pow10 as functions and
14370 macros not tested. Mention which functions not tested are aliases
14371 for other functions. Fix typo. Note that signs of NaNs are not
14374 * scripts/config.guess: Update from config.git.
14375 * scripts/config.sub: Likewise.
14377 2012-10-04 Roland McGrath <roland@hack.frob.com>
14379 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14380 * misc/madvise.c (madvise): Renamed to __madvise.
14381 Make madvise a weak alias.
14382 * include/sys/mman.h: Declare __madvise.
14383 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14384 * sysdeps/unix/syscalls.list
14385 (madvise): Make __madvise the strong name, and madvise a weak alias.
14386 * sysdeps/unix/sysv/linux/syscalls.list
14387 (madvise, mmap): Remove redundant entries.
14388 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14389 * malloc/malloc.c (mtrim): Likewise.
14390 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14392 2012-10-03 Roland McGrath <roland@hack.frob.com>
14394 * sysdeps/mach/hurd/dl-cache.c: File removed.
14395 * config.h.in (USE_LDCONFIG): New #undef.
14396 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14397 * configure: Regenerated.
14398 * elf/Makefile (dl-routines): Add dl-cache only under
14399 [$(use-ldconfig) = yes].
14400 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14401 cache on [USE_LDCONFIG].
14402 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14404 * elf/rtld.c (dl_main): Likewise.
14406 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14408 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14409 _SC_LEVEL4_CACHE_LINESIZE.
14411 2012-10-03 Roland McGrath <roland@hack.frob.com>
14413 * sysdeps/unix/bsd/confstr.h: File removed.
14415 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14417 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14420 2012-10-02 Roland McGrath <roland@hack.frob.com>
14422 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14423 Make 'mapoff' field ElfW(Off) rather than off_t.
14425 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14427 * nscd/Makefile: Remove nscd-cflags and all its users.
14428 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14429 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14432 * malloc.c (malloc_printerr): Clarify error message.
14434 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14438 Set bit_FMA_Usable if FMA is supported.
14439 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14441 (bit_FMA4_Usable): Updated.
14442 (index_FMA_Usable): New macro.
14443 (CPUID_FMA): Likewise
14444 (HAS_FMA): Defined with bit_FMA_Usable.
14446 2012-10-01 Roland McGrath <roland@hack.frob.com>
14448 * bits/types.h (__swblk_t): Type removed.
14449 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14450 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14452 (__SWBLK_T_TYPE): Likewise.
14453 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14454 (__SWBLK_T_TYPE): Likewise.
14455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14456 (__SWBLK_T_TYPE): Likewise.
14457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14458 (__SWBLK_T_TYPE): Likewise.
14460 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14461 Honza Horak <hhorak@redhat.com>
14463 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14464 (xdr_mapname): Use YPMAXMAP as maxsize.
14465 (xdr_peername): Use YPMAXPEER as maxsize.
14466 (xdr_keydat): Use YPAXRECORD as maxsize.
14467 (xdr_valdat): Use YPMAXRECORD as maxsize.
14469 2012-10-01 Roland McGrath <roland@hack.frob.com>
14471 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14473 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14474 * csu/init-first.c: ... here.
14475 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14476 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14477 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14478 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14479 * sysdeps/i386/init-first.c: File removed.
14480 * sysdeps/sh/init-first.c: File removed.
14482 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14486 if x * y might underflow to zero and z is zero.
14487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14489 * math/libm-test.inc (min_subnorm_value): New variable.
14490 (fma_test): Add more tests.
14491 (fma_test_towardzero): Likewise.
14492 (fma_test_downward): Likewise
14493 (fma_test_upward): Likewise.
14494 (initialize): Set min_subnorm_value.
14496 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14501 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14502 mode for addition resulting in exact zero.
14503 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14506 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14508 * math/libm-test.inc (fma_test): Add more tests.
14509 (fma_test_towardzero): New function.
14510 (fma_test_downward): Likewise.
14511 (fma_test_upward): Likewise.
14512 (main): Call the new functions.
14514 2012-09-28 David S. Miller <davem@davemloft.net>
14516 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14518 2012-09-28 Roland McGrath <roland@hack.frob.com>
14520 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14521 instead of SIGALRM.
14523 * sysdeps/gnu/_G_config.h: Moved to ...
14524 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14525 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14526 * sysdeps/generic/_G_config.h: ... here.
14528 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14530 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14532 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14533 Conditionalize target on [libnss_test1.so-version].
14535 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14537 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14538 (elfobjdir): Move out of conditionals.
14540 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14541 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14542 (__nss_lookup_function): Conditionalize label remove_from_tree on
14543 [!DO_STATIC_NSS || SHARED], matching its only use.
14545 2012-09-28 David S. Miller <davem@davemloft.net>
14547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14548 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14550 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14552 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14554 when HWCAP_SPARC_CRYPTO is present.
14556 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14558 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14560 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14563 * stdio-common/vfprintf.c (process_string_arg): Revert
14566 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14568 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14570 * stdio-common/tst-sprintf.c: Include <locale.h>
14571 (main): Test sprintf's handling of incomplete multibyte
14574 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14576 * elf/dl-runtime.c (VERSYMIDX): Removed.
14577 * elf/dl-version.c (VERSYMIDX): Likewise.
14578 * elf/do-rel.h (VERSYMIDX): Likewise.
14579 (VALIDX): Likewise.
14580 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14581 * elf/rtld.c (VALIDX): Likewise.
14582 (ADDRIDX): Likewise.
14583 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14584 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14585 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14586 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14587 (VALIDX): Likewise.
14588 (ADDRIDX): Likewise.
14590 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14592 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14594 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14597 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14599 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14600 addresses are in the same scope as 192.0.2/24.
14601 * posix/gai.conf: Document new scope table defaults.
14603 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14606 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14607 for ftell. Compute offsets from write pointers instead.
14608 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14610 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14613 * libio/Makefile (tests): New test case tst-fseek.
14614 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14615 combination works in wide mode.
14616 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14617 state when the external buffer state changes.
14619 2012-09-27 David S. Miller <davem@davemloft.net>
14622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14623 pass reloc->r_addend in as the 'high' argument to
14624 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14628 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14630 * rt/tst-aio2.c: Include <pthread.h>.
14631 * rt/tst-aio3.c: Likewise.
14633 2012-09-27 Steve Ellcey <sellcey@mips.com>
14635 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14637 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14639 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14640 contents on [SHARED].
14642 2012-09-26 Marek Polacek <polacek@redhat.com>
14646 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14647 for C++ and GCC <4.3 as well as for non GCC compilers.
14649 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14653 2012-09-25 Roland McGrath <roland@hack.frob.com>
14655 * Makefile.in (all, install): Declare with .PHONY.
14656 Reported by Michael Hope <michael.hope@linaro.org>.
14658 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14660 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14661 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14663 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14665 (sydep_routines): Add the new and the internal functions.
14666 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14667 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14669 (GLIBC_2.17): Add the new function.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14671 (GLIBC_2.17): Likewise.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14673 (GLIBC_2.17): Likewise.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14675 (GLIBC_2.17): Likewise.
14676 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14678 2012-09-25 Alan Modra <amodra@gmail.com>
14680 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14681 Add release barrier before setting once_control to say
14682 initialisation is done. Add hints on lwarx. Use macro in
14684 (clear_once_control): Add release barrier.
14686 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14689 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14691 * math/s_clog10.c (__clog10): Likewise.
14692 * math/s_clog10f.c (__clog10f): Likewise.
14693 * math/s_clog10l.c (__clog10l): Likewise.
14694 * math/s_clogf.c (__clogf): Likewise.
14695 * math/s_clogl.c (__clogl): Likewise.
14696 * math/Makefile (libm-calls): Add x2y2m1.
14697 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14698 (__x2y2m1): Likewise.
14699 (__x2y2m1l): Likewise.
14700 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14701 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14702 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14703 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14704 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14705 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14706 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14707 * sysdeps/i386/fpu/libm-test-ulps: Update.
14708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14711 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14712 int as type of variable DEPTH.
14713 (glob): Use size_t instead of int as type of variables NEWCOUNT
14716 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14718 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14719 Add s_sincosf-sse2.
14720 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14721 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14722 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14723 macros for using routine as __sincosf_ia32.
14724 Use macro for function declaration and weak_alias.
14725 * sysdeps/i386/fpu/libm-test-ulps: Update.
14727 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14730 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14731 subnormal argument.
14732 * math/s_cexpf.c (__cexpf): Likewise.
14733 * math/s_csinf.c (__csinf): Likewise.
14734 * math/s_csinhf.c (__csinhf): Likewise.
14735 * math/s_ctanf.c (__ctanf): Likewise.
14736 * math/s_ctanhf.c (__ctanhf): Likewise.
14737 * math/s_ccosh.c (__ccoshf): Likewise.
14738 * math/s_cexp.c (__cexpl): Likewise.
14739 * math/s_csin.c (__csin): Likewise.
14740 * math/s_csinh.c (__csinh): Likewise.
14741 * math/s_ctan.c (__ctan): Likewise.
14742 * math/s_ctanh.c (ctanh): Likewise.
14743 * math/s_ccoshl.c (__ccoshl): Likewise.
14744 * math/s_cexpl.c (__cexpl): Likewise.
14745 * math/s_csinl.c (__csinl): Likewise.
14746 * math/s_csinhl.c (__csinhl): Likewise.
14747 * math/s_ctanl.c (__ctanl): Likewise.
14748 * math/s_ctanhl.c (__ctanhl): Likewise.
14750 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14752 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14753 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14754 (_IO_off_t): Define to __off_t, not _G_off_t.
14755 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14756 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14757 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14758 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14759 type of __dummy and __dummy2 fields.
14760 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14761 (_G_ssize_t): Likewise.
14762 (_G_off_t): Likewise.
14763 (_G_pid_t): Likewise.
14764 (_G_uid_t): Likewise.
14765 (_G_wchar_t): Likewise.
14766 (_G_wint_t): Likewise.
14767 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14768 (_G_ssize_t): Likewise.
14769 (_G_off_t): Likewise.
14770 (_G_pid_t): Likewise.
14771 (_G_uid_t): Likewise.
14772 (_G_wchar_t): Likewise.
14773 (_G_wint_t): Likewise.
14774 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14775 (_G_ssize_t): Likewise.
14776 (_G_off_t): Likewise.
14777 (_G_pid_t): Likewise.
14778 (_G_uid_t): Likewise.
14779 (_G_wchar_t): Likewise.
14780 (_G_wint_t): Likewise.
14782 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14784 * malloc/arena.c: Include malloc-sysdep.h.
14785 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14786 is sufficient to shrink the heap or an unmap is needed.
14787 * sysdeps/generic/malloc-sysdep.h: New file. Define
14788 new function check_may_shrink_heap.
14789 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14790 new function check_may_shrink_heap.
14792 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14794 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14797 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14799 * catgets/test-gencat.sh: Add "set -e".
14800 * elf/tst-pathopt.sh: Likewise.
14801 * grp/tst_fgetgrent.sh: Likewise.
14802 * iconvdata/run-iconv-test.sh: Likewise.
14803 * intl/tst-gettext.sh: Likewise.
14804 * intl/tst-gettext2.sh: Likewise.
14805 * intl/tst-gettext4.sh: Likewise.
14806 * intl/tst-gettext6.sh: Likewise.
14807 * intl/tst-translit.sh: Likewise.
14808 * io/ftwtest-sh: Likewise.
14809 * libio/test-freopen.sh: Likewise.
14810 * malloc/tst-mtrace.sh: Likewise.
14811 * posix/globtest.sh: Likewise.
14812 * posix/tst-getconf.sh: Likewise.
14813 * posix/wordexp-tst.sh: Likewise.
14814 * stdio-common/tst-printf.sh: Likewise.
14815 * stdio-common/tst-unbputc.sh: Likewise.
14816 * stdlib/tst-fmtmsg.sh: Likewise.
14817 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14818 * catgets/Makefile: Do not specify -e option when running
14819 testsuite shell scripts.
14820 * elf/Makefile: Likewise.
14821 * grp/Makefile: Likewise.
14822 * iconvdata/Makefile: Likewise.
14823 * intl/Makefile: Likewise.
14824 * io/Makefile: Likewise.
14825 * libio/Makefile: Likewise.
14826 * malloc/Makefile: Likewise.
14827 * posix/Makefile: Likewise.
14828 * stdio-common/Makefile: Likewise.
14829 * stdlib/Makefile: Likewise.
14830 * sysdeps/x86_64/Makefile: Likewise.
14832 * io/ftwtest-sh: Add copyright header.
14833 * posix/globtest.sh: Likewise.
14834 * posix/tst-getconf.sh: Likewise.
14835 * posix/wordexp-tst.sh: Likewise.
14836 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14838 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14841 * Makeconfig (+link): Defined as $(+link-static) if
14842 $(build-shared) isn't yes.
14843 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14845 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14847 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14850 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14851 new chunk size with MALLOC_ALIGN_MASK.
14853 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14856 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14858 (__printf_fphex): Determine rounding using get_rounding_mode and
14860 * stdio-common/tst-printf-round.c (struct hex_test): New
14862 (hex_tests): New variable.
14863 (test_hex_in_one_mode): New function.
14864 (do_test): Also run tests for hex float output.
14866 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14868 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14869 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14870 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14871 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14872 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14873 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14874 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14875 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14877 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14879 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14880 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14881 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14882 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14884 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14887 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14889 * elf/tst-rtld-load-self.sh: New test.
14890 * elf/Makefile: Run it.
14892 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14894 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14895 (tst-writev-ENV): Remove.
14896 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14898 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14900 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14902 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14904 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14906 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14908 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14909 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14910 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14913 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14916 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14917 * config.make.in (have-cpp-asm-debuginfo): Removed.
14918 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14919 * configure: Regenerated.
14921 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14924 * stdio-common/printf_fp.c: Include <stdbool.h> and
14926 (___printf_fp): Determine rounding using get_rounding_mode and
14928 * stdio-common/tst-printf-round.c: New file.
14929 * stdio-common/Makefile (tests): Add tst-printf-round.
14930 (link-libm): New variable.
14931 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14933 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14936 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14937 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14939 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14942 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14944 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14945 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14946 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14947 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14949 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14952 * include/rounding-mode.h: New file.
14953 * sysdeps/generic/get-rounding-mode.h: Likewise.
14954 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14955 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14956 (MAX_VALUE): New macro.
14957 (MIN_VALUE): Likewise.
14958 (overflow_value): New function.
14959 (underflow_value): Likewise.
14960 (round_and_return): Use overflow_value and underflow_value to
14961 determine return values in overflow and underflow cases. Use
14962 round_away to determine rounding depending on rounding mode.
14963 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14964 determine return values in overflow and underflow cases.
14965 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14966 (struct test_results): New structure.
14967 (struct test): Use struct test_results to store expected results
14968 for all rounding modes.
14969 (TEST): Include expected results for all rounding modes.
14970 (test_in_one_mode): New function.
14971 (do_test): Use test_in_one_mode to compute and check results.
14972 Check results for all rounding modes.
14973 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14976 2012-12-09 Allan McRae <allan@archlinux.org>
14978 * sysdeps/i386/fpu/libm-test-ulps: Update
14980 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14982 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14983 (_G_int32_t): Likewise.
14984 (_G_uint16_t): Likewise.
14985 (_G_uint32_t): Likewise.
14986 (_G_HAVE_BOOL): Likewise.
14987 (_G_HAVE_ATEXIT): Likewise.
14988 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14989 (_G_HAVE_IO_FILE_OPEN): Likewise.
14990 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14991 (_G_int32_t): Likewise.
14992 (_G_uint16_t): Likewise.
14993 (_G_uint32_t): Likewise.
14994 (_G_HAVE_BOOL): Likewise.
14995 (_G_HAVE_ATEXIT): Likewise.
14996 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14997 (_G_HAVE_IO_FILE_OPEN): Likewise.
14998 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14999 (_G_int32_t): Likewise.
15000 (_G_uint16_t): Likewise.
15001 (_G_uint32_t): Likewise.
15002 (_G_HAVE_BOOL): Likewise.
15003 (_G_HAVE_ATEXIT): Likewise.
15004 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15005 (_G_HAVE_IO_FILE_OPEN): Likewise.
15007 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15009 * csu/libc-tls.c: Update copyright years.
15011 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15013 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15014 [!_G_USING_THUNKS]: Remove conditional code.
15015 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15016 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15018 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15019 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15020 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15021 (_G_VTABLE_LABEL_PREFIX): Likewise.
15022 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15023 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15024 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15025 (_G_VTABLE_LABEL_PREFIX): Likewise.
15026 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15027 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15028 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15029 (_G_VTABLE_LABEL_PREFIX): Likewise.
15030 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15032 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15034 * libio/Makefile: Include ../Makeconfig before tests.
15035 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15036 only if $(build-shared) is yes.
15038 * iconv/gconv_db.c: Update copyright years.
15040 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15042 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15043 unwind info if defined PIC. Fix special cases description.
15044 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15046 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15048 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15050 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15052 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15054 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15057 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15058 (LDLIBS-tst-chk4): This.
15059 (LDFLAGS-tst-chk5): Renamed to ...
15060 (LDLIBS-tst-chk5): This.
15061 (LDFLAGS-tst-chk6): Renamed to ...
15062 (LDLIBS-tst-chk6): This.
15063 (LDFLAGS-tst-lfschk4): Renamed to ...
15064 (LDLIBS-tst-lfschk4): This.
15065 (LDFLAGS-tst-lfschk5): Renamed to ...
15066 (LDLIBS-tst-lfschk5): This.
15067 (LDFLAGS-tst-lfschk6): Renamed to ...
15068 (LDLIBS-tst-lfschk6): This.
15070 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15071 on $(common-objpfx)soversions.mk.
15073 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15076 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15079 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15081 * malloc/arena.c (arena_get_retry): New function that gets
15082 another arena for the caller to try its request on.
15083 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15084 current arena cannot fulfill the request.
15085 (__libc_memalign): Likewise.
15086 (__libc_memalign): Likewise.
15087 (__libc_pvalloc): Likewise.
15088 (__libc_calloc): Likewise.
15090 2012-09-05 John Tobey <john.tobey@gmail.com>
15093 * manual/arith.texi (Operations on Complex): Fix description
15094 of carg branch cut.
15096 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15099 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15103 * manual/memory.texi (Memory): Make order of menu items match
15106 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15108 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15109 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15110 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15112 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15114 * csu/libc-tls.c (static_dtv): Renamed to ...
15115 (_dl_static_dtv): This. Make it global.
15116 (_dl_initial_dtv): Removed.
15117 (__libc_setup_tls): Updated.
15118 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15119 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15122 2012-09-06 Petr Machata <pmachata@redhat.com>
15124 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15125 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15126 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15127 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15129 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15132 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15133 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15136 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15139 * Makeconfig (link-static-before-libc): Replace $(+prector)
15141 (link-static-after-libc): Replace $(+postctor) with
15143 (link-bounded): Replace $(+prector)/$(+postctor) with
15144 $(+prectorT)/$(+postctorT).
15145 (+prectorT): New macro.
15146 (+postctorT): Likewise.
15148 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15150 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15151 (round_str): Handle values above the maximum for IBM long double
15153 * stdlib/tst-strtod-round.c (tests): Regenerated.
15155 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15157 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15159 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15160 zarch_nohighgprs around the zarch optimized routines.
15161 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15162 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15166 2012-09-05 David S. Miller <davem@davemloft.net>
15168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15170 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15171 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15172 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15173 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15176 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15178 * malloc/arena.c: Fold copyright years.
15179 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15181 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15183 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15185 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15187 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15189 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15191 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15192 change internal state upon failure.
15194 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15196 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15197 * malloc/memusage.c (mmap): Likewise.
15198 (mmap64, mremap): Likewise. Adjust name in comment.
15200 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15202 * libio/fileops.c: Fix typos in comments.
15203 * libio/oldfileops.c: Likewise.
15204 * libio/wfileops.c: Likewise.
15206 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15209 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15210 (tst-malloc-usable-ENV): Set environment for test case.
15211 * malloc/hooks.c (malloc_check_get_size): New function to get
15213 * malloc/malloc.c (musable): Use malloc_check_get_size.
15214 * malloc/tst-malloc-usable.c: New test case.
15216 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15218 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15220 2012-09-05 Allan McRae <allan@archlinux.org>
15223 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15224 determine header location.
15225 * configure: Regenerated.
15227 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15229 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15231 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15232 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15234 (test): Regenerate.
15236 2012-09-04 David S. Miller <davem@davemloft.net>
15238 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15239 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15240 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15242 2012-09-04 Florian Weimer <fweimer@redhat.com>
15244 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15247 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15249 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15252 * libio/iogetdelim.c: Include <limits.h>.
15253 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15254 + len + 1 would overflow.
15256 2012-09-03 Andreas Jaeger <aj@suse.de>
15258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15259 * sysdeps/i386/fpu/libm-test-ulps: Update.
15261 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15263 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15264 Add s_sinf-sse2, s_conf-sse2.
15266 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15267 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15268 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15269 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15271 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15272 for using routine as __sinf_ia32.
15273 Use macro for function declaration and weak_alias.
15274 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15275 for using routine as __cosf_ia32.
15276 Use macro for function declaration and weak_alias.
15278 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15279 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15281 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15282 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15285 * math/libm-test.inc (cos_test): Add more test cases.
15286 (sin_test): Likewise.
15287 (sincos_test): Likewise.
15289 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15291 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15292 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15294 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15296 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15299 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15300 first element of the GOT.
15301 (elf_machine_load_address): Return the difference between
15302 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15304 2012-09-01 Allan McRae <allan@archlinux.org>
15307 * configure.in (AWK): Require gawk version 3.0 or later.
15308 * configure: Regenerated.
15310 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15312 * sysdeps/unix/sysv/linux/kernel-features.h
15313 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15314 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15315 [__NR_clock_getres]: Make code unconditional.
15316 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15317 (clock_getcpuclockid): Remove code left unreachable by removal of
15319 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15320 code unconditional.
15321 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15322 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15323 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15324 Make code unconditional.
15325 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15326 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15327 * sysdeps/unix/sysv/linux/clock_settime.c
15328 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15330 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15331 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15333 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15336 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15337 scripts/test-installation.pl.
15339 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15340 and $ld_so_version if it is set.
15342 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15346 failure if reading from procfs failed.
15347 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15349 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15351 * sysdeps/unix/sysv/linux/kernel-features.h
15352 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15353 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15354 Remove conditional code.
15355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15356 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15357 Remove conditional code.
15358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15359 * sysdeps/unix/sysv/linux/i386/fxstat.c
15360 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15362 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15365 * sysdeps/unix/sysv/linux/i386/lxstat.c
15366 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15368 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15369 Remove conditional code.
15370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15371 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15372 Remove conditional code.
15373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15374 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15375 <kernel-features.h>.
15376 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15378 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15379 Remove conditional code.
15380 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15381 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15382 Remove conditional.
15384 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15387 * NEWS: Add fixed bug number.
15389 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15392 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15393 underflowing exponent in case of negative sign.
15394 * stdlib/tst-strtod-round-data: Add more tests.
15395 * stdlib/tst-strtod-round.c (tests): Regenerated.
15398 * stdlib/strtod_l.c (NDIG): Remove.
15399 (HEXNDIG): Likewise.
15400 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15401 smallest representable value.
15402 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15403 lie within an exact representation of 1/2 ulp of the result.
15404 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15406 (TENS_P9_IDX): Define unconditionally.
15407 (TENS_P9_SIZE): Likewise.
15408 (TENS_P10_IDX): Likewise.
15409 (TENS_P10_SIZE): Likewise.
15410 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15411 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15412 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15413 entries for 10^2^13 and 10^2^14.
15414 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15415 (TENS_P13_IDX): Define.
15416 (TENS_P13_SIZE): Likewise.
15417 (TENS_P14_IDX): Likewise.
15418 (TENS_P14_SIZE): Likewise.
15419 (_fpioconst_pow10): Change array size to
15420 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15422 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15423 1024]: Add entries for 10^2^13 and 10^2^14.
15424 [LAST_POW10 > _LAST_POW10]: Remove #error.
15425 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15426 (_fpioconst_pow10): Change array size to
15427 FPIOCONST_POW10_ARRAY_SIZE.
15428 * stdlib/gen-fpioconst.c: New file.
15429 * stdlib/gen-tst-strtod-round.c: Likewise.
15430 * stdlib/tst-strtod-round-data: Likewise.
15431 * stdlib/tst-strtod-round.c: Likewise.
15432 * stdlib/Makefile (tests): Add tst-strtod-round.
15435 * stdlib/strtod_l.c: Include <stdint.h>.
15436 (NDEBUG): Do not define.
15437 (round_and_return): Change EXPONENT parameter to type intmax_t.
15438 Rearrange calculations to avoid internal overflow possibilities.
15439 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15440 Rearrange calculations to avoid internal overflow possibilities.
15441 Assert that number fits inside MPNSIZE limbs.
15442 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15443 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15444 calculations and add assertions to avoid internal overflow
15445 possibilities. Add casts to avoid signed/unsigned operations.
15446 * stdlib/tst-strtod-overflow.c: New file.
15447 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15449 2012-08-25 Marek Polacek <polacek@redhat.com>
15451 * time/time.h: Fix some typos in comments.
15453 2012-08-23 Roland McGrath <roland@hack.frob.com>
15455 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15456 * posix/tst-rfc3484-2.c: Likewise.
15457 * posix/tst-rfc3484-3.c: Likewise.
15459 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15461 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15462 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15464 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15466 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15467 #include of fxstatat64.c.
15469 2012-08-22 Roland McGrath <roland@hack.frob.com>
15471 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15472 * shadow/getspent_r.c: Likewise.
15473 * shadow/getspnam.c: Likewise.
15474 * shadow/getspnam_r.c: Likewise.
15475 * gshadow/getsgent.c: Likewise.
15476 * gshadow/getsgent_r.c: Likewise.
15477 * gshadow/getsgnam.c: Likewise.
15478 * gshadow/getsgnam_r.c: Likewise.
15479 * inet/getnetbyad.c: Likewise.
15480 * inet/getnetbyad_r.c: Likewise.
15481 * inet/getnetbynm.c: Likewise.
15482 * inet/getnetbynm_r.c: Likewise.
15483 * inet/getnetent.c: Likewise.
15484 * inet/getnetent_r.c: Likewise.
15485 * inet/getproto.c: Likewise.
15486 * inet/getproto_r.c: Likewise.
15487 * inet/getprtent.c: Likewise.
15488 * inet/getprtent_r.c: Likewise.
15489 * inet/getprtname.c: Likewise.
15490 * inet/getprtname_r.c: Likewise.
15491 * inet/getrpcbyname.c: Likewise.
15492 * inet/getrpcbyname_r.c: Likewise.
15493 * inet/getrpcbynumber.c: Likewise.
15494 * inet/getrpcbynumber_r.c: Likewise.
15495 * inet/getrpcent.c: Likewise.
15496 * inet/getrpcent_r.c: Likewise.
15497 * inet/getaliasent.c: Likewise.
15498 * inet/getaliasent_r.c: Likewise.
15499 * inet/getaliasname.c: Likewise.
15500 * inet/getaliasname_r.c: Likewise.
15501 * nscd/getgrgid_r.c: Likewise.
15502 * nscd/getgrnam_r.c: Likewise.
15503 * nscd/gethstbyad_r.c: Likewise.
15504 * nscd/gethstbynm3_r.c: Likewise.
15505 * nscd/getpwnam_r.c: Likewise.
15506 * nscd/getpwuid_r.c: Likewise.
15507 * nscd/getsrvbynm_r.c: Likewise.
15508 * nscd/getsrvbypt_r.c: Likewise.
15509 * nscd/gai.c: Likewise.
15511 * configure.in (build_nscd): New substituted variable, set
15512 by --disable-build-nscd and defaults to $use_nscd.
15513 * configure: Regenerated.
15514 * config.make.in (build-nscd): New substituted variable.
15515 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15516 Change conditional to require [$(build-nscd) = yes] as well.
15517 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15520 * configure.in (use_nscd): New substituted variable, set by
15521 --disable-nscd. If enabled, define USE_NSCD.
15522 * configure: Regenerated.
15523 * config.h.in: Add USE_NSCD.
15524 * config.make.in (use-nscd): New substituted variable.
15525 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15526 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15527 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15528 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15529 (CFLAGS-getgrnam_r.c): Likewise.
15530 (CFLAGS-initgroups.c): Likewise.
15531 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15532 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15534 * inet/getnetgrent_r.c
15535 (nscd_setnetgrent): New function, broken out of ...
15536 (setnetgrent): ... here. Call it.
15537 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15538 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15539 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15540 * nscd/Makefile (routines, aux): Move definitions after include of
15541 Makeconfig. Conditionalize on [$(use-nscd) != no].
15542 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15543 Conditionalize on [USE_NSCD].
15544 (is_nscd, nscd_init_cb): Likewise.
15545 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15546 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15547 * nss/nss_db/db-init.c: Likewise.
15548 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15550 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15551 (make_request): Use it.
15552 (cache_valid_p): New function.
15553 (__check_pf): Use it.
15554 * NEWS: Add item for --disable-nscd.
15556 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15558 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15559 to support sed >= 4.2.1-20-ga9bf076.
15560 * configure: Regenerated.
15562 2012-08-22 Roland McGrath <roland@hack.frob.com>
15564 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15565 Conditionalize whole body on [IREL].
15567 2012-08-22 Jeff Law <law@redhat.com>
15570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15571 if the family is PF_UNSPEC.
15573 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15575 * Makerules (lib-version): Rename from V.
15576 (install-lib-nosubdir): Change V to lib-version.
15578 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15581 * powerpc32/power6/wcschr.c: New file.
15582 * powerpc32/power6/wcscpy.c: New file.
15583 * powerpc32/power6/wcsrchr.c: New file.
15584 * powerpc64/power6/wcschr.c: New file.
15585 * powerpc64/power6/wcscpy.c: New file.
15586 * powerpc64/power6/wcsrchr.c: New file.
15588 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15590 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15591 (two_way_short_needle): Use it.
15592 * string/strstr.c (AVAILABLE1_USES_J): Define.
15593 * string/strcasestr.c: Likewise.
15595 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15597 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15600 * NEWS: Add an entry.
15601 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15602 define their defaults.
15603 (two_way_short_needle): Detect end-of-string on-the-fly.
15604 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15605 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15606 * string/bug-strcasestr1.c: New test.
15607 * string/Makefile: Run it.
15609 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15612 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15613 the first character.
15615 2012-08-21 Roland McGrath <roland@hack.frob.com>
15617 * csu/elf-init.c (__libc_csu_irel): Function removed.
15618 * csu/libc-start.c (apply_irel): New function.
15619 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15621 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15623 * sysdeps/unix/sysv/linux/kernel-features.h
15624 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15625 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15626 <kernel-features.h>.
15627 [__NR_fadvise64_64]: Make code unconditional.
15628 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15629 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15630 !__NR_fadvise64_64)]: Likewise.
15631 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15632 !__NR_fadvise64_64))]: Likewise.
15633 [__NR_fadvise64]: Make code unconditional.
15634 [!__NR_fadvise64]: Remove conditional code.
15635 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15636 <kernel-features.h>.
15637 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15639 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15642 not include <kernel-features.h>.
15643 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15645 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15647 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15648 include <kernel-features.h>.
15649 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15651 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15654 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15656 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15657 slight instruction rearrangements per scrollpipe analysis.
15658 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15660 2012-08-20 Roland McGrath <roland@hack.frob.com>
15662 * manual/syslog.texi (syslog; vsyslog, closelog):
15663 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15664 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15666 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15667 DSOCAPS to match condition on defining it.
15669 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15671 * sysdeps/unix/sysv/linux/kernel-features.h
15672 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15674 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15675 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15680 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15681 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15683 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15684 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15686 * sysdeps/unix/sysv/linux/kernel-features.h
15687 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15688 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15690 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15691 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15692 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15693 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15694 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15695 Make code unconditional.
15696 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15697 (__mmap64) [!__NR_mmap2]: Likewise.
15698 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15699 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15700 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15701 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15702 [__NR_mmap2]: Make code unconditional.
15703 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15704 (__mmap64) [!__NR_mmap2]: Likewise.
15706 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15708 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15710 2012-08-18 Andreas Jaeger <aj@suse.de>
15712 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15714 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15716 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15717 * include/unistd.h (__have_sock_cloexec): Likewise.
15718 (__have_pipe2): Likewise.
15719 (__have_dup3): Likewise.
15721 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15724 * include/unistd.h (__have_pipe2): Change define into an extern int.
15725 (__have_dup3): Likewise.
15726 * socket/have_sock_cloexec.c: Include fcntl.h.
15727 (__have_pipe2): New variable.
15728 (__have_dup3): Likewise.
15730 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15732 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15734 2012-08-17 Marek Polacek <polacek@redhat.com>
15736 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15737 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15739 2012-08-17 Roland McGrath <roland@hack.frob.com>
15741 * configure.in: Add AC_SUBST for sysheaders.
15742 * configure: Regenerated.
15743 * config.make.in (sysheaders): New substituted variable.
15745 * sysdeps/unix/mkfifo.c: Moved ...
15746 * sysdeps/posix/mkfifo.c: ... here.
15747 * sysdeps/unix/mkfifoat.c: Moved ...
15748 * sysdeps/posix/mkfifoat.c: ... here.
15750 * sysdeps/unix/utime.c: Moved ...
15751 * sysdeps/posix/utime.c: ... here.
15753 * sysdeps/unix/time.c: Moved ...
15754 * sysdeps/posix/time.c: ... here.
15755 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15756 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15758 * sysdeps/unix/nice.c: Moved ...
15759 * sysdeps/posix/nice.c: ... here.
15761 * sysdeps/unix/alarm.c: Moved ...
15762 * sysdeps/posix/alarm.c: ... here.
15764 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15766 2012-08-17 Jeff Law <law@redhat.com>
15768 * intl/Makefile (codeset_mo): New variable.
15769 ($(codeset_mo)): New target.
15770 (tst-codeset.out): Depend on that. Remove explicit rule.
15771 (tst-gettext3.out, tst-gettext5.out): Likewise.
15772 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15773 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15774 * intl/tst-codeset.sh: Remove.
15775 * intl/tst-gettext3.sh: Likewise.
15776 * intl/tst-gettext5.sh: Likewise.
15778 2012-08-17 Roland McGrath <roland@hack.frob.com>
15780 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15781 * sysdeps/unix/syscalls.list: ... here.
15783 * sysdeps/posix/getaddrinfo.c
15784 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15785 (gaiconf_init, gaiconf_reload): Use them.
15786 [!_STATBUF_ST_NSEC]
15787 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15788 Define using time_t rather than struct timespec.
15790 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15791 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15793 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15795 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15796 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15799 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15800 __libc_cleanup_push argument.
15802 * bits/param.h: New file.
15803 * misc/sys/param.h: New file.
15804 * include/sys/param.h: New file.
15805 * misc/Makefile (headers): Add bits/param.h.
15806 * sysdeps/generic/sys/param.h: File removed.
15807 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15808 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15809 * sysdeps/mach/hurd/bits/param.h: New file.
15810 * sysdeps/mach/hurd/sys/param.h: File removed.
15812 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15815 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15817 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15818 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15821 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15822 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15823 rather than -D_IO_MTSAFE_IO conditionally.
15824 * stdio-common/Makefile (CPPFLAGS): Likewise.
15825 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15826 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15827 Use $(libio-mtsafe).
15828 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15829 of -D_IO_MTSAFE_IO.
15830 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15831 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15832 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15833 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15834 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15835 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15836 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15837 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15838 (CFLAGS-fread_u_chk.c): Likewise.
15839 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15840 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15841 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15842 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15843 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15844 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15845 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15846 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15847 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15849 * libio/Makefile: Test [$(libc-reentrant) = yes]
15850 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15853 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15854 * sysdeps/pthread/configure: File removed.
15855 * sysdeps/pthread/Makeconfig: New file.
15856 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15857 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15859 2012-08-16 Gary Benson <gbenson@redhat.com>
15861 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15862 unmapping the first object in a namespace.
15864 2012-08-16 Roland McGrath <roland@hack.frob.com>
15866 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15867 (__internal_setnetgrent): ... this. Add internal_function to
15868 definition. Add libc_hidden_def.
15869 (setnetgrent): Update caller.
15870 (internal_endnetgrent): Renamed to ...
15871 (__internal_endnetgrent): ... this. Add internal_function to
15872 definition. Add libc_hidden_def.
15873 (endnetgrent): Update caller.
15874 (internal_getnetgrent_r): Renamed to ...
15875 (__internal_getnetgrent_r): ... this. Add internal_function to
15876 definition. Add libc_hidden_def.
15877 (__getnetgrent_r): Update caller.
15878 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15880 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15882 * stdlib/longlong.h: Update from GCC.
15884 2012-08-16 Roland McGrath <roland@hack.frob.com>
15886 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15887 on _QL, which is set by umul_ppmm but never used.
15888 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15889 variables, which are set by GMP macros but never used.
15890 * stdio-common/_itowa.c (_itowa): Likewise.
15891 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15892 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15894 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15896 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15897 struct La_sh_regs is not constant.
15898 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15899 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15900 and struct La_sparc64_regs are not constant.
15902 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15904 * sysdeps/unix/sysv/linux/kernel-features.h
15905 (__ASSUME_POSIX_TIMERS): Remove.
15906 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15908 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15909 Make code unconditional.
15910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15911 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15912 Make code unconditional.
15913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15914 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15915 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15917 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15918 Make code unconditional.
15919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15920 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15921 (__libc_missing_posix_timers): Remove.
15923 2012-08-15 Roland McGrath <roland@hack.frob.com>
15925 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15926 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15928 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15930 * elf/dl-sym.c: Include <stdlib.h>.
15932 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15933 constants, which avoids warnings in 32-bit builds.
15935 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15936 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15938 * misc/lseek.c: File moved to ...
15939 * io/lseek.c: ... here.
15941 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15943 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15944 shifting LEN more than 31 bits at once.
15946 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15949 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15950 segmentation fault for a case of two empty input strings.
15951 * string/test-strncasecmp.c (check1): Renamed to...
15952 (bz12205): ...this.
15953 (bz14195): Add new testcase for two empty input strings and N > 0.
15954 (test_main): Call new testcase, adapt for renamed function.
15956 2012-08-15 Andreas Jaeger <aj@suse.de>
15959 * crypt/md5test2.c: New test, based on test supplied by Serge
15960 Belyshev <belyshev@depni.sinp.msu.ru>.
15961 * crypt/Makefile (xtests): Add md5test-giant..
15962 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15964 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15967 * crypt/md5.c (md5_process_block): Don't assume the buffer
15968 length is less than 2**32.
15969 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15970 length is less than 2**64.
15972 2012-08-15 Roland McGrath <roland@hack.frob.com>
15974 * string/str-two-way.h: Include <sys/param.h>.
15975 (MAX): Macro removed.
15977 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15978 Move #define and #undef of memmove to just before and after
15979 including <string.h>.
15981 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15982 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15983 and after including <string.h>. Move declarations of
15984 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15985 to before #include "string/memmove.c".
15987 * include/dirent.h: Declare __getdirentries.
15989 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15990 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15992 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15994 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15995 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15996 * sysdeps/i386/configure: Regenerated.
15997 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15998 STABS_CURRENT_FILE, and STABS_FUN.
15999 (END): Remove call to STABS_FUN_END.
16000 (STABS_CURRENT_FILE1): Delete.
16001 (STABS_CURRENT_FILE): Likewise.
16002 (STABS_FUN): Likewise.
16003 (STABS_FUN_END): Likewise.
16004 (STABS_FUN2): Likewise.
16005 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16006 * sysdeps/x86_64/configure: Regenerated.
16008 2012-08-14 Roland McGrath <roland@hack.frob.com>
16010 * elf/dl-open.c: Include <atomic.h>.
16011 * elf/dl-lookup.c: Likewise.
16013 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16015 * sysdeps/unix/sysv/linux/kernel-features.h
16016 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16017 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16019 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16021 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16022 condition on __ASSUME_CLONE_THREAD_FLAGS.
16024 2012-08-14 Andreas Jaeger <aj@suse.de>
16026 * sysdeps/i386/fpu/libm-test-ulps: Update.
16028 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16030 * include/atomic.h (atomic_exchange_and_add): Split into ...
16031 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16034 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16038 2012-08-13 Jeff Law <law@redhat.com>
16040 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16041 null byte in the output string.
16043 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16045 * sysdeps/unix/sysv/linux/kernel-features.h
16046 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16047 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16048 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16049 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16050 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16051 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16052 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16054 2012-08-09 Jeff Law <law@redhat.com>
16057 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16058 When avoid_arena is set, don't retry in the that arena. Pick the
16059 next one, whatever it might be.
16060 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16061 (arena_lock): Pass in new parameter to arena_get2.
16062 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16064 (__libc_malloc): Unify retrying after main arena failure with
16065 __libc_memalign version.
16066 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16068 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16071 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16072 to __redirect_strstr.
16073 (__strstr_sse42): Use typeof __redirect_strstr.
16074 (__strstr_ia32): Likewise.
16075 (__libc_strstr): New prototype.
16076 (strstr): Renamed to ...
16077 (__libc_strstr): This.
16078 (strstr): New strong alias of __libc_strstr.
16079 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16080 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16083 (__libc_time): New prototype.
16084 (time_ifunc): Replace time with __libc_time.
16085 (time): New strong alias and hidden definition of __libc_time.
16086 (__GI_time): Remove strong alias.
16087 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16088 Include <stddef.h>.
16089 (memmove): Redefined to __redirect_memmove.
16090 (__memmove_sse2): Use typeof __redirect_memmove.
16091 (__memmove_ssse3): Likewise.
16092 (__memmove_ssse3_back): Likewise.
16093 (__libc_memmove): New prototype.
16094 (memmove): Renamed to ...
16095 (__libc_memmove): This.
16096 (memmove): New strong alias of __libc_memmove.
16098 2012-08-08 Mark Salter <msalter@redhat.com>
16101 (R_MN10300_TLS_GD): Define.
16102 (R_MN10300_TLS_LD): Likewise.
16103 (R_MN10300_TLS_LDO): Likewise.
16104 (R_MN10300_TLS_GOTIE): Likewise.
16105 (R_MN10300_TLS_IE): Likewise.
16106 (R_MN10300_TLS_LE): Likewise.
16107 (R_MN10300_TLS_DTPMOD): Likewise.
16108 (R_MN10300_TLS_DTPOFF): Likewise.
16109 (R_MN10300_TLS_TPOFF): Likewise.
16110 (R_MN10300_SYM_DIFF): Likewise.
16111 (R_MN10300_ALIGN): Likewise.
16112 (R_MN10300_NUM): Update.
16114 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16119 2012-08-08 Roland McGrath <roland@hack.frob.com>
16121 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16123 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16124 sysdeps/unix -> sysdeps/posix move.
16125 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16127 2012-08-07 Allan McRae <allan@archlinux.org>
16130 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16131 (SUNOS_CPP): Likewise.
16132 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16134 (open_input): Call CPP using execvp.
16136 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16138 * sysdeps/unix/sysv/linux/kernel-features.h
16139 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16140 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16141 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16142 (__ASSUME_WAITID_SYSCALL): Likewise.
16143 * sysdeps/unix/sysv/linux/dl-execstack.c
16144 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16145 code unconditional.
16146 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16148 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16149 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16150 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16152 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16154 [__ASSUME_WAITID_SYSCALL]: Likewise.
16155 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16157 2012-08-07 Roland McGrath <roland@hack.frob.com>
16159 * sysdeps/unix/closedir.c: Renamed to ...
16160 * sysdeps/posix/closedir.c: ... here.
16161 * sysdeps/unix/dirfd.c: Renamed to ...
16162 * sysdeps/posix/dirfd.c: ... here.
16163 * sysdeps/unix/dirstream.h: Renamed to ...
16164 * sysdeps/posix/dirstream.h: ... here.
16165 * sysdeps/unix/fdopendir.c: Renamed to ...
16166 * sysdeps/posix/fdopendir.c: ... here.
16167 * sysdeps/unix/opendir.c: Renamed to ...
16168 * sysdeps/posix/opendir.c: ... here.
16169 * sysdeps/unix/readdir.c: Renamed to ...
16170 * sysdeps/posix/readdir.c: ... here.
16171 * sysdeps/unix/readdir_r.c: Renamed to ...
16172 * sysdeps/posix/readdir_r.c: ... here.
16173 * sysdeps/unix/rewinddir.c: Renamed to ...
16174 * sysdeps/posix/rewinddir.c: ... here.
16175 * sysdeps/unix/seekdir.c: Renamed to ...
16176 * sysdeps/posix/seekdir.c: ... here.
16177 * sysdeps/unix/telldir.c: Renamed to ...
16178 * sysdeps/posix/telldir.c: ... here.
16179 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16180 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16181 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16182 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16184 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16185 * bits/fcntl.h: ... here.
16187 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16189 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16190 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16191 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16192 (struct flock): Move l_start, l_len to the beginning.
16193 Use __pid_t for l_pid.
16194 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16195 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16196 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16197 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16198 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16199 [__USE_LARGEFILE64] (struct flock64): New type.
16200 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16202 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16203 * bits/dirent.h: ... here.
16205 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16206 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16208 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16211 Change from 2.6.0 to 2.6.16.
16212 * sysdeps/unix/sysv/linux/configure: Regenerated.
16213 * sysdeps/unix/sysv/linux/kernel-features.h
16214 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16215 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16217 (__ASSUME_UTIMES): Likewise.
16218 (__ASSUME_CLONE_STOPPED): Remove.
16219 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16220 architectures, not kernel version.
16221 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16222 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16223 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16224 (__ASSUME_WAITID_SYSCALL): Likewise.
16225 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16226 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16227 * README: State 2.6.16 as minimum Linux kernel version. Do not
16228 refer to older versions.
16230 2012-08-06 Roland McGrath <roland@hack.frob.com>
16232 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16233 Define alphasort64 as an alias.
16234 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16235 Define versionsort64 as an alias.
16236 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16237 Define scandir64 as an alias.
16238 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16239 Define scandirat64 as an alias.
16240 * dirent/alphasort64.c (alphasort64):
16241 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16242 * dirent/versionsort64.c: Likewise.
16243 * dirent/scandir64.c: Likewise.
16244 * dirent/scandirat64.c: Likewise.
16245 * sysdeps/wordsize-64/alphasort.c: File removed.
16246 * sysdeps/wordsize-64/alphasort64.c: File removed.
16247 * sysdeps/wordsize-64/scandir.c: File removed.
16248 * sysdeps/wordsize-64/scandir64.c: File removed.
16249 * sysdeps/wordsize-64/scandirat.c: File removed.
16250 * sysdeps/wordsize-64/scandirat64.c: File removed.
16251 * sysdeps/wordsize-64/versionsort.c: File removed.
16252 * sysdeps/wordsize-64/versionsort64.c: File removed.
16253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16255 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16256 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16257 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16258 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16260 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16262 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16263 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16264 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16265 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16266 [defined __arch64__ || defined __sparcv9]
16267 (__INO_T_MATCHES_INO64_T): New macro.
16268 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16269 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16270 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16271 * sysdeps/unix/sysv/linux/bits/dirent.h
16272 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16273 (_DIRENT_MATCHES_DIRENT64): New macro.
16275 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16276 Define lockf64 as an alias.
16277 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16278 Define fseeko64 as an alias.
16279 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16280 Define ftello64 as an alias.
16281 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16282 Define _IO_fgetpos64 and fgetpos64 as aliases.
16283 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16284 Define _IO_fsetpos64 and fsetpos64 as aliases.
16285 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16286 Conditionalize body on this.
16287 * libio/fseeko64.c: Likewise.
16288 * libio/ftello64.c: Likewise.
16289 * libio/iofgetpos64.c: Likewise.
16290 * libio/iofsetpos64.c: Likewise.
16291 * sysdeps/wordsize-64/lockf.c: File removed.
16292 * sysdeps/wordsize-64/lockf64.c: File removed.
16293 * sysdeps/wordsize-64/fseeko.c: File removed.
16294 * sysdeps/wordsize-64/fseeko64.c: File removed.
16295 * sysdeps/wordsize-64/ftello.c: File removed.
16296 * sysdeps/wordsize-64/ftello64.c: File removed.
16297 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16298 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16299 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16300 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16301 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16302 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16303 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16305 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16307 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16308 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16309 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16310 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16312 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16314 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16316 [defined __arch64__ || defined __sparcv9]
16317 (__OFF_T_MATCHES_OFF64_T): New macro.
16318 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16319 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16321 (__OFF_T_MATCHES_OFF64_T): New macro.
16323 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16325 * stdlib/secure-getenv.c (__secure_getenv): Replace
16326 GLIBC_2_16 with GLIBC_2_17.
16328 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16330 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16331 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16333 2012-08-03 David S. Miller <davem@davemloft.net>
16335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16337 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16341 (__ASSUME_CORRECT_SI_PID): Likewise.
16342 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16343 (__ASSUME_TMPFS_NAME): Likewise.
16344 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16345 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16346 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16347 (HAVE_AUX_SECURE): Make definition unconditional.
16348 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16349 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16351 2012-08-03 Roland McGrath <roland@hack.frob.com>
16353 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16354 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16355 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16356 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16357 __eloop_threshold instead of SYMLOOP_MAX.
16359 * sysdeps/generic/eloop-threshold.h: New file.
16360 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16362 * elf/chroot_canon.c (chroot_canon): Likewise.
16364 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16367 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16368 Change to 2.6.0 everywhere.
16369 * sysdeps/unix/sysv/linux/configure: Regenerated.
16370 * sysdeps/unix/sysv/linux/kernel-features.h
16371 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16372 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16374 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16375 (__ASSUME_FUTEX_REQUEUE): Remove.
16376 (__ASSUME_STATFS64): Define unconditionally.
16377 (__ASSUME_AT_SECURE): Likewise.
16378 (__ASSUME_CORRECT_SI_PID): Likewise.
16379 (__ASSUME_TGKILL): Define without depending on kernel version for
16381 (__ASSUME_UTIMES): Likewise.
16382 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16384 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16385 (__ASSUME_TMPFS_NAME): Likewise.
16386 * README: Update reference to Linux kernel versions.
16388 2012-08-02 Marek Polacek <polacek@redhat.com>
16391 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16392 libc_cv_asm_type_prefix with %.
16393 * configure: Regenerated.
16394 * include/libc-symbols.h: Remove comment about
16395 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16396 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16397 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16398 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16399 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16400 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16401 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16402 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16403 * elf/tst-unique2mod1.c: Likewise.
16404 * elf/tst-unique1mod2.c: Likewise.
16405 * elf/tst-unique1mod1.c: Likewise.
16406 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16407 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16408 Replace ASM_TYPE_DIRECTIVE with .type.
16409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16410 * sysdeps/i386/sysdep.h: Likewise.
16411 * sysdeps/x86_64/sysdep.h: Likewise.
16412 * sysdeps/sh/sysdep.h: Likewise.
16413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16414 Do not define ASM_TYPE_DIRECTIVE.
16415 * sysdeps/powerpc/sysdep.h: Likewise.
16416 * sysdeps/powerpc/powerpc32/sysdep.h:
16417 Replace ASM_TYPE_DIRECTIVE with .type.
16418 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16419 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16420 * sysdeps/i386/fpu/e_powf.S: Likewise.
16421 * sysdeps/i386/fpu/e_expl.S: Likewise.
16422 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16423 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16424 * sysdeps/i386/fpu/e_pow.S: Likewise.
16425 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16426 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16427 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16428 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16429 * sysdeps/i386/fpu/e_log2.S: Likewise.
16430 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16431 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16432 * sysdeps/i386/fpu/e_powl.S: Likewise.
16433 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16434 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16435 * sysdeps/i386/fpu/e_logl.S: Likewise.
16436 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16437 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16438 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16439 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16440 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16441 * sysdeps/i386/fpu/e_log.S: Likewise.
16442 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16443 * sysdeps/i386/fpu/e_logf.S: Likewise.
16444 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16445 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16446 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16447 * sysdeps/i386/fpu/e_log10.S: Likewise.
16448 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16449 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16450 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16451 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16452 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16453 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16454 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16455 * sysdeps/i386/i686/strtok.S: Likewise.
16456 * sysdeps/i386/i386-mcount.S: Likewise.
16457 * sysdeps/i386/strtok.S: Likewise.
16458 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16459 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16460 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16461 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16462 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16463 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16464 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16465 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16466 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16467 * sysdeps/x86_64/_mcount.S: Likewise.
16468 * sysdeps/x86_64/strtok.S: Likewise.
16469 * sysdeps/sh/_mcount.S: Likewise.
16471 2012-08-01 Roland McGrath <roland@hack.frob.com>
16473 * libio/iofopen.c: Include <fcntl.h>.
16474 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16475 (_IO_fopen64, fopen64): Define as aliases.
16476 * libio/iofopen64.c: Include <fcntl.h>.
16477 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16478 Conditionalize body on this.
16479 * sysdeps/wordsize-64/iofopen.c: File removed.
16480 * sysdeps/wordsize-64/iofopen64.c: File removed.
16482 2012-08-01 Marek Polacek <polacek@redhat.com>
16484 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16485 Use dlfcn directly instead of a variable.
16486 (binfmt-subdir): Do not define.
16489 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16492 Remove all definitions.
16493 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16494 <kernel-features.h>.
16495 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16496 (miss_F_GETOWN_EX): Remove all definitions.
16497 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16499 [!__ASSUME_FCNTL64]: Remove conditional code.
16500 [__ASSUME_FCNTL64]: Make code unconditional.
16501 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16502 <kernel-features.h>.
16503 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16504 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16505 (lockf64) [__NR_fcntl64]: Make code unconditional.
16506 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16508 * sysdeps/unix/sysv/linux/kernel-features.h
16509 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16510 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16511 Make code unconditional.
16512 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16513 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16515 [__NR_vfork]: Make code unconditional.
16516 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16517 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16519 [__NR_vfork]: Make code unconditional.
16520 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16521 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16523 2012-08-01 Roland McGrath <roland@hack.frob.com>
16525 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16526 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16528 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16529 Define mkstemp64 as an alias.
16530 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16531 Define mkstemps64 as an alias.
16532 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16533 Define mkostemp64 as an alias.
16534 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16535 Define mkostemps64 as an alias.
16536 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16537 Conditionalize body on this.
16538 * misc/mkostemp64.c: Likewise.
16539 * misc/mkostemps64.c: Likewise.
16540 * misc/mkstemps64.c: Likewise.
16541 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16542 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16543 * sysdeps/wordsize-64/mkostemp.c: File removed.
16544 * sysdeps/wordsize-64/mkstemp.c: File removed.
16545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16546 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16547 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16548 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16551 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16552 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16553 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16554 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16556 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16557 compat_symbol macros from <shlib-compat.h> rather than the underlying
16558 default_symbol_version and symbol_version macros, so that DEFAULT
16559 lines in shlib-versions are respected.
16560 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16562 2012-08-01 Florian Weimer <fweimer@redhat.com>
16564 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16565 Declare with warn_unused_result.
16566 (setgid, setregid, setegid, setresgid): Likewise.
16567 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16569 * WUR-REPORT: Remove set*id functions.
16571 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16573 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16575 2012-07-31 Roland McGrath <roland@hack.frob.com>
16578 * include/sys/socket.h (__libc_accept, __libc_accept4):
16579 Add attribute_hidden.
16580 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16582 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16584 * inet/getnetgrent_r.c (setup): Likewise.
16586 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16588 2012-07-31 David S. Miller <davem@davemloft.net>
16590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16592 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16595 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16596 value between 1.0 and 2.0 and smaller part has absolute value less
16598 * math/s_clog10.c (__clog10): Likewise.
16599 * math/s_clog10f.c (__clog10f): Likewise.
16600 * math/s_clog10l.c (__clog10l): Likewise.
16601 * math/s_clogf.c (__clogf): Likewise.
16602 * math/s_clogl.c (__clogl): Likewise.
16603 * math/libm-test.inc (clog_test): Add more tests.
16604 (clog10_test): Likewise.
16605 * sysdeps/i386/fpu/libm-test-ulps: Update.
16606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16608 2012-07-31 Florian Weimer <fweimer@redhat.com>
16610 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16611 Exit with zero in case no suitable GID is found, and write a
16612 message to standard error.
16614 2012-07-30 Roland McGrath <roland@hack.frob.com>
16616 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16618 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16619 (MAXPATHLEN): Removed.
16620 (NOGROUP, NODEV): New macros.
16621 (setbit, clrbit, isset, isclr): New macros.
16622 (howmany, roundup, powerof2): New macros.
16623 (DEV_BSIZE): New macro.
16625 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16626 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16628 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16629 definition on [!__NO_LONG_DOUBLE_MATH].
16631 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16632 PTR_MANGLE and PTR_DEMANGLE.
16634 * socket/accept4.c (accept4): Rename to __libc_accept4.
16635 Define accept4 as a weak alias.
16637 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16638 on [_DIRENT_HAVE_D_TYPE].
16639 * io/ftw.c (ftw_dir): Likewise.
16641 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16643 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16645 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16646 Use the BSD numbers rather than the arbitrary ones we had.
16647 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16648 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16649 (SIGXCPU, SIGXFSZ): New macros.
16652 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16653 initializer on [_LIBC_REENTRANT].
16655 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16656 definitions inside [_POSIX_MAPPED_FILES].
16658 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16660 * dirent/opendir.c: Include <fcntl.h>.
16662 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16663 (__libc_getspecific): Likewise.
16664 (__libc_key_create): Likewise.
16666 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16667 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16668 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16669 (tmpfile64): Define as alias.
16670 * sysdeps/wordsize-64/tmpfile.c: File removed.
16671 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16672 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16673 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16675 * stdio-common/vfscanf.c: Include <stdbool.h>.
16676 * nss/makedb.c: Likewise.
16677 * stdio-common/_i18n_number.h: Likewise.
16678 * argp/argp-help.c: Likewise.
16679 * posix/wordexp.c: Likewise.
16680 * sysdeps/posix/spawni.c: Likewise.
16681 * nss/nss_files/files-initgroups.c: Likewise.
16682 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16683 * nss/nss_files/files-initgroups.c: Likewise.
16684 * nss/nss_db/db-netgrp.c: Likewise.
16685 * nss/nss_db/db-initgroups.c: Likewise.
16686 * io/fchmodat.c: Include <sys/stat.h>.
16688 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16689 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16691 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16694 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16695 Add multiple inclusion protection.
16697 2012-07-27 David S. Miller <davem@davemloft.net>
16699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16701 2012-07-27 Gary Benson <gbenson@redhat.com>
16704 * elf/rtld.c: Include <stap-probe.h>.
16705 (dl_main): Added static probes "init_start" and "init_complete".
16706 * elf/dl-load.c: Include <stap-probe.h>.
16707 (lose): Take new parameter "nsid".
16708 Added static probe "map_failed".
16709 (_dl_map_object_from_fd): Pass namespace id to lose.
16710 Added static probe "map_start".
16711 (open_verify): Pass namespace id to lose.
16712 * elf/dl-open.c: Include <stap-probe.h>.
16713 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16714 and "reloc_complete".
16715 * elf/dl-close.c: Include <stap-probe.h>.
16716 (_dl_close_worker): Added static probes "unmap_start" and
16718 * elf/rtld-debugger-interface.txt: New file documenting the above.
16720 2012-07-26 Roland McGrath <roland@hack.frob.com>
16722 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16723 rather than a string variable.
16724 * sunrpc/rpc_main.c (h_output): Likewise.
16725 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16727 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16729 * inet/check_native.c: New file.
16731 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16734 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16735 if larger part has absolute value 1.0.
16736 * math/s_clog10.c (__clog10): Likewise.
16737 * math/s_clog10f.c (__clog10f): Likewise.
16738 * math/s_clog10l.c (__clog10l): Likewise.
16739 * math/s_clogf.c (__clogf): Likewise.
16740 * math/s_clogl.c (__clogl): Likewise.
16741 * math/libm-test.inc (clog_test): Add more tests.
16742 (clog10_test): Likewise.
16743 * sysdeps/i386/fpu/libm-test-ulps: Update.
16744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16746 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16747 (pltexit): Likewise.
16748 (La_regs): Likewise.
16749 (La_retval): Likewise.
16750 (int_retval): Likewise.
16751 Update #error for removed macros to refer only to definitions in
16753 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16755 (pltexit): Likewise.
16756 (La_regs): Likewise.
16757 (La_retval): Likewise.
16758 (int_retval): Likewise.
16759 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16761 (pltexit): Likewise.
16762 (La_regs): Likewise.
16763 (La_retval): Likewise.
16764 (int_retval): Likewise.
16765 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16767 (pltexit): Likewise.
16768 (La_regs): Likewise.
16769 (La_retval): Likewise.
16770 (int_retval): Likewise.
16771 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16773 (pltexit): Likewise.
16774 (La_regs): Likewise.
16775 (La_retval): Likewise.
16776 (int_retval): Likewise.
16777 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16779 (pltexit): Likewise.
16780 (La_regs): Likewise.
16781 (La_retval): Likewise.
16782 (int_retval): Likewise.
16783 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16785 (pltexit): Likewise.
16786 (La_regs): Likewise.
16787 (La_retval): Likewise.
16788 (int_retval): Likewise.
16789 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16790 macro definitions in tst-audit.h.
16791 * sysdeps/i386/tst-audit.h: New file.
16792 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16793 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16794 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16795 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16796 * sysdeps/sh/tst-audit.h: Likewise.
16797 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16798 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16799 * sysdeps/x86_64/tst-audit.h: Likewise.
16801 2012-07-26 Andreas Jaeger <aj@suse.de>
16803 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16806 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16807 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16808 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16810 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16811 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16812 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16814 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16817 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16819 (si_call_addr, si_syscall, si_arch): Define new macro.
16820 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16822 (si_call_addr, si_syscall, si_arch): Define new marcro.
16823 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16825 (si_call_addr, si_syscall, si_arch): Define new macro.
16826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16828 (si_call_addr, si_syscall, si_arch): Define new macro.
16830 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16834 Change to 2.4.21 where previously 2.4.1.
16835 * sysdeps/unix/sysv/linux/configure: Regenerated.
16836 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16837 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16838 Linux kernel version.
16839 (__ASSUME_STD_AUXV): Remove.
16840 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16842 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16843 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16844 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16845 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16846 (__ASSUME_NETLINK_SUPPORT): Likewise.
16847 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16848 (__no_netlink_support): Remove conditional definition.
16849 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16851 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16852 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16853 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16854 (if_nameindex_ioctl): Remove.
16855 (if_nameindex_netlink): Do not handle __no_netlink_support.
16856 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16858 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16859 Remove conditional code.
16860 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16862 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16864 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16865 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16866 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16868 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16869 [!__ASSUME_STD_AUXV]: Remove conditional code.
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16871 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16872 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16874 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16875 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16877 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16879 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16880 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16882 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16884 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16887 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16890 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16891 code unconditional.
16892 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16894 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16896 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16899 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16901 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16904 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16905 code unconditional.
16906 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16908 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16910 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16913 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16914 code unconditional.
16915 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16917 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16919 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16922 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16924 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16925 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16926 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16927 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16928 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16929 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16930 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16931 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16932 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16933 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16934 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16935 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16936 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16937 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16938 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16939 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16940 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16942 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16944 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16945 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16948 2012-07-25 Florian Weimer <fweimer@redhat.com>
16950 * Versions.def: Add GLIBC_2.17.
16951 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16952 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16953 Introduce __libc_secure_getenv.
16954 * stdlib/Versions (2.17): Add secure_getenv
16955 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16956 * stdlib/secure-getenv.c: Rename __secure_getenv to
16957 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16958 symbol __secure_getenv for GLIBC_2.0.
16959 * stdlib/tst-secure-getenv.c: New.
16960 * stdlib/Makefile (tests): Add testcase.
16961 * manual/startup.texi (Environment Access): Document
16963 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16964 __libc_secure_getenv.
16965 * inet/ruserpass.c (ruserpass): Likewise.
16966 * malloc/mtrace.c (mtrace): Likewise.
16967 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16968 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16969 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16970 * sysdeps/posix/tempname.c: Likewise. Evaluate
16971 HAVE_SECURE_GETENV.
16972 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16973 __secure_getenv to __libc_secure_getenv.
16974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16987 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16989 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16990 (struct La_i86_retval): Likewise.
16991 (struct La_x86_64_regs): Likewise.
16992 (struct La_x86_64_retval): Likewise.
16993 (struct La_x32_regs): Likewise.
16994 (struct La_x32_retval): Likewise.
16995 (struct La_ppc32_regs): Likewise.
16996 (struct La_ppc32_retval): Likewise.
16997 (struct La_ppc64_regs): Likewise.
16998 (struct La_ppc64_retval): Likewise.
16999 (struct La_sh_regs): Likewise.
17000 (struct La_sh_retval): Likewise.
17001 (struct La_s390_32_regs): Likewise.
17002 (struct La_s390_32_retval): Likewise.
17003 (struct La_s390_64_regs): Likewise.
17004 (struct La_s390_64_retval): Likewise.
17005 (struct La_sparc32_regs): Likewise.
17006 (struct La_sparc32_retval): Likewise.
17007 (struct La_sparc64_regs): Likewise.
17008 (struct La_sparc64_retval): Likewise.
17009 (struct audit_ifaces): Remove architecture-specific pltenter and
17011 * sysdeps/i386/ldsodefs.h: New file.
17012 * sysdeps/powerpc/ldsodefs.h: Likewise.
17013 * sysdeps/s390/ldsodefs.h: Likewise.
17014 * sysdeps/sh/ldsodefs.h: Likewise.
17015 * sysdeps/sparc/ldsodefs.h: Likewise.
17016 * sysdeps/x86_64/ldsodefs.h: Likewise.
17018 2012-07-25 Marek Polacek <polacek@redhat.com>
17021 * math/libm-test.inc (yn_test): Add another test.
17022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17023 to ERANGE when the result is +-Inf.
17024 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17025 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17026 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17027 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17029 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17031 * conform/data/time.h-data (NULL): Use macro-constant. Require
17033 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17035 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17037 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17039 * configure.in <sysdeps resolving>: Correct printing
17041 * configure: Regenerate.
17043 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17045 * math/w_ilogb.c: Include <limits.h>.
17046 * math/w_ilogbl.c: Likewise.
17048 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17050 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17051 va_copy. Document allowing for unavailable va_copy only as
17052 pre-C99 compatibility.
17053 * manual/string.texi (Copying and Concatenation): Use va_copy
17054 instead of __va_copy in concat example.
17056 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17058 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17059 (__sendto): Use create_address_port. Initialize APORT and deallocate
17062 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17063 with O_NOLINK passed to __file_name_lookup.
17065 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17066 with O_NOLINK passed to __file_name_lookup.
17068 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17069 negative N or less than NGIDS.
17071 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17072 type to string_t. Set ERANGE as errno and return it if NAME is not big
17073 enough. Use memcpy instead of strncpy.
17075 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17077 * elf/Makefile (check-data): Remove.
17078 (localplt.data): New vpath directive.
17079 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17080 instead of $(check-data).
17081 * scripts/data/localplt-generic.data: Move to ...
17082 * sysdeps/generic/localplt.data: ... here.
17083 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17084 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17085 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17088 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17091 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17094 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17097 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17100 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17104 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17106 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17107 PPC32 and PPC64 files.
17108 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17109 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17111 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17113 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17114 __makecontext_ret to ...
17115 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17116 ... here and call exit if uc_link is NULL. New file.
17117 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17118 __makecontext_ret.S.
17119 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17120 __makecontext_ret to ...
17121 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17122 ... here and call exit if uc_link is NULL. New file.
17123 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17124 __makecontext_ret.S.
17126 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17128 * elf/elf.h (R_390_IRELATIVE): New definition.
17129 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17130 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17131 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17132 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17133 (elf_machine_lazy_rel): Likewise.
17134 * sysdeps/s390/dl-irel.h: New file.
17135 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17136 * sysdeps/s390/s390-64/memset.S: New asm code.
17137 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17138 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17139 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17140 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17141 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17142 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17143 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17144 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17145 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17146 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17147 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17148 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17149 * sysdeps/s390/s390-32/memset.S: New asm code.
17150 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17152 2012-07-17 Marek Polacek <polacek@redhat.com>
17155 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17156 * sysdeps/s390/s390-64/configure.in: Likewise.
17157 * sysdeps/sparc/configure.in: Likewise.
17158 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17159 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17160 * sysdeps/i386/configure.in: Likewise.
17161 * sysdeps/x86_64/configure.in: Likewise.
17162 * sysdeps/sh/configure.in: Likewise.
17163 * sysdeps/s390/s390-32/configure: Regenerated.
17164 * sysdeps/s390/s390-64/configure: Likewise.
17165 * sysdeps/x86_64/configure: Likewise.
17166 * sysdeps/sh/configure: Likewise.
17167 * sysdeps/powerpc/powerpc64/configure: Likewise.
17168 * sysdeps/powerpc/powerpc32/configure: Likewise.
17169 * sysdeps/sparc/configure: Likwise.
17170 * sysdeps/i386/configure: Likewise.
17172 * elf/dl-open.c: Comment fixes.
17174 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17176 * Makefile [CXX] (check-data): Remove.
17177 [CXX] (c++-types.data): New vpath directive.
17178 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17179 vpath. Do not allow for C++ type data being missing.
17180 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17181 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17182 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17183 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17184 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17185 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17186 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17189 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17192 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17195 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17198 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17201 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17204 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17207 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17210 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17211 definitions to architecture-specific files.
17212 (TLS_IE): Likewise.
17213 (TLS_LD): Likewise.
17214 (TLS_GD): Likewise.
17215 * sysdeps/i386/tls-macros.h: New file.
17216 * sysdeps/powerpc/tls-macros.h: Likewise.
17217 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17218 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17219 * sysdeps/sh/tls-macros.h: Likewise.
17220 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17221 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17222 * sysdeps/x86_64/tls-macros.h: Likewise.
17224 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17226 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17227 zero value for regular exit case.
17229 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17230 (__start_context): Preserve zero value for regular exit case.
17232 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17233 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17235 * manual/setjmp.texi (setcontext): Clarify normal process
17236 termination when uc_link is the null pointer.
17237 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17240 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17242 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17243 preprocessor. Test for each exception mask separately.
17245 2012-07-16 Andreas Jaeger <aj@suse.de>
17247 * po/ru.po: Update from translation team.
17249 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17251 * conform/data/string.h-data (NULL): Use macro-constant. Require
17253 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17254 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17255 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17256 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17259 2012-07-13 Andreas Jaeger <aj@suse.de>
17261 * po/fr.po: Update from translation team.
17263 2012-07-12 Marek Polacek <polacek@redhat.com>
17266 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17267 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17270 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17274 Change to 2.4.1 where previously 2.4.0.
17275 * sysdeps/unix/sysv/linux/configure: Regenerated.
17276 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17277 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17279 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17280 (__ASSUME_AT_CLKTCK): Remove.
17281 (__ASSUME_AT_PAGESIZE): Likewise.
17282 (__ASSUME_AT_XID): Likewise.
17283 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17284 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17285 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17287 (HAVE_AUX_PAGESIZE): Likewise.
17288 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17289 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17290 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17292 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17296 the temporary buffer used to invoke __gethostbyname2_r,
17297 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17298 host_data / struct gaih_addrtuple.
17299 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17300 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17301 header file nss/nsswitch.h.
17302 * nss/nsswitch.h (global scope): Add definition of implementation
17303 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17304 resolv/nss_dns/dns-host.c).
17306 2012-07-11 Andreas Jaeger <aj@suse.de>
17308 * po/fr.po: Update from translation team.
17310 * po/sv.po: Update from translation team
17311 * po/fr.po: Another update from translation team.
17313 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17315 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17316 for subnormals or multiply small sinh result by itself.
17317 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17320 2012-07-11 David S. Miller <davem@davemloft.net>
17322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17324 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17327 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17328 (INTERNAL_MARK): Shift it here.
17330 2012-07-10 Marek Polacek <polacek@redhat.com>
17333 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17334 libc_cv_asm_global_directive with .globl.
17335 * configure: Regenerated.
17336 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17338 * sysdeps/i386/configure: Regenerated.
17339 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17341 * sysdeps/x86_64/configure: Regenerated.
17342 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17343 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17344 * elf/tst-unique2mod2.c: Likewise.
17345 * elf/tst-unique2mod1.c: Likewise.
17346 * elf/tst-unique1mod2.c: Likewise.
17347 * elf/tst-unique1mod1.c: Likewise.
17348 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17349 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17351 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17352 * sysdeps/mach/sysdep.h: Likewise.
17353 * sysdeps/i386/sysdep.h: Likewise.
17354 * sysdeps/i386/i386-mcount.S: Likewise.
17355 * sysdeps/x86_64/_mcount.S: Likewise.
17356 * sysdeps/x86_64/sysdep.h: Likewise.
17357 * sysdeps/sh/_mcount.S: Likewise.
17358 * sysdeps/sh/sysdep.h: Likewise.
17359 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17360 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17361 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17362 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17363 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17364 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17365 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17366 * locale/localeinfo.h: Likewise.
17367 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17368 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17370 2012-07-09 Roland McGrath <roland@hack.frob.com>
17373 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17375 * manual/message.texi (The Uniforum approach): Likewise.
17376 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17377 (glibc iconv Implementation): Likewise.
17379 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17382 * math/s_clog.c (__clog): Avoid scaling a value down where that
17383 could result in underflow.
17384 * math/s_clog10.c (__clog10): Likewise.
17385 * math/s_clog10f.c (__clog10f): Likewise.
17386 * math/s_clog10l.c (__clog10l): Likewise.
17387 * math/s_clogf.c (__clogf): Likewise.
17388 * math/s_clogl.c (__clogl): Likewise.
17389 * math/libm-test.inc (clog_test): Add more tests.
17390 (clog10_test): Likewise.
17391 * sysdeps/i386/fpu/libm-test-ulps: Update.
17392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17394 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17397 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17398 by 7 not 8 to examine high bit of fractional part.
17401 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17402 for call to __mcount_internal.
17403 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17404 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17405 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17407 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17410 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17411 approximation for values within 0x1p-13f of an odd multiple of
17413 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17414 exception. Add more tests.
17415 * sysdeps/i386/fpu/libm-test-ulps: Update.
17418 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17419 inputs and return -1 for them. Do not check for +Inf in case not
17420 reachable for +Inf.
17421 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17422 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17423 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17424 and return -1 for them. Do not check for +Inf in case not
17425 reachable for +Inf.
17426 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17428 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17429 and return -1 for them. Do not check for +Inf in case not
17430 reachable for +Inf.
17431 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17432 spurious underflow.
17433 * sysdeps/i386/fpu/libm-test-ulps: Update.
17434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17436 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17438 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17440 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17444 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17445 could result in spurious underflow. Scale down values above
17446 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17447 * math/s_csqrtf.c (__csqrtf): Likewise.
17448 * math/s_csqrtl.c (__csqrtl): Likewise.
17449 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17450 spurious underflow.
17451 * sysdeps/i386/fpu/libm-test-ulps: Update.
17452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17454 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17456 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17458 * catgets/xopen-msg.awk: New file.
17459 * catgets/xopen-msg.sed: Removed.
17461 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17463 * intl/po2test.awk: New file.
17464 * intl/po2test.sed: Removed.
17466 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17469 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17470 or multiply small sinh result by itself.
17471 * math/s_ctanf.c (__ctanf): Likewise.
17472 * math/s_ctanh.c (__ctanh): Likewise.
17473 * math/s_ctanhf.c (__ctanhf): Likewise.
17474 * math/s_ctanhl.c (__ctanhl): Likewise.
17475 * math/s_ctanl.c (__ctanl): Likewise.
17476 * math/libm-test.inc (ctan_test_tonearest): New function.
17477 (ctan_test_towardzero): Likewise.
17478 (ctan_test_downward): Likewise.
17479 (ctan_test_upward): Likewise.
17480 (ctanh_test_tonearest): Likewise.
17481 (ctanh_test_towardzero): Likewise.
17482 (ctanh_test_downward): Likewise.
17483 (ctanh_test_upward): Likewise.
17484 (main): Call these new functions.
17485 * sysdeps/i386/fpu/libm-test-ulps: Update.
17486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17488 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17490 * .gitignore: Delete /ports entry.
17492 2012-07-03 Andreas Jaeger <aj@suse.de>
17494 * po/bg.po: Update from translation team.
17495 * po/cs.po: Likewise.
17496 * po/de.po: Likewise.
17497 * po/hr.po: Likewise.
17498 * po/nl.pl: Likewise.
17499 * po/pl.po: Likewise.
17500 * po/vi.po: Likewise.
17502 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17504 * Makeconfig [!+link] (+link-before-libc): New variable.
17505 [!+link] (+link-after-libc): Likewise.
17506 [!+link] (+link-tests): Likewise.
17507 [!+link] (+link): Define in terms of $(+link-before-libc) and
17508 $(+link-after-libc).
17509 [!+link-static] (+link-static-before-libc): New variable.
17510 [!+link-static] (+link-static-after-libc): Likewise.
17511 [!+link-static] (+link-static-tests): Likewise.
17512 [!+link-static] (+link-static): Define in terms of
17513 $(+link-static-before-libc) and $(+link-static-after-libc).
17514 [build-shared] (link-libc-before-gnulib): New variable.
17515 [build-shared] (link-libc-tests): Likewise.
17516 [build-shared] (link-libc): Define in terms of
17517 $(link-libc-before-gnulib).
17518 [!build-shared] (link-libc-tests): New variable.
17519 (link-libc-static-tests): New variable.
17520 [!gnulib] (gnulib-arch): New variable.
17521 [!gnulib] (gnulib-tests): Likewise.
17522 [!gnulib] (static-gnulib-arch): Likewise.
17523 [!gnulib] (static-gnulib-tests): Likewise.
17524 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17525 Define with "=" instead of ":=".
17526 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17527 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17528 * Rules (binaries-all-notests): New variable.
17529 (binaries-all-tests): Likewise.
17530 (binaries-static-notests): Likewise.
17531 (binaries-static-tests): Likewise.
17532 (binaries-all): Define using $(binaries-all-notests) and
17533 $(binaries-all-tests).
17534 (binaries-static): Define using $(binaries-static-notests) and
17535 $(binaries-static-tests).
17536 (binaries-shared-tests): New variable.
17537 (binaries-shared-notests): Likewise.
17538 (binaries-shared): Remove variable.
17539 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17540 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17541 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17542 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17543 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17544 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17545 * elf/Makefile (sln-modules): New variable.
17546 (extra-objs): Add $(sln-modules:=.o).
17547 (ldconfig-modules): Add static-stubs.
17548 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17549 * elf/static-stubs.c: New file.
17552 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17553 by 7 not 8 to examine high bit of fractional part. Use volatile
17554 variables when splitting into final array of floats if
17555 __FLT_EVAL_METHOD__ != 0.
17556 * math/libm-test.inc (cos_test): Add another test.
17557 (sin_test): Likewise.
17558 * sysdeps/i386/fpu/libm-test-ulps: Update.
17561 * math/libm-test.inc (cosh_test): Add more tests.
17563 * version.h (RELEASE): Set to "development".
17564 (VERSION): Set to "2.16.90".
17566 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17568 * NEWS: Update copyright. Remove last-updated date.
17569 Mention math library bug fixes and timezone data changes.
17570 * README: Mention GNU/Hurd, x32, and HPPA support status.
17572 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17574 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17576 2012-06-27 Andreas Jaeger <aj@suse.de>
17578 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17580 2012-06-25 Andreas Jaeger <aj@suse.de>
17582 * sysdeps/s390/fpu/libm-test-ulps: Update.
17584 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17585 Thomas Schwinge <thomas@codesourcery.com>
17587 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17588 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17592 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17594 * sysdeps/mach/start.c: Remove file.
17595 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17596 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17597 * sysdeps/sh/init-first.c: Likewise.
17599 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17600 registers for frame unwinding purposes, add CFI directives.
17601 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17602 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17603 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17606 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17607 __fortify_fail returning.
17608 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17610 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17611 sysdeps/sh/____longjmp_chk.S.
17612 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17613 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17614 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17615 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17617 * sysdeps/sh/abort-instr.h: New file.
17618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17619 process in case exit returns.
17621 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17622 initialize the GOT register before use.
17624 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17625 calculation of ARGC > 4.
17627 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17628 meaningful names to some local labels.
17630 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17631 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17633 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17634 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17635 (__arch_compare_and_exchange_val_16_acq): Likewise.
17636 (__arch_compare_and_exchange_val_32_acq): Likewise.
17637 (atomic_exchange_and_add): Fix gUSA sequence.
17638 (atomic_add): Likewise.
17639 (atomic_add_negative): Likewise.
17640 (atomic_add_zero): Likewise.
17641 (atomic_bit_test_set): Likewise.
17643 2012-06-22 Andreas Schwab <schwab@redhat.com>
17646 * include/link.h (struct link_map): Add l_free_initfini.
17647 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17649 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17650 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17651 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17654 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17656 * configure.in: Use AC_LANG_SOURCE.
17657 * configure: Regenerate.
17659 2012-06-22 Roland McGrath <roland@hack.frob.com>
17661 * configure.in (libc_cv_localstatedir): New substituted variable.
17662 * configure: Regenerated.
17663 * config.make.in (localstatedir): New variable, substituted from
17664 libc_cv_localstatedir.
17665 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17666 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17667 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17668 * sysdeps/gnu/configure: Regenerated.
17670 2012-06-21 Jeff Law <law@redhat.com>
17673 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17674 free. Simplify list management for _LIBC case.
17676 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17679 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17680 Clear sign bit of 64-bit integer value before comparing against
17683 * sysdeps/mach/configure: Regenerated.
17685 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17688 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17690 2012-06-21 Jeff Law <law@redhat.com>
17693 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17694 uint16_t for elements in the "seen" array to avoid char overflows.
17695 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17696 * elf/dl-open.c (dl_open_worker): Likewise.
17698 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17700 * scripts/list-sources.sh: Scan PORTS for translations.
17701 * po/libc.pot: Regenerated.
17703 2012-06-21 Andreas Jaeger <aj@suse.de>
17706 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17708 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17709 * bits/byteswap-16.h (__bswap_16): Likewise.
17710 * bits/byteswap.h (__bswap_constant_16): Likewise.
17712 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17715 * sysdeps/i386/fpu_control.h: Removed.
17716 * sysdeps/x86_64/fpu_control.h: Moved to ...
17717 * sysdeps/x86/fpu_control.h: Here.
17719 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17720 (_FPU_SETCW): Likewise.
17722 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17725 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17726 * sysdeps/x86/fpu/bits/mathinline.h: This.
17727 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17731 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17732 functions if __x86_64__ is defined.
17734 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17736 * string/endian.h: Add !__ASSEMBLER__ condition for including
17737 conversion interfaces.
17739 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17743 of ABS(x) in calculating zero to negative powers other than odd
17745 * math/libm-test.inc (pow_test): Add more tests.
17747 2012-06-15 Andreas Jaeger <aj@suse.de>
17749 * manual/contrib.texi (Contributors): Update entry of Liubov
17750 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17753 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17755 * string/string.h: Add __wur to GNU version of strerror_r.
17757 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17760 * string/Makefile (tests): Add tst-strtok_r.
17761 * string/tst-strtok_r.c: New file.
17762 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17763 RAX_LP/RDX_LP on SAVE_PTR.
17765 2012-06-14 Roland McGrath <roland@hack.frob.com>
17767 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17769 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17771 * libm_test.inc (csqrt_test): Allow more spurious underflow
17773 (j0_test): Likewise.
17774 (j1_test): Likewise.
17775 (y0_test): Likewise.
17776 (y1_test): Likewise.
17778 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17780 * po/Makefile (libc.pot): Use UTF-8 charset.
17782 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17785 Suppress sign-conversion warning from FD_SET.
17786 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17787 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17788 not unsigned long int.
17789 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17791 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17795 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17796 __extern_always_inline instead of __extern_inline.
17797 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17798 (__signbit): Likewise.
17799 (__signbitl): Support C++ namespace.
17800 (lrintf): New inline function.
17802 (llrintf): Likewise.
17803 (llrint): Likewise.
17813 (floorf): Likewise.
17814 (nearbyint): Likewise.
17815 (nearbyintf): Likewise.
17817 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17819 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17820 non-default versions.
17822 2012-06-11 Roland McGrath <roland@hack.frob.com>
17825 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17827 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17829 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17830 (FE_UPWARD, FE_DOWNWARD): Don't define.
17831 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17832 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17834 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17836 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17837 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17839 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17841 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17843 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17844 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17846 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17849 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17850 * sysdeps/i386/fpu/Implies: New file.
17851 * sysdeps/x86_64/fpu/Implies: Likewise.
17852 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17853 * sysdeps/x86/fpu/bits/fenv.h: This.
17855 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17858 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17861 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17862 character 0xffff that matches the last element of the
17865 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17870 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17872 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17873 values higher than 25.6283.
17875 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17877 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17878 subnormal exponent extraction and add some __builtin_expect.
17879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17880 Fix for subnormal mantissa calculation.
17882 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17884 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17885 cpu2 is -1 and errno is not ENOSYS.
17887 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17890 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17891 * sysdeps/x86/bits/string.h: This.
17892 * sysdeps/x86_64/bits/string.h: Removed.
17894 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17895 if not compiling for x86-64, but compiling for >= i486.
17897 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17898 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17900 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17901 New macro from Linux kernel 3.4.0.
17902 (FP_XSTATE_MAGIC2): Likewise.
17903 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17904 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17905 (struct _fpx_sw_bytes): New struct.
17906 (struct _xsave_hdr): Likewise.
17907 (struct _ymmh_state): Likewise.
17908 (struct _xstate): Likewise.
17910 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17911 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17912 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17913 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17914 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17915 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17917 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17918 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17919 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17920 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17921 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17922 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17924 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17927 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17928 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17929 (sysdep_headers): Include sys/platform/ppc.h.
17930 * sysdeps/powerpc/test-gettimebase.c: Test for
17931 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17932 * manual/Makefile (appendices): Include platform.texi.
17933 * manual/contrib.texi (Contributors): Update @node pointers.
17934 * manual/maint.texi (Maintenance): Likewise.
17935 (Platform): New node.
17936 * manual/platform.texi: New file. Document the new features.
17938 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17939 Jakub Jelinek <jakub@redhat.com>
17942 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17943 where __builtin_expect is unavailable.
17945 2012-06-03 David S. Miller <davem@davemloft.net>
17947 * stdlib/longlong.h: Updated from GCC.
17949 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17952 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17953 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17956 (GLIBC_2.16): Likewise.
17958 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17960 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17962 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17965 (default-abi): New variable.
17966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17967 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17969 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17971 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17973 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17976 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17977 definition. Document in comment.
17979 2012-06-01 David S. Miller <davem@davemloft.net>
17981 * stdlib/longlong.h: Updated from GCC.
17983 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17986 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17987 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17988 sys/debugreg.h sys/io.h here.
17989 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17990 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17992 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17993 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17994 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17995 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17996 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17997 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17999 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18000 Define only if __x86_64__ is defined.
18002 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18005 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18006 Use int64_t for variable i.
18007 * math/libm-test.inc (fmod_test): Add more tests.
18009 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18010 z computation is not scheduled after fetestexcept.
18011 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18012 Use math_force_eval instead of asm to ensure calculation scheduled
18013 before exception test.
18014 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18015 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18017 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18020 computation is not scheduled after fetestexcept.
18022 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18025 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18026 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18028 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18030 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18031 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18033 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18036 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18038 (__WCHAR_MIN): Support __WORDSIZE == 64.
18039 (__WCHAR_MAX): Likewise.
18041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18042 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18045 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18046 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18049 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18050 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18052 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18053 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18055 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18056 Defined to 1 if __x86_64__ isn't defined.
18057 (_STAT_VER_LINUX_OLD): New.
18058 (st_atime): Remove duplicate.
18059 (st_mtime): Likewise.
18060 (st_ctime): Likewise.
18062 2012-05-31 David S. Miller <davem@davemloft.net>
18064 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18067 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18069 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18073 * elf/dl-reloc.c: Include <_itoa.h>.
18074 (_dl_reloc_bad_type): Remove use of INTUSE.
18075 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18076 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18077 * stdio-common/psiginfo.c (psiginfo): Likewise.
18078 * stdio-common/psignal.c (psignal): Likewise.
18079 * string/strsignal.c (strsignal): Likewise.
18080 * include/signal.h (_sys_siglist): Declare hidden proto.
18081 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18082 INTVARDEF with libc_hidden_data_def.
18083 * stdio-common/itoa-udigits.c: Likewise.
18084 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18085 (_itoa_lower_digits_internal): Remove declaration.
18086 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18087 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18088 (_sys_sigabbrev_internal): Remove aliases.
18089 (_sys_siglist): Define hidden alias.
18091 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18096 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18099 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18100 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18102 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18103 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18104 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18105 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18107 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18109 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18110 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18111 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18113 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18122 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18123 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18125 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18126 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18127 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18128 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18129 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18130 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18132 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18133 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18135 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18136 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18140 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18142 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18143 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18145 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18147 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18148 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18149 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18151 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18153 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18155 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18157 * math/math.h (M_El): Use two more decimal places.
18158 (M_LOG2El): Likewise.
18159 (M_LOG10El): Likewise.
18160 (M_LN2l): Likewise.
18161 (M_LN10l): Likewise.
18163 (M_PI_2l): Likewise.
18164 (M_PI_4l): Likewise.
18165 (M_1_PIl): Likewise.
18166 (M_2_PIl): Likewise.
18167 (M_2_SQRTPIl): Likewise.
18168 (M_SQRT2l): Likewise.
18169 (M_SQRT1_2l): Likewise.
18171 2012-05-31 David S. Miller <davem@davemloft.net>
18173 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18174 values between float registers.
18175 * sysdeps/sparc/sparc64/memset.S: Likewise.
18176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18178 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18180 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18181 -D_FORTIFY_SOURCE=1.
18182 (CPPFLAGS-tst-longjmp_chk.c): Define.
18183 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18184 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18185 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18186 CFLAGS-tst-wchar-h.c.
18188 2012-05-31 Marek Polacek <polacek@redhat.com>
18191 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18192 __endmntent_internal): Remove declaration.
18193 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18194 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18195 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18197 2012-05-30 David S. Miller <davem@davemloft.net>
18199 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18200 (___Q_simulate_exceptions): Use real FP ops rather than writing
18202 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18205 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18208 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18209 * sysdeps/x86/bits/xtitypes.h: This.
18211 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18212 * sysdeps/x86/bits/wordsize.h: This.
18214 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18215 * sysdeps/x86/bits/huge_vall.h: This.
18217 * sysdeps/i386/bits/select.h: Removed.
18218 * sysdeps/x86_64/bits/select.h: Renamed to ...
18219 * sysdeps/x86/bits/select.h: This.
18221 * sysdeps/i386/bits/setjmp.h: Removed.
18222 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18223 * sysdeps/x86/bits/setjmp.h: This.
18225 * sysdeps/i386/bits/mathdef.h: Removed.
18226 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18227 * sysdeps/x86/bits/mathdef.h: This.
18229 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18232 * include/sys/socket.h (__connect_internal)
18233 (__libc_sa_len_internal): Remove declaration.
18234 (__connect, __libc_sa_len): Declare hidden_proto.
18235 (SA_LEN): Remove use of INTUSE.
18236 * socket/connect.c: Add libc_hidden_def.
18237 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18238 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18239 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18241 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18242 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18243 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18244 of adding _internal alias.
18246 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18249 * sysdeps/i386/bits/link.h: Removed.
18250 * sysdeps/i386/bits/linkmap.h: Likewise.
18251 * sysdeps/x86_64/bits/link.h: Renamed to ...
18252 * sysdeps/x86/bits/link.h: This.
18253 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18254 * sysdeps/x86/bits/linkmap.h: This.
18256 * sysdeps/i386/bits/endian.h: Removed.
18257 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18258 * sysdeps/x86/bits/endian.h: This.
18260 * sysdeps/i386/bits/byteswap.h: Removed.
18261 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18262 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18263 * sysdeps/x86/bits/byteswap.h: This.
18264 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18265 * sysdeps/x86/bits/byteswap-16.h: This.
18266 * sysdeps/i386/Implies: Add x86.
18267 * sysdeps/x86_64/Implies: Likewise.
18269 2012-05-30 David S. Miller <davem@davemloft.net>
18271 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18272 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18273 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18274 (FP_TRAPPING_EXCEPTIONS): Define.
18275 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18276 (FP_TRAPPING_EXCEPTIONS): Define.
18277 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18278 subnormals only when inexact has been signalled or underflow
18279 exceptions are enabled.
18280 (_FP_PACK_CANONICAL): Likewise.
18282 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18285 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18286 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18288 2012-05-30 Richard Henderson <rth@twiddle.net>
18290 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18291 with #ifndef NOT_IN_libc.
18293 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18294 marked to avoid plt entry.
18296 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18299 * Makeconfig (default-abi): New macro.
18300 (abi-includes): Likewise.
18301 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18302 $(abi-$(default-abi)-lib-soname) for soname if defined.
18303 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18305 * Makefile (installed-stubs): Likewise.
18306 * include/stubs-biarch.h: Removed.
18307 * scripts/lib-names.awk: Only handle one library at a time.
18308 * scripts/soversions.awk: Remove WORDSIZE support.
18309 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18311 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18313 (syscall-list-default-condition): Likewise.
18314 (syscall-list-default-condition): Likewise.
18315 (syscall-list-includes): Likewise.
18316 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18317 syscall-list-* with abi-*. Handle undefined abi-variants.
18318 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18319 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18320 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18321 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18322 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18323 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18325 (syscall-list-32-options): Likewise.
18326 (syscall-list-32-condition): Likewise.
18327 (syscall-list-64-options): Likewise.
18328 (syscall-list-64-condition): Likewise.
18329 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18331 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18334 (abi-64-ld-soname): New macro.
18335 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18336 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18339 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18340 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18342 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18344 * sysdeps/unix/sysv/linux/kernel-features.h
18345 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18346 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18347 include <kernel-features.h>.
18348 [!__NR_ftruncate64]: Remove conditional code.
18349 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18350 [__NR_ftruncate64]: Make code unconditional.
18351 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18352 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18353 include <kernel-features.h>.
18354 [!__NR_ftruncate64]: Remove conditional code.
18355 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18356 [__NR_ftruncate64]: Make code unconditional.
18357 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18359 include <kernel-features.h>.
18360 [!__NR_ftruncate64]: Remove conditional code.
18361 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18362 [__NR_ftruncate64]: Make code unconditional.
18363 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18365 include <kernel-features.h>.
18366 [!__NR_ftruncate64]: Remove conditional code.
18367 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18368 [__NR_ftruncate64]: Make code unconditional.
18369 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18371 * configure.in (libc_cv_fpie): Weaken to a compile test using
18372 LIBC_TRY_CC_OPTION.
18373 * configure: Regenerated.
18375 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18390 2012-05-27 David S. Miller <davem@davemloft.net>
18392 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18394 (__Q_simulate_exceptions): Return void. Change to simulate
18395 exceptions by writing into the %fsr.
18396 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18397 (__Qp_handle_exceptions): Likewise.
18399 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18400 __Qp_handle_exceptions.
18401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18402 __Qp_handle_exceptions.
18403 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18404 as unused and give dummy FP_RND_NEAREST initializer.
18405 (FP_INHIBIT_RESULTS): Define.
18406 (___Q_simulate_exceptions): Update declaration.
18407 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18409 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18410 as unused and give dummy FP_RND_NEAREST initializer.
18411 (__Qp_handle_exceptions): Update declaration.
18412 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18415 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18417 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18418 the temporary FPU control word.
18419 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18420 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18421 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18422 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18423 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18424 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18425 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18426 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18427 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18428 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18429 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18431 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18433 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18436 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18438 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18439 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18440 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18441 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18443 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18444 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18447 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18449 * po/h.po: Update from translation team.
18451 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18453 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18455 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18456 handling of denormals.
18457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18458 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18459 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18460 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18461 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18466 2012-05-26 Marek Polacek <polacek@redhat.com>
18469 * math/libm-test.inc (fma_test): Don't always expect underflow
18472 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18475 * elf/tst-execstack.c: Include stackinfo.h.
18476 (do_test): Adjust test case to ensure that pthread_getattr_np
18477 behaviour remains the same after marking stack executable.
18479 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18481 * sysdeps/unix/sysv/linux/kernel-features.h
18482 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18483 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18485 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18486 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18487 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18489 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18490 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18492 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18494 * configure.in: Define the default includes to being none.
18495 * configure: Regenerated.
18497 2012-05-25 Roland McGrath <roland@hack.frob.com>
18499 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18500 * sysdeps/x86_64/setjmp.S: Likewise.
18501 * sysdeps/i386/bsd-setjmp.S: Likewise.
18502 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18503 * sysdeps/i386/setjmp.S: Likewise.
18504 * sysdeps/i386/__longjmp.S: Likewise.
18505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18506 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18508 * include/stap-probe.h: New file.
18509 * configure.in: Handle --enable-systemtap.
18510 * configure: Regenerated.
18511 * config.h.in (USE_STAP_PROBE): New #undef.
18512 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18513 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18514 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18516 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18519 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18520 to 2.4.0 where earlier.
18521 * sysdeps/unix/sysv/linux/configure: Regenerated.
18522 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18523 <kernel-features.h>.
18524 [__ASSUME_32BITUIDS]: Make code unconditional.
18525 [!__ASSUME_32BITUIDS]: Remove conditional code.
18526 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18527 <kernel-features.h>.
18528 [__ASSUME_32BITUIDS]: Make code unconditional.
18529 [!__ASSUME_32BITUIDS]: Remove conditional code.
18530 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18531 [__ASSUME_32BITUIDS]: Make code unconditional.
18532 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18533 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18534 <kernel-features.h>.
18535 [__ASSUME_32BITUIDS]: Make code unconditional.
18536 [!__ASSUME_32BITUIDS]: Remove conditional code.
18537 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18538 <kernel-features.h>.
18539 [__ASSUME_32BITUIDS]: Make code unconditional.
18540 [!__ASSUME_32BITUIDS]: Remove conditional code.
18541 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18542 <kernel-features.h>.
18543 [__ASSUME_32BITUIDS]: Make code unconditional.
18544 [!__ASSUME_32BITUIDS]: Remove conditional code.
18545 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18546 <kernel-features.h>.
18547 [__ASSUME_32BITUIDS]: Make code unconditional.
18548 [!__ASSUME_32BITUIDS]: Remove conditional code.
18549 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18550 <kernel-features.h>.
18551 [__ASSUME_32BITUIDS]: Make code unconditional.
18552 [!__ASSUME_32BITUIDS]: Remove conditional code.
18553 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18554 <kernel-features.h>.
18555 [__ASSUME_32BITUIDS]: Make code unconditional.
18556 [!__ASSUME_32BITUIDS]: Remove conditional code.
18557 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18558 <kernel-features.h>.
18559 [__ASSUME_32BITUIDS]: Make code unconditional.
18560 [!__ASSUME_32BITUIDS]: Remove conditional code.
18561 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18562 <kernel-features.h>.
18563 [__ASSUME_32BITUIDS]: Make code unconditional.
18564 [!__ASSUME_32BITUIDS]: Remove conditional code.
18565 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18566 <kernel-features.h>.
18567 [__ASSUME_32BITUIDS]: Make code unconditional.
18568 [!__ASSUME_32BITUIDS]: Remove conditional code.
18569 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18570 <kernel-features.h>.
18571 [__ASSUME_32BITUIDS]: Make code unconditional.
18572 [!__ASSUME_32BITUIDS]: Remove conditional code.
18573 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18574 <kernel-features.h>.
18575 [__NR_setresgid] (__setresgid): Do not declare.
18576 [__ASSUME_32BITUIDS]: Make code unconditional.
18577 [!__ASSUME_32BITUIDS]: Remove conditional code.
18578 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18579 <kernel-features.h>.
18580 [__NR_setresuid] (__setresuid): Do not declare.
18581 [__ASSUME_32BITUIDS]: Make code unconditional.
18582 [!__ASSUME_32BITUIDS]: Remove conditional code.
18583 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18584 <kernel-features.h>.
18585 [__ASSUME_32BITUIDS]: Make code unconditional.
18586 [!__ASSUME_32BITUIDS]: Remove conditional code.
18587 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18588 <kernel-features.h>.
18589 [__ASSUME_32BITUIDS]: Make code unconditional.
18590 [!__ASSUME_32BITUIDS]: Remove conditional code.
18591 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18592 <kernel-features.h>.
18593 [__ASSUME_32BITUIDS]: Make code unconditional.
18594 [!__ASSUME_32BITUIDS]: Remove conditional code.
18595 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18596 <kernel-features.h>.
18597 [__ASSUME_32BITUIDS]: Make code unconditional.
18598 [!__ASSUME_32BITUIDS]: Remove conditional code.
18599 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18600 <kernel-features.h>.
18601 [__ASSUME_32BITUIDS]: Make code unconditional.
18602 [!__ASSUME_32BITUIDS]: Remove conditional code.
18603 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18604 <kernel-features.h>.
18605 [__ASSUME_32BITUIDS]: Make code unconditional.
18606 [!__ASSUME_32BITUIDS]: Remove conditional code.
18607 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18608 <kernel-features.h>.
18609 [__ASSUME_32BITUIDS]: Make code unconditional.
18610 [!__ASSUME_32BITUIDS]: Remove conditional code.
18611 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18612 <kernel-features.h>.
18613 [__ASSUME_32BITUIDS]: Make code unconditional.
18614 [!__ASSUME_32BITUIDS]: Remove conditional code.
18615 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18616 <kernel-features.h>.
18617 [__ASSUME_32BITUIDS]: Make code unconditional.
18618 [!__ASSUME_32BITUIDS]: Remove conditional code.
18619 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18620 <kernel-features.h>.
18621 [__ASSUME_32BITUIDS]: Make code unconditional.
18622 [!__ASSUME_32BITUIDS]: Remove conditional code.
18623 * sysdeps/unix/sysv/linux/kernel-features.h
18624 (__ASSUME_SETRESUID_SYSCALL): Remove.
18625 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18626 (__ASSUME_32BITUIDS): Likewise.
18627 (__ASSUME_LDT_WORKS): Likewise.
18628 (__ASSUME_O_DIRECTORY): Likewise.
18629 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18630 architecture but not kernel version.
18631 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18632 (__ASSUME_MMAP2_SYSCALL): Likewise.
18633 (__ASSUME_STAT64_SYSCALL): Likewise.
18634 (__ASSUME_IPC64): Likewise.
18635 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18636 <kernel-features.h>.
18637 [__ASSUME_32BITUIDS]: Make code unconditional.
18638 [!__ASSUME_32BITUIDS]: Remove conditional code.
18639 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18640 <kernel-features.h>.
18641 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18642 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18643 132096]: Remove conditional code.
18644 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18645 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
18654 <kernel-features.h>.
18655 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18657 (__setresgid): Do not declare.
18658 [__ASSUME_32BITUIDS]: Make code unconditional.
18659 [!__ASSUME_32BITUIDS]: Remove conditional code.
18660 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18661 <kernel-features.h>.
18662 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18664 (__setresuid): Do not declare.
18665 [__ASSUME_32BITUIDS]: Make code unconditional.
18666 [!__ASSUME_32BITUIDS]: Remove conditional code.
18667 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18668 <kernel-features.h>.
18669 [__ASSUME_32BITUIDS]: Make code unconditional.
18670 [!__ASSUME_32BITUIDS]: Remove conditional code.
18671 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18672 <kernel-features.h>.
18673 [__ASSUME_32BITUIDS]: Make code unconditional.
18674 [!__ASSUME_32BITUIDS]: Remove conditional code.
18676 2012-05-25 Richard Henderson <rth@twiddle.net>
18678 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18679 dl_hwcap to ifunc resolver.
18680 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18682 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18683 dl_hwcap to ifunc resolver.
18684 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18686 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18689 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18690 for |x| <= 2**-26, not 2**-57.
18691 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18694 2012-05-24 Jeff Law <law@redhat.com>
18696 * stdio-common/Makefile (tests): Add bug25.
18697 * stdio-common/bug25.c: New test.
18699 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18702 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18703 multiple of MALLOC_ALIGNMENT in size.
18704 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18706 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18708 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18710 (FILENAME_MAX): Use macro-int-constant.
18711 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18712 (_IOFBF): Use macro-int-constant.
18713 (_IOLBF): Likewise.
18714 (_IONBF): Likewise.
18715 (SEEK_CUR): Likewise.
18716 (SEEK_END): Likewise.
18717 (SEEK_SET): Likewise.
18718 (TMP_MAX): Likewise.
18719 (EOF): Use macro-int-constant. Require < 0.
18720 (NULL): Use macro-constant. Require == 0.
18721 (stdin): Require type to be FILE *.
18722 (stdout): Likewise.
18723 (stderr): Likewise.
18724 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18725 macro-int-constant.
18726 (EXIT_SUCCESS): Likewise.
18727 (NULL): Use macro-constant. Require == 0.
18728 (RAND_MAX): Use macro-int-constant.
18729 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18730 [C99-based standards] (strtof): Require function.
18731 [C99-based standards] (strtold): Likewise.
18732 [C99-based standards] (strtoll): Likewise.
18733 [C99-based standards] (strtoull): Likewise.
18734 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18735 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18736 [ISO || ISO99 || ISO11] (math.h): Likewise.
18737 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18738 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18741 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18744 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18745 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18746 * intl/dgettext.c (DCGETTEXT): Likewise.
18747 * intl/gettext.c (DCGETTEXT): Likewise.
18748 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18749 * posix/regex_internal.h (gettext): Likewise.
18750 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18751 Remove declaration.
18752 * include/argz.h (__argz_count_internal)
18753 (__argz_stringify_internal): Remove declaration.
18754 (__argz_count, __argz_stringify): Declare hidden proto.
18755 * intl/dcgettext.c: Remove use of INTDEF.
18756 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18757 * string/argz-stringify.c: Likewise.
18758 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18759 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18760 Declare hidden proto.
18761 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18762 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18763 Declare hidden proto.
18764 * include/stdio.h (__asprintf_internal): Don't declare.
18765 (__asprintf): Don't define as macro. Declare hidden proto.
18766 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18767 (__fsetlocking): Declare hidden proto.
18768 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18769 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18771 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18772 (_IO_setlinebuf): Remove use of INTUSE.
18773 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18774 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18775 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18776 Remove declaration.
18777 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18778 (_IO_do_flush): Remove use of INTUSE.
18779 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18780 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18781 (_IO_adjust_column, _IO_least_wmarker)
18782 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18783 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18784 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18785 (_IO_default_doallocate, _IO_wdefault_doallocate)
18786 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18787 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18788 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18789 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18790 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18791 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18792 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18793 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18794 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18795 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18796 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18797 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18798 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18800 (_IO_flush_all_internal, _IO_adjust_column_internal)
18801 (_IO_default_uflow_internal, _IO_default_finish_internal)
18802 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18803 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18804 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18805 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18806 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18807 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18808 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18809 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18810 (_IO_file_close_internal, _IO_file_close_it_internal)
18811 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18812 (_IO_file_init_internal, _IO_file_attach_internal)
18813 (_IO_file_fopen_internal, _IO_file_read_internal)
18814 (_IO_file_sync_internal, _IO_file_seek_internal)
18815 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18816 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18817 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18818 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18819 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18820 (_IO_list_all_internal, _IO_link_in_internal)
18821 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18822 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18823 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18824 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18825 (_IO_do_write_internal, _IO_padn_internal)
18826 (_IO_getline_info_internal, _IO_getline_internal)
18827 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18828 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18829 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18830 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18831 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18832 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18833 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18834 with libc_hidden_ver, remove use of INTUSE.
18835 * libio/genops.c: Likewise.
18836 * libio/freopen.c: Likewise.
18837 * libio/freopen64.c: Likewise.
18838 * libio/iofclose.c: Likewise.
18839 * libio/iofdopen.c: Likewise.
18840 * libio/iofflush.c: Likewise.
18841 * libio/iofflush_u.c: Likewise.
18842 * libio/iofgets.c: Likewise.
18843 * libio/iofgets_u.c: Likewise.
18844 * libio/iofopen.c: Likewise.
18845 * libio/iofopncook.c: Likewise.
18846 * libio/iofread.c: Likewise.
18847 * libio/iofread_u.c: Likewise.
18848 * libio/ioftell.c: Likewise.
18849 * libio/iofwrite.c: Likewise.
18850 * libio/iogetline.c: Likewise.
18851 * libio/iogets.c: Likewise.
18852 * libio/iogetwline.c: Likewise.
18853 * libio/iopadn.c: Likewise.
18854 * libio/iopopen.c: Likewise.
18855 * libio/ioseekoff.c: Likewise.
18856 * libio/ioseekpos.c: Likewise.
18857 * libio/iosetbuffer.c: Likewise.
18858 * libio/iosetvbuf.c: Likewise.
18859 * libio/ioungetc.c: Likewise.
18860 * libio/ioungetwc.c: Likewise.
18861 * libio/iovdprintf.c: Likewise.
18862 * libio/iovsprintf.c: Likewise.
18863 * libio/iovsscanf.c: Likewise.
18864 * libio/memstream.c: Likewise.
18865 * libio/obprintf.c: Likewise.
18866 * libio/oldfileops.c: Likewise.
18867 * libio/oldiofclose.c: Likewise.
18868 * libio/oldiofdopen.c: Likewise.
18869 * libio/oldiofopen.c: Likewise.
18870 * libio/oldiopopen.c: Likewise.
18871 * libio/oldstdfiles.c: Likewise.
18872 * libio/putc.c: Likewise.
18873 * libio/setbuf.c: Likewise.
18874 * libio/setlinebuf.c: Likewise.
18875 * libio/stdfiles.c: Likewise.
18876 * libio/strops.c: Likewise.
18877 * libio/vasprintf.c: Likewise.
18878 * libio/vscanf.c: Likewise.
18879 * libio/vsnprintf.c: Likewise.
18880 * libio/vswprintf.c: Likewise.
18881 * libio/wfiledoalloc.c: Likewise.
18882 * libio/wfileops.c: Likewise.
18883 * libio/wgenops.c: Likewise.
18884 * libio/wmemstream.c: Likewise.
18885 * libio/wstrops.c: Likewise.
18886 * libio/__fpurge.c: Likewise.
18887 * libio/__fsetlocking.c: Likewise.
18888 * assert/assert.c: Likewise.
18889 * debug/fgets_chk.c: Likewise.
18890 * debug/fgets_u_chk.c: Likewise.
18891 * debug/fread_chk.c: Likewise.
18892 * debug/fread_u_chk.c: Likewise.
18893 * debug/gets_chk.c: Likewise.
18894 * debug/obprintf_chk.c: Likewise.
18895 * debug/vasprintf_chk.c: Likewise.
18896 * debug/vdprintf_chk.c: Likewise.
18897 * debug/vsnprintf_chk.c: Likewise.
18898 * debug/vsprintf_chk.c: Likewise.
18899 * malloc/mtrace.c: Likewise.
18900 * misc/error.c: Likewise.
18901 * misc/syslog.c: Likewise.
18902 * stdio-common/asprintf.c: Likewise.
18903 * stdio-common/fxprintf.c: Likewise.
18904 * stdio-common/getw.c: Likewise.
18905 * stdio-common/isoc99_fscanf.c: Likewise.
18906 * stdio-common/isoc99_scanf.c: Likewise.
18907 * stdio-common/isoc99_vfscanf.c: Likewise.
18908 * stdio-common/isoc99_vscanf.c: Likewise.
18909 * stdio-common/isoc99_vsscanf.c: Likewise.
18910 * stdio-common/printf-prs.c: Likewise.
18911 * stdio-common/printf_fp.c: Likewise.
18912 * stdio-common/printf_fphex.c: Likewise.
18913 * stdio-common/printf_size.c: Likewise.
18914 * stdio-common/putw.c: Likewise.
18915 * stdio-common/scanf.c: Likewise.
18916 * stdio-common/sprintf.c: Likewise.
18917 * stdio-common/tmpfile.c: Likewise.
18918 * stdio-common/vfprintf.c: Likewise.
18919 * stdio-common/vfscanf.c: Likewise.
18920 * stdlib/strfmon_l.c: Likewise.
18921 * sunrpc/openchild.c: Likewise.
18922 * sunrpc/xdr_stdio.c: Likewise.
18923 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18924 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18926 2012-05-24 Roland McGrath <roland@hack.frob.com>
18928 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18930 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18931 in the third column, to generate for the shared library an IFUNC
18932 that uses _dl_vdso_vsym.
18933 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18934 * Makeconfig (object-suffixes-noshared): New variable.
18936 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18937 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18938 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18939 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18942 * include/sys/time.h (__gettimeofday): Remove macro.
18943 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18944 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18946 (__gettimeofday): Add libc_hidden_def.
18947 (gettimeofday): Add libc_hidden_weak.
18948 * sysdeps/mach/gettimeofday.c: Likewise.
18949 * sysdeps/posix/gettimeofday.c: Likewise.
18950 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18951 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18953 (__gettimeofday_internal): Remove strong_alias.
18954 (__gettimeofday): Add libc_hidden_def.
18955 (gettimeofday): Add libc_hidden_weak.
18956 * sysdeps/unix/syscalls.list (gettimeofday):
18957 Remove __gettimeofday_internal alias.
18959 2012-05-24 Daniel Jacobowitz <drow@false.org>
18960 H.J. Lu <hongjiu.lu@intel.com>
18963 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18964 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18965 (largebin_index_32_big): New.
18966 (largebin_index): Use it for 16-byte alignment.
18967 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18968 correction with front_misalign.
18970 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18998 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18999 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19001 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19005 * math/libm-test.inc (exp_test): Add test from bug 14036.
19006 (pow_test): Add test from bug 10846.
19008 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19010 (special_function): Do not include flags in test name.
19011 (parse_args): Likewise.
19012 * sysdeps/i386/fpu/libm-test-ulps: Update.
19013 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19014 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19015 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19018 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19020 * math/libm-test.inc ("Philosophy"): Update comment about
19022 (UNDERFLOW_EXCEPTION): New macro.
19023 (UNDERFLOW_EXCEPTION_OK): Likewise.
19024 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19025 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19026 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19027 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19028 (INVALID_EXCEPTION_OK): Update value.
19029 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19030 (OVERFLOW_EXCEPTION_OK): Likewise.
19031 (IGNORE_ZERO_INF_SIGN): Likewise.
19032 (test_exceptions): Handle underflow exceptions.
19033 (acos_test): Update for underflow exception expectations.
19034 (cexp_test): Likewise.
19035 (clog_test): Likewise.
19036 (clog10_test): Likewise.
19037 (csqrt_test): Likewise.
19038 (ctan_test): Likewise.
19039 (ctanh_test): Likewise.
19040 (exp_test): Likewise.
19041 (exp10_test): Likewise.
19042 (exp2_test): Likewise.
19043 (expm1_test): Likewise.
19044 (fma_test): Likewise.
19045 (j0_test): Likewise.
19046 (jn_test): Likewise.
19047 (nexttoward_test): Likewise.
19048 (pow_test): Likewise.
19049 (scalbn_test): Likewise.
19050 (scalbln_test): Likewise.
19051 (tan_test): Likewise.
19052 (y1_test): Likewise.
19053 * sysdeps/i386/fpu/libm-test-ulps: Update.
19054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19056 2012-05-23 David S. Miller <davem@davemloft.net>
19058 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19059 (__libc_sigaction): Remove unused local variables.
19061 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19063 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19065 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19067 mktime: avoid signed integer overflow
19068 * time/mktime.c (__mktime_internal): Do not mishandle the case
19069 where diff == INT_MIN.
19071 mktime: simplify computation of average
19072 * time/mktime.c (ranged_convert): Use new time_t_avg function
19073 instead of rolling our own (probably-slower) code.
19075 mktime: do not assume signed right shift propagates sign bit
19076 * time/mktime.c (isdst_differ): New static function.
19077 (__mktime_internal): No need to normalize tm_isdst now.
19078 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19081 mktime: merge another wrapv change from gnulib
19082 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19083 from some compilers.
19085 mktime: remove incorrect attempt at unusual arithmetics
19086 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19087 The code didn't really work on such machines anyway.
19088 (TYPE_MINIMUM): Assume two's complement.
19089 (twos_complement_arithmetic): Verify that long_int and time_t
19090 are two's complement (or unsigned, in the latter case).
19092 mktime: check signed shifts on long_int and time_t, too
19093 * time/mktime.c (SHR): Check that shifts work as desired
19094 on the types long_int and time_t too, as SHR is used on
19097 mktime: do not assume 'long' is wide enough
19098 * time/mktime.c (verify): Move decl up.
19099 (long_int): New type.
19100 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19101 to remove assumption in the code that 'long' is wide enough to
19102 store year values. This assumption is not true on x32 and on
19103 some non-glibc platforms.
19105 mktime: merge wrapv change from gnulib
19106 * time/mktime.c (WRAPV): New macro.
19107 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19108 (guess_time_tm, __mktime_internal): Do not assume that signed
19109 integer overflow wraps around; modern compilers generate code
19110 where this assumption is no longer valid.
19112 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19114 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19115 Replace "jmp L(pseudo_end)" with "ret".
19116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19119 2012-05-23 Andreas Jaeger <aj@suse.de>
19121 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19122 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19124 2012-05-23 Andreas Jaeger <aj@suse.de>
19125 Maximilian Attems <max@stro.at>
19127 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19130 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19132 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19133 code so that pseudo_end is just ret and the stack pointer is
19134 correct also for static library in error case.
19136 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19138 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19139 move to syscalls.list.
19140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19145 * manual/install.texi (Running make install): Do not mention Linux
19146 kernel version for which pt_chown is not needed.
19147 (Linux): Do not mention problems with nscd with 2.0 kernels.
19148 * INSTALL: Regenerated.
19150 2012-05-23 Andreas Jaeger <aj@suse.de>
19152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19153 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19155 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19157 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19159 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19161 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19165 * sysdeps/unix/sysv/linux/bits/in.h
19166 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19168 2012-05-22 Roland McGrath <roland@hack.frob.com>
19170 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19171 (PREPARE_VERSION): Just use assert instead, it will be elided
19172 under [NDEBUG] anyway.
19174 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19176 * sysdeps/unix/sysv/linux/Makefile: Include
19177 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19178 (sysdep_routines): Remove sysctl.
19179 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19180 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19181 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19182 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19183 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19185 2012-05-22 Andreas Jaeger <aj@suse.de>
19187 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19188 that pseudo_end is just ret and the stack pointer is correct also
19189 for static library in error case.
19191 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19194 * nss/nsswitch.c (defconfig_entries): New variable.
19195 (__nss_database_lookup): Don't leak defconfig entries.
19196 (nss_parse_service_list): Don't leak on error paths.
19197 (free_database_entries): New function.
19198 (free_defconfig): New function.
19199 (free_mem): Move common code to free_database_entries.
19201 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19203 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19205 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19207 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19208 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19211 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19212 (INTERNAL_SYSCALL_TYPES): Likewise.
19213 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19214 (LOAD_REGS_TYPES_[1-6]): Likewise.
19215 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19216 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19218 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19220 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19221 copysignl for GLIBC_2_0.
19222 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19223 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19225 logbl for GLIBC_2_0.
19226 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19227 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19229 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19232 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19234 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19237 * time/mktime.c: Update copyright years.
19239 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19241 mktime: merge comment-quoting-style change from gnulib
19242 * time/mktime.c: Quote 'like this' in comments.
19243 The GNU coding standards suggest that we no longer quote `like this',
19244 as "`" and "'" are typically rendered asymmetrically nowadays.
19245 The typical gnulib style is to quote 'like this' when quoting
19246 code, and "like this" when quoting English.
19248 * time/mktime.c (compile-command): Add "-I.".
19250 mktime: merge mktime-internal.h change from gnulib
19251 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19253 mktime: merge time_r change from gnulib
19254 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19256 mktime: merge DEBUG change from gnulib
19257 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19258 case system <time.h> has a #define.
19260 mktime: merge <sys/types.h> change from gnulib
19261 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19262 since <time.t> is now guaranteed to define time_t.
19264 mktime: merge HAVE_CONFIG_H change from gnulib
19265 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19267 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19272 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19274 (struct rusage): Use anonymous union to pad each field to
19277 2012-05-21 David S. Miller <davem@davemloft.net>
19279 * Makefules (o-iterator): Remove .s cases.
19280 (compile-command.s): Delete.
19281 (COMPILE.s): Delete.
19282 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19284 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19286 * configure.in (libc_cv_predef_stack_protector): Only consider
19287 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19288 * configure: Regenerated.
19290 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19293 New macro. Use R*LP on int and pointer.
19294 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19295 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19296 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19297 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19299 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19300 [__WORDSIZE_TIME64_COMPAT32] instead of
19301 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19302 (struct utmp): Likewise.
19303 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19304 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19306 (__WORDSIZE_TIME64_COMPAT32): This.
19307 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19308 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19309 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19310 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19311 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19312 (__WORDSIZE_TIME64_COMPAT32): New macro.
19314 2012-05-21 Andreas Jaeger <aj@suse.de>
19316 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19317 only if [SHARED]. Add prototype for __wcschr_ia32.
19319 2012-05-21 Roland McGrath <roland@hack.frob.com>
19321 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19322 of %rbp unmolested in the jmp_buf while mangling the low bits.
19323 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19324 unmolested high bits of %rbp while demangling the low bits.
19325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19327 2012-05-21 Andreas Jaeger <aj@suse.de>
19329 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19330 * sunrpc/svc_simple.c: Use it for registerrpc.
19331 * sunrpc/xcrypt.c: Use it for passwd2des.
19333 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19335 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19337 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19338 Don't define if [__SYSCALL_WORDSIZE != 32].
19339 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19342 2012-05-21 Bruno Haible <bruno@clisp.org>
19343 Andreas Jaeger <aj@suse.de>
19345 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19346 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19347 inptr and inend for must_buffer_ch.
19348 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19349 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19350 * stdio-common/Makefile (tests): Remove bug15.
19351 (bug15-ENV): Remove macro.
19352 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19355 2012-05-19 Andreas Jaeger <aj@suse.de>
19356 Roland McGrath <roland@hack.frob.com>
19358 * manual/contrib.texi: Completely rewritten. It contains now an
19359 alphabetical list of contributors and their contributions.
19361 2012-05-21 Richard Henderson <rth@twiddle.net>
19363 * misc/getauxval.c (__getauxval): Use unsigned long int.
19364 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19365 (getauxval): Use unsigned long int.
19367 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19369 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19371 2012-05-21 Roland McGrath <roland@hack.frob.com>
19373 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19374 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19375 __alignof__ (long double).
19377 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19381 2012-05-20 Richard Henderson <rth@twiddle.net>
19383 * misc/getauxval.c: New file.
19384 * misc/sys/auxv.h: New file.
19385 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19386 (routines): Add getauxval.
19387 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19388 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19389 * elf/dl-sysdep.c (_dl_auxv): Remove.
19390 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19391 * elf/dl-support.c (_dl_auxv): New variable.
19392 (_dl_aux_init): Initialize it.
19393 * manual/startup.texi (Auxiliary Vector): New node.
19394 * sysdeps/generic/bits/hwcap.h: New file.
19395 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19396 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19397 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19398 * sysdeps/sparc/sysdep.h: ... here. Include it.
19399 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19400 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19412 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19416 2012-05-19 David S. Miller <davem@davemloft.net>
19418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19420 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19423 * math/s_ccosh.c: Include <float.h>
19424 (__ccosh): Avoid internal overflow calculating sinh and cosh
19425 values before multiplying by sin and cos values.
19426 * math/s_ccoshf.c: Likewise.
19427 * math/s_ccoshl.c: Likewise.
19428 * math/s_csin.c: Likewise.
19429 * math/s_csinf.c: Likewise.
19430 * math/s_csinl.c: Likewise.
19431 * math/s_csinh.c: Likewise.
19432 * math/s_csinhf.c: Likewise.
19433 * math/s_csinhl.c: Likewise.
19434 * math/libm-test.inc (ccos_test): Add more tests.
19435 (ccosh_test): Likewise.
19436 (csin_test): Likewise.
19437 (csinh_test): Likewise.
19438 * sysdeps/i386/fpu/libm-test-ulps: Update.
19439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19441 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19443 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19444 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19446 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19448 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19450 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19451 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19452 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19453 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19454 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19455 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19456 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19457 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19458 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19459 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19460 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19461 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19462 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19463 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19464 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19465 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19466 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19467 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19468 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19469 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19470 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19471 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19472 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19473 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19474 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19475 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19476 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19477 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19478 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19479 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19480 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19482 2012-05-18 Andreas Jaeger <aj@suse.de>
19484 * csu/.gitignore: Delete.
19486 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19488 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19489 (timex): Use __syscall_slong_t.
19491 2012-05-18 Andreas Jaeger <aj@suse.de>
19492 Carlos O'Donell <carlos_odonell@mentor.com>
19494 * manual/install.texi (Configuring and compiling): Update
19495 description about files modified in the source directory.
19496 * INSTALL: Regenerated.
19498 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19500 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19501 value. Use "or" to set return value to -1.
19502 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19503 negate return value.
19505 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19507 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19508 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19509 failure if the compiler has Graphite support disabled.
19510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19512 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19513 CFLAGS-memmove.c): Likewise.
19514 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19517 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19519 * sysdeps/x86_64/x32/_itoa.h: New file.
19521 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19522 getdents system call only if kernel and user dirents have the
19523 same d_ino and d_off.
19525 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19526 LLONG_MAX != LONG_MAX.
19527 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19528 (_fitoa_word): Likewise.
19530 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19532 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19533 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19534 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19536 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19537 include <bits/wordsize.h>. Check __x86_64__ instead of
19539 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19540 if __x86_64__ is defined. Use anonymous union on fpstate.
19542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19545 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19547 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19548 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19549 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19550 Refer to _rtld_local_ro instead of _rtld_global_ro.
19551 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19553 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19555 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19557 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19558 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19559 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19561 * sysdeps/powerpc/powerpc32/dl-machine.c
19562 (__elf_machine_runtime_setup) [PROF]: Don't reference
19565 2012-05-18 Andreas Jaeger <aj@suse.de>
19567 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19568 function only available for GCCs before 3.4 since GCC 3.4
19569 introduced a builtin.
19571 (llrintf): Likewise.
19572 (llrint): Likewise.
19579 (nearbyint): Likewise.
19580 (nearbyintf): Likewise.
19584 (floorf): Likewise.
19586 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19588 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19589 on both fields and cast pointer to __syscall_ulong_t.
19591 * bits/types.h (__fsword_t): New type.
19592 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19593 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19595 (__FSWORD_T_TYPE): Likewise.
19596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19597 (__FSWORD_T_TYPE): Likewise.
19598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19599 (__FSWORD_T_TYPE): Likewise.
19600 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19601 (__FSWORD_T_TYPE): Likewise.
19602 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19603 __SWORD_TYPE with __fsword_t.
19604 (statfs64): Likewise.
19606 2012-05-17 David S. Miller <davem@davemloft.net>
19608 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19610 2012-05-17 Andreas Jaeger <aj@suse.de>
19612 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19615 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19617 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19619 2012-05-17 Andreas Jaeger <aj@suse.de>
19621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19624 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19626 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19628 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19630 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19631 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19633 2012-05-17 Andreas Jaeger <aj@suse.de>
19634 Carlos O'Donell <carlos_odonell@mentor.com>
19637 * sysdeps/x86_64/multiarch/init-arch.h
19638 (bit_YMM_Usable): Rename to...
19639 (bit_AVX_Usable): ... this.
19640 (bit_FMA4_Usable): New macro.
19641 (bit_XMM_state): New macro.
19642 (bit_YMM_state): New macro.
19643 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19644 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19645 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19646 (CPUID_OSXSAVE): New macro.
19647 (CPUID_AVX): New macro.
19648 (CPUID_FMA4): New macro.
19649 (index_YMM_Usable): Rename to...
19650 (index_AVX_Usable): ... this.
19651 (HAS_AVX): Use HAS_ARCH_FEATURE.
19652 (HAS_FMA4): Likewise.
19653 (HAS_YMM_USABLE): Remove.
19654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19655 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19657 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19658 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19659 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19660 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19661 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19663 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19665 * math/libm-test.c: Support platforms without multiple rounding modes.
19666 * math/bug-nextafter.c: Support platforms without FP exceptions.
19667 * math/bug-nexttoward.c: Likewise.
19668 * math/test-fenv.c: Likewise.
19669 * math/test-misc.c: Likewise.
19670 * stdlib/bug-getcontext.c: Likewise.
19672 2012-05-17 Andreas Jaeger <aj@suse.de>
19674 * manual/examples/search.c (critter_cmp): Change signature to
19676 * manual/string.texi (Collation Functions): Likewise.
19678 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19680 * bits/types.h: Fold copyright years.
19681 * bits/typesizes.h: Likewise.
19682 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19686 * time/time.h: Likewise.
19688 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19691 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19692 in instead of returning them. Return void.
19693 (__libc_mallinfo): Accumulate over all arenas.
19694 (__malloc_stats): Adjust for change in int_mallinfo interface.
19696 2012-05-16 Roland McGrath <roland@hack.frob.com>
19699 * configure.in (NM): Add AC_CHECK_TOOL for it.
19700 (libc_extra_cflags): New substituted variable.
19701 Check for -fstack-protector being used implicitly.
19702 * configure: Regenerated.
19703 * config.make.in (config-extra-cflags): New variable,
19704 gets @libc_extra_cflags@.
19705 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19708 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19709 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19710 * configure: Regenerated.
19711 * config.make.in (CPPUNDEFS): New substituted variable.
19712 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19713 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19714 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19716 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19718 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19719 (mq_attr): Use __syscall_slong_t.
19721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19723 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19724 Check __x86_64__ instead of __WORDSIZE.
19725 (_STAT_VER_LINUX): Likewise.
19726 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19727 __syscall_ulong_t and __syscall_slong_t.
19728 (stat64): Likewise.
19730 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19732 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19734 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19736 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19738 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19740 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19743 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19744 include <bits/wordsize.h>. Check __x86_64__ instead of
19746 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19748 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19750 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19751 include <bits/wordsize.h>. Check __x86_64__ instead of
19753 (user_regs_struct): Use "__extension__ unsigned long long"
19754 instead of "unsigned long" if __x86_64__ is defined.
19755 (user): Likewise. Pad after pointer field if __ILP32__ is
19758 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19760 * configure.in (makeinfo): Require version 4.5 or later. Allow
19762 * configure: Regenerated.
19763 * manual/install.texi (texinfo): Increase version requirement to
19765 * INSTALL: Regenerated.
19767 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19769 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19771 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19773 * sysdeps/x86_64/x32/ffs.c: New file.
19775 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19777 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19778 defined. Use __syscall_ulong_t.
19779 (shminfo): Use __syscall_ulong_t.
19780 (shm_info): Likewise.
19782 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19785 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19787 (msgqnum_t): Use __syscall_ulong_t.
19788 (msglen_t): Likewise.
19789 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19792 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19793 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19795 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19797 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19798 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19800 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19803 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19804 include <bits/wordsize.h>. Check __x86_64__ instead of
19807 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19808 "unsigned long long int" if __x86_64__ is defined.
19809 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19811 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19812 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19813 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19815 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19817 (GET_PC): Cast to uintptr_t first.
19818 (GET_FRAME): Likewise.
19819 (GET_STACK): Likewise.
19821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19822 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19823 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19824 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19825 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19826 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19827 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19828 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19829 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19830 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19831 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19832 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19833 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19834 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19835 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19837 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19840 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19841 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19842 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19843 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19844 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19845 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19846 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19847 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19848 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19849 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19851 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19853 * Makerules (+depfiles): Also collect depfiles from .oS in
19855 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19856 .oS, $(libnldbl-routines)).
19858 * Makerules (native-compile-mkdep-flags): Define.
19859 * sunrpc/Makefile (extra-objs): Add $(addprefix
19860 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19861 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19862 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19863 calling $(make-target-directory).
19865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19867 * bits/types.h (__snseconds_t): Removed.
19868 * time/time.h (struct timespec): Replace __snseconds_t with
19870 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19871 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19874 (__SNSECONDS_T_TYPE): Likewise.
19875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19876 (__SNSECONDS_T_TYPE): Likewise.
19877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19878 (__SNSECONDS_T_TYPE): Likewise.
19880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19882 * sysdeps/mach/hurd/bits/typesizes.h
19883 (__SYSCALL_SLONG_TYPE): New macro.
19884 (__SYSCALL_ULONG_TYPE): Likewise.
19886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19888 * bits/types.h (__syscall_slong_t): New type.
19889 (__syscall_ulong_t): Likewise.
19891 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19892 (__SYSCALL_ULONG_TYPE): Likewise.
19893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19894 (__SYSCALL_SLONG_TYPE): Likewise.
19895 (__SYSCALL_ULONG_TYPE): Likewise.
19896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19897 (__SYSCALL_SLONG_TYPE): Likewise.
19898 (__SYSCALL_ULONG_TYPE): Likewise.
19899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19900 (__SYSCALL_SLONG_TYPE): Likewise.
19901 (__SYSCALL_ULONG_TYPE): Likewise.
19903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19905 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19906 Add sigaltstack-offsets.sym.
19907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19908 <sigaltstack-offsets.h>.
19909 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19910 longjmp_msg pointer.
19911 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19912 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19914 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19916 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19918 * elf/stackguard-macros.h: Remove file.
19919 * sysdeps/generic/stackguard-macros.h: New file.
19920 * sysdeps/i386/stackguard-macros.h: Likewise.
19921 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19922 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19923 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19924 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19925 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19926 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19927 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19928 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19929 <elf/stackguard-macros.h>.
19932 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19933 __aligned__ in attribute.
19934 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19935 (gregset_t): Likewise.
19937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19939 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19940 * sysdeps/x86_64/64/Implies-after: Here. New file.
19941 * sysdeps/x86_64/x32/Implies-after: New file.
19943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19945 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19946 and access return value for _dl_profile_fixup. Use R10_LP to
19949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19951 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19955 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19956 * sysdeps/x86_64/x32/sysdep.h: New file.
19958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19960 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19961 * sysdeps/x86_64/setjmp.S: Likewise.
19963 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19965 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19966 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19967 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19969 remove unused global constant.
19971 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19973 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19974 include of <not-cancel.h>.
19976 2012-05-15 Roland McGrath <roland@hack.frob.com>
19978 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19980 2012-05-15 Jeff Law <law@redhat.com>
19981 Andreas Jaeger <aj@suse.de>
19984 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19986 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19987 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19988 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19989 code changing __hst_map_handle.map.
19991 2012-05-15 Roland McGrath <roland@hack.frob.com>
19993 * configure.in (sysnames): Look for Implies-before and Implies-after
19995 * configure: Regenerated.
19997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19999 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20000 8-byte data alignment with LP_SIZE alignment.
20002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20004 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20009 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20013 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20014 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20021 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20022 (stackinfo_sub_sp): Likewise.
20024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20026 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20036 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20041 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20045 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20046 into R11_LP and load __x86_64_shared_cache_size_half into
20049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20051 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20054 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20063 powerpc32/power7/fpu/s_logb.c via #include.
20064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20065 powerpc32/power7/fpu/s_logbf.c via #include.
20066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20067 powerpc32/power7/fpu/s_logbl.c via #include.
20069 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20071 * README.libm: Remove file.
20073 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20075 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20076 count for x32. Use R*_LP and omit operand-size suffix.
20078 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20080 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20081 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20082 * sysdeps/x86_64/x32/shlib-versions: New file.
20084 2012-05-14 Roland McGrath <roland@hack.frob.com>
20086 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20087 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20088 Use _dl_fatal_printf instead.
20090 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20092 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20093 set if not set by the user. Do not allow for being unset.
20094 * sysdeps/unix/sysv/linux/configure: Regenerated.
20096 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20098 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20099 the `q' suffix from lea and replace .quad with ASM_ADDR.
20101 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20104 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20106 (PTR_DEMANGLE): Likewise.
20108 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20110 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20112 (ASM_ADDR): Likewise.
20113 (RAX_LP): Likewise.
20114 (RBP_LP): Likewise.
20115 (RBX_LP): Likewise.
20116 (RCX_LP): Likewise.
20117 (RDI_LP): Likewise.
20118 (RSI_LP): Likewise.
20119 (RSP_LP): Likewise.
20122 (R10_LP): Likewise.
20123 (R10_LP): Likewise.
20124 (R11_LP): Likewise.
20125 (R12_LP): Likewise.
20126 (R13_LP): Likewise.
20127 (R14_LP): Likewise.
20128 (R15_LP): Likewise.
20130 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20132 * sysdeps/x86_64/x32/dl-machine.h: New file.
20134 2012-05-14 Andreas Jaeger <aj@suse.de>
20136 * manual/Makefile (subdir): Remove export of subdir.
20137 (all): Remove target.
20138 (.PHONY): Remove all from list.
20139 (mkinstalldirs): Remove.
20140 (.PHONY): Remove installdirs from list.
20141 ($(inst_infodir)/libc.info): Use make-target-directory.
20142 (installdirs): Remove.
20143 (subdir_%): Remove.
20144 (glibc-targets): Remove.
20147 ($(objpfx)stubs ../po/manual.pot): Remove.
20148 ($(objpfx)stamp%): Remove.
20149 (make-target-directory): Remove.
20150 (subdir_install): Remove.
20151 (routines): Remove.
20158 * manual/.gitignore: Remove, it's not needed anymore.
20159 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20161 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20163 (texis): Renamed to $(objpfx)texis.
20164 (texis-path): New, contains path to generated files.
20165 (chapters.%): Use texis-path for complete path, add extra argument
20167 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20168 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20169 (summary,texi, stamp-summary): Use complete path of
20170 files. Generate files in build dir.
20171 (dir-add.texi): Build in build dir.
20172 (libm-err.texi,stamp-libm-err): Likewise.
20173 (version.texi, stamp-version): Likewise.
20174 (.%c.texi): Likewise.
20175 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20176 (mostlyclean): Remove target.
20177 (realclean): Remove target.
20178 (generated): Add new variable with contents from mostlyclean and
20179 realclean, remove entries duplicated in common-mostlyclean, add
20180 stamp-libm-err and stamp-version.
20181 (generated-dirs): Add libc directory.
20182 ($(inst_infodir)/libc.info): Install files from build dir.
20184 * manual/install.texi (Configuring and compiling): Adjust since
20185 the info files are not part of the tar ball anymore.
20187 2012-05-14 Andreas Jaeger <aj@suse.de>
20189 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20192 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20195 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20196 to 2.2.0 where earlier.
20197 * sysdeps/unix/sysv/linux/configure: Regenerated.
20198 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20199 Remove conditional code.
20200 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20201 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20202 Remove conditional code.
20203 [!__NR_lchown]: Likewise.
20204 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20205 [__NR_lchown]: Likewise.
20206 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20207 comment referencing __ASSUME_LCHOWN_SYSCALL.
20208 * sysdeps/unix/sysv/linux/i386/sigaction.c
20209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20211 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20212 Remove conditional code.
20213 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20214 (__protocol_available): Remove #if 0 code.
20215 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20217 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20218 * sysdeps/unix/sysv/linux/kernel-features.h
20219 (__ASSUME_GETCWD_SYSCALL): Don't define.
20220 (__ASSUME_REALTIME_SIGNALS): Likewise.
20221 (__ASSUME_PREAD_SYSCALL): Likewise.
20222 (__ASSUME_PWRITE_SYSCALL): Likewise.
20223 (__ASSUME_POLL_SYSCALL): Likewise.
20224 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20225 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20227 (__ASSUME_SIOCGIFNAME): Don't define.
20228 (__ASSUME_MSG_NOSIGNAL): Likewise.
20229 (__ASSUME_SENDFILE): Define unconditionally.
20230 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20231 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20233 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20234 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20235 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20236 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20237 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20238 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20239 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20244 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20253 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20256 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20262 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20264 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20265 Remove conditional code.
20266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20267 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20268 Remove conditional code.
20269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20270 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20271 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20272 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20273 Remove conditional code.
20274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20275 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20276 Remove conditional code.
20277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20278 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20279 Remove conditional code.
20280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20281 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20282 Remove conditional code.
20283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20284 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20285 Remove conditional code.
20286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20287 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20290 * sysdeps/unix/sysv/linux/sigaction.c
20291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20293 * sysdeps/unix/sysv/linux/sigpending.c
20294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20296 * sysdeps/unix/sysv/linux/sigprocmask.c
20297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20299 * sysdeps/unix/sysv/linux/sigsuspend.c
20300 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20301 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20302 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20303 (__libc_missing_rt_sigs): Remove.
20304 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20305 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20306 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20307 Remove conditional code.
20308 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20309 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20311 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20312 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20313 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20314 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20316 2012-05-14 Andreas Jaeger <aj@suse.de>
20318 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20319 it's not used in glibc.
20320 (__coshm1): Likewise.
20321 (__acosh1p): Likewise.
20324 * manual/string.texi (Copying and Concatenation): Add missing
20325 variable in concat example.
20326 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20328 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20332 __builtin_clzl with __builtin_clzll.
20334 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20337 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20340 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20342 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20343 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20344 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20345 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20347 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20349 * NEWS: Update ia64 info.
20351 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20353 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20356 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20358 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20359 * sysdeps/unix/syscalls.list (dup3): Likewise.
20360 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20361 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20363 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20365 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20366 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20368 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20370 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20372 (TLS_IE): Use mov/add instead of movq/addq to load thread
20374 (TLS_GD_PREFIX): New.
20377 2012-05-11 David S. Miller <davem@davemloft.net>
20379 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20380 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20381 (_FPU_SETCW): Likewise.
20383 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20385 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20386 is 32-byte aligned.
20388 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20391 * iconvdata/gb18030.c: Update tables.
20392 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20393 characters specially.
20394 (BODY for TO_LOOP): Add encoding of missing ranges.
20396 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20399 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20400 * sysdeps/mach/hurd/dup3.c: Likewise.
20401 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20402 * sysdeps/powerpc/memmove.c:: Likewise.
20404 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20406 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20407 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20409 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20411 * elf/elf.h (R_X86_64_RELATIVE64): New.
20412 (R_X86_64_NUM): Updated.
20413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20414 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20415 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20416 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20417 tst-quad1pie tst-quad2pie
20418 (modules-names): Add tst-quadmod1 tst-quadmod2.
20419 ($(objpfx)tst-quad1): New dependency.
20420 ($(objpfx)tst-quad2): Likewise.
20421 ($(objpfx)tst-quad1pie): Likewise.
20422 ($(objpfx)tst-quad2pie): Likewise.
20423 * sysdeps/x86_64/tst-quad1.c: New file.
20424 * sysdeps/x86_64/tst-quad1pie.c: New file.
20425 * sysdeps/x86_64/tst-quad2.c: Likewise.
20426 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20427 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20428 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20429 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20430 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20434 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20435 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20436 * streams/stropts.h (t_scalar_t): Define type.
20438 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20439 (_PATH_PRESERVE): Set to "/var/lib".
20440 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20442 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20445 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20446 if __dir_mkfile succeeded.
20448 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20449 checking for _hurd_dtablesize. Unlock it right after having
20450 finished _hurd_dtable allocation.
20452 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20454 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20455 * sysdeps/mach/hurd/configure: Regenerated.
20456 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20457 special-casing to...
20458 * sysdeps/gnu/configure.in: ... this new file.
20459 * sysdeps/unix/sysv/linux/configure: Regenerated.
20460 * sysdeps/gnu/configure: New generated file.
20462 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20463 for Linux: use nsec instead of usec, as well as:
20464 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20465 members of type struct timespec.
20466 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20468 (struct stat64): Likewise.
20469 (_STATBUF_ST_NSEC): New macro.
20470 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20472 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20473 __strtoul_internal rather than strtoul.
20475 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20477 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20480 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20482 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20483 which preserves existing values.
20484 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20486 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20488 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20489 TIMEOUT values. Return EINVAL for NFDS values either negative or
20490 greater than FD_SETSIZE.
20492 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20494 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20495 allocated, call __vm_protect to finish enabling the existing space, and
20496 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20497 allocate the remainder.
20499 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20501 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20502 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20504 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20506 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20507 sysdeps/mach/hurd/readlink.c.
20509 * posix/tst-sysconf.c (posix_options): Only use
20510 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20511 _POSIX_SYNCHRONIZED_IO when they are defined
20512 * sysdeps/mach/hurd/bits/posix_opt.h:
20513 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20514 (_XOPEN_REALTIME): Undefine macro.
20515 (_XOPEN_REALTIME_THREADS): Undefine macro.
20516 (_XOPEN_SHM): Undefine macro.
20517 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20519 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20521 (_POSIX_ASYNC_IO): Undefine macro.
20522 (_POSIX_PRIORITIZED_IO): Undefine macro.
20523 (_POSIX_SPIN_LOCKS): Define macro to -1.
20525 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20526 SA_NODEFER, SA_RESETHAND.
20527 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20528 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20531 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20533 * elf/Makefile (pldd-modules): Define unconditionally.
20535 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20537 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20539 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20541 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20542 Return ENOENT when name is empty.
20543 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20545 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20547 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20549 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20551 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20553 Fix mlock in all cases except non-readable pages.
20554 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20555 instead of VM_PROT_ALL as parameter to __vm_wire function.
20557 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20558 (__mkdir): When path is `/', just fail with EEXIST.
20559 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20563 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20564 <sys/uio.h> (for writev).
20565 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20566 and <sys/param.h> (for MIN).
20568 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20570 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20571 REQUESTED_TIME. Properly set the remaining time and return EINTR
20574 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20576 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20577 Depend on against $(link-rpcuserlibs).
20579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20581 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20582 (__libc_stack_end): Do not use attribute_relro.
20583 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20584 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20585 to libthread-provided value.
20586 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20592 * bits/libc-lock.h (__libc_once_get): New macro.
20593 * sysdeps/mach/bits/libc-lock.h: Likewise.
20594 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20596 instead of using implementation details.
20598 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20599 * libio/freopen.c: Likewise.
20600 * libio/freopen64.c: Likewise.
20601 * misc/syslog.c: Likewise.
20602 * nscd/connections.c: Likewise.
20603 * nscd/netgroupcache.c: Likewise.
20604 * sysdeps/posix/getcwd.c: Likewise.
20606 2012-05-10 Roland McGrath <roland@hack.frob.com>
20608 * math/w_ilogbf.c: Add #include <limits.h>.
20610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20612 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20613 path instead of returning without unlocking.
20615 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20616 immediate-write ioctls.
20617 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20621 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20622 __builtin_frame_address instead of making assumptions about the
20623 location of the return address relative to DATA. Force early load of
20624 the return address.
20625 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20626 __builtin_frame_address.
20629 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20630 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20631 implement dup3 and do some further code clean-ups.
20632 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20633 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20635 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20637 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20639 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20640 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20641 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20642 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20643 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20646 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20647 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20648 when handler == SIG_ERR, not when handler != SIG_ERR.
20650 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20652 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20653 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20656 accept4 for GNU Hurd.
20657 * include/sys/socket.h (__libc_accept4): New prototype.
20658 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20659 to implement __libc_accept4.
20660 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20662 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20664 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20665 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20666 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20667 signal-defines.sym.
20669 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20671 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20673 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20675 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20676 assertion on O_CLOEXEC flag.
20677 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20678 * hurd/intern-fd.c: Likewise.
20679 * hurd/port2fd.c: Likewise.
20681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20684 * bits/in.h (IPV6_PKTINFO): Define new macro.
20685 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20687 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20692 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20694 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20695 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20696 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20697 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20698 * math/libm-test.inc (logb_test) : Additional logb tests.
20700 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20701 Andreas Jaeger <aj@suse.de>
20703 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20704 * configure: Regenerated.
20705 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20706 * config.make.in (link-obsolete-rpc): New substituted variable.
20707 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20708 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20709 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20710 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20711 so that libc.a contains the symbols.
20712 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20713 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20714 * sunrpc/auth_none.c: Likewise.
20715 * sunrpc/auth_unix.c: Likewise.
20716 * sunrpc/authdes_prot.c: Likewise.
20717 * sunrpc/authuxprot.c: Likewise.
20718 * sunrpc/clnt_gen.c: Likewise.
20719 * sunrpc/clnt_perr.c: Likewise.
20720 * sunrpc/clnt_raw.c: Likewise.
20721 * sunrpc/clnt_simp.c: Likewise.
20722 * sunrpc/clnt_tcp.c: Likewise.
20723 * sunrpc/clnt_udp.c: Likewise.
20724 * sunrpc/clnt_unix.c: Likewise.
20725 * sunrpc/des_crypt.c: Likewise.
20726 * sunrpc/des_soft.c: Likewise.
20727 * sunrpc/get_myaddr.c: Likewise.
20728 * sunrpc/key_call.c: Likewise.
20729 * sunrpc/key_prot.c: Likewise.
20730 * sunrpc/netname.c: Likewise.
20731 * sunrpc/pm_getmaps.c: Likewise.
20732 * sunrpc/pm_getport.c: Likewise.
20733 * sunrpc/pmap_clnt.c: Likewise.
20734 * sunrpc/pmap_prot.c: Likewise.
20735 * sunrpc/pmap_prot2.c: Likewise.
20736 * sunrpc/pmap_rmt.c: Likewise.
20737 * sunrpc/publickey.c: Likewise.
20738 * sunrpc/rpc_cmsg.c: Likewise.
20739 * sunrpc/rpc_common.c: Likewise.
20740 * sunrpc/rpc_dtable.c: Likewise.
20741 * sunrpc/rpc_prot.c: Likewise.
20742 * sunrpc/rpc_thread.c: Likewise.
20743 * sunrpc/rtime.c: Likewise.
20744 * sunrpc/svc.c: Likewise.
20745 * sunrpc/svc_auth.c: Likewise.
20746 * sunrpc/svc_raw.c: Likewise.
20747 * sunrpc/svc_run.c: Likewise.
20748 * sunrpc/svc_tcp.c: Likewise.
20749 * sunrpc/svc_udp.c: Likewise.
20750 * sunrpc/svc_unix.c: Likewise.
20751 * sunrpc/svcauth_des.c: Likewise.
20752 * sunrpc/xcrypt.c: Likewise.
20753 * sunrpc/xdr.c: Likewise.
20754 * sunrpc/xdr_array.c: Likewise.
20755 * sunrpc/xdr_float.c: Likewise.
20756 * sunrpc/xdr_intXX_t.c: Likewise.
20757 * sunrpc/xdr_mem.c: Likewise.
20758 * sunrpc/xdr_rec.c: Likewise.
20759 * sunrpc/xdr_ref.c: Likewise.
20760 * sunrpc/xdr_sizeof.c: Likewise.
20761 * sunrpc/xdr_stdio.c: Likewise.
20763 2012-05-10 Roland McGrath <roland@hack.frob.com>
20765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20766 change. Update copyright years.
20768 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20770 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20772 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20773 Joseph Myers <joseph@codesourcery.com>
20774 Paul Pluzhnikov <ppluzhnikov@google.com>
20777 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20779 [cross-compiling] (extra-libs): Likewise.
20780 [cross-compiling] (extra-libs-others): Likewise.
20781 [cross-compiling] (librpcsvc-routines): Likewise.
20782 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20783 [cross-compiling] (omit-deps): Likewise.
20784 (sunrpc-CPPFLAGS): New variable.
20785 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20786 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20787 (cross-rpcgen-objs): New variable.
20788 (extra-objs): Append $(cross-rpcgen-objs).
20789 ($(cross-rpcgen-objs)): New rule.
20790 ($(objpfx)cross-rpcgen): Likewise.
20791 (rpcgen-cmd): Define to use $(built-program-file). Expand
20793 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20794 ($(objpfx)x%.stmp): Likewise.
20795 * sunrpc/proto.h [IS_IN_build] (_): Define.
20796 [IS_IN_build] (_libc_intl_domainname): Likewise.
20798 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20801 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20802 and R_X86_64_TPOFF64.
20804 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20806 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20807 sysdeps/unix/sysv/syscalls.list.
20810 * sysdeps/unix/sysv/syscalls.list: Remove file.
20812 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20815 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20816 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20817 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20818 (__LC_IDENTIFICATION): Make these macros useful in #if
20819 expressions, as required by C99.
20821 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20823 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20824 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20827 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20829 * stdlib/longlong.h: Updated from GCC.
20831 2012-05-09 Andreas Jaeger <aj@suse.de>
20833 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20834 default is first entry.
20835 (run_mode): Set type.
20836 (main): Remove informal message about syslog.
20837 (options): Fix typo.
20840 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20843 (llrintf): Likewise.
20844 (llrint): Likewise.
20847 (nearbyint): Likewise.
20848 (nearbyintf): Likewise.
20850 2012-05-09 Andreas Jaeger <aj@suse.de>
20851 Pedro Alves <palves@redhat.com>
20853 * nscd/nscd.c (run_mode): Use enum.
20854 (main): Cleanup coding style issue.
20856 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20857 Andreas Jaeger <aj@suse.de>
20859 * nscd/nscd.c (go_background): Replaced with...
20860 (run_mode): ... this.
20861 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20862 (options): Add -F --foreground.
20863 (main): Implement it.
20864 (parse_opt): Parse it.
20866 2012-05-09 Andreas Jaeger <aj@suse.de>
20869 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20870 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20871 -Wconversion warning.
20872 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20875 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20877 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20879 (LC_ALL): Use macro-int-constant.
20880 (LC_COLLATE): Likewise.
20881 (LC_CTYPE): Likewise.
20882 (LC_MESSAGES): Likewise.
20883 (LC_MONETARY): Likewise.
20884 (LC_NUMERIC): Likewise.
20885 (LC_TIME): Likewise.
20886 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20887 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20889 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20891 [C99-based standards] (float_t): Expect type.
20892 [C99-based standards] (double_t): Expect type.
20893 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20895 [C99-based standards] (HUGE_VALL): Likewise.
20896 [C99-based standards] (INFINITY): Likewise.
20897 [C99-based standards] (NAN): Likewise.
20898 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20899 [C99-based standards] (FP_NAN): Likewise.
20900 [C99-based standards] (FP_NORMAL): Likewise.
20901 [C99-based standards] (FP_SUBNORMAL): Likewise.
20902 [C99-based standards] (FP_ZERO): Likewise.
20903 [C99-based standards] (FP_FAST_FMA): Use
20904 optional-macro-int-constant. Specify type. Require == 1.
20905 [C99-based standards] (FP_FAST_FMAF): Likewise.
20906 [C99-based standards] (FP_FAST_FMAL): Likewise.
20907 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20908 [C99-based standards] (FP_ILOGBNAN): Likewise.
20909 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20911 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20912 [C99-based standards] (math_errhandling): Specify type.
20913 [ISO99 || ISO11] (signgam): Do not allow.
20914 [non-C99-based standards] (copysignf): Do not allow.
20915 [non-C99-based standards] (exp2f): Likewise.
20916 [non-C99-based standards] (log2f): Likewise.
20917 [non-C99-based standards] (modff): Allow.
20918 [non-C99-based standards] (erff): Do not allow.
20919 [non-C99-based standards] (erfcf): Likewise.
20920 [non-C99-based standards] (gammaf): Likewise.
20921 [non-C99-based standards] (hypotf): Likewise.
20922 [non-C99-based standards] (j0f): Likewise.
20923 [non-C99-based standards] (j1f): Likewise.
20924 [non-C99-based standards] (jnf): Likewise.
20925 [non-C99-based standards] (lgammaf): Likewise.
20926 [non-C99-based standards] (tgammaf): Likewise.
20927 [non-C99-based standards] (y0f): Likewise.
20928 [non-C99-based standards] (y1f): Likewise.
20929 [non-C99-based standards] (ynf): Likewise.
20930 [non-C99-based standards] (isnanf): Likewise.
20931 [non-C99-based standards] (acoshf): Likewise.
20932 [non-C99-based standards] (asinhf): Likewise.
20933 [non-C99-based standards] (atanhf): Likewise.
20934 [non-C99-based standards] (cbrtf): Likewise.
20935 [non-C99-based standards] (expm1f): Likewise.
20936 [non-C99-based standards] (ilogbf): Likewise.
20937 [non-C99-based standards] (log1pf): Likewise.
20938 [non-C99-based standards] (logbf): Likewise.
20939 [non-C99-based standards] (nextafterf): Likewise.
20940 [non-C99-based standards] (remainderf): Likewise.
20941 [non-C99-based standards] (rintf): Likewise.
20942 [non-C99-based standards] (scalbf): Likewise.
20943 [non-C99-based standards] (copysignl): Likewise.
20944 [non-C99-based standards] (exp2l): Likewise.
20945 [non-C99-based standards] (log2l): Likewise.
20946 [non-C99-based standards] (modfl): Allow.
20947 [non-C99-based standards] (erfl): Do not allow.
20948 [non-C99-based standards] (erfcl): Likewise.
20949 [non-C99-based standards] (gammal): Likewise.
20950 [non-C99-based standards] (hypotl): Likewise.
20951 [non-C99-based standards] (j0l): Likewise.
20952 [non-C99-based standards] (j1l): Likewise.
20953 [non-C99-based standards] (jnl): Likewise.
20954 [non-C99-based standards] (lgammal): Likewise.
20955 [non-C99-based standards] (tgammal): Likewise.
20956 [non-C99-based standards] (y0l): Likewise.
20957 [non-C99-based standards] (y1l): Likewise.
20958 [non-C99-based standards] (ynl): Likewise.
20959 [non-C99-based standards] (isnanl): Likewise.
20960 [non-C99-based standards] (acoshl): Likewise.
20961 [non-C99-based standards] (asinhl): Likewise.
20962 [non-C99-based standards] (atanhl): Likewise.
20963 [non-C99-based standards] (cbrtl): Likewise.
20964 [non-C99-based standards] (expm1l): Likewise.
20965 [non-C99-based standards] (ilogbl): Likewise.
20966 [non-C99-based standards] (log1pl): Likewise.
20967 [non-C99-based standards] (logbl): Likewise.
20968 [non-C99-based standards] (nextafterl): Likewise.
20969 [non-C99-based standards] (remainderl): Likewise.
20970 [non-C99-based standards] (rintl): Likewise.
20971 [non-C99-based standards] (scalbl): Likewise.
20972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20973 [non-C99-based standards] (FP_*): Do not allow.
20974 [C99-based standards] (FP_*): Change to
20975 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20976 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20978 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20979 (SIG_ERR): Likewise.
20980 [X/Open-based standards] (SIG_HOLD): Likewise.
20981 (SIG_IGN): Likewise.
20982 (SIGABRT): Use macro-int-constant. Specify type. Require
20984 (SIGFPE): Likewise.
20985 (SIGILL): Likewise.
20986 (SIGINT): Likewise.
20987 (SIGSEGV): Likewise.
20988 (SIGTER): Likewise.
20989 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20990 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20991 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20992 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20993 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20994 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20995 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20996 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20997 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20998 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20999 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21000 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21001 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21002 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21003 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21006 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21007 [X/Open-based standards] (SIGTRAP): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21012 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21015 2012-05-08 Ian Wienand <ianw@vmware.com>
21018 * time/tzset.c (__tzset_parse_tz): Update default rules for
21019 daylight time changes in the Energy Policy Act of 2005.
21021 2012-05-09 Andreas Jaeger <aj@suse.de>
21024 * elf/ldconfig.c (parse_conf): Change string to make clear that
21025 ldconfig only issued a warning if ld.so.conf does not exist.
21027 2012-05-08 David S. Miller <davem@davemloft.net>
21029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21030 movxtod instead of popping the value on the stack.
21032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21034 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21036 * config.h.in: Add HAVE_ARM_PCS_VFP.
21038 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21041 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21042 checking but the checks are disabled for any reason.
21044 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21046 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21047 and ELF64_R_TYPE with ELFW(R_TYPE).
21049 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21051 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21052 (ulimit): Likewise.
21054 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21055 (settimeofday): Likewise.
21057 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21059 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21060 a struct th_u2 inside the union, and move tu_block/tu_code into
21061 a new th_u3 union of tu_block/tu_code inside of that. Move
21062 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21063 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21064 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21065 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21066 (th_stuff): Change to th_u1.tu_stuff.
21068 (th_msg): Change to th_u1.th_u2.tu_data.
21070 2012-05-07 David S. Miller <davem@davemloft.net>
21072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21075 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21076 (SETUP_PIC_REG): Use it.
21077 (SETUP_PIC_REG_LEAF): Use it.
21079 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21085 (EXPL_FINITE): Likewise.
21086 (FLDLOG): Likewise.
21087 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21088 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21092 (EXPL_FINITE): Likewise.
21093 (FLDLOG): Likewise.
21094 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21095 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21097 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21098 test of -max_value argument for long double.
21099 * sysdeps/i386/fpu/libm-test-ulps: Update.
21100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21102 2012-05-06 David S. Miller <davem@davemloft.net>
21104 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21105 quad soft-float symbols whose references which are compiler
21107 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21109 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21113 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21115 (EXPL_FINITE): Likewise.
21116 (FLDLOG): Likewise.
21119 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21120 Adjust comments for base varying.
21121 (__expl_finite): Change alias to EXPL_FINITE.
21122 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21124 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21125 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21127 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21130 (EXPL_FINITE): Likewise.
21131 (FLDLOG): Likewise.
21134 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21135 Adjust comments for base varying.
21136 (__expl_finite): Change alias to EXPL_FINITE.
21137 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21142 * math/libm-test.inc (check_float_internal): Correct ulp
21143 calculation for subnormal expected results.
21145 2012-05-06 Andreas Jaeger <aj@suse.de>
21147 * Makeconfig (+math-flags): New, set to -frounding-math.
21148 (+cflags): Add +math-flags so that all of glibc gets compiled with
21151 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21153 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21155 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21161 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21162 (__ieee754_expl): Allow for and saturate large arguments.
21163 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21164 (u_threshold): Likewise.
21165 (__exp): Call __ieee754_exp before checking for overflow and
21167 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21168 (u_threshold): Likewise.
21169 (__expf): Call __ieee754_expf before checking for overflow and
21171 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21172 (u_threshold): Likewise.
21173 (__expl): Call __ieee754_expl before checking for overflow and
21175 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21176 (__ieee754_expl): Allow for and saturate large arguments.
21177 * math/libm-test.inc (exp_test): Add another test. Do not allow
21178 missing overflow exception on overflow.
21179 (expm1_test): Do not allow missing overflow exception on overflow.
21181 * sysdeps/i386/fpu/e_expl.c: Move to ...
21182 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21183 rather than using inline asm.
21184 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21185 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21186 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21188 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21191 (signal): Likewise.
21195 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21197 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21198 sysdeps/unix/common/syscalls.list.
21199 (fchmod): Likewise.
21200 (fchown): Likewise.
21201 (ftruncate): Likewise.
21202 (getrusage): Likewise.
21203 (gettimeofday): Likewise.
21204 (setpgid): Likewise.
21205 (setregid): Likewise.
21206 (setreuid): Likewise.
21207 (sigaction): Likewise.
21208 (truncate): Likewise.
21209 (vhangup): Likewise.
21210 * sysdeps/unix/common/syscalls.list: Remove file.
21211 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21212 * sysdeps/unix/sysv/linux/Implies: Likewise.
21214 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21216 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21218 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21222 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21225 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21228 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21231 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21234 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21237 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21240 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21244 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21248 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21251 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21255 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21259 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21261 * sysdeps/unix/common/bits/dirent.h: Remove file.
21262 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21264 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21265 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21266 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21267 * sysdeps/unix/bsd/isatty.c: Likewise.
21268 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21269 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21270 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21272 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21276 long double comparison inaccuracies.
21277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21280 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21282 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21285 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21289 nonzero digits before rounding a hex value.
21290 * stdlib/tst-strtod.c (tests): Add another test.
21292 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21294 * sysdeps/s390/fpu/libm-test-ulps: Update.
21296 2012-05-03 Andreas Jaeger <aj@suse.de>
21298 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21299 does not get optimized out.
21300 (malloc_opt_barrier): New.
21302 2012-05-03 Andreas Jaeger <aj@suse.de>
21303 Roland McGrath <roland@hack.frob.com>
21305 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21306 intermediate file deletion.
21307 (generated): Add .symlist files.
21309 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21312 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21313 Redirect under this condition.
21314 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21315 [__USE_GNU] (__dprintf_chk): Not under this condition.
21316 [__USE_GNU] (__vdprintf_chk): Likewise.
21317 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21318 under this condition.
21319 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21320 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21321 [__USE_XOPEN2K8] (vdprintf): Likewise.
21322 [__USE_GNU] (__dprintf_chk): Not under this condition.
21323 [__USE_GNU] (__vdprintf_chk): Likewise.
21324 [__USE_GNU] (dprintf): Likewise.
21325 [__USE_GNU] (vdprintf): Likewise.
21327 2012-05-03 Roland McGrath <roland@hack.frob.com>
21329 * elf/Makefile (common-generated): Set this instead of generated for
21330 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21331 $(all-built-dso)-derived lists.
21333 2012-05-03 Andreas Jaeger <aj@suse.de>
21335 * sysdeps/i386/fpu/libm-test-ulps: Update.
21338 * FAQ.in: Likewise.
21339 * scripts/gen-FAQ.pl: Likewise.
21340 * manual/install.texi (Installation): Point to online location of
21342 * Makefile (files-for-dist): Remove FAQ.
21345 2012-05-02 Allan McRae <allan@archlinux.org>
21347 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21348 (LDFLAGS-reldepmod5.so): Likewise.
21349 (LDFLAGS-reldep6mod1.so): Likewise.
21350 (LDFLAGS-reldep6mod4.so): Likewise.
21351 (LDFLAGS-reldep8mod3.so): Likewise.
21352 (LDFLAGS-unload4mod1.so): Likewise.
21353 (LDFLAGS-unload4mod2.so): Likewise.
21354 (LDFLAGS-tst-initorder): Likewise.
21355 (LDFLAGS-tst-initordera2.so): Likewise.
21356 (LDFLAGS-tst-initordera3.so): Likewise.
21357 (LDFLAGS-tst-initordera4.so): Likewise.
21358 (LDFLAGS-tst-initorderb2.so): Likewise.
21359 (LDFLAGS-noload): Likewise.
21360 (LDFLAGS-next): Likewise.
21361 (LDFLAGS-order2mod1.so): Likewise.
21362 (LDFLAGS-order2mod2.so): Likewise.
21363 (LDFLAGS-tst-initorder2): Likewise.
21364 (LDFLAGS-tst-initorder2a.so): Likewise.
21365 (LDFLAGS-tst-initorder2b.so): Likewise.
21366 (LDFLAGS-tst-initorder2c.so): Likewise.
21367 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21369 2012-05-02 David S. Miller <davem@davemloft.net>
21371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21373 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21376 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21378 2012-05-02 Andreas Jaeger <aj@suse.de>
21380 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21381 since we manipulate rounding mode.
21382 (CPPFLAGS-test-idouble.c): Likewise.
21383 (CPPFLAGS-test-ifloat.c): Likewise.
21384 (CFLAGS-test-ldouble.c): Likewise.
21385 (CFLAGS-test-double.c): Likewise.
21386 (CFLAGS-test-float.c): Likewise.
21387 (CFLAGS-test-misc.c): Likewise.
21388 (CFLAGS-test-test-fenv.c): Likewise.
21390 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21394 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21395 comparisons to determine direction to adjust input.
21397 2012-05-01 Roland McGrath <roland@hack.frob.com>
21399 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21400 output to the target.
21402 * scripts/localplt.awk: New file.
21403 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21404 (check-localplt-CFLAGS): Variable removed.
21405 ($(all-built-dso:=.jmprel)): New static pattern rule.
21406 (generated): Add those targets.
21407 (localplt-built-dso): New variable.
21408 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21410 * elf/check-localplt.c: File removed.
21412 * scripts/check-execstack.awk: New file.
21413 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21414 (check-execstack-CFLAGS): Variable removed.
21415 ($(objpfx)check-execstack.h): Target removed.
21416 ($(objpfx)execstack-default): New target.
21417 (generated): Add that instead of check-execstack.h.
21418 ($(all-built-dso:=.phdr)): New static pattern rule.
21419 (generated): Add those targets.
21420 * elf/check-execstack.c: File removed.
21422 * scripts/check-textrel.awk: New file.
21423 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21424 (check-textrel-CFLAGS): Variable removed.
21425 (all-built-dso): Use := to define.o
21426 ($(all-built-dso:=.dyn)): New static pattern rule.
21427 (generated): Add those targets.
21428 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21429 * config.make.in (READELF): New substituted variable.
21430 * elf/check-textrel.c: File removed.
21432 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21434 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21436 * conform/data/ctype.h-data [C99-based standards] (isblank):
21438 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21439 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21441 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21442 Specify type. Require positive value.
21443 (EILSEQ): Likewise.
21444 (ERANGE): Likewise.
21445 [ISO || POSIX] (EILSEQ): Do not expect.
21446 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21447 Specify type. Require positive value.
21448 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21449 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21450 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21451 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21452 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21453 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21454 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21455 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21456 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21457 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21458 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21459 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21460 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21461 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21462 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21463 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21464 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21465 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21466 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21467 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21468 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21469 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21470 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21471 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21472 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21473 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21474 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21475 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21476 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21477 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21478 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21479 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21480 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21481 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21482 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21483 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21484 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21485 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21486 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21487 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21488 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21489 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21490 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21491 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21492 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21493 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21494 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21495 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21496 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21497 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21498 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21499 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21500 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21501 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21502 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21503 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21504 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21505 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21506 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21507 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21508 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21509 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21510 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21511 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21512 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21513 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21514 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21515 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21516 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21517 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21518 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21519 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21520 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21521 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21522 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21523 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21524 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21526 (FLT_ROUNDS): Expect as macro, not constant.
21527 (FLT_MANT_DIG): Use macro-int-constant.
21528 (DBL_MANT_DIG): Likewise.
21529 (LDBL_MANT_DIG): Likewise.
21530 (FLT_DIG): Likewise.
21531 (DBL_DIG): Likewise.
21532 (LDBL_DIG): Likewise.
21533 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21534 (DBL_MIN_EXP): Likewise.
21535 (LDBL_MIN_EXP): Likewise.
21536 (FLT_MAX_EXP): Use macro-int-constant.
21537 (DBL_MAX_EXP): Likewise.
21538 (LDBL_MAX_EXP): Likewise.
21539 (FLT_MAX_10_EXP): Likewise.
21540 (DBL_MAX_10_EXP): Likewise.
21541 (LDBL_MAX_10_EXP): Likewise.
21542 (FLT_MAX): Use macro-constant.
21543 (DBL_MAX): Likewise.
21544 (LDBL_MAX): Likewise.
21545 (FLT_EPSILON): Use macro-constant. Give upper bound.
21546 (DBL_EPSILON): Likewise.
21547 (LDBL_EPSILON): Likewise.
21548 (FLT_MIN): Likewise.
21549 (DBL_MIN): Likewise.
21550 (LDBL_MIN): Likewise.
21551 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21552 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21553 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21554 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21555 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21556 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21557 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21558 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21559 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21560 [ISO11] (FLT_TRUE_MIN): Likewise.
21561 [ISO11] (LDBL_TRUE_MIN): Likewise.
21562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21563 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21564 (SCHAR_MIN): Use macro-int-constant. Specify type.
21565 (SCHAR_MAX): Likewise.
21566 (UCHAR_MAX): Likewise.
21567 (CHAR_MIN): Likewise.
21568 (CHAR_MAX): Likewise.
21569 (MB_LEN_MAX): Use macro-int-constant.
21570 (SHRT_MIN): Use macro-int-constant. Specify type.
21571 (SHRT_MAX): Likewise.
21572 (USHRT_MAX): Likewise.
21573 (INT_MAX): Likewise.
21574 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21576 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21578 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21580 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21581 bound negative. Suffix upper bound with "L".
21582 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21584 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21586 [C99-based standards] (LLONG_MAX): Likewise.
21587 [C99-based standards] (ULLONG_MAX): Likewise.
21588 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21590 [ISO11] (max_align_t): Require type.
21591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21593 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21594 from $CFLAGS, without defining away __attribute__ calls.
21595 (checknamespace): Use $CFLAGS_namespace.
21597 * conform/conformtest.pl (@keywords): Only include C99 keywords
21598 for standards based on C99 or C11.
21600 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21602 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21605 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21606 usability of symbols in #if.
21608 * conform/conformtest.pl: If macro or constant types start
21609 "promoted:", expect the symbol to be of the following type
21610 promoted by the integer promotions.
21612 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21613 in one place. Also handle "macro-constant".
21615 * conform/conformtest.pl: Only accept expected macro values with
21616 "==". Parse all "macro" lines in one place.
21617 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21619 * conform/conformtest.pl: Handle braced types on "constant" lines
21620 instead of handling "typed-constant".
21621 * conform/data/signal.h-data: Use "constant" instead of
21624 * conform/conformtest.pl: Handle "optional-" at start of lines in
21625 one place rather than duplicating several cases. Handle each
21626 format of "macro" line with initial "optional-".
21628 * conform/conformtest.pl: Only accept expected constant or
21629 optional-constant values with "==". Parse all "constant" lines in
21630 one place. Parse all "optional-constant" lines in one place.
21631 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21632 * conform/data/fmtmsg.h-data: Likewise.
21633 * conform/data/netinet/in.h-data: Likewise.
21634 * conform/data/tar.h-data: Likewise.
21635 * conform/data/limits.h-data: Use "==" form on "constant" and
21636 "optional-constant" lines.
21638 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21639 Use -std=c99 for XOPEN2K.
21640 (@knownproblems): Remove.
21641 (newtoken): Don't check %isknown.
21643 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21644 Do not expect macro.
21645 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21646 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21647 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21648 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21649 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21650 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21651 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21652 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21653 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21654 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21655 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21656 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21657 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21658 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21659 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21660 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21661 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21662 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21663 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21664 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21665 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21666 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21667 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21668 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21669 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21670 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21671 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21672 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21673 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21674 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21675 [XPG3] (acosh): Likewise.
21676 [XPG3] (asinh): Likewise.
21677 [XPG3] (atanh): Likewise.
21678 [XPG3] (cbrt): Likewise.
21679 [XPG3] (expm1): Likewise.
21680 [XPG3] (ilogb): Likewise.
21681 [XPG3] (log1p): Likewise.
21682 [XPG3] (logb): Likewise.
21683 [XPG3] (nextafter): Likewise.
21684 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21685 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21686 [XPG3] (remainder): Likewise.
21687 [XPG3] (rint): Likewise.
21688 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21689 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21690 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21691 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21692 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21693 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21694 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21695 [UNIX98 || XOPEN2K] (scalb): Expect.
21696 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21697 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21698 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21699 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21700 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21701 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21702 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21703 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21704 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21705 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21706 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21707 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21708 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21709 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21710 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21711 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21712 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21713 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21714 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21715 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21716 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21717 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21718 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21719 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21720 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21721 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21722 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21723 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21724 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21725 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21726 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21727 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21728 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21729 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21730 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21731 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21732 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21733 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21734 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21735 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21736 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21737 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21738 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21739 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21740 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21741 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21742 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21743 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21744 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21745 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21746 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21747 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21748 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21749 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21750 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21751 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21752 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21753 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21754 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21755 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21756 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21757 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21758 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21759 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21760 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21761 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21762 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21763 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21764 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21765 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21766 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21767 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21768 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21769 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21770 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21771 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21772 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21773 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21774 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21775 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21776 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21777 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21778 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21779 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21780 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21781 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21782 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21783 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21784 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21785 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21786 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21787 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21788 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21789 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21790 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21791 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21792 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21793 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21794 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21795 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21796 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21797 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21798 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21799 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21800 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21801 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21802 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21803 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21804 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21805 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21806 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21807 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21808 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21809 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21810 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21811 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21812 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21813 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21814 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21815 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21816 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21817 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21818 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21819 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21820 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21821 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21822 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21823 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21824 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21825 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21826 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21827 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21828 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21829 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21830 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21831 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21832 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21834 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21835 _XOPEN_SOURCE_EXTENDED for XPG4.
21837 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21839 * Makeconfig (localtime): Remove variable.
21840 (inst_localtime-file): Likewise.
21842 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21863 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21867 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21868 comparisons to determine direction to adjust input.
21869 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21870 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21871 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21875 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21877 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21878 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21880 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21882 * math/libm-test.inc (nexttoward_test): Add more tests.
21884 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21887 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21888 in version GLIBC_2.1, not GLIBC_2.0.
21889 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21892 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21895 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21897 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21898 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21899 * math/libm-test.inc (acos_test): Add more tests.
21900 (asin_test): Likewise.
21901 * sysdeps/i386/fpu/libm-test-ulps: Update.
21902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21905 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21907 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21908 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21909 * math/libm-test.inc (acos_test_tonearest): New function.
21910 (acos_test_towardzero): Likewise.
21911 (acos_test_downward): Likewise.
21912 (acos_test_upward): Likewise.
21913 (asin_test_tonearest): Likewise.
21914 (asin_test_towardzero): Likewise.
21915 (asin_test_downward): Likewise.
21916 (asin_test_upward): Likewise.
21917 (main): Call the new functions.
21918 * sysdeps/i386/fpu/libm-test-ulps: Update.
21919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21923 * math/e_exp10.c: Include <float.h>.
21924 (__ieee754_exp10): Handle underflow here rather than multiplying
21925 large negative argument by M_LN10.
21926 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21928 * math/e_exp10l.c: Include <float.h>.
21929 (__ieee754_exp10l): Handle underflow here rather than multiplying
21930 large negative argument by M_LN10l.
21931 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21932 spurious overflow exception on underflow.
21934 2012-04-29 Marek Polacek <polacek@redhat.com>
21936 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21937 (__fortify_function): New macro.
21938 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21939 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21940 __extern_always_inline.
21941 * libio/bits/stdio2.h: Likewise.
21942 * libio/bits/stdio.h: Likewise.
21943 * string/string.h: Likewise.
21944 * string/bits/string3.h: Likewise.
21945 * include/stdio.h: Likewise.
21946 * stdlib/bits/stdlib.h: Likewise.
21947 * stdlib/stdlib.h: Likewise.
21948 * rt/bits/mqueue2.h: Likewise.
21949 * rt/mqueue.h: Likewise.
21950 * posix/bits/unistd.h: Likewise.
21951 * posix/unistd.h: Likewise.
21952 * io/bits/poll2.h: Likewise.
21953 * io/bits/fcntl2.h: Likewise.
21954 * io/fcntl.h: Likewise.
21955 * io/sys/poll.h: Likewise.
21956 * misc/bits/syslog.h: Likewise.
21957 * misc/bits/syslog-ldbl.h: Likewise.
21958 * misc/sys/syslog.h: Likewise.
21959 * socket/bits/socket2.h: Likewise.
21960 * socket/sys/socket.h: Likewise.
21961 * debug/tst-chk1.c: Likewise.
21962 * wcsmbs/bits/wchar2.h: Likewise.
21963 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21964 * wcsmbs/wchar.h: Likewise.
21966 2012-04-29 Andreas Jaeger <aj@suse.de>
21968 * Makerules (tests): Remove enable-check-abi protection.
21969 (check-abi-warn): Remove.
21970 (check-abi-%): Remove check-abi-warn usage.
21972 * configure.in: Remove check-abi configure option.
21973 * configure: Regenerated.
21974 * config.make.in (enable-check-abi): Remove.
21976 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21979 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21980 double functions to double *_finite functions.
21983 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21984 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21986 * stdio-common/Makefile (tests): Add tst-sprintf3.
21987 * stdio-common/tst-sprintf3.c: New file.
21989 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21990 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21992 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21994 * conform/conformtest.pl: Remove duplicate typed-constant
21997 2012-04-28 David S. Miller <davem@davemloft.net>
21999 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22000 (check-abi-%): Remove AWK script prerequisite and explicit
22002 (check-abi): Rewrite to just diff the symlist with the abilist.
22003 (config-tls, config-abi-config): Delete, no longer used.
22004 (update-abi-%): Remove AWK script and explicit abilist directory.
22005 (update-abi): Rewrite to simply compare and conditionally copy the
22006 symlist and the sysdep abilist file. Remove update-abi-config
22008 * abilist/ld.abilist: Remove.
22009 * abilist/libBrokenLocale.abilist: Remove.
22010 * abilist/libanl.abilist: Remove.
22011 * abilist/libcrypt.abilist: Remove.
22012 * abilist/libdl.abilist: Remove.
22013 * abilist/librt.abilist: Remove.
22014 * abilist/libthread_db.abilist: Remove.
22015 * abilist/libutil.abilist: Remove.
22016 * scripts/extract-abilist.awk: Remove.
22017 * scripts/merge-abilist.awk: Remove.
22018 * sysdeps/generic/libcidn.abilist: New file.
22019 * sysdeps/generic/libnss_compat.abilist: New file.
22020 * sysdeps/generic/libnss_db.abilist: New file.
22021 * sysdeps/generic/libnss_dns.abilist: New file.
22022 * sysdeps/generic/libnss_files.abilist: New file.
22023 * sysdeps/generic/libnss_hesiod.abilist: New file.
22024 * sysdeps/generic/libnss_nis.abilist: New file.
22025 * sysdeps/generic/libnss_nisplus.abilist: New file.
22026 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22027 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22028 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22030 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22031 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22032 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22033 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22034 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22035 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22036 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22037 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22038 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22040 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22041 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22042 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22043 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22045 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22046 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22047 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22048 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22049 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22050 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22052 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22053 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22054 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22056 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22159 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22160 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22161 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22163 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22164 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22165 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22166 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22167 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22168 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22169 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22170 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22171 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22172 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22224 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22226 * conform/conformtest.pl: Fix typo in handling typed-constant from
22229 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22231 * README: Cut down references to pre-2.6 Linux kernels and
22232 Linuxthreads. Update lists of configurations in libc and ports
22233 and sort alphabetically. Say "or newer" with Linux kernel version
22236 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22238 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22241 * math/libm-test.inc (logb_test_downward): New test to expose
22242 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22245 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22248 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22250 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22251 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22253 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22255 * sysdeps/unix/i386/brk.S: Remove file.
22256 * sysdeps/unix/i386/dl-brk.S: Likewise.
22257 * sysdeps/unix/i386/pipe.S: Likewise.
22258 * sysdeps/unix/i386/sigreturn.S: Likewise.
22259 * sysdeps/unix/i386/syscall.S: Likewise.
22260 * sysdeps/unix/i386/vfork.S: Likewise.
22261 * sysdeps/unix/i386/wait.S: Likewise.
22263 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22264 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22266 * configure.in (arm*-none*): Do not allow without
22267 --enable-hacker-mode.
22268 (netbsd*): Remove case setting base_os.
22269 (386bsd*): Likewise.
22270 (freebsd*): Likewise.
22273 (sunos*): Likewise.
22274 (ultrix*): Likewise.
22275 (newsos*): Likewise.
22276 (dynix*): Likewise.
22282 (minix*): Likewise.
22283 (irix4*): Likewise.
22284 (irix6*): Likewise.
22285 (solaris[2-9]*): Likewise.
22287 * configure: Regenerated.
22289 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22292 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22293 overflow or cancellation in calculating denominator.
22294 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22295 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22296 down expression to avoid unexpected rounding in newer GCCs.
22297 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22299 2012-04-26 David S. Miller <davem@davemloft.net>
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22302 long-double compat symbols.
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22317 2012-04-25 David S. Miller <davem@davemloft.net>
22319 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22320 HWCAP_* values only after the memory barriers have been defined.
22321 (atomic_full_barrier): Define.
22322 (atomic_read_barrier): Define.
22323 (atomic_write_barrier): Define.
22325 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22327 * shlib-versions: Add libgcc_s version information.
22328 * sysdeps/generic/libgcc_s.h: Remove.
22329 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22331 * sysdeps/gnu/unwind-resume.c: Likewise.
22332 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22334 2012-04-25 David S. Miller <davem@davemloft.net>
22336 * sysdeps/unix/sparc/brk.S: Delete.
22337 * sysdeps/unix/sparc/dl-brk.S: Delete.
22338 * sysdeps/unix/sparc/pipe.S: Delete.
22339 * sysdeps/unix/sparc/sysdep.S: Delete.
22340 * sysdeps/unix/sparc/sysdep.h: Delete.
22341 * sysdeps/unix/sparc/vfork.S: Delete.
22342 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22343 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22345 ret_ERRVAL, r0, r1, MOVE): Define.
22346 (JUMPTARGET): Remove.
22347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22348 sysdeps/unix/sparc/sysdep.h
22349 (ENTRY, END): Remove.
22350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22352 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22354 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22355 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22358 * timezone/README: Update upstream location and email address for
22360 * timezone/zdump.c: Update from tzcode 2012b.
22361 * timezone/zic.c: Likewise.
22363 * configure.in (libc_cv_as_needed): Remove test.
22364 * configure: Regenerated.
22365 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22366 conditional definition.
22367 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22368 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22369 * config.make.in (have-as-needed): Remove variable.
22371 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22372 Paul Pluzhnikov <ppluzhnikov@google.com>
22374 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22377 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22379 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22380 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22381 * sysdeps/sh/strlen.S: Likewise.
22383 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22385 * sysdeps/unix/fork.S: Remove file.
22386 * sysdeps/unix/i386/fork.S: Likewise.
22387 * sysdeps/unix/sparc/fork.S: Likewise.
22389 * sysdeps/unix/system.c: Remove file.
22390 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22392 * sysdeps/unix/getegid.S: Remove file.
22393 * sysdeps/unix/geteuid.S: Likewise.
22395 2012-04-24 Roland McGrath <roland@hack.frob.com>
22397 * scripts/check-localplt.awk: New file.
22398 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22400 * scripts/data/localplt-generic.data: Add a comment.
22402 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22403 NODE when __dir_mkfile failed.
22404 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22405 Reported by Ludovic Courtès <ludo@gnu.org>.
22407 2012-04-24 Andreas Jaeger <aj@suse.de>
22409 * Makerules (common-clean): Also remove gen-as-const-headers
22412 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22414 * Makerules (native-compile): Do not change working directory for
22415 build. Use $(OUTPUT_OPTION) in command.
22416 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22418 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22421 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22422 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22423 * math/libm-test.inc (floor_test): Add more tests.
22424 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22426 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22428 * sysdeps/unix/getdents.c: Remove file.
22429 * sysdeps/unix/sysv/getdents.c: Likewise.
22430 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22432 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22433 sysdeps/unix/mman/syscalls.list.
22435 (mprotect): Likewise.
22437 (munmap): Likewise.
22438 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22439 * sysdeps/unix/mman/syscalls.list: Remove.
22440 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22442 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22443 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22444 * configure: Regenerated.
22445 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22446 $(libgcc_s_suffix).
22447 * config.make.in (libgcc_s_suffix): Remove variable.
22449 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22451 * sysdeps/unix/sysv/gethostname.c: Move to ...
22452 * sysdeps/posix/gethostname.c: ... here.
22454 * sysdeps/unix/execve.S: Remove file.
22456 * sysdeps/unix/_exit.S: Remove file.
22458 2012-04-23 Andreas Jaeger <aj@suse.de>
22461 * manual/Makefile: Remove make dist support, there's no
22462 need for a stand-alone documentation tar ball.
22463 (TEXI2DVI): Define always, it's not in Makeconfig.
22466 (edition): Removed.
22467 (glibc-doc-$(edition).tar): Removed
22471 (ETAGS): Remove, it's in Makeconfig.
22472 (move-if-change): Remove, it's in Makeconfig.
22474 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22477 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22478 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22479 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22480 (strtod_l, strtof_l, strtold_l): Remove __wur.
22481 It is not necessarily an error to ignore strtol's return value.
22482 One can reliably look at the stored endptr to decide whether
22483 the number had valid syntax.
22485 2012-04-21 Andreas Jaeger <aj@suse.de>
22488 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22490 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22493 * sysdeps/unix/sysv/Versions: Remove file.
22495 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22500 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22503 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22504 version from __vm86.
22506 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22508 * sysdeps/unix/common/lxstat.c: Remove file.
22509 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22511 * sysdeps/unix/sysv/Makefile: Remove file.
22513 * sysdeps/unix/sysv/direct.h: Remove file.
22515 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22516 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22517 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22518 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22519 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22520 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22521 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22523 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22525 * sysdeps/unix/xmknod.c: Remove file.
22526 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22528 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22530 * sysdeps/unix/sysv/i386/time.S: Remove file.
22532 * sysdeps/unix/fxstat.c: Remove file.
22533 * sysdeps/unix/xstat.c: Likewise.
22534 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22536 * sysdeps/unix/sysv/sigaction.c: Remove file.
22538 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22539 (sysdep_headers): Remove variable.
22540 [termio.h not in sysdep_headers] (generated): Likewise.
22541 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22542 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22543 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22544 * sysdeps/unix/sysv/tcflow.c: Likewise.
22545 * sysdeps/unix/sysv/tcflush.c: Likewise.
22546 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22547 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22548 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22549 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22550 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22552 * sysdeps/unix/siglist.c: Remove file.
22554 * sysdeps/unix/getppid.S: Remove file.
22556 * sysdeps/unix/mkdir.c: Remove file.
22557 * sysdeps/unix/rmdir.c: Likewise.
22559 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22561 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22563 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22564 errlist-compat value.
22566 2012-04-18 David S. Miller <davem@davemloft.net>
22568 * sysdeps/generic/memcopy.h (reg_char): Delete.
22569 * debug/strcat_chk.c: Use char, not reg_char.
22570 * debug/strcpy_chk.c: Likewise.
22571 * debug/strncat_chk.c: Likewise.
22572 * debug/strncpy_chk.c: Likewise.
22573 * string/memchr.c: Likewise.
22574 * string/memrchr.c: Likewise.
22575 * string/rawmemchr.c: Likewise.
22576 * string/strcat.c: Likewise.
22577 * string/strchr.c: Likewise.
22578 * string/strchrnul.c: Likewise.
22579 * string/strcmp.c: Likewise.
22580 * string/strcpy.c: Likewise.
22581 * string/strncat.c: Likewise.
22582 * string/strncmp.c: Likewise.
22583 * string/strncpy.c: Likewise.
22585 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22587 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22588 __builtin_memcopy is called when src and dest ranges are known to not
22591 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22594 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22595 fwd_align_merge macro call.
22596 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22597 bwd_align_merge macro call.
22598 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22600 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22602 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22603 bwd_align_merge macros.
22604 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22605 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22606 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22608 2012-04-18 David S. Miller <davem@davemloft.net>
22610 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22612 2012-04-18 Andreas Jaeger <aj@suse.de>
22615 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22616 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22617 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22619 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22620 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22621 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22623 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22624 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22625 Adjust for changed ldbl-128 files.
22627 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22628 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22629 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22631 2012-04-17 David S. Miller <davem@davemloft.net>
22633 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22635 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22637 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22638 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22639 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22640 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22641 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22642 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22644 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22647 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22648 * math/libm-test.inc: Add ilogb errno and exception tests.
22649 * math/w_ilogb.c: New file: ilogb wrapper.
22650 * math/w_ilogbf.c: New file: ilogbf wrapper.
22651 * math/w_ilogbl.c: New file: ilogbl wrapper.
22652 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22653 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22654 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22655 exception being thrown with 0.0 as argument.
22656 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22657 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22658 exception being thrown with 0.0 as argument.
22659 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22660 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22661 exception being thrown with 0.0 as argument.
22662 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22663 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22664 exception being thrown with 0.0 as argument.
22665 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22666 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22668 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22669 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22670 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22671 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22672 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22673 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22675 2012-04-17 Petr Baudis <pasky@ucw.cz>
22677 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22680 2012-04-16 Marek Polacek <polacek@redhat.com>
22682 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22684 2012-04-16 Marek Polacek <polacek@redhat.com>
22686 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22687 operands of fdivp instruction.
22689 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22691 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22692 * elf/tst-auditmod3b.c: Likewise.
22693 * elf/tst-auditmod4b.c: Likewise.
22694 * elf/tst-auditmod5b.c: Likewise.
22695 * elf/tst-auditmod6b.c: Likewise.
22696 * elf/tst-auditmod6c.c: Likewise.
22697 * elf/tst-auditmod7b.c: Likewise.
22698 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22699 * sysdeps/x86_64/preconfigure.in: Likewise.
22700 * sysdeps/x86_64/preconfigure: Regenerated.
22702 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22704 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22707 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22710 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22712 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22715 * locale/iso-639.def: Fix gl language name. Spotted by
22718 2012-04-12 Roland McGrath <roland@hack.frob.com>
22721 * libio/libio.h (__io_write_fn): Update comment.
22723 2012-04-12 Petr Baudis <pasky@ucw.cz>
22726 * stdio.texi (Hook Functions): The user provided writer function
22727 is not allowed to return -1.
22729 2012-04-11 David S. Miller <davem@davemloft.net>
22731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22733 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22735 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22736 Add a leading slash to rtkaio.
22738 2012-04-11 Jim Meyering <meyering@redhat.com>
22741 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22742 It is not necessarily an error to ignore fwrite's return
22743 value. One can reliably use ferror to test for errors after
22746 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22748 * bits/types.h (__snseconds_t): New type.
22749 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22751 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22753 (__SNSECONDS_T_TYPE): Likewise.
22754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22755 (__SNSECONDS_T_TYPE): Likewise.
22756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22757 (__SNSECONDS_T_TYPE): Likewise.
22759 2012-04-10 Andreas Jaeger <aj@suse.de>
22762 * manual/time.texi (Processor Time): Return type of times is
22763 elapsed real time since an arbitrary point in the past.
22764 (CPU Time): Move CLK_TCK from here...
22765 (Processor Time): ...to here. Correct description.
22766 * manual/conf.texi (Constants for Sysconf): Correct description of
22769 2012-04-10 David S. Miller <davem@davemloft.net>
22772 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22773 where the is a gap between DT_REL(A) and DT_JMPREL.
22775 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22777 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22778 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22779 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22781 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22783 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22784 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22785 (dl_main): Handle --inhibit-cache.
22786 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22788 * elf/dl-load.c (_dl_map_object): Use it.
22789 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22791 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22794 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22795 (__ieee754_powl): Saturate large exponents rather than testing for
22796 overflow of y*log2(x).
22797 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22798 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22802 * math/s_ctan.c: Include <float.h>.
22803 (__ctan): Avoid internal overflow or cancellation in calculating
22805 * math/s_ctanf.c: Likewise.
22806 * math/s_ctanl.c: Likewise.
22807 * math/s_ctanh.c: Likewise.
22808 * math/s_ctanhf.c: Likewise.
22809 * math/s_ctanhl.c: Likewise.
22810 * math/libm-test.inc (ctan_test): Add more tests.
22811 (ctanh_test): Likewise.
22812 * sysdeps/i386/fpu/libm-test-ulps: Update.
22813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22815 2012-04-09 Andreas Jaeger <aj@suse.de>
22818 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22819 is an optional BSD extension.
22822 * manual/stdio.texi (Opening Streams): Document additional fopen
22825 2012-04-09 Roland McGrath <roland@hack.frob.com>
22827 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22828 %eax without telling the compiler.
22830 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22833 * manual/install.texi: Use sourceware.org.
22835 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22838 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22839 (__ieee754_pow): Generate overflow and underflow using huge*huge
22840 and tiny*tiny rather than just returning constant infinity or zero
22841 for large exponents.
22842 * math/libm-test.inc (pow_test): Require overflow exceptions for
22843 applicable cases of large exponents.
22846 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22847 (__ieee754_pow): Use iterative multiplication algorithm only for
22848 integer exponents with absolute value below 1024. Check for odd
22849 integer exponents when using algorithm for real exponents.
22850 * math/libm-test.inc (pow_test): Add more tests.
22851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22853 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22856 * math/libm-test.inc (exp_test): Do not allow overflow exception
22859 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22862 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22863 instead of __kernel_standard_f.
22865 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22867 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22868 * sysdeps/x86_64/memset_chk.S: Likewise.
22870 2012-04-08 Andreas Jaeger <aj@suse.de>
22873 * manual/startup.texi (Environment Access): Describe return value
22874 for putenv and setenv.
22877 * manual/filesys.texi (Directory Entries): Add description for
22881 * manual/filesys.texi (Directory Entries): Clarify that it's file
22882 system not operating system in the description of DT_UNKNOWN.
22885 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22887 2012-04-08 Stephen Compall <s11@member.fsf.org>
22890 * manual/llio.texi (Opening and Closing Files): Add cross
22891 reference to explain mode argument.
22893 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22895 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22896 * sysdeps/x86_64/memset_chk.S: Likewise.
22898 2012-04-07 David S. Miller <davem@davemloft.net>
22900 * elf/elf.h (R_SPARC_WDISP10): Define.
22901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22904 R_SPARC_SIZE64 and R_SPARC_H34.
22906 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22909 conditions and remove no longer applicable assertion.
22911 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22913 * bits/byteswap.h: Include <features.h>.
22914 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22915 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22917 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22919 * bits/byteswap.h (__bswap_16): Removed.
22920 Include <bits/byteswap-16.h> to get __bswap_16.
22921 * sysdeps/i386/bits/byteswap.h: Likewise.
22922 * sysdeps/s390/bits/byteswap.h: Likewise.
22923 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22924 * bits/byteswap-16.h: New file.
22925 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22926 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22927 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22928 * string/Makefile (headers): Add bits/byteswap-16.h.
22930 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22933 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22935 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22936 * nss/tst-nss-static.c: New.
22938 2012-04-06 Robert Millan <rmh@gnu.org>
22941 * manual/llio.texi (File Position Primitive): lseek
22942 refers to WHENCE when it really means OFFSET.
22944 2012-04-06 Andreas Jaeger <aj@suse.de>
22946 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22947 strncmp declarations.
22949 * abilist/libc.abilist: Add __poll and __ppoll.
22951 2012-04-05 David S. Miller <davem@davemloft.net>
22953 * scripts/check-local-headers.sh: Accept a host triplet in the
22954 path matched by the exclude regexp.
22956 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22958 * sysdeps/powerpc/powerpc32/dl-machine.h
22959 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22960 * sysdeps/s390/s390-32/dl-machine.h
22961 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22962 * sysdeps/sparc/sparc32/dl-machine.h
22963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22964 * sysdeps/sparc/sparc64/dl-machine.h
22965 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22967 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22969 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22970 undefined symbol errors.
22972 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22975 2012-04-05 Michael Matz <matz@suse.de>
22978 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22980 2012-04-05 Andreas Jaeger <aj@suse.de>
22983 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22986 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22988 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22989 which ROUND is no valid rounding mode.
22991 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22993 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22995 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22997 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22999 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23000 an exception using FPU order intentionally.
23002 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23004 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23005 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23006 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23007 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23009 2012-04-05 Simon Josefsson <simon@josefsson.org>
23012 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23013 EINVAL when BUFLEN is too smal.
23015 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23018 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23019 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23021 2012-04-03 Andreas Jaeger <aj@suse.de>
23024 * manual/setjmp.texi (System V contexts): Fix sentence.
23027 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23028 New macro for this case.
23029 [!__GNUC__] (__bswap_64): New inline function for this case.
23030 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23031 * bits/byteswap.h: Likewise.
23032 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23033 ull, guard with __GLIBC_HAVE_LONG_LONG.
23035 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23036 __GLIBC_HAVE_LONG_LONG.
23038 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23039 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23041 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23044 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23045 inptr and inend, rather than using last_ch.
23047 2012-04-02 David S. Miller <davem@davemloft.net>
23049 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23050 * stdio-common/printf-parse.h (read_int): Change return type to
23051 'int', return -1 on INT_MAX overflow.
23052 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23053 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23054 overflows INT_MAX. Check for overflow of in-format-string precision
23055 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23056 SIZE_MAX not INT_MAX for integer overflow test.
23057 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23058 skip the construct in the format string but do not record anything.
23059 * stdio-common/bug22.c: Adjust to test both width/prevision
23060 INT_MAX overflow as well as total length INT_MAX overflow. Check
23061 explicitly for proper errno values.
23063 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23065 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23067 * string/test-strcmp.c [! WIDE]: Likewise.
23068 * time/tst-mktime2.c: Likewise for INT_MAX.
23069 * string/test-string.h: #include <sys/param.h> for MIN.
23071 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23072 * sysdeps/i386/init-first.c (init): Likewise.
23073 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23074 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23075 * sysdeps/sh/init-first.c (init): Likewise.
23077 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23079 * po/ru.po: Update from translation team.
23080 * po/vi.po: Likewise.
23082 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23084 * resolv/nss_dns/dns-host.c: Merge copyright years.
23086 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23089 Optimize memcpy with prefetch if
23090 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23091 src, dst pointers have unequal 16 byte alignments.
23093 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23096 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23097 from a CNAME entry and return the minimum ttl for the query.
23098 (gaih_getanswer_slice): Likewise.
23100 2012-03-30 Jeff Law <law@redhat.com>
23102 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23104 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23105 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23107 * resolv/nss_dns/dns-host.c: Update copyright year.
23109 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23111 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23112 requests to save a system call. Fix check that all bytes are sent.
23114 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23115 comments for sendmmsg.
23117 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23120 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23121 with only 1 character between 0x0041 and 0x01b0.
23122 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23123 * wcsmbs/tst-mbsnrtowcs.c: New file.
23125 2012-03-29 David S. Miller <davem@davemloft.net>
23127 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23128 small copies by hand.
23130 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23133 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23134 _nss_compat_initgroups_dyn): Fall back to malloc/free
23135 for large group memberships.
23137 2012-03-28 David S. Miller <davem@davemloft.net>
23139 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23140 that branches into memcpy.
23141 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23144 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23147 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23148 implementation too.
23149 * sysdeps/sparc/mempcpy.S: New file.
23151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23152 the IFUNC routine in the libc case.
23153 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23155 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23156 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23157 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23158 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23159 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23160 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23161 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23162 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23164 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23165 loop to 256 bytes instead of 64 bytes and fix test signedness.
23167 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23168 * sysdeps/sparc/sparc32/Makefile: rather than here...
23169 * sysdeps/sparc/sparc64/Makefile: and here.
23171 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23173 * malloc/mallocbug.c: Avoid warnings about unused variables.
23175 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23178 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23179 in the right place. Discard and retry query if response is
23180 larger than input buffer size.
23182 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23187 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23188 x for large integer exponent.
23189 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23190 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23191 sign of result as needed afterwards.
23192 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23193 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23194 result for underflowing pow the same as for overflow.
23195 (__kernel_standard_l): Handle powl overflow and underflow here
23196 rather than calling __kernel_standard.
23197 * math/libm-test.inc (pow_test): Add more tests.
23212 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23213 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23214 (__kernel_standard_l): New function.
23215 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23217 * math/w_acosl.c (__acosl): Likewise.
23218 * math/w_asinl.c (__asinl): Likewise.
23219 * math/w_atan2l.c (__atan2l): Likewise.
23220 * math/w_atanhl.c (__atanhl): Likewise.
23221 * math/w_coshl.c (__coshl): Likewise.
23222 * math/w_exp10l.c (__exp10l): Likewise.
23223 * math/w_exp2l.c (__exp2l): Likewise.
23224 * math/w_fmodl.c (__fmodl): Likewise.
23225 * math/w_hypotl.c (__hypotl): Likewise.
23226 * math/w_j0l.c (__j0l, __y0l): Likewise.
23227 * math/w_j1l.c (__j1l, __y1l): Likewise.
23228 * math/w_jnl.c (__jnl, __ynl): Likewise.
23229 * math/w_lgammal.c (__lgammal): Likewise.
23230 * math/w_log10l.c (__log10l): Likewise.
23231 * math/w_log2l.c (__log2l): Likewise.
23232 * math/w_logl.c (__logl): Likewise.
23233 * math/w_powl.c (__powl): Likewise.
23234 * math/w_remainderl.c (__remainderl): Likewise.
23235 * math/w_scalbl.c (sysv_scalbl): Likewise.
23236 * math/w_sinhl.c (__sinhl): Likewise.
23237 * math/w_sqrtl.c (__sqrtl): Likewise.
23238 * math/w_tgammal.c (__tgammal): Likewise.
23239 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23240 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23241 * math/libm-test.inc (acos_test): Add more tests.
23242 (acosh_test): Likewise.
23243 (asin_test): Likewise.
23244 (atanh_test): Likewise.
23245 (exp_test): Likewise.
23246 (exp10_test): Likewise.
23247 (exp2_test): Likewise.
23248 (expm1_test): Likewise.
23249 (lgamma_test): Likewise.
23250 (log_test): Likewise.
23251 (log10_test): Likewise.
23252 (log1p_test): Likewise.
23253 (log2_test): Likewise.
23254 (pow_test): Do not allow some spurious overflow exceptions.
23255 (sqrt_test): Add more tests.
23256 (tgamma_test): Likewise.
23257 (y0_test): Likewise.
23258 (y1_test): Likewise.
23259 (yn_test): Likewise.
23261 2012-03-27 Anton Blanchard <anton@samba.org>
23263 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23269 2012-03-27 David S. Miller <davem@davemloft.net>
23271 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23273 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23274 have-as-vis3 check.
23276 2012-03-27 Andreas Jaeger <aj@suse.de>
23278 * sysdeps/x86_64/elf/configure.in: Moved to ...
23279 * sysdeps/x86_64/configure.in: ... here.
23280 * sysdeps/x86_64/elf/start.S: Moved to ...
23281 * sysdeps/x86_64/start.S: ... here.
23282 * sysdeps/x86_64/elf/configure: Delete.
23284 * sysdeps/x86_64/configure.in: Merge contents from
23285 sysdeps/i386/configure.in (without i686 check).
23287 * sysdeps/i386/elf/Versions: Merge into ...
23288 * sysdeps/i386/Versions: ... this.
23289 * sysdeps/i386/elf/Versions: Delete file.
23290 * sysdeps/i386/elf/start.S: Moved to ...
23291 * sysdeps/i386/start.S: ...here.
23292 * sysdeps/i386/elf/configure.in: Merge into...
23293 * sysdeps/i386/configure.in: ...here.
23294 * sysdeps/i386/elf/configure.in: Delete file.
23295 * sysdeps/i386/elf/configure: Delete file.
23297 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23298 * debug/backtracesyms.c: ... here.
23299 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23300 * debug/backtracesymsfd.c: ... here.
23301 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23302 * sysdeps/generic/ifunc-sel.h: ... here.
23304 * sysdeps/unix/i386/start.c: Delete file.
23305 * sysdeps/unix/sparc/start.c: Delete file.
23306 * sysdeps/unix/start.c: Delete file.
23308 * sysdeps/sh/elf/configure.in: Moved to ...
23309 * sysdeps/sh/configure.in: ... here.
23310 * sysdeps/sh/elf/start.S: Moved to ...
23311 * sysdeps/sh/start.S: ... here.
23312 * sysdeps/sh/elf/configure: Delete file.
23314 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23315 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23316 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23317 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23318 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23319 * sysdeps/powerpc/powerpc64/start.S: here.
23320 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23321 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23322 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23323 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23324 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23326 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23327 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23328 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23329 * sysdeps/powerpc/powerpc32/start.S: ... here.
23330 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23331 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23332 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23334 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23335 * sysdeps/powerpc/ifunc-sel.h: ... here.
23336 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23337 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23339 * sysdeps/sparc/elf/configure.in: Moved to ...
23340 * sysdeps/sparc/configure.in: ... here.
23341 * sysdeps/sparc/elf/configure: Delete file.
23342 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23343 * sysdeps/sparc/sparc32/start.S: ... here.
23344 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23345 * sysdeps/sparc/sparc64/start.S: ... here.
23346 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23347 * sysdeps/sparc/sparc32/Makefile: ... this.
23348 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23349 * sysdeps/sparc/sparc64/Makefile: ... this.
23351 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23352 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23353 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23354 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23355 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23356 * sysdeps/s390/s390-32/setjmp.S: ... here.
23357 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23358 * sysdeps/s390/s390-32/configure.in: ... here.
23359 * sysdeps/s390/s390-32/elf/configure: Delete file.
23360 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23361 * sysdeps/s390/s390-32/start.S: ... here.
23363 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23364 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23365 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23366 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23367 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23368 * sysdeps/s390/s390-64/setjmp.S: ... here.
23369 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23370 * sysdeps/s390/s390-64/configure.in: ... here
23371 * sysdeps/s390/s390-64/elf/configure: Delete file.
23372 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23373 * sysdeps/s390/s390-64/start.S: ... here.
23374 * sysdeps/s390/s390-64/elf/configure: Delete.
23376 * configure.in: Remove support for elf directories in sysdeps.
23378 * configure: Regenerated.
23379 * sysdeps/i386/configure: Regenerated.
23380 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23381 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23382 * sysdeps/s390/s390-32/configure: Regenerated.
23383 * sysdeps/s390/s390-64/configure: Regenerated.
23384 * sysdeps/sh/configure: Regenerated.
23385 * sysdeps/sparc/configure: Regenerated.
23386 * sysdeps/x86_64/configure: Regenerated.
23388 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23393 denormal result into account.
23395 2012-03-25 Roland McGrath <roland@hack.frob.com>
23397 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23398 Reported by Allan McRae <allan@archlinux.org>.
23400 2012-03-23 Jeff Law <law@redhat.com>
23402 * nss/getnssent.c (__nss_getent): Fix typo.
23404 2012-03-23 David S. Miller <davem@davemloft.net>
23406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23408 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23410 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23411 to pad to uint64_t for each field.
23412 (dl_tls_index): Replace unsigned long with uint64_t.
23414 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23415 Paul Pluzhnikov <ppluzhnikov@google.com>
23418 * grp/Makefile (otherlibs): Don't set it.
23419 * inet/Makefile (otherlibs): Likewise.
23420 * login/Makefile (otherlibs): Likewise.
23421 * nscd/Makefile (otherlibs): Likewise.
23422 * posix/Makefile (otherlibs): Likewise.
23423 * pwd/Makefile (otherlibs): Likewise.
23424 * rt/Makefile (otherlibs): Likewise.
23425 * sunrpc/Makefile (otherlibs): Likewise.
23426 * nss/Makefile (otherlibs): Likewise.
23427 Add libnss_files to routines and static-only-routines.
23428 ($(objpfx)getent): Remove rule.
23429 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23430 static-only-routines.
23432 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23435 * math/s_cexp.c: Include <float.h>.
23436 (__cexp): Handle exp result overflowing not necessarily
23437 overflowing both real and imaginary parts of result.
23438 * math/s_cexpf.c: Likewise.
23439 * math/s_cexpl.c: Likewise.
23440 * math/libm-test.inc (cexp_test): Add more tests.
23441 * sysdeps/i386/fpu/libm-test-ulps: Update.
23442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23444 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23446 * include/link.h (ELFW): New macro.
23447 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23448 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23450 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23452 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23455 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23457 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23459 (struct La_x32_retval): Likewise.
23461 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23463 * sysdeps/x86_64/preconfigure.in: New file.
23464 * sysdeps/x86_64/preconfigure: New generated file.
23466 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23469 * math/e_exp2l.c: Include <float.h>.
23470 (__ieee754_exp2l): Handle overflow and underflow cases
23471 separately. Only pass fractional part of argument to
23473 * math/libm-test.inc (exp2_test): Add more tests.
23475 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23476 negating x to take absolute value.
23477 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23479 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23480 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23482 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23483 computing low part if x was negated.
23484 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23486 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23488 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23489 la_x32_gnu_pltexit.
23490 (pltexit): Cast int_retval to ptrdiff_t.
23491 * elf/tst-auditmod3b.c: Likewise.
23492 * elf/tst-auditmod4b.c: Likewise.
23493 * elf/tst-auditmod5b.c: Likewise.
23494 * elf/tst-auditmod6b.c: Likewise.
23495 * elf/tst-auditmod6c.c: Likewise.
23496 * elf/tst-auditmod7b.c: Likewise.
23498 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23499 and x32_gnu_pltexit.
23501 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23502 __ELF_NATIVE_CLASS.
23503 (La_x32_regs): New macro.
23504 (La_x32_retval): Likewise.
23505 (la_x32_gnu_pltenter): New function prototype.
23506 (la_x32_gnu_pltexit): Likewise.
23508 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23510 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23515 * configure.in (libc_cv_cc_nofma): Check for option to disable
23516 generation of FMA instructions.
23517 * configure: Regenerate.
23518 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23519 * sysdeps/ieee754/dbl-64/Makefile: New file.
23520 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23521 Remove brandred-fma4.
23522 (CFLAGS-brandred-fma4.c): Remove.
23523 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23524 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23529 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23531 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23532 LLONG_MAX != LONG_MAX.
23533 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23534 (_fitoa_word): Likewise.
23535 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23536 LLONG_MAX != LONG_MAX.
23537 * stdio-common/_itowa.h: Include <_itoa.h>.
23538 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23539 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23540 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23541 only if not defined.
23542 (_ITOA_WORD_TYPE): Likewise.
23543 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23544 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23546 2012-03-21 David S. Miller <davem@davemloft.net>
23548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23550 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23552 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23553 of x86_64 when setting libc_cv_slibdir, libdir and
23555 * sysdeps/unix/sysv/linux/configure: Regenerated.
23557 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23559 * manual/lang.texi (Old Varargs): Remove section.
23560 (How Variadic): Update menu.
23561 (va_start): Do not mention varargs.h.
23563 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23564 Joseph Myers <joseph@codesourcery.com>
23566 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23568 * configure: Regenerated.
23570 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23572 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23573 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23576 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23579 * Makefile (files-for-dist): Remove NOTES.
23580 (NOTES): Remove rule.
23581 * README: Don't refer to NOTES.
23582 * manual/creature.texi: Don't include macros.texi.
23583 * manual/intro.texi (creature.texi): Remove comment referring to
23586 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23587 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23588 * configure: Regenerated.
23589 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23590 LIBC_TRY_CC_OPTION.
23591 (libc_cv_as_i686): Likewise.
23592 (libc_cv_cc_avx): Likewise.
23593 (libc_cv_cc_sse2avx): Likewise.
23594 (libc_cv_cc_fma4): Likewise.
23595 (libc_cv_cc_novzeroupper): Likewise.
23596 * sysdeps/i386/configure: Regenerated.
23599 * sysdeps/i386/fpu/s_cexp.S: Remove.
23600 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23601 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23602 * math/libm-test.inc (cexp_test): Add more tests.
23603 * sysdeps/i386/fpu/libm-test-ulps: Update.
23604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23606 2012-03-21 Allan McRae <allan@archlinux.org>
23608 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23610 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23613 * math/w_exp2.c: Do not include <float.h>.
23614 (o_threshold, u_threshold): Remove.
23615 (__exp2): Calculate result before checking finiteness and calling
23617 * math/w_exp2f.c: Likewise.
23618 * math/w_exp2l.c: Likewise.
23619 * math/libm-test.inc (exp2_test): Require overflow exception for
23623 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23624 range of signed 64-bit integers before using fistpll. Remove
23625 checks for whether integers fit in mantissa bits.
23626 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23627 the range of signed 32-bit integers before using fistpl. Remove
23628 checks for whether integers fit in mantissa bits.
23629 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23630 (__ieee754_powl): Test for y outside the range of signed 64-bit
23631 integers before using fistpll. Reduce 64-bit values to 63-bit
23633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23634 divide-by-zero is raised for zero to large negative powers.
23635 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23636 (__ieee754_powl): Test for y outside the range of signed 64-bit
23637 integers before using fistpll. Reduce 64-bit values to 63-bit
23639 * math/libm-test.inc (pow_test): Add more tests.
23641 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23643 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23644 <stdio-common/_itoa.h>.
23645 * debug/segfault.c: Likewise.
23646 * elf/dl-cache.c: Likewise.
23647 * elf/dl-minimal.c: Likewise.
23648 * elf/dl-misc.c: Likewise.
23649 * elf/dl-sysdep.c: Likewise.
23650 * elf/dl-version.c: Likewise.
23651 * elf/rtld.c: Likewise.
23652 * hurd/hurdsock.c: Likewise.
23653 * hurd/lookup-retry.c: Likewise.
23654 * malloc/malloc.c: Likewise.
23655 * malloc/mtrace.c: Likewise.
23656 * nscd/nscd_getgr_r.c: Likewise.
23657 * nscd/nscd_getpw_r.c: Likewise.
23658 * nscd/nscd_getserv_r.c: Likewise.
23659 * posix/getopt_init.c: Likewise.
23660 * posix/wordexp.c: Likewise.
23661 * stdio-common/_itoa.c: Likewise.
23662 * stdio-common/printf_fphex.c: Likewise.
23663 * stdio-common/vfprintf.c: Likewise.
23664 * string/_strerror.c: Likewise.
23665 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23666 * sysdeps/i386/i686/hp-timing.h: Likewise.
23667 * sysdeps/mach/_strerror.c: Likewise.
23668 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23669 * sysdeps/mach/hurd/sethostid.c: Likewise.
23670 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23671 * sysdeps/mach/xpg-strerror.c: Likewise.
23672 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23674 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23675 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23676 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23677 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23678 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23679 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23680 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23681 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23682 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23683 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23684 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23685 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23686 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23687 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23688 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23689 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23690 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23691 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23692 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23694 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23696 * stdio-common/_itoa.h: Moved to ...
23697 * sysdeps/generic/_itoa.h: Here.
23699 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23701 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23702 instead of "_itoa.h" and "_itowa.h".
23703 * stdio-common/vfprintf.: Likewise.
23705 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23707 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23709 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23710 (__signbit): Likwise.
23711 (llrintf): Likwise.
23714 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23716 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23719 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23721 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23722 OVERFLOW_EXCEPTION_OK.
23723 * math/libm-test.inc ("Philosophy"): Update comment about
23725 (OVERFLOW_EXCEPTION): Define.
23726 (OVERFLOW_EXCEPTION_OK): Likewise.
23727 (INVALID_EXCEPTION_OK): Renumber.
23728 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23729 (IGNORE_ZERO_INF_SIGN): Likewise.
23730 (test_exceptions): Handle FE_OVERFLOW.
23731 (exp10_test): Expect overflow exceptions.
23732 (exp2_test): Likewise.
23733 (expm1_test): Likewise.
23734 (nextafter_test): Likewise.
23735 (pow_test): Likewise.
23736 (scalbn_test): Likewise.
23737 (scalbln_test): Likewise.
23739 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23741 * sysdeps/x86_64/bits/atomic.h
23742 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23744 (atomic_exchange_acq): Likewise.
23745 (__arch_exchange_and_add_body): Likewise.
23746 (__arch_add_body): Likewise.
23747 (atomic_add_negative): Likewise.
23748 (atomic_add_zero): Likewise.
23750 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23752 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23753 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23755 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23757 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23758 Check __x86_64__ instead of __WORDSIZE.
23760 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23762 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23764 2012-03-19 David S. Miller <davem@davemloft.net>
23766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23768 * sysdeps/sparc/fpu/fenv_private.h: New file.
23769 * sysdeps/sparc/fpu/math_private.h: Use it.
23770 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23772 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23773 (libc_feholdexcept_setroundl): Remove.
23774 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23776 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23777 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23779 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23781 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23782 int64_t instead of long int.
23783 (INSERT_WORDS64): Likwise.
23785 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23787 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23788 _Unwind_GetCFA return to _Unwind_Ptr first.
23790 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23793 * math/s_clog.c: Include <float.h>.
23794 (__clog): Scale large or subnormal inputs.
23795 * math/s_clogf.c: Likewise.
23796 * math/s_clogl.c: Likewise.
23797 * math/s_clog10.c: Include <float.h>.
23798 (M_LOG10_2): Define.
23799 (__clog10): Scale large or subnormal inputs.
23800 * math/s_clog10f.c: Likewise.
23801 * math/s_clog10l.c: Likewise.
23802 * math/libm-test.inc (clog_test): Add more tests.
23803 (clog10_test): Likewise.
23804 * sysdeps/i386/fpu/libm-test-ulps: Update.
23805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23808 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23810 * math/libm-test.inc (atan2_test): Add another test.
23812 * Makerules (common-objdir-compile): Remove.
23813 * sysdeps/unix/Makefile (config-generated): Do not add
23814 $(unix-generated) to variable.
23815 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23816 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23818 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23820 [generic bits/local_lim.h] (before-compile): Do not append to
23822 [generic bits/local_lim.h] (common-generated): Likewise.
23823 [generic sys/param.h] (before-compile): Do not append to variable.
23824 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23825 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23826 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23827 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23829 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23830 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23831 [generic sys/param.h] ($(addprefix
23832 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23833 [generic sys/param.h] (common-generated): Do not append to
23835 [generic sys/param.h] (sysdep_headers): Likewise.
23836 [generic bits/errno.h] (before-compile): Do not append to
23838 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23840 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23841 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23842 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23843 [generic bits/errno.h] (common-generated): Do not append to
23845 [generic bits/ioctls.h] (before-compile): Do not append to
23847 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23849 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23850 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23851 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23853 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23854 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23855 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23856 [generic bits/ioctls.h] (common-generated): Do not append to
23858 [generic sys/syscall.h] (syscall.h): Remove variable.
23859 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23861 [generic sys/syscall.h] (before-compile): Do not append to
23863 [generic sys/syscall.h] (common-generated): Likewise.
23864 * sysdeps/unix/errnos-tmpl.c: Remove file.
23865 * sysdeps/unix/errnos.awk: Likewise.
23866 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23867 * sysdeps/unix/ioctls.awk: Likewise.
23868 * sysdeps/unix/mk-local_lim.c: Likewise.
23869 * sysdeps/unix/snarf-ioctls: Likewise.
23871 2012-03-19 Richard Henderson <rth@twiddle.net>
23873 * sysdeps/i386/fpu/fenv_private.h: New file.
23874 * sysdeps/i386/fpu/math_private.h: Use it.
23875 (math_opt_barrier, math_force_eval): Remove.
23876 (libc_feholdexcept_setround_53bit): Remove.
23877 (libc_feupdateenv_53bit): Remove.
23878 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23879 (math_opt_barrier, math_force_eval): Remove.
23880 (libc_feholdexcept): Remove.
23881 (libc_feholdexcept_setround): Remove.
23882 (libc_fetestexcept, libc_fesetenv): Remove.
23883 (libc_feupdateenv_test): Remove.
23884 (libc_feupdateenv, libc_feholdsetround): Remove.
23885 (libc_feresetround): Remove.
23887 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23888 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23890 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23891 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23892 (libc_feupdateenv_testl): New.
23893 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23894 (libc_feupdateenv_testf): New.
23895 (libc_feupdateenv): Use libc_feupdateenv_test.
23896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23897 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23899 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23900 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23901 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23902 (libc_feresetround_noex): New.
23903 (libc_feresetround_noexf): New.
23904 (libc_feresetround_noexl): New.
23905 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23906 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23907 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23908 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23910 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23913 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23914 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23915 SET_RESTORE_ROUND_NOEX.
23916 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23917 SET_RESTORE_ROUND_NOEXF.
23918 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23919 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23920 (libc_feholdsetroundf): New.
23921 (libc_feresetround, libc_feresetroundf): New.
23923 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23924 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23925 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23927 * sysdeps/generic/math_private.h: Include <fenv.h>.
23928 (default_libc_feholdexcept): New.
23929 (default_libc_feholdexcept_setround): New.
23930 (default_libc_fesetenv, default_libc_feupdateenv): New.
23931 (libc_feholdexcept): Only define if undefined.
23932 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23933 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23934 (libc_feholdexcept_setroundl): Likewise.
23935 (libc_feholdexcept_setround_53bit): Likewise.
23936 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23937 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23938 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23939 (libc_feupdateenv_53bit): Likewise.
23940 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23941 (libc_feholdexcept): Convert from macro to inline function.
23942 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23943 (libc_fesetenv, libc_feupdateenv): Likewise.
23945 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23946 not previously defined.
23947 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23948 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23949 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23950 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23951 * sysdeps/ieee754/flt-32/math_private.h: New file.
23952 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23953 math_private.h below SET_FLOAT_WORD.
23954 (__isnan, __isinf_ns, __finite): Remove.
23955 (__isnanf, __isinf_nsf, __finitef): Remove.
23957 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23961 2012-03-17 David S. Miller <davem@davemloft.net>
23964 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23967 2012-03-16 David S. Miller <davem@davemloft.net>
23969 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23973 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23975 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23976 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23977 sysdep_routines when subdir is sysvipc.
23978 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23979 __getshmlba helper.
23981 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23983 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23985 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23988 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23990 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23991 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23992 (__lround): Renamed to ...
23993 (__llround): This. Replace long int with long long int.
23994 Define lround functions as aliases of llround functions.
23995 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23997 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23999 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24000 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24001 adresses to uintptr_t. Replace "long int" and "unsigned long
24002 int" with "greg_t" on va_arg.
24004 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24006 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24007 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24009 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24010 Move e_machine check before EI_CLASS check. Handle x32
24011 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24012 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24013 SKIP_EM_IA_64 and include
24014 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24016 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24017 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24018 (add_system_dir): New macro.
24020 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24021 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24023 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24034 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24036 * math/w_j0f.c (j0f): Likewise.
24038 * math/w_j0l.c (__j0l): Likewise.
24040 * math/w_j1.c (j1): Likewise.
24042 * math/w_j1f.c (j1f): Likewise.
24044 * math/w_j1l.c (__j1l): Likewise.
24046 * math/w_jn.c (jn): Likewise.
24048 * math/w_jnf.c (jnf): Likewise.
24050 * math/w_jnl.c (__jnl): Likewise.
24052 * math/libm-test.inc (j0_test): Add more tests.
24053 (j1_test): Likewise.
24054 (jn_test): Likewise. Add trailing semicolon to existing test.
24055 (y0_test): Likewise.
24056 (y1_test): Likewise.
24057 * sysdeps/i386/fpu/libm-test-ulps: Update.
24058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24062 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24063 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24064 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24065 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24066 (__tanl): Set errno for infinite argument.
24067 * sysdeps/i386/fpu/mptan.c: Remove.
24068 * sysdeps/i386/fpu/s_tan.S: Likewise.
24069 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24070 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24071 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24072 * math/libm-test.inc (tan_test): Add more tests and enable more
24073 tests for double and long double.
24074 * sysdeps/i386/fpu/libm-test-ulps: Update.
24075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24077 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24079 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24080 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24082 2012-03-16 Roland McGrath <roland@hack.frob.com>
24084 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24085 * configure.in: Use it for both main tree and add-ons.
24086 * configure: Regenerated.
24088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24090 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24092 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24094 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24098 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24099 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24100 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24102 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24104 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24106 != 0 for prec == 2.
24107 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24108 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24109 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24110 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24111 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24112 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24113 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24114 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24115 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24116 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24117 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24118 * math/libm-test.inc (cos_test): Add more tests and enable more
24119 tests for long double.
24120 (sin_test): Likewise.
24121 (sincos_test): Likewise.
24122 * sysdeps/i386/fpu/libm-test-ulps: Update.
24123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24125 2012-03-16 David S. Miller <davem@davemloft.net>
24127 * sysdeps/sparc/fpu/math_private.h: New file.
24129 2012-03-15 David S. Miller <davem@davemloft.net>
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24145 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24146 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24148 * sysdeps/sparc/sparc-ifunc.h: New file.
24149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24194 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24196 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24200 2012-03-15 Andreas Jaeger <aj@suse.de>
24203 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24204 ieee754/flt-32 implementation for sin, cos and sincos.
24205 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24206 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24207 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24208 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24209 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24210 ieee754/flt-32 implementation for tan.
24212 * math/libm-test.inc (cos_test): Enable some large input tests for
24214 (sin_test): Likewise.
24215 (sincos_test): Likewise.
24216 (tan_test): Add tests for large input.
24218 * sysdeps/i386/fpu/libm-test-ulps: Update.
24220 2012-03-15 Andreas Jaeger <aj@suse.de>
24223 * math/libm-test.inc (cos_test): Add more test cases.
24224 (sin_test): Likewise.
24225 (sincos_test): Likewise.
24227 2012-03-15 Andreas Jaeger <aj@suse.de>
24230 * math/libm-test.inc (cos_test): Add a test case for large input
24232 (sin_test): Likewise.
24233 (sincos_test): Likewise.
24235 2012-03-15 Andreas Jaeger <aj@suse.de>,
24236 Joseph Myers <joseph@codesourcery.com>
24239 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24240 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24241 * sysdeps/i386/fpu/branred.c: Likewise.
24242 * sysdeps/i386/fpu/dosincos.c: Likewise.
24243 * sysdeps/i386/fpu/mpa.c: Likewise.
24244 * sysdeps/i386/fpu/s_cos.S: Likewise.
24245 * sysdeps/i386/fpu/s_sin.S: Likewise.
24246 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24247 * sysdeps/i386/fpu/sincos32.c: Likewise.
24249 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24251 (libc_feupdateenv_53bit): Define.
24252 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24254 (libc_feupdateenv_53bit): Define.
24256 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24257 53 bit (without extend i386 double precision).
24259 * math/libm-test.inc (sincos_test): Add tests for large input.
24263 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24265 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24269 2012-03-15 David S. Miller <davem@davemloft.net>
24271 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24272 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24273 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24274 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24299 fmin/fmax sysdep routines.
24300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24302 2012-03-14 David S. Miller <davem@davemloft.net>
24304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24376 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24381 * sysdeps/sparc/configure.in: New file.
24382 * sysdeps/sparc/configure: Generate.
24383 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24384 * configure: Regenerate.
24385 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24386 * config.make.in (have-as-vis3): New.
24387 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24388 available use -Av9d instead of -Av9a.
24389 * sysdeps/sparc/sparc64/Makefile: Likewise.
24390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24405 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24406 fzeros/fnegs to load 0x80000000 into a float register instead of
24408 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24410 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24414 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24415 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24416 ($(inst_includedir)/bits/syscall.h): Remove rule.
24417 ($(objpfx)bits/syscall.d): Include instead of
24418 $(objpfx)syscall-list.d.
24419 (generated): Change syscall-list.h and syscall-list.d to
24420 bits/syscall.h and bits/syscall.d.
24422 2012-03-14 Roland McGrath <roland@hack.frob.com>
24425 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24427 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24430 * math/s_csqrt.c: Include <float.h>.
24431 (__csqrt): Scale large or subnormal inputs.
24432 * math/s_csqrtf.c: Likewise.
24433 * math/s_csqrtl.c: Likewise.
24434 * math/libm-test.inc (csqrt_test): Add more tests.
24435 * sysdeps/i386/fpu/libm-test-ulps: Update.
24436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24439 * math/libm-test.inc (hypot_test): Add more tests.
24441 2012-03-13 David S. Miller <davem@davemloft.net>
24444 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24445 double-precision for the calculation instead of scaling.
24447 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24449 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24450 manipulate bits before adding and subtracting TWO52[sx].
24451 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24452 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24454 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24456 2012-03-13 David S. Miller <davem@davemloft.net>
24458 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24459 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24461 rtld-global-offsets.h
24462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24464 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24467 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24469 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24470 'err' in the ifdef scope in which it is actually used.
24472 * nss/nss_db/db-init.c: Include string.h
24474 2012-03-12 David S. Miller <davem@davemloft.net>
24476 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24477 masking out of the most significant byte of random value used.
24478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24479 Fix coding style in previous change.
24481 * sysdeps/unix/sysv/linux/kernel-features.h
24482 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24483 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24485 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24488 2012-03-11 David S. Miller <davem@davemloft.net>
24490 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24491 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24492 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24493 for 'resultvar' otherwise things get truncated on 64-bit.
24495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24496 Fix masking out of the most significant byte of random value used.
24498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24500 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24504 2012-03-09 David S. Miller <davem@davemloft.net>
24506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24507 variables with appropriate CPP guards.
24508 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24509 frame pointer, not the stack pointer. Correct layout comments. Fix test
24510 on resulting framesize and the management of the outregs buffer for pltexit.
24511 Preserve floating point return values across _dl_call_pltexit call.
24512 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24513 framesize and the management of the outregs buffer for pltexit.
24514 Preserve floating point return values across _dl_call_pltexit
24516 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24517 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24518 (print_exit): Fix format string for return register value.
24520 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24522 * sunrpc/Makefile (others): Add rpcgen.
24523 ($(objpfx)rpcgen): Remove special build rule and dependency on
24525 * sunrpc/rpcgen.c: New file.
24527 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24530 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24531 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24532 * sysdeps/i386/crti.S: Likewise.
24533 * sysdeps/i386/crtn.S: Likewise.
24534 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24535 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24536 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24537 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24538 * sysdeps/sh/crti.S: Likewise.
24539 * sysdeps/sh/crtn.S: Likewise.
24540 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24543 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24545 * locale/programs/locfile-kw.gperf: Likewise.
24546 * locale/programs/charmap-kw.h: Regenerated.
24547 * locale/programs/locfile-kw.h: Likewise.
24550 * intl/plural.y: Replace FSF snail mail address with URL.
24551 * intl/plural.c: Regenerated.
24553 2012-03-09 Richard Henderson <rth@twiddle.net>
24555 * include/math_private.h: Remove file.
24556 * math/math_private.h: Move file ...
24557 * sysdeps/generic/math_private.h: ... here.
24559 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24560 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24561 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24563 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24564 and <math_private.h>.
24565 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24566 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24567 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24568 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24569 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24577 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24579 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24580 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24581 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24582 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24583 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24584 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24586 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24587 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24589 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24590 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24591 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24592 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24595 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24597 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24598 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24599 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24600 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24601 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24602 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24603 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24605 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24607 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24608 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24609 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24610 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24611 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24613 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24614 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24615 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24616 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24618 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24620 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24625 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24626 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24628 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24630 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24631 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24632 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24633 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24634 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24635 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24636 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24639 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24643 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24645 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24647 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24648 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24651 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24652 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24653 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24654 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24655 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24656 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24658 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24659 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24660 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24661 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24662 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24663 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24664 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24665 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24666 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24667 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24668 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24669 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24670 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24671 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24672 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24673 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24675 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24676 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24677 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24679 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24680 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24681 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24682 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24683 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24684 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24685 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24686 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24688 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24689 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24690 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24691 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24692 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24693 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24694 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24695 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24696 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24697 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24698 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24699 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24700 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24701 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24702 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24703 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24704 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24706 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24707 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24708 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24709 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24710 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24711 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24712 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24713 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24714 * sysdeps/ieee754/k_standard.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24727 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24728 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24729 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24731 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24732 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24733 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24735 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24736 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24737 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24738 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24739 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24740 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24741 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24742 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24743 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24745 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24746 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24748 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24749 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24750 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24753 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24754 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24755 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24756 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24757 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24758 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24760 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24761 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24764 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24765 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24766 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24772 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24774 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24775 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24776 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24777 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24778 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24782 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24783 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24784 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24787 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24789 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24790 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24791 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24792 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24793 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24794 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24795 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24798 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24799 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24834 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24837 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24842 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24847 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24850 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24864 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24865 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24870 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24873 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24874 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24875 * sysdeps/ieee754/s_lib_version.c: Likewise.
24876 * sysdeps/ieee754/s_matherr.c: Likewise.
24877 * sysdeps/ieee754/s_signgam.c: Likewise.
24878 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24880 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24881 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24882 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24883 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24884 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24885 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24886 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24887 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24888 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24889 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24890 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24891 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24892 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24893 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24894 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24895 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24900 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24902 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24903 * sunrpc/rpc_main.c: Likewise.
24904 * sunrpc/rpc_svcout.c: Likewise.
24906 2012-03-09 David S. Miller <davem@davemloft.net>
24908 * include/math_private.h: New file.
24910 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24912 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24913 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24914 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24915 from <bits/socket_type.h>.
24916 (enum __socket_type): Don't define here.
24917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24919 bits/socket_type.h.
24922 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24923 checking __USE_GNU.
24925 * Makerules ($(inst_includedir)/%.h): New rule.
24926 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24927 (install-others): Remove variable setting.
24928 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24930 2012-03-08 Richard Henderson <rth@twiddle.net>
24932 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24933 from macro to inline function; merge with the
24934 !__LIBC_INTERNAL_MATH_INLINES version.
24935 (__ieee754_sqrtf): Likewise.
24937 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24938 to inline function.
24939 (__rintf, __floor, __floorf): Likewise.
24941 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24942 macro to inline function.
24943 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24946 not <math/math_private.h>.
24948 2012-03-08 David S. Miller <davem@davemloft.net>
24950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24952 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24954 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24956 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24958 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24959 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24961 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24963 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24964 be defined individually, they must be defined as a block. Define
24965 S for printing a string instead of hidint the different by using a
24966 macro for adding the 'l'.
24967 * stdio-common/tst-fphex-wide.c: Adjust.
24969 2012-03-07 Marek Polacek <polacek@redhat.com>
24971 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24973 2012-03-08 Marek Polacek <polacek@redhat.com>
24976 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24977 * stdio-common/tst-fphex.c: Define a few macros to make the
24978 test reusable. Use them.
24979 * stdio-common/tst-fphex-wide.c: New file.
24981 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24984 * manual/macros.texi (gnusystems): New macro.
24985 (nongnusystems): Likewise.
24986 (gnulinuxhurdsystems): Likewise.
24987 (gnuhurdsystems): Likewise..
24988 (gnulinuxsystems): Likewise.
24989 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24990 variants of the GNU system, not "GNU system".
24991 * manual/conf.texi: Likewise.
24992 * manual/errno.texi: Likewise. Update example of errno macro
24994 * manual/filesys.texi: Likewise.
24995 (getumask): Document as specific to GNU/Hurd.
24996 * manual/install.texi: Likewise. Reword some references to
24998 * manual/intro.texi: Likewise.
24999 * manual/io.texi: Likewise.
25000 (File Name Portability): Detail which constraints are inapplicable
25001 to all GNU systems and which are only inapplicable to GNU/Hurd.
25002 * manual/job.texi: Likewise.
25003 * manual/llio.texi: Likewise.
25004 (O_NOCTTY): Document as present on GNU/Linux.
25005 * manual/maint.texi: Likewise.
25006 * manual/memory.texi: Likewise.
25007 * manual/pattern.texi: Likewise.
25008 * manual/pipe.texi: Likewise.
25009 * manual/process.texi: Likewise.
25010 * manual/resource.texi: Likewise.
25011 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25013 * manual/setjmp.texi: Likewise.
25014 * manual/signal.texi: Likewise.
25015 * manual/startup.texi: Likewise.
25016 * manual/stdio.texi: Likewise.
25017 * manual/terminal.texi: Likewise.
25018 (ONLCR): Document as POSIX.
25019 (OXTABS): Document availability on GNU/Linux as XTABS.
25020 (ONOEOT): Document availability separately from other bits.
25021 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25022 * manual/time.texi: Likewise.
25023 * manual/users.texi: Likewise.
25024 * INSTALL: Regenerated.
25025 * sysdeps/gnu/errlist.c: Regenerated.
25027 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25028 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25029 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25031 * configure: Regenerated.
25033 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25035 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25036 default includes instead of AC_HEADER_CHECK.
25037 * sysdeps/i386/configure: Regenerated.
25040 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25041 * math/s_cacoshf.c (__cacoshf): Likewise.
25042 * math/s_cacoshl.c (__cacoshl): Likewise.
25043 * math/s_casinh.c (__casinh): Set signs of result from argument.
25044 * math/s_casinhf.c (__casinhf): Likewise.
25045 * math/s_casinhl.c (__casinhl): Likewise.
25046 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25047 (casinh_test): Add more tests.
25048 * sysdeps/i386/fpu/libm-test-ulps: Update.
25049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25051 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25053 * po/zh_TW.po: Update from translation team.
25055 * login/Makefile (distribute): Remove variable.
25056 * catgets/Makefile: Likewise.
25057 * mach/Makefile: Likewise.
25058 * malloc/Makefile: Likewise.
25059 * misc/Makefile: Likewise.
25060 * iconv/Makefile: Likewise.
25061 * nscd/Makefile: Likewise.
25062 * hurd/Makefile: Likewise.
25063 * manual/Makefile: Likewise.
25064 * locale/Makefile: Likewise.
25065 * intl/Makefile: Likewise.
25066 * conform/Makefile: Likewise.
25067 * nss/Makefile: Likewise.
25068 * time/Makefile: Likewise.
25069 * soft-fp/Makefile: Likewise.
25070 * dirent/Makefile: Likewise.
25071 * gmon/Makefile: Likewise.
25072 * po/Makefile: Likewise.
25073 * rt/Makefile: Likewise.
25074 * socket/Makefile: Likewise.
25075 * math/Makefile: Likewise.
25076 * signal/Makefile: Likewise.
25077 * debug/Makefile: Likewise.
25078 * elf/Makefile: Likewise.
25079 * timezone/Makefile: Likewise.
25080 * stdlib/Makefile: Likewise.
25081 * iconvdata/Makefile: Likewise.
25082 * sunrpc/Makefile: Likewise.
25083 * io/Makefile: Likewise.
25084 * argp/Makefile: Likewise.
25085 * inet/Makefile: Likewise.
25086 * hesiod/Makefile: Likewise.
25087 * grp/Makefile: Likewise.
25088 * csu/Makefile: Likewise.
25089 * wctype/Makefile: Likewise.
25090 * crypt/Makefile: Likewise.
25091 * libio/Makefile: Likewise.
25092 * string/Makefile: Likewise.
25093 * nis/Makefile: Likewise.
25094 * resolv/Makefile: Likewise.
25095 * stdio-common/Makefile: Likewise.
25096 * wcsmbs/Makefile: Likewise.
25097 * dlfcn/Makefile: Likewise.
25098 * posix/Makefile: Likewise.
25101 * timezone/Makefile: Don't install timezone files, just the programs
25104 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25106 * nss/databases.def: Add missing gshadow entry.
25108 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25110 2012-03-06 Marek Polacek <polacek@redhat.com>
25113 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25114 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25115 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25116 * stdio-common/tst-long-dbl-fphex.c: New file.
25118 2012-03-06 David S. Miller <davem@davemloft.net>
25120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25121 (set_obp_int): New function.
25122 (get_obp_int): New function.
25123 (__get_clockfreq_via_dev_openprom): Likewise.
25124 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25125 Avoid unused variable warnings on 'val' and use builtin_expect.
25126 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25128 (INLINE_CLONE_SYSCALL): Likewise.
25130 2012-03-05 David S. Miller <davem@davemloft.net>
25132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25134 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25138 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25139 only for |x| >= 40.
25140 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25142 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25145 Replace gettimeofday with __vdso_gettimeofday.
25147 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25148 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25149 __vdso_clock_gettime and __vdso_getcpu.
25151 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25152 time with __vdso_time.
25154 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25156 * manual/lang.texi (size_t): Note types to which size_t may be
25157 equivalent with the GNU C Library, but do not describe when
25158 differences between them are significant.
25160 2012-03-05 Andreas Jaeger <aj@suse.de>
25162 * sysdeps/i386/fpu/libm-test-ulps: Update.
25164 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25167 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25168 (__ieee754_pow): Save and restore rounding mode and use
25169 round-to-nearest for main computations.
25170 * math/libm-test.inc (pow_test_tonearest): New function.
25171 (pow_test_towardzero): Likewise.
25172 (pow_test_downward): Likewise.
25173 (pow_test_upward): Likewise.
25174 (main): Call the new functions.
25175 * sysdeps/i386/fpu/libm-test-ulps: Update.
25176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25179 * math/libm-test.inc (cosh_test_tonearest): New function.
25180 (cosh_test_towardzero): Likewise.
25181 (cosh_test_downward): Likewise.
25182 (cosh_test_upward): Likewise.
25183 (sinh_test_tonearest): Likewise.
25184 (sinh_test_towardzero): Likewise.
25185 (sinh_test_downward): Likewise.
25186 (sinh_test_upward): Likewise.
25187 (main): Call the new functions.
25188 * sysdeps/i386/fpu/libm-test-ulps: Update.
25189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25191 2012-03-05 Tom de Vries <tom@codesourcery.com>
25193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25194 default stack guard is set in last bytes.
25195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25197 2012-03-05 Kees Cook <keescook@chromium.org>
25199 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25202 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25203 possibly allocate from heap instead of stack.
25204 * stdio-common/bug-vfprintf-nargs.c: New file.
25205 * stdio-common/Makefile (tests): Add nargs overflow test.
25207 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25211 2012-03-03 Marek Polacek <polacek@redhat.com>
25213 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25214 * math/math_private.h: Likewise.
25215 * stdlib/tst-strtod.c: Likewise.
25216 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25217 * sysdeps/x86_64/bits/atomic.h: Likewise.
25219 2012-03-02 David S. Miller <davem@davemloft.net>
25221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25225 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25226 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25227 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25228 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25230 2012-03-02 Roland McGrath <roland@hack.frob.com>
25233 * manual/examples/README: New file, says the example source files
25234 can be used under GPL>=2.
25235 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25236 line containing just "*/".
25237 * manual/examples/add.c: Add copyright header (GPL>=2).
25238 * manual/examples/argp-ex1.c: Likewise.
25239 * manual/examples/argp-ex2.c: Likewise.
25240 * manual/examples/argp-ex3.c: Likewise.
25241 * manual/examples/argp-ex4.c: Likewise.
25242 * manual/examples/atexit.c: Likewise.
25243 * manual/examples/db.c: Likewise.
25244 * manual/examples/dir.c: Likewise.
25245 * manual/examples/dir2.c: Likewise.
25246 * manual/examples/execinfo.c: Likewise.
25247 * manual/examples/filecli.c: Likewise.
25248 * manual/examples/filesrv.c: Likewise.
25249 * manual/examples/fmtmsgexpl.c: Likewise.
25250 * manual/examples/genpass.c: Likewise.
25251 * manual/examples/inetcli.c: Likewise.
25252 * manual/examples/inetsrv.c: Likewise.
25253 * manual/examples/isockad.c: Likewise.
25254 * manual/examples/longopt.c: Likewise.
25255 * manual/examples/memopen.c: Likewise.
25256 * manual/examples/memstrm.c: Likewise.
25257 * manual/examples/mkfsock.c: Likewise.
25258 * manual/examples/mkisock.c: Likewise.
25259 * manual/examples/mygetpass.c: Likewise.
25260 * manual/examples/pipe.c: Likewise.
25261 * manual/examples/popen.c: Likewise.
25262 * manual/examples/rprintf.c: Likewise.
25263 * manual/examples/search.c: Likewise.
25264 * manual/examples/select.c: Likewise.
25265 * manual/examples/setjmp.c: Likewise.
25266 * manual/examples/sigh1.c: Likewise.
25267 * manual/examples/sigusr.c: Likewise.
25268 * manual/examples/stpcpy.c: Likewise.
25269 * manual/examples/strdupa.c: Likewise.
25270 * manual/examples/strftim.c: Likewise.
25271 * manual/examples/strncat.c: Likewise.
25272 * manual/examples/subopt.c: Likewise.
25273 * manual/examples/swapcontext.c: Likewise.
25274 * manual/examples/termios.c: Likewise.
25275 * manual/examples/testopt.c: Likewise.
25276 * manual/examples/testpass.c: Likewise.
25277 * manual/examples/timeval_subtract.c: Likewise.
25280 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25282 * manual/timeval_subtract.c.texi: ... here, new file.
25284 2012-03-02 David S. Miller <davem@davemloft.net>
25286 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25288 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25291 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25292 (__sin): Save and restore rounding mode and use round-to-nearest
25293 for all computations.
25294 (__cos): Save and restore rounding mode and use round-to-nearest
25295 for all computations.
25296 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25298 (tan): Save and restore rounding mode and use round-to-nearest for
25300 * math/libm-test.inc (cos_test_tonearest): New function.
25301 (cos_test_towardzero): Likewise.
25302 (cos_test_downward): Likewise.
25303 (cos_test_upward): Likewise.
25304 (sin_test_tonearest): Likewise.
25305 (sin_test_towardzero): Likewise.
25306 (sin_test_downward): Likewise.
25307 (sin_test_upward): Likewise.
25308 (tan_test_tonearest): Likewise.
25309 (tan_test_towardzero): Likewise.
25310 (tan_test_downward): Likewise.
25311 (tan_test_upward): Likewise.
25312 (main): Call the new functions.
25313 * sysdeps/i386/fpu/libm-test-ulps: Update.
25314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25317 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25318 small n, then large n, before computing and testing k+n.
25319 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25320 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25324 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25325 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25331 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25332 * math/libm-test.inc (scalbn_test): Add more tests.
25333 (scalbln_test): Likewise.
25335 * manual/filesys.texi (mode_t): Describe constraints on size and
25336 signedness, not exact equivalence to a particular type.
25338 (ino64_t): Likewise.
25340 (nlink_t): Likewise.
25341 (blkcnt_t): Likewise.
25342 (blkcnt64_t): Likewise.
25343 * manual/llio.texi (off_t): Likewise.
25346 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25347 (__ieee754_exp): Save and restore rounding mode and use
25348 round-to-nearest for all computations.
25349 * math/libm-test.inc (exp_test_tonearest): New function.
25350 (exp_test_towardzero): Likewise.
25351 (exp_test_downward): Likewise.
25352 (exp_test_upward): Likewise.
25353 (main): Call the new functions.
25354 * sysdeps/i386/fpu/libm-test-ulps: Update.
25355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25357 2012-03-01 Chris Demetriou <cgd@google.com>
25359 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25360 have predictable order.
25362 2012-03-01 David S. Miller <davem@davemloft.net>
25364 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25366 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25367 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25368 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25369 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25371 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25372 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25373 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25375 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25376 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25377 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25378 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25379 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25384 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25385 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25387 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25388 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25389 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25390 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25391 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25394 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25395 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25396 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25397 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25398 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25400 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25401 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25403 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25404 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25405 * sysdeps/sparc/elf/configure: Regenerated.
25407 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25409 * configure.in (AS, LD): Require binutils 2.20 or later.
25410 * configure: Regenerated.
25411 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25412 as required minimum version.
25413 * INSTALL: Regenerated.
25417 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25418 before squaring exponent.
25419 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25420 bottom long double and 27 bits of top long double before squaring
25422 * math/libm-test.inc (erfc_test): Add more tests.
25423 * sysdeps/i386/fpu/libm-test-ulps: Update.
25424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25427 2012-03-01 Kai Tietz <ktietz@redhat.com>
25429 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25430 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25431 containing bit-fields.
25432 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25433 * soft-fp/single.h (_FP_UNION_S): Likewise.
25434 * soft-fp/double.h (_FP_UNION_D): Likewise.
25436 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25439 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25440 not include ../strcmp.S.
25441 [USE_AS_STRNCASECMP_L]: Likewise.
25442 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25443 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25444 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25445 (__strncasecmp_l_ia32): Define as alias to
25446 __strncasecmp_l_nonascii.
25449 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25450 * sysdeps/i386/fpu/libm-test-ulps: Update.
25451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25453 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25456 2012-02-29 Jeff Law <law@redhat.com>
25458 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25459 out of bounds read.
25461 2012-02-29 Marek Polacek <polacek@redhat.com>
25464 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25465 * elf/Makefile: Add rules to run tst-unused-dep.out.
25467 2012-02-28 David S. Miller <davem@davemloft.net>
25469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25473 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25474 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25476 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25478 * math/libm-test.inc (llround_test): Move one test from
25479 lround_test. Use TEST_f_L in moved test.
25480 (lround_test): Move misplaced test to llround_test. Add testcase
25483 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25485 * sysdeps/x86_64/fpu/e_expf.S: New file.
25486 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25488 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25491 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25492 of remain_len that may cause incomplete multi-byte character and
25494 * posix/bug-regex33.c: New file.
25495 * posix/Makefile (tests): Add bug-regex33.
25497 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25499 * manual/macros.texi: New file.
25500 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25501 * manual/libc.texinfo: Include macros.texi.
25502 * manual/creatute.texi: Likewise.
25503 * manual/install.texi: Likewise.
25504 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25505 @glibcadj{} in references to the GNU C Library.
25506 * manual/charset.texi: Likewise.
25507 * manual/conf.texi: Likewise.
25508 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25509 when not using those macros.
25510 * manual/creature.texi: Likewise.
25511 * manual/crypt.texi: Likewise.
25512 * manual/errno.texi: Likewise.
25513 * manual/filesys.texi: Likewise.
25514 * manual/header.texi: Likewise.
25515 * manual/install.texi: Likewise.
25516 * manual/intro.texi: Likewise.
25517 * manual/io.texi: Likewise.
25518 * manual/job.texi: Likewise.
25519 * manual/lang.texi: Likewise.
25520 * manual/libc.texiinfo: Likewise.
25521 * manual/llio.texi: Likewise.
25522 * manual/locale.texi: Likewise.
25523 * manual/maint.texi: Likewise.
25524 * manual/math.texi: Likewise.
25525 * manual/memory.texi: Likewise.
25526 * manual/message.texi: Likewise.
25527 * manual/nss.texi: Likewise.
25528 * manual/pattern.texi: Likewise.
25529 * manual/process.texi: Likewise.
25530 * manual/resource.texi: Likewise.
25531 * manual/search.texi: Likewise.
25532 * manual/setjmp.texi: Likewise.
25533 * manual/signal.texi: Likewise.
25534 * manual/socket.texi: Likewise.
25535 * manual/startup.texi: Likewise.
25536 * manual/stdio.texi: Likewise.
25537 * manual/string.texi: Likewise.
25538 * manual/sysinfo.texi: Likewise.
25539 * manual/syslog.texi: Likewise.
25540 * manual/terminal.texi: Likewise.
25541 * manual/time.texi: Likewise.
25542 * manual/users.texi: Likewise.
25543 * INSTALL: Regenerated.
25544 * NOTES: Regenerated.
25545 * sysdeps/gnu/errlist.c: Regenerated.
25547 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25549 * include/dirent.h: Include <dirstream.h> before
25552 2012-02-28 David S. Miller <davem@davemloft.net>
25554 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25555 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25556 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25557 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25559 2012-02-27 David S. Miller <davem@davemloft.net>
25561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25563 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25564 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25567 frame pointer instead of stack pointer relative arg slot.
25568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25569 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25570 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25572 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25575 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25577 2012-02-27 David S. Miller <davem@davemloft.net>
25579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25585 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25586 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25588 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25590 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25591 later. Allow versions 5-9.
25592 * configure: Regenerated.
25593 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25594 required minimum version and 4.6 as recommended version. Do not
25595 mention bugs in GCC 2.7 and 2.8.
25596 * INSTALL: Regenerated.
25598 2012-02-27 David S. Miller <davem@davemloft.net>
25600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25604 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25605 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25606 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25607 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25609 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25610 manipulate bits before adding and subtracting TWO112[sx].
25611 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25613 2012-02-27 Roland McGrath <roland@hack.frob.com>
25616 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25617 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25618 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25619 being in POSIX, because they are in 1003.1-2008.
25621 * rt/tst-aio.c: Include <fcntl.h>.
25622 * rt/tst-aio7.c: Likewise.
25623 * rt/tst-aio64.c: Likewise.
25625 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25627 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25629 * manual/install.texi (--with-headers): Describe headers as
25630 interface headers, not private headers.
25631 (Specific advice for GNU/Linux systems): Describe use of headers
25632 from "make headers_install", not private headers from older
25634 * INSTALL: Regenerated.
25635 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25637 * sysdeps/unix/sysv/linux/configure: Regenerated.
25639 * manual/llio.texi (fclean): Remove documentation.
25641 * manual/Makefile (libc-texi-generated): New variable. Include
25643 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25644 $(libc-texi-generated), not duplicated list of files.
25645 (version.texi, stamp-version): New rules.
25646 (realclean): Remove $(libc-texi-generated), not individual files
25647 from that list. Do not remove dir-add.texinfo.
25648 * manual/libc.texinfo: Comment out uses of edition numbers and
25649 references to printed manual. Remove last-updated dates.
25650 (EDITION): Comment out.
25652 (VERSION, UPDATED): Remove.
25653 (version.texi): Include.
25655 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25657 * sysdeps/posix/spawni.c: Include <signal.h>.
25658 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25659 * sysdeps/pthread/aio_fsync.c: Likewise.
25661 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25663 * conform/Makefile (tests): Run only when not cross-compiling and
25664 when fast-check is not defined.
25666 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25667 * conform/data/limits.h-data: Fixes for POSIX2008.
25668 * conform/run-conformtest.sh: Run all tests.
25669 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25671 * include/bits/dlfcn.h: Likewise.
25672 * include/langinfo.h: Likewise.
25673 * include/monetary.h: Likewise.
25674 * include/sys/poll.h: Likewise.
25676 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25678 * posix/spawn.h: Define __need_sigset_t.
25679 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25680 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25681 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25682 to get sigevent_t only.
25683 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25684 only for __USE_GNU.
25685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25686 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25687 process_vm_writev only for __USE_GNU.
25688 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25690 * conform/Makefile: For now ignore errors from run-conformtest.
25691 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25692 POSIX to avoid namespace pollution. Don't prepend headers.
25693 * conform/data/aio.h-data: Fixes for POSIX testing.
25694 * conform/data/fcntl.h-data: Likewise.
25695 * conform/data/glob.h-data: Likewise.
25696 * conform/data/grp.h-data: Likewise.
25697 * conform/data/pthread.h-data: Likewise.
25698 * conform/data/pwd.h-data: Likewise.
25699 * conform/data/signal.h-data: Likewise.
25700 * conform/data/spawn.h-data: Likewise.
25701 * conform/data/stdio.h-data: Likewise.
25702 * conform/data/stdlib.h-data: Likewise.
25703 * conform/data/stropts.h-data: Likewise.
25704 * conform/data/sys/mman.h-data: Likewise.
25705 * conform/data/sys/stat.h-data: Likewise.
25706 * conform/data/sys/types.h-data: Likewise.
25707 * conform/data/sys/wait.h-data: Likewise.
25708 * conform/data/time.h-data: Likewise.
25709 * conform/data/unistd.h-data: Likewise.
25710 * conform/data/utime.h-data: Likewise.
25712 * io/sys/stat.h: fchmod was always in POSIX.
25713 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25714 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25715 * rt/aio.h: Define __need_timespec before including <time.h>.
25716 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25717 struct. Add forward declaration of pthread_attr_t and use it in
25719 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25721 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25722 always remove CLK_TCK definition.
25724 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25726 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25728 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25730 * conform/run-conformtest.sh: New file.
25731 * conform/Makefile: Run run-conformtest for tests.
25732 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25735 * conform/data/uchar.h-data: New file.
25736 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25737 * conform/data/arpa/inet.h-data: Likewise.
25738 * conform/data/assert.h-data: Likewise.
25739 * conform/data/complex.h-data: Likewise.
25740 * conform/data/cpio.h-data: Likewise.
25741 * conform/data/ctype.h-data: Likewise.
25742 * conform/data/dirent.h-data: Likewise.
25743 * conform/data/dlfcn.h-data: Likewise.
25744 * conform/data/errno.h-data: Likewise.
25745 * conform/data/fcntl.h-data: Likewise.
25746 * conform/data/float.h-data: Likewise.
25747 * conform/data/fmtmsg.h-data: Likewise.
25748 * conform/data/fnmatch.h-data: Likewise.
25749 * conform/data/ftw.h-data: Likewise.
25750 * conform/data/glob.h-data: Likewise.
25751 * conform/data/grp.h-data: Likewise.
25752 * conform/data/iconv.h-data: Likewise.
25753 * conform/data/inttypes.h-data: Likewise.
25754 * conform/data/langinfo.h-data: Likewise.
25755 * conform/data/libgen.h-data: Likewise.
25756 * conform/data/limits.h-data: Likewise.
25757 * conform/data/locale.h-data: Likewise.
25758 * conform/data/math.h-data: Likewise.
25759 * conform/data/monetary.h-data: Likewise.
25760 * conform/data/mqueue.h-data: Likewise.
25761 * conform/data/ndbm.h-data: Likewise.
25762 * conform/data/net/if.h-data: Likewise.
25763 * conform/data/netdb.h-data: Likewise.
25764 * conform/data/netinet/in.h-data: Likewise.
25765 * conform/data/nl_types.h-data: Likewise.
25766 * conform/data/poll.h-data: Likewise.
25767 * conform/data/pthread.h-data: Likewise.
25768 * conform/data/pwd.h-data: Likewise.
25769 * conform/data/regex.h-data: Likewise.
25770 * conform/data/sched.h-data: Likewise.
25771 * conform/data/search.h-data: Likewise.
25772 * conform/data/semaphore.h-data: Likewise.
25773 * conform/data/setjmp.h-data: Likewise.
25774 * conform/data/signal.h-data: Likewise.
25775 * conform/data/spawn.h-data: Likewise.
25776 * conform/data/stdarg.h-data: Likewise.
25777 * conform/data/stdio.h-data: Likewise.
25778 * conform/data/stdlib.h-data: Likewise.
25779 * conform/data/string.h-data: Likewise.
25780 * conform/data/strings.h-data: Likewise.
25781 * conform/data/stropts.h-data: Likewise.
25782 * conform/data/sys/ipc.h-data: Likewise.
25783 * conform/data/sys/mman.h-data: Likewise.
25784 * conform/data/sys/msg.h-data: Likewise.
25785 * conform/data/sys/resource.h-data: Likewise.
25786 * conform/data/sys/select.h-data: Likewise.
25787 * conform/data/sys/sem.h-data: Likewise.
25788 * conform/data/sys/shm.h-data: Likewise.
25789 * conform/data/sys/socket.h-data: Likewise.
25790 * conform/data/sys/stat.h-data: Likewise.
25791 * conform/data/sys/statvfs.h-data: Likewise.
25792 * conform/data/sys/time.h-data: Likewise.
25793 * conform/data/sys/timeb.h-data: Likewise.
25794 * conform/data/sys/times.h-data: Likewise.
25795 * conform/data/sys/types.h-data: Likewise.
25796 * conform/data/sys/uio.h-data: Likewise.
25797 * conform/data/sys/un.h-data: Likewise.
25798 * conform/data/sys/utsname.h-data: Likewise.
25799 * conform/data/sys/wait.h-data: Likewise.
25800 * conform/data/syslog.h-data: Likewise.
25801 * conform/data/tar.h-data: Likewise.
25802 * conform/data/termios.h-data: Likewise.
25803 * conform/data/utime.h-data: Likewise.
25804 * conform/data/utmpx.h-data: Likewise.
25805 * conform/data/varargs.h-data: Likewise.
25806 * conform/data/wchar.h-data: Likewise.
25807 * conform/data/wctype.h-data: Likewise.
25808 * conform/data/wordexp.h-data: Likewise.
25810 * include/stropts.h: New file.
25811 * include/uchar.h: New file.
25812 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25813 * include/assert.h: Likewise.
25814 * include/ctype.h: Likewise.
25815 * include/dirent.h: Likewise.
25816 * include/dlfcn.h: Likewise.
25817 * include/fcntl.h: Likewise.
25818 * include/fnmatch.h: Likewise.
25819 * include/glob.h: Likewise.
25820 * include/grp.h: Likewise.
25821 * include/libio.h: Likewise.
25822 * include/locale.h: Likewise.
25823 * include/math.h: Likewise.
25824 * include/net/if.h: Likewise.
25825 * include/netdb.h: Likewise.
25826 * include/netinet/in.h: Likewise.
25827 * include/pthread.h: Likewise.
25828 * include/pwd.h: Likewise.
25829 * include/regex.h: Likewise.
25830 * include/sched.h: Likewise.
25831 * include/search.h: Likewise.
25832 * include/setjmp.h: Likewise.
25833 * include/signal.h: Likewise.
25834 * include/stdio.h: Likewise.
25835 * include/stdlib.h: Likewise.
25836 * include/string.h: Likewise.
25837 * include/sys/cdefs.h: Likewise.
25838 * include/sys/mman.h: Likewise.
25839 * include/sys/msg.h: Likewise.
25840 * include/sys/resource.h: Likewise.
25841 * include/sys/select.h: Likewise.
25842 * include/sys/socket.h: Likewise.
25843 * include/sys/stat.h: Likewise.
25844 * include/sys/statvfs.h: Likewise.
25845 * include/sys/time.h: Likewise.
25846 * include/sys/times.h: Likewise.
25847 * include/sys/uio.h: Likewise.
25848 * include/sys/utsname.h: Likewise.
25849 * include/sys/wait.h: Likewise.
25850 * include/termios.h: Likewise.
25851 * include/time.h: Likewise.
25852 * include/ulimit.h: Likewise.
25853 * include/unistd.h: Likewise.
25854 * include/utime.h: Likewise.
25855 * include/wchar.h: Likewise.
25856 * include/wctype.h: Likewise.
25857 * include/wordexp.h: Likewise.
25859 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25861 * time/time.h: TIME_UTC must be a macro.
25862 Make timespec_get available for ISO C11 only as well.
25864 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25866 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25867 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25869 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25871 * configure.in: Use -o not -a in test for unsupported multi-arch.
25873 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25875 * manual/texinfo.tex: Update to version 2012-01-19.16.
25877 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25879 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25881 2012-02-24 Roland McGrath <roland@hack.frob.com>
25884 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25885 * manual/fdl-1.3.texi: New file.
25886 * manual/fdl-1.1.texi: File removed.
25889 * manual/libc.texinfo (FDL_VERSION): New @set.
25890 Use it for mention of FDL in cover text.
25891 (Documentation License): Use it in @include file name.
25893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25894 Roland McGrath <roland@hack.frob.com>
25897 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25898 not LONG_LONG_MAX and LONG_LONG_MIN.
25899 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25900 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25902 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25904 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25908 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25909 manipulate bits before adding and subtracting TWO23[sx].
25910 * math/libm-test.inc (nearbyint_test): Add more tests.
25912 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25915 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25916 bits before adding and subtracting TWO23[sx].
25917 * math/libm-test.inc (rint_test): Add more tests.
25918 (rint_test_tonearest): Likewise.
25919 (rint_test_towardzero): Likewise.
25920 (rint_test_downward): Likewise.
25921 (rint_test_upward: Likewise.
25923 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25926 * include/stdc-predef.h: New file. Extracted from features.h.
25927 * include/features.h: Include stdc-predef.h.
25928 * Makefile (headers): Add stdc-predef.h.
25929 * CONFORMANCE (Compiler limitations): Update.
25931 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25933 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25935 2012-02-21 David S. Miller <davem@davemloft.net>
25937 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25938 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25940 2012-02-20 David S. Miller <davem@davemloft.net>
25942 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25943 using a normal save/restore sequence, rather than allocating a
25944 dummy stack frame just to store a frame pointer and restore.
25945 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25947 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25949 * manual/install.texi: Fix stray word in line-wrapped comment.
25951 2012-02-20 David S. Miller <davem@davemloft.net>
25953 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25954 both binutils and gcc support GOTDATA.
25956 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25957 "rd %pc" in the PIC register setup sequences.
25959 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25960 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25961 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25962 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25963 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25965 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25966 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25968 (SYSCALL_ERROR_HANDLER): Likewise.
25969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25972 (SYSCALL_ERROR_HANDLER): Likewise.
25974 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25975 (HAVE_GCC_GOTDATA): New.
25976 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25977 relocation support in both binutils and gcc.
25978 * sysdeps/sparc/elf/configure: Regenerate.
25980 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25981 * sysdeps/sparc/sparc32/elf/configure: Delete.
25982 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25983 * sysdeps/sparc/sparc64/elf/configure: Delete.
25984 * sysdeps/sparc/elf/configure.in: New file.
25985 * sysdeps/sparc/elf/configure: Generate.
25987 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25988 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25989 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25990 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25991 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25993 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25995 * manual/install.texi: Do not mention specific glibc version
25997 * manual/libc.texinfo (VERSION, UPDATED): Update.
25998 (@copying): Use @copyright{} and range of years.
26000 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26003 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26004 [crti.S not in sysdirs] (generated): Do not append.
26005 [crti.S not in sysdirs] (omit-deps): Likewise.
26006 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26007 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26008 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26009 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26010 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26012 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26013 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26014 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26015 * csu/defs.awk: Remove file.
26016 * sysdeps/generic/initfini.c: Likewise.
26017 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26019 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26022 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26024 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26025 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26026 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26027 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26029 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26031 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26032 (__EPOLL_PACKED): Define to empty if not defined by
26034 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26038 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26040 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26041 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26042 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26043 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26045 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26049 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26051 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26054 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26055 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26058 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26061 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26063 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26065 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26066 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26068 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26070 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26073 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26075 * math/w_acos.c: Use non-signaling floating-point comparisons.
26076 * math/w_acosf.c: Likewise.
26077 * math/w_acosh.c: Likewise.
26078 * math/w_acoshf.c: Likewise.
26079 * math/w_acoshl.c: Likewise.
26080 * math/w_acosl.c: Likewise.
26081 * math/w_asin.c: Likewise.
26082 * math/w_asinf.c: Likewise.
26083 * math/w_asinl.c: Likewise.
26084 * math/w_atanh.c: Likewise.
26085 * math/w_atanhf.c: Likewise.
26086 * math/w_atanhl.c: Likewise.
26087 * math/w_exp2.c: Likewise.
26088 * math/w_exp2f.c: Likewise.
26089 * math/w_exp2l.c: Likewise.
26090 * math/w_j0.c: Likewise.
26091 * math/w_j0f.c: Likewise.
26092 * math/w_j0l.c: Likewise.
26093 * math/w_j1.c: Likewise.
26094 * math/w_j1f.c: Likewise.
26095 * math/w_j1l.c: Likewise.
26096 * math/w_jn.c: Likewise.
26097 * math/w_jnf.c: Likewise.
26098 * math/w_log.c: Likewise.
26099 * math/w_log10.c: Likewise.
26100 * math/w_log10f.c: Likewise.
26101 * math/w_log10l.c: Likewise.
26102 * math/w_log2.c: Likewise.
26103 * math/w_log2f.c: Likewise.
26104 * math/w_log2l.c: Likewise.
26105 * math/w_logf.c: Likewise.
26106 * math/w_logl.c: Likewise.
26107 * math/w_sqrt.c: Likewise.
26108 * math/w_sqrtf.c: Likewise.
26109 * math/w_sqrtl.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26113 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26114 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26116 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26119 * manual/string.texi (strnlen): Use correct parameter name in
26120 equivalent expression.
26122 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26125 * manual/users.texi (seteuid): Consistently use neweuid for
26128 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26131 * manual/nss.texi (Services in the NSS configuration): Correct
26132 list of services in example configuration file.
26134 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26137 * manual/arith.texi: Remove statements about negative zero
26138 behaving identically to zero.
26140 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26143 * manual/install.texi: Do not document upgrading from libc5.
26145 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26148 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26150 2012-02-18 David S. Miller <davem@davemloft.net>
26152 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26153 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26154 %o7 across the call.
26155 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26158 SETUP_PIC_REG_LEAF.
26159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26160 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26161 * sysdeps/sparc/crtn.S: Likewise.
26163 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26165 * aout/Makefile: Remove.
26167 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26170 * manual/examples/argp-ex1.c (main): Format definition in GNU
26172 * manual/examples/argp-ex2.c (main): Likewise.
26173 * manual/examples/argp-ex3.c (main): Likewise.
26174 * manual/examples/argp-ex4.c (main): Likewise.
26175 * manual/examples/longopt.c (main): Use new-style prototype
26177 * manual/examples/strncat.c (main): Specify return type and use
26178 (void) for arguments.
26179 * manual/examples/subopt.c (main): Use char **argv argument.
26181 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26184 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26187 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26190 * manual/string.texi (strchr): Change when strchrnul is
26193 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26196 * manual/locale.texi (setlocale): Document LOCPATH.
26198 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26201 * manual/process.texi (execle): Move @dots{} before last argument.
26203 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26206 * manual/charset.texi (Generic Charset Conversion): Fix typo
26207 (LC_TYPE -> LC_CTYPE).
26209 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26212 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26213 (scalbnf): Likewise.
26214 (scalbnl): Likewise.
26215 (scalbln): Likewise.
26216 (scalblnf): Likewise.
26217 (scalblnl): Likewise.
26218 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26219 (vwarnx): Likewise.
26222 * manual/filesys.texi (telldir): Use braces around return type.
26223 * manual/llio.texi (mmap): Add space after comma.
26224 (mmap64): Likewise.
26225 * manual/math.texi (jn): Use @var{} on parameter names.
26231 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26233 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26235 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26236 (sched_get_priority_max): Likewise.
26237 * manual/signal.texi (sigvec): Add space after comma.
26238 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26240 (if_indextoname): Likewise.
26241 (if_freenameindex): Likewise.
26242 (sendto): Use ',' instead of '.' in prototype.
26243 * manual/startup.texi (syscall): Use @dots{} instead of literal
26245 * manual/stdio.texi (__fpending): Separate initial words of
26246 paragraph from @deftypefun line.
26247 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26249 (vsyslog): Use @var{} on parameter names.
26250 * manual/terminal.texi (stty): Use @var{} on parameter names.
26251 * manual/users.texi (getutmp): Use @var{} on parameter names.
26252 (getutmpx): Likewise.
26254 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26257 * manual/stdio.texi (fopen): Fix typos in description of
26260 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26263 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26264 get clock_id definition.
26266 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26269 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26270 (madvise): Cast every argument to void on its own.
26272 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26275 * manual/startup.texi (Exit Status): Fix typo.
26277 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26280 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26281 * manual/examples/argp-ex2.c: Likewise.
26282 * manual/examples/argp-ex3.c: Likewise.
26284 2012-02-16 Richard Henderson <rth@redhat.com>
26286 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26287 * sysdeps/s390/s390-32/initfini.c: Remove.
26288 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26289 * sysdeps/s390/s390-64/initfini.c: Remove.
26291 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26293 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26294 compiler output for sysdeps/generic/initfini.c.
26295 * sysdeps/sh/elf/initfini.c: Remove file.
26297 2012-02-16 David S. Miller <davem@davemloft.net>
26300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26302 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26303 * sysdeps/sparc/crti.S: New file.
26304 * sysdeps/sparc/crtn.S: New file.
26305 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26306 * sysdeps/sparc/sparc64/Makefile: Likewise.
26308 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26311 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26313 2012-02-15 Roland McGrath <roland@hack.frob.com>
26316 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26318 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26319 (write, read, close): Likewise.
26320 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26322 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26324 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26325 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26326 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26327 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26329 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26333 2012-02-14 Marek Polacek <polacek@redhat.com>
26335 * sysdeps/x86_64/crti.S: New file.
26336 * sysdeps/x86_64/crtn.S: New file.
26337 * sysdeps/x86_64/elf/initfini.c: Remove file.
26339 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26341 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26342 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26343 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26344 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26346 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26350 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26352 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26353 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26354 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26355 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26357 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26361 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26363 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26364 __feraiseexcept instead of feraiseexcept.
26366 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26367 nanosleep invocations.
26368 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26369 strings, and add error checking for a nanosleep invocations.
26371 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26373 Replace FSF snail mail address with URLs, as per GNU coding standards.
26374 Most of the snail mail addresses were wrong anyway, and omitting
26375 them makes the source code easier to maintain. Almost all of the
26376 changes are to license notices and to locale LC_IDENTIFICATION
26377 addresses, except for this one:
26378 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26379 not its snail mail address.
26381 2012-02-09 Richard Henderson <rth@twiddle.net>
26383 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26384 of kernel-features.h.
26386 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26388 2012-02-08 Marek Polacek <polacek@redhat.com>
26390 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26391 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26392 * sysdeps/gnu/_G_config.h: Likewise.
26393 * sysdeps/generic/_G_config.h: Likewise.
26395 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26397 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26401 * sysdeps/powerpc/powerpc32/crti.S: New file.
26402 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26403 * sysdeps/powerpc/powerpc64/crti.S: New file.
26404 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26406 * Makeconfig (have-initfini): Don't set.
26407 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26408 * configure.in (nopic_initfini): Don't substitute.
26409 * config.h.in (HAVE_INITFINI): Don't #undef.
26410 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26411 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26413 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26415 Support crti.S and crtn.S provided directly by architectures.
26416 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26417 [crti.S in sysdirs] (omit-deps): Likewise.
26418 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26419 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26420 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26421 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26422 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26423 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26424 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26425 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26426 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26427 compiler output for sysdeps/generic/initfini.c.
26428 * sysdeps/i386/elf/Makefile: Remove file.
26429 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26431 2012-02-07 Marek Polacek <polacek@redhat.com>
26433 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26434 * sysdeps/gnu/_G_config.h: Likewise.
26435 * sysdeps/mach/hurd/_G_config.h: Likewise.
26437 2012-02-07 Marek Polacek <polacek@redhat.com>
26439 * math/Makefile (tests): Add tst-CMPLX2.
26440 * math/tst-CMPLX2.c: New file.
26442 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26444 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26446 * math/libm-test.inc (jn_test): Add missing L suffix.
26448 2012-02-06 Marek Polacek <polacek@redhat.com>
26450 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26451 * sysdeps/i386/fpu/e_powf.S: Likewise.
26452 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26453 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26454 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26455 * sysdeps/i386/fpu/e_pow.S: Likewise.
26456 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26457 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26458 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26459 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26460 * sysdeps/i386/fpu/e_log2.S: Likewise.
26461 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26463 * sysdeps/i386/fpu/e_powl.S: Likewise.
26464 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26465 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26466 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26467 * sysdeps/i386/fpu/e_logl.S: Likewise.
26468 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26469 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26470 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26471 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26472 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26473 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26474 * sysdeps/i386/fpu/e_log.S: Likewise.
26475 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26476 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26477 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26478 * sysdeps/i386/fpu/e_logf.S: Likewise.
26479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26481 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26482 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26483 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26484 * sysdeps/i386/fpu/e_log10.S: Likewise.
26485 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26486 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26487 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26488 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26489 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26490 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26491 * sysdeps/i386/asm-syntax.h: Likewise.
26492 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26494 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26495 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26496 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26497 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26498 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26499 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26501 * sysdeps/powerpc/sysdep.h: Likewise.
26502 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26503 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26505 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26508 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26510 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26512 * sysdeps/i386/sysdep.h: Include <features.h>.
26513 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26516 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26518 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26520 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26523 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26525 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26526 (SETUP_PIC_REG): Use GET_PC_THUNK.
26527 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26530 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26532 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26533 for non-PIC compilation.
26534 (SETUP_PIC_REG): Add .p2align directive.
26535 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26536 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26537 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26538 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26539 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26540 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26541 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26543 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26544 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26545 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26546 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26547 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26548 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26549 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26550 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26551 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26552 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26553 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26554 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26555 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26557 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26558 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26563 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26564 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26565 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26566 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26567 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26568 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26569 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26570 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26571 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26572 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26573 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26575 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26577 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26579 * math/tst-CMPLX.c: Include <stdio.h>.
26581 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26583 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26585 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26586 * sysdeps/sparc/bits/mathdef.h: Likewise.
26588 2012-01-31 Marek Polacek <polacek@redhat.com>
26590 * libio/libio.h: Don't define _PARAMS.
26591 * locale/programs/config.h: Don't define PARAMS.
26592 * stdlib/strtol_l.c: Likewise.
26593 (__strtol_l): Remove PARAMS from the prototype.
26595 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26597 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26598 names. Just use the correct names. Remove unnecessary wrapper
26600 * malloc/arena.c: Likewise.
26601 * malloc/hooks.c: Likewise.
26603 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26604 ARENA_TEST says not to. Simplify test for creation of a new arena.
26605 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26607 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26609 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26611 (update_get_addr): New function.
26612 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26613 GET_ADDR_MODULE parameter.
26615 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26617 * crypt/cert.c: Remove __STDC__ conditionals.
26618 * crypt/crypt-entry.c: Likewise.
26619 * crypt/crypt_util.c: Likewise.
26620 * libio/filedoalloc.c: Likewise.
26621 * libio/fileops.c: Likewise.
26622 * libio/genops.c: Likewise.
26623 * libio/iofclose.c: Likewise.
26624 * libio/iofdopen.c: Likewise.
26625 * libio/iofopen.c: Likewise.
26626 * libio/iofopen64.c: Likewise.
26627 * libio/iogetdelim.c: Likewise.
26628 * libio/iopopen.c: Likewise.
26629 * libio/obprintf.c: Likewise.
26630 * libio/oldfileops.c: Likewise.
26631 * libio/oldiofclose.c: Likewise.
26632 * libio/oldiofdopen.c: Likewise.
26633 * libio/oldiofopen.c: Likewise.
26634 * libio/oldiopopen.c: Likewise.
26635 * libio/wfiledoalloc.c: Likewise.
26636 * libio/wgenops.c: Likewise.
26637 * locale/programs/xmalloc.c: Likewise.
26638 * misc/syslog.c: Likewise.
26639 * stdio-common/xbug.c: Likewise.
26640 * string/memchr.c: Likewise.
26641 * string/memcmp.c: Likewise.
26642 * string/memrchr.c: Likewise.
26643 * string/rawmemchr.c: Likewise.
26644 * sysdeps/posix/getcwd.c: Likewise.
26645 * time/strftime_l.c: Likewise.
26647 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26649 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26650 * config.make.in (config-cflags-sse2avx): Define.
26651 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26654 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26656 * scripts/config.guess: Update from upstream config git repository.
26657 * scripts/config.sub: Likewise.
26659 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26661 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26663 (R_TILEPRO_*, R_TILEGX_*): New macros.
26665 * scripts/firstversions.awk: Fix bug in version range handling.
26667 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26669 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26671 * include/sys/epoll.h: New file.
26672 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26675 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26677 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26678 Avoid unnecessary __WORDSIZE == 64 test.
26679 (fmaxf): Use VEX format if possible.
26684 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26685 * math/math_private.h: Remove libc_fegetround* and
26687 * sysdeps/i386/configure.in: Check for -msse2avx.
26688 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26689 also if SSE2AVX is defined.
26690 Remove libc_fegetround* and libc_fesetround*.
26691 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26692 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26695 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26696 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26698 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26699 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26701 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26703 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26705 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26707 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26709 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26712 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26714 * Makeconfig (libm): Define.
26715 * elf/Makefile: Add rules to build and run tst-relsort1.
26716 * elf/tst-relsort1.c: New file.
26717 * elf/tst-relsort1mod1.c: New file.
26718 * elf/tst-relsort1mod2.c: New file.
26720 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26722 * math/s_ldexp.c: Remove __STDC__ conditionals.
26723 * math/s_ldexpf.c: Likewise.
26724 * math/s_ldexpl.c: Likewise.
26725 * math/s_nextafter.c: Likewise.
26726 * math/s_nexttowardf.c: Likewise.
26727 * math/s_significand.c: Likewise.
26728 * math/s_significandf.c: Likewise.
26729 * math/s_significandl.c: Likewise.
26730 * math/w_jnl.c: Likewise.
26731 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26732 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26733 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26734 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26735 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26736 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26737 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26738 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26739 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26743 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26744 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26745 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26746 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26747 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26748 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26750 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26751 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26753 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26755 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26756 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26757 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26758 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26759 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26760 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26761 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26762 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26763 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26764 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26765 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26766 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26767 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26768 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26769 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26770 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26771 * sysdeps/ieee754/k_standard.c: Likewise.
26772 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26773 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26790 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26791 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26804 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26805 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26807 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26808 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26818 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26821 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26825 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26826 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26827 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26828 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26829 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26830 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26831 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26832 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26834 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26835 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26836 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26837 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26838 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26839 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26840 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26841 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26842 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26844 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26847 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26848 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26849 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26851 * sysdeps/ieee754/s_matherr.c: Likewise.
26852 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26853 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26857 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26859 * crypt/md5.h: Remove __STDC__ conditionals.
26860 * libio/libioP.h: Likewise.
26861 * locale/programs/config.h: Likewise.
26862 * sysdeps/generic/sysdep.h: Likewise.
26863 * sysdeps/i386/asm-syntax.h: Likewise.
26864 * sysdeps/s390/asm-syntax.h: Likewise.
26865 * sysdeps/unix/sysdep.h: Likewise.
26866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26869 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26871 * libio/libio.h: Remove __STDC__ conditionals.
26872 * malloc/obstack.h: Likewise.
26873 * math/complex.h: Likewise.
26874 * math/math.h: Likewise.
26875 * sysdeps/generic/_G_config.h: Likewise.
26876 * sysdeps/gnu/_G_config.h: Likewise.
26877 * sysdeps/mach/hurd/_G_config.h: Likewise.
26878 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26879 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26880 * sysdeps/sparc/bits/mathdef.h: Likewise.
26882 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26885 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26886 Clean up HAS_* macros.
26887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26888 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26890 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26893 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26898 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26900 * elf/tst-unique3.cc (gets): Remove declaration.
26901 * elf/tst-unique3lib.cc (gets): Likewise.
26902 * elf/tst-unique3lib2.cc (gets): Likewise.
26903 * elf/tst-unique4.cc (gets): Likewise.
26905 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26907 * include/stdio.h: Add C++ protection. Add gets declarations and
26909 * debug/tst-chk1.c: Don't declare gets here.
26910 * stdio-common/tst-gets.c: Likewise.
26912 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26914 * posix/glob: Remove directory.
26916 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26918 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26920 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26922 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26923 of the non-standard EPFNOSUPPORT.
26925 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26927 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26928 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26929 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26931 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26933 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26935 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26937 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26939 * nscd/grpcache.c (cache_addgr): Likewise.
26940 * nscd/hstcache.c (cache_addhst): Likewise.
26941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26942 * nscd/pwdcache.c (cache_addpw): Likewise.
26943 * nscd/servicescache.c (cache_addserv): Likewise.
26945 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26947 * malloc/malloc.c: Various cleanups.
26948 * malloc/hooks.c: Likewise.
26950 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26951 * stdlib/bug-fmtmsg1.c: New file.
26953 * stdlib/fmtmsg.c (init): Add missing unlock.
26954 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26956 2012-01-12 Marek Polacek <polacek@redhat.com>
26958 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26961 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26963 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26964 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26965 macro to ensure uniqueness of label name.
26966 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26967 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26969 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26971 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26973 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26974 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26975 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26978 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26980 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26982 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26983 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26984 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26986 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26988 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26989 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26990 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26993 * math/bits/math-finite.h: Add ldexp support.
26995 2012-01-10 Marek Polacek <polacek@redhat.com>
26997 * locale/programs/localedef.h (show_archive_content): Add noreturn
27000 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27002 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27004 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27006 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27008 * io/Makefile (headers): Add bits/poll2.h.
27010 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27013 typo #include statement.
27015 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27017 * include/sys/cdefs.h: Define __attribute_alloc_size.
27018 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27019 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27020 * elf/pldd.c: Likewise.
27021 * iconv/iconv_charmap.c: Likewise.
27022 * iconv/iconvconfig.c: Likewise.
27023 * iconv/strtab.c: Likewise.
27024 * locale/programs/locale.c: Likewise.
27025 * locale/programs/localedef.h: Likewise.
27026 * locale/programs/simple-hash.c: Likewise.
27027 * nscd/nscd.h: Likewise.
27028 * nss/makedb.c: Likewise.
27029 * sysdeps/generic/ldconfig.h: Likewise.
27030 * locale/programs/localedef.c: Remove xmalloc prototype.
27031 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27033 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27035 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27038 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27040 * math/Makefile (tests): Add tst-CMPLX.
27041 * math/tst-CMPLX.c: New file.
27043 * math/complex.h (CMPLXL): Fix typo.
27045 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27046 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27048 * debug/tst-chk1.c: Add poll and ppoll tests.
27049 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27050 * include/sys/poll.h: Add hidden proto for ppoll.
27051 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27052 * sysdeps/mach/hurd/ppoll.c: Likewise.
27053 * io/ppoll.c: Likewise.
27054 * debug/poll_chk.c: New file.
27055 * debug/ppoll_chk.c: New file.
27056 * include/bits/poll2.h: New file.
27057 * io/bits/poll2.h: New file.
27060 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27062 * configure.in: static is always set to yes. Remove.
27063 * config.make.in: Don't set build-static.
27064 * Makeconfig: Remove use of build-static.
27065 * dlfcn/Makefile: Likewise.
27066 * elf/Makefile: Likewise.
27067 * math/Makefile: Likewise.
27068 * misc/Makefile: Likewise.
27069 * nptl/Makefile: Likewise.
27070 * sysdeps/mach/hurd/Makefile: Likewise.
27072 * configure.in: PWD_P is not used anymore.
27073 * config.make.in: Remove PWD_P entry.
27075 * configure.in: Remove last remnants of RANLIB.
27076 No need to check for signed size_t anymore.
27077 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27079 Remove __builtin_expect test because we require at least gcc 3.4.
27080 * aclocal.m4: Likewise.
27082 * wcsmbs/mbrtoc16.c: Implement using towc function.
27083 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27084 * wcsmbs/wcsmbsload.c: Likewise.
27085 * iconv/gconv_simple.c: Likewise.
27086 * iconv/gconv_int.h: Likewise.
27087 * iconv/gconv_builtin.h: Likewise.
27088 * iconv/iconv_prog.c: Remove CHAR16 handling.
27090 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27092 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27094 * configure.in: Remove --with-elf and --enable-bounded options.
27095 Dont set base_machine for ia64. More non-ELF conditions removed.
27096 Remove testing and setting of leading underscore information.
27097 * config.make.in (build-bounded): Set to no.
27098 * config.h.in: Remove NO_UNDERSCORES entry.
27099 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27101 * csu/start.c: Remove !NO_UNDERSCORE code.
27102 * locale/localeinfo.h: Likewise.
27103 * sysdeps/generic/machine-gmon.h: Likewise.
27104 * sysdeps/generic/sysdep.h: Likewise.
27105 * sysdeps/i386/sysdep.h: Likewise.
27106 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27107 * sysdeps/mach/sysdep.h: Likewise.
27108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27110 * sysdeps/sh/sysdep.h: Likewise.
27111 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27112 * sysdeps/unix/i386/sysdep.S: Likewise.
27113 * sysdeps/unix/sparc/start.c: Likewise.
27114 * sysdeps/unix/sparc/sysdep.S: Likewise.
27115 * sysdeps/unix/sparc/sysdep.h: Likewise.
27116 * sysdeps/unix/start.c: Likewise.
27117 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27118 * sysdeps/x86_64/sysdep.h: Likewise.
27120 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27123 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27125 * argp/argp-fmtstream.h: Use const instead __const.
27126 * argp/argp.h: Likewise.
27127 * assert/assert.h: Likewise.
27128 * bits/fenv.h: Likewise.
27129 * bits/sched.h: Likewise.
27130 * bits/sigset.h: Likewise.
27131 * bits/sigthread.h: Likewise.
27132 * catgets/nl_types.h: Likewise.
27133 * conform/data/pthread.h-data: Likewise.
27134 * crypt/crypt-private.h: Likewise.
27135 * crypt/crypt.h: Likewise.
27136 * crypt/crypt_util.c: Likewise.
27137 * ctype/ctype.h: Likewise.
27138 * debug/execinfo.h: Likewise.
27139 * debug/mbsnrtowcs_chk.c: Likewise.
27140 * debug/mbsrtowcs_chk.c: Likewise.
27141 * debug/wcsnrtombs_chk.c: Likewise.
27142 * debug/wcsrtombs_chk.c: Likewise.
27143 * debug/wcstombs_chk.c: Likewise.
27144 * dirent/dirent.h: Likewise.
27145 * dlfcn/dlfcn.h: Likewise.
27146 * elf/neededtest4.c: Likewise.
27147 * grp/grp.h: Likewise.
27148 * gshadow/gshadow.h: Likewise.
27149 * iconv/gconv.h: Likewise.
27150 * iconv/gconv_int.h: Likewise.
27151 * iconv/gconv_simple.c: Likewise.
27152 * iconv/iconv.h: Likewise.
27153 * iconv/loop.c: Likewise.
27154 * iconv/skeleton.c: Likewise.
27155 * include/aio.h: Likewise.
27156 * include/aliases.h: Likewise.
27157 * include/argz.h: Likewise.
27158 * include/arpa/inet.h: Likewise.
27159 * include/assert.h: Likewise.
27160 * include/dirent.h: Likewise.
27161 * include/dlfcn.h: Likewise.
27162 * include/execinfo.h: Likewise.
27163 * include/fcntl.h: Likewise.
27164 * include/fenv.h: Likewise.
27165 * include/glob.h: Likewise.
27166 * include/grp.h: Likewise.
27167 * include/libintl.h: Likewise.
27168 * include/mntent.h: Likewise.
27169 * include/netdb.h: Likewise.
27170 * include/pwd.h: Likewise.
27171 * include/rpc/netdb.h: Likewise.
27172 * include/sched.h: Likewise.
27173 * include/search.h: Likewise.
27174 * include/shadow.h: Likewise.
27175 * include/signal.h: Likewise.
27176 * include/stdio.h: Likewise.
27177 * include/stdlib.h: Likewise.
27178 * include/string.h: Likewise.
27179 * include/sys/socket.h: Likewise.
27180 * include/sys/stat.h: Likewise.
27181 * include/sys/statfs.h: Likewise.
27182 * include/sys/statvfs.h: Likewise.
27183 * include/sys/syslog.h: Likewise.
27184 * include/sys/time.h: Likewise.
27185 * include/sys/uio.h: Likewise.
27186 * include/time.h: Likewise.
27187 * include/unistd.h: Likewise.
27188 * include/utmp.h: Likewise.
27189 * include/wchar.h: Likewise.
27190 * include/wctype.h: Likewise.
27191 * inet/aliases.h: Likewise.
27192 * inet/arpa/inet.h: Likewise.
27193 * inet/netinet/ether.h: Likewise.
27194 * inet/netinet/in.h: Likewise.
27195 * intl/libintl.h: Likewise.
27196 * io/bits/fcntl2.h: Likewise.
27197 * io/fcntl.h: Likewise.
27198 * io/ftw.h: Likewise.
27199 * io/sys/poll.h: Likewise.
27200 * io/sys/stat.h: Likewise.
27201 * io/sys/statfs.h: Likewise.
27202 * io/sys/statvfs.h: Likewise.
27203 * io/utime.h: Likewise.
27204 * libio/bits/stdio.h: Likewise.
27205 * libio/bits/stdio2.h: Likewise.
27206 * libio/libio.h: Likewise.
27207 * libio/libioP.h: Likewise.
27208 * libio/stdio.h: Likewise.
27209 * locale/lc-ctype.c: Likewise.
27210 * locale/locale.h: Likewise.
27211 * login/utmp.h: Likewise.
27212 * malloc/arena.c: Likewise.
27213 * malloc/malloc.c: Likewise.
27214 * malloc/malloc.h: Likewise.
27215 * malloc/mcheck.c: Likewise.
27216 * malloc/mtrace.c: Likewise.
27217 * math/bits/mathcalls.h: Likewise.
27218 * math/fenv.h: Likewise.
27219 * math/math_private.h: Likewise.
27220 * misc/bits/error.h: Likewise.
27221 * misc/bits/syslog.h: Likewise.
27222 * misc/err.h: Likewise.
27223 * misc/error.h: Likewise.
27224 * misc/fstab.h: Likewise.
27225 * misc/mntent.h: Likewise.
27226 * misc/regexp.h: Likewise.
27227 * misc/search.h: Likewise.
27228 * misc/sgtty.h: Likewise.
27229 * misc/sys/mman.h: Likewise.
27230 * misc/sys/syslog.h: Likewise.
27231 * misc/sys/uio.h: Likewise.
27232 * misc/sys/xattr.h: Likewise.
27233 * misc/ttyent.h: Likewise.
27234 * nis/rpcsvc/ypclnt.h: Likewise.
27235 * nss/nss.h: Likewise.
27236 * posix/bits/unistd.h: Likewise.
27237 * posix/fnmatch.h: Likewise.
27238 * posix/glob.h: Likewise.
27239 * posix/sched.h: Likewise.
27240 * posix/spawn.h: Likewise.
27241 * posix/sys/wait.h: Likewise.
27242 * posix/unistd.h: Likewise.
27243 * posix/wordexp.h: Likewise.
27244 * pwd/pwd.h: Likewise.
27245 * resolv/netdb.h: Likewise.
27246 * resource/sys/resource.h: Likewise.
27247 * rt/aio.h: Likewise.
27248 * rt/bits/mqueue2.h: Likewise.
27249 * rt/mqueue.h: Likewise.
27250 * shadow/shadow.h: Likewise.
27251 * signal/signal.h: Likewise.
27252 * socket/send.c: Likewise.
27253 * socket/sendto.c: Likewise.
27254 * socket/sys/socket.h: Likewise.
27255 * stdio-common/printf.h: Likewise.
27256 * stdlib/bits/stdlib.h: Likewise.
27257 * stdlib/fmtmsg.h: Likewise.
27258 * stdlib/monetary.h: Likewise.
27259 * stdlib/stdlib.h: Likewise.
27260 * stdlib/ucontext.h: Likewise.
27261 * streams/stropts.h: Likewise.
27262 * string/argz.h: Likewise.
27263 * string/bits/string2.h: Likewise.
27264 * string/string.h: Likewise.
27265 * string/strings.h: Likewise.
27266 * sunrpc/rpc/auth.h: Likewise.
27267 * sunrpc/rpc/auth_des.h: Likewise.
27268 * sunrpc/rpc/clnt.h: Likewise.
27269 * sunrpc/rpc/netdb.h: Likewise.
27270 * sunrpc/rpc/pmap_clnt.h: Likewise.
27271 * sunrpc/rpc/xdr.h: Likewise.
27272 * sysdeps/generic/inttypes.h: Likewise.
27273 * sysdeps/generic/net/if.h: Likewise.
27274 * sysdeps/generic/sys/swap.h: Likewise.
27275 * sysdeps/gnu/net/if.h: Likewise.
27276 * sysdeps/gnu/utmpx.h: Likewise.
27277 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27278 * sysdeps/i386/i486/bits/string.h: Likewise.
27279 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27280 * sysdeps/s390/bits/string.h: Likewise.
27281 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27282 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27283 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27284 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27285 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27286 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27287 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27288 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27289 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27290 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27291 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27292 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27293 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27294 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27295 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27296 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27297 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27302 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27303 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27304 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27305 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27306 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27307 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27308 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27309 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27310 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27311 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27312 * sysvipc/sys/ipc.h: Likewise.
27313 * sysvipc/sys/msg.h: Likewise.
27314 * sysvipc/sys/sem.h: Likewise.
27315 * sysvipc/sys/shm.h: Likewise.
27316 * termios/termios.h: Likewise.
27317 * time/sys/time.h: Likewise.
27318 * time/time.h: Likewise.
27319 * wcsmbs/bits/wchar2.h: Likewise.
27320 * wcsmbs/uchar.h: Likewise.
27321 * wcsmbs/wchar.h: Likewise.
27322 * wctype/wctype.h: Likewise.
27325 * Makeconfig: Remove all but ELF support including AIX support.
27326 * Makerules: Likewise.
27327 * config.h.in: Likewise.
27328 * config.make.in: Likewise.
27329 * configure: Likewise.
27330 * configure.in: Likewise.
27331 * csu/Makefile: Likewise.
27332 * csu/version.c: Likewise.
27333 * debug/Makefile: Likewise.
27334 * dlfcn/Makefile: Likewise.
27335 * elf/Makefile: Likewise.
27336 * extra-lib.mk: Likewise.
27337 * iconv/Makefile: Likewise.
27338 * include/libc-symbols.h: Likewise.
27339 * include/shlib-compat.h: Likewise.
27340 * resolv/Makefile: Likewise.
27341 * resolv/res_libc.c: Likewise.
27342 * rt/Makefile: Likewise.
27343 * sysdeps/i386/asm-syntax.h: Likewise.
27344 * sysdeps/i386/sysdep.h: Likewise.
27345 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27346 * sysdeps/mach/sysdep.h: Likewise.
27347 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27348 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27349 * sysdeps/s390/asm-syntax.h: Likewise.
27350 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27351 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27352 * sysdeps/sh/sysdep.h: Likewise.
27353 * sysdeps/unix/sparc/sysdep.h: Likewise.
27354 * sysdeps/wordsize-32/divdi3.c: Likewise.
27355 * sysdeps/x86_64/sysdep.h: Likewise.
27357 * argp/Versions: Remove _argp_unlock_xxx.
27360 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27361 * abilist/libBrokenLocale.abilist: Likewise.
27362 * abilist/libanl.abilist: Likewise.
27363 * abilist/libc.abilist: Likewise.
27364 * abilist/libcrypt.abilist: Likewise.
27365 * abilist/libdl.abilist: Likewise.
27366 * abilist/libm.abilist: Likewise.
27367 * abilist/libnsl.abilist: Likewise.
27368 * abilist/libpthread.abilist: Likewise.
27369 * abilist/libresolv.abilist: Likewise.
27370 * abilist/librt.abilist: Likewise.
27371 * abilist/libthread_db.abilist: Likewise.
27372 * abilist/libutil.abilist: Likewise.
27373 * abilist/libnss_db.abilist: New file.
27375 * scripts/abilist.awk: Add support for indirect functions.
27377 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27379 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27381 * shlib-versions: Remove entries for ports architectures.
27383 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27385 * elf/stackguard-macros.h: Remove support for IA-64.
27386 * elf/tst-auditmod1.c: Likewise.
27387 * sysdeps/generic/ldsodefs.h: Likewise.
27389 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27390 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27394 * configure.in: Remove --enable-omitfp support.
27396 * config.make.in: Likewise.
27397 * Makeconfig: Likewise.
27398 * manual/install.texi: Likewise.
27400 In case anyone cares, the IA-64 architecture could move to ports.
27401 * sysdeps/ia64/*: Removed.
27402 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27403 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27406 * configure.in: Remove entries for unsupported architectures.
27409 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27410 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27412 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27413 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27414 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27415 fall back to using wcrtomb.
27416 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27417 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27419 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27420 * wcsmbs/tst-c16c32-1.c: New file.
27422 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27425 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27427 * elf/tst-unique3.cc: Add explicit declaration of gets.
27428 * elf/tst-unique3lib.cc: Likewise.
27429 * elf/tst-unique3lib2.cc: Likewise.
27430 * elf/tst-unique4.cc: Likewise.
27432 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27434 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27437 * assert/assert.h (static_assert): Don't define for C++.
27438 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27439 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27441 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27443 * iconv/loop.c (single loop): Fix assertion in storing of
27446 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27448 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27450 * posix/getconf.c: Update copyright year.
27451 * nss/getent.c: Likewise.
27452 * nss/makedb.c: Likewise.
27453 * iconv/iconvconfig.c: Likewise.
27454 * iconv/iconv_prog.c: Likewise.
27455 * elf/ldconfig.c: Likewise.
27456 * elf/pldd.c: Likewise.
27457 * elf/sotruss.ksh: Likewise.
27458 * catgets/gencat.c: Likewise.
27459 * csu/version.c: Likewise.
27460 * elf/ldd.bash.in: Likewise.
27461 * elf/sprof.c (print_version): Likewise.
27462 * locale/programs/locale.c: Likewise.
27463 * locale/programs/localedef.c: Likewise.
27464 * login/programs/pt_chown.c: Likewise.
27465 * nscd/nscd.c (print_version): Likewise.
27466 * debug/xtrace.sh: Likewise.
27467 * malloc/memusage.sh: Likewise.
27468 * malloc/mtrace.pl: Likewise.
27469 * debug/catchsegv.sh: Likewise.
27471 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27473 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27476 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27479 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27480 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27482 * iconv/gconv_int.h: Likewise.
27483 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27484 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27485 from libc for GLIBC_2.16.
27486 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27487 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27488 * wcsmbs/uchar.h: Really define mbstate_t.
27489 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27490 * wcsmbs/c16rtomb.c: New file.
27491 * wcsmbs/mbrtoc16.c: New file.
27492 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27493 for C/POSIX locale.
27494 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27495 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27497 * wcsmbs/wchar.h: Add missing __restrict.
27499 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27502 * time/Makefile (routines): Add timespec_get.
27503 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27504 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27505 timespec for ISO C11.
27506 * time/timespec_get.c: New file.
27507 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27508 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27511 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27512 * stdlib/stdlib.h: Declare aligned_alloc.
27513 * Versions.def: Add GLIBC_2.16 for libc.
27514 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27517 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27520 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27524 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27527 * assert/assert.h (static_assert): Define.
27529 * version.h: Update for 2.16 development version.
27532 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27535 * version.h (RELEASE): Bump for 2.15 release.
27536 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27538 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27539 Patch by Marek Polacek <mpolacek@redhat.com>.
27541 * bits/byteswap.h: Protect long long constants with __extension__.
27542 * sysdeps/i386/bits/byteswap.h: Likewise.
27543 * sysdeps/ia64/bits/byteswap.h: Likewise.
27544 * sysdeps/s390/bits/byteswap.h: Likewise.
27545 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27547 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27551 destination buffer.
27552 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27554 2011-12-23 Marek Polacek <polacek@redhat.com>
27556 * elf/dl-addr.c (determine_info): Add inline keyword.
27557 * elf/tst-auditmod4b.c (check_avx): Likewise.
27558 * elf/tst-auditmod6b.c (check_avx): Likewise.
27559 * elf/tst-auditmod6c.c (check_avx): Likewise.
27560 * elf/tst-auditmod7b.c (check_avx): Likewise.
27562 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27564 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27567 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27570 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27571 processing for last bytes.
27573 2011-08-06 Bruno Haible <bruno@clisp.org>
27576 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27577 U+0385, not to U+1FEE.
27580 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27581 entry for U+00A5 U+0301.
27583 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27586 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27587 buffer for the output is too small.
27589 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27593 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27594 SSE flags if possible.
27596 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27600 processing for last bytes.
27602 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27604 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27605 (syscall-list-default-options, syscall-list-default-condition)
27606 (syscall-list-includes): Define.
27607 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27608 list of ABIs and options and #if conditions for each ABI. Do not
27609 handle common syscalls between ABIs specially.
27610 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27612 (syscall-list-variants, syscall-list-32bit-options)
27613 (syscall-list-32bit-condition, syscall-list-64bit-options)
27614 (syscall-list-64bit-condition): Define.
27615 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27616 (syscall-list-variants, syscall-list-32bit-options)
27617 (syscall-list-32bit-condition, syscall-list-64bit-options)
27618 (syscall-list-64bit-condition): Define.
27619 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27621 (syscall-list-variants, syscall-list-32bit-options)
27622 (syscall-list-32bit-condition, syscall-list-64bit-options)
27623 (syscall-list-64bit-condition): Define.
27624 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27626 (syscall-list-variants, syscall-list-32bit-options)
27627 (syscall-list-32bit-condition, syscall-list-64bit-options)
27628 (syscall-list-64bit-condition): Define.
27630 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27632 * locale/iso-639.def: Add brx entry.
27635 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27636 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27638 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27639 __feraiseexcept_renamed.
27641 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27644 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27645 EPOLLET with unsigned values.
27646 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27649 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27650 to large cancellation.
27651 * math/s_cacoshf.c: Likewise.
27652 * math/s_cacoshl.c: Likewise.
27654 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27658 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27659 * math/s_cacoshf.c: Likewise.
27660 * math/s_cacoshl.c: Likewise.
27662 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27665 * iconv/gconv.h: Define __GCONV_SWAP.
27666 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27667 * iconvdata/utf-16.c: Likewise.
27668 * iconvdata/utf-32.c: Likewise.
27670 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27674 numerator after shifting it by one limb.
27676 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27679 under [__USE_EXTERN_INLINES].
27681 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27684 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27686 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27688 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27689 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27691 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27692 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27693 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27694 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27695 for strncasecmp/strncasecmp_l compilation.
27696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27697 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27699 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27702 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27705 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27708 * time/tzfile.c (__tzfile_read): Check values from file header.
27710 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27712 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27713 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27714 * powerpc/powerpc32/dl-start.S: Likewise.
27715 * powerpc/powerpc32/elf/start.S: Likewise.
27716 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27717 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27718 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27719 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27720 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27721 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27722 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27723 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27724 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27725 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27726 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27727 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27728 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27729 * powerpc/powerpc32/memset.S: Likewise.
27730 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27731 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27732 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27733 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27734 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27735 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27736 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27737 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27738 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27739 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27740 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27741 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27742 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27744 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27746 * math/libm-test.inc: Added more nearbyint tests.
27747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27748 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27750 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27752 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27754 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27757 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27759 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27760 Add wcscpy-ssse3 wcscpy-c.
27761 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27762 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27763 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27764 * sysdeps/x86_64/wcschr.S: New file.
27765 * sysdeps/x86_64/wcsrchr.S: New file.
27766 * string/test-strcmp.c: Remove checking of wcscmp function for
27768 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27769 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27770 wcsrchr-sse2 wcsrchr-c.
27771 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27772 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27773 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27774 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27775 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27776 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27777 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27778 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27779 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27780 * wcsmbc/wcschr.c (WCSCHR): New macro.
27782 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27784 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27785 * wcsmbs/test-wcsrchr.c: New file.
27786 * string/test-strrchr.c: Add wcsrchr support.
27788 * wcsmbs/test-wcscpy.c: New file.
27789 * string/test-strcpy.c: Add wcscpy support.
27792 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27794 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27797 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27800 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27802 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27804 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27805 Minor optimizations.
27807 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27808 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27809 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27811 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27813 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27814 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27815 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27816 for gcc to avoid warnings.
27817 * inet/Makefile (tests): Add tst-checks.
27818 * inet/tst-checks.c: New file.
27820 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27823 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27826 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27827 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27829 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27831 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27833 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27836 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27838 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27840 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27841 conditional on GCC version.
27842 (__arch_compare_and_exchange_val_8_acq)
27843 (__arch_compare_and_exchange_val_16_acq)
27844 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27845 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27846 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27848 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27850 * sysdeps/sh/backtrace.c: New file.
27852 2011-12-02 Andreas Schwab <schwab@redhat.com>
27854 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27857 2011-12-01 Andreas Schwab <schwab@redhat.com>
27859 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27860 falling back to utime.
27862 2011-11-30 Andreas Schwab <schwab@redhat.com>
27864 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27865 expectations for float.
27867 2011-11-29 Andreas Schwab <schwab@redhat.com>
27869 * locale/weight.h (findidx): Add parameter len.
27870 * locale/weightwc.h (findidx): Likewise.
27871 * posix/fnmatch_loop.c (FCT): Adjust caller.
27872 * posix/regcomp.c (build_equiv_class): Likewise.
27873 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27874 * posix/regexec.c (check_node_accept_bytes): Likewise.
27875 * string/strcoll_l.c (STRCOLL): Likewise.
27876 * string/strxfrm_l.c (STRXFRM): Likewise.
27878 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27880 * Makefile.in: Remove CVSOPT handling.
27881 * configure.in: Remove use of AC_REVISION.
27882 * iconvdata/Makefile (distribute): No need to filter out CVS.
27883 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27886 2011-11-16 Andreas Schwab <schwab@redhat.com>
27888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27889 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27890 [USE_AS_STRNCASECMP_L]: Likewise.
27891 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27892 NO_TLS_DIRECT_SEG_REFS.
27893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27894 Fix argument offsets for non-PIC.
27895 [USE_AS_STRNCASECMP_L]: Likewise.
27896 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27897 NO_TLS_DIRECT_SEG_REFS.
27899 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27901 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27903 * locale/loadlocale.c (_nl_load_locale): Likewise.
27905 2011-11-15 Andreas Schwab <schwab@redhat.com>
27907 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27908 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27909 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27910 (SYSCALL_GETTIME): Set errno on error.
27912 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27913 count references to noai6ai_cached.
27915 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27917 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27919 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27920 FD_CLOEXEC for /proc/self/maps.
27922 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27923 FD_CLOEXEC for /proc/meminfo.
27925 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27928 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27929 FD_CLOEXEC for given file.
27931 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27933 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27934 FD_CLOEXEC for /etc/hosts.
27935 (_gethtent): Likewise.
27937 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27939 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27940 cancellation and set FD_CLOEXEC for /etc/netgroup.
27942 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27943 reading /etc/publickey.
27945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27946 allow cancellation when reading /etc/group.
27948 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27950 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27952 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27953 when using data file.
27955 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27957 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27958 (write_nis_obj): Use "c" and "e" in fopen.
27960 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27962 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27964 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27966 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27968 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27971 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27973 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27975 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27977 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27978 file parsing and set FD_CLOEXEC.
27980 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27982 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27984 2011-11-14 Andreas Schwab <schwab@redhat.com>
27986 * malloc/arena.c (arena_get2): Don't call reused_arena when
27987 _int_new_arena failed.
27989 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27991 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27992 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27994 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27995 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27997 to compile strcasecmp and strncasecmp.
27998 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27999 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28003 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28005 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28006 locale-defines.sym to gen-as-const-headers.
28007 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28008 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28009 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28010 to compile strcasecmp and strncasecmp.
28011 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28012 strcasecmp_l and strncasecmp_l.
28013 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28014 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28015 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28016 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28017 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28018 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28019 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28020 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28021 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28022 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28023 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28025 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28027 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28028 result of SYSDEP_GETTIME_CPU to retval.
28029 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28030 parameter list to macro. Remove trailing semicolon. Adjust users.
28032 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28035 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28037 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28039 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28040 from unused variable.
28042 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28044 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28047 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28050 * sunrpc/rpc_prot.c (rejected): Fix case value.
28052 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28053 unsigned long long int to avoid warnings in shift.
28055 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28057 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28060 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28061 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28062 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28064 * nis/nis_table.c (nis_list): Use variable of correct type for
28065 result of __follow_path call.
28067 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28069 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28070 of math functions ceil, trunc, floor, round, and sqrt, when
28071 avaliable on the platform.
28072 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28074 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28075 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28076 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28078 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28080 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28081 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28083 2011-11-11 Roland McGrath <roland@hack.frob.com>
28085 * include/unistd.h: Fix __readlink return type.
28086 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28088 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28090 * stdlib/ucontext.h: Undo last change for makecontext.
28092 2011-11-11 Andreas Schwab <schwab@redhat.com>
28094 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28096 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28097 * setjmp/setjmp.h: Mark functions as non-leaf.
28098 * setjmp/bits/setjmp2.h: Likewise.
28099 * stdlib/ucontext.h: Likewise.
28101 2011-11-10 Andreas Schwab <schwab@redhat.com>
28103 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28104 (reused_arena): Don't check arena limit.
28105 (arena_get2): Atomically check arena limit.
28107 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28109 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28110 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28115 2011-11-07 Andreas Schwab <schwab@redhat.com>
28117 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28118 handler when locking.
28120 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28121 Fix size of allocated buffer.
28123 2011-11-04 Andreas Schwab <schwab@redhat.com>
28126 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28127 declarations for long double functions.
28128 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28130 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28132 2011-11-03 Andreas Schwab <schwab@redhat.com>
28134 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28137 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28140 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28142 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28144 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28146 * include/alloca.h (stackinfo_alloca_round): Define.
28147 (extend_alloca): Use it.
28148 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28149 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28152 * scripts/check-local-headers.sh: Ignore libaudit.h.
28154 * nscd/Makefile (extra-objs): Make recursively expanded.
28156 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28158 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28161 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28162 * posix/tst-rfc3484-2.c: Likewise.
28163 * posix/tst-rfc3484-3.c: Likewise.
28165 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28167 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28169 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28170 process_vm_writev from libc using GLIBC_2.15 version.
28172 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28174 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28176 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28179 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28182 * nss/getent.c (initgroups_keys): Show error message in case no group
28185 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28186 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28187 __bump_nl_timestamp.
28188 * nscd/connections (nscd_init): When host database is served open
28189 netlink socket and request notification about configuration changes.
28190 (main_loop_poll): Track netlink file descriptor and bump timestamp
28191 in case data becomes available.
28192 (main_loop_epoll): Likewise.
28193 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28194 (database_pers_head): Add extra_data fileds.
28195 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28196 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28197 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28199 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28200 in6ai data, call __free_in6ai.
28201 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28202 Add -DHAVE_NETLINK.
28203 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28204 interface information. Reuse previous data if netlink timestamp
28206 (__bump_nl_timestamp): New function.
28207 (__free_in6ai): New function.
28209 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28212 close_not_cancel_no_status here.
28213 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28215 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28218 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28221 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28222 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28223 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28225 2011-07-03 Andreas Jaeger <aj@suse.de>
28228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28229 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28230 * math/libm-test.inc (sin_test): Add test case.
28232 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28235 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28236 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28238 * elf/chroot_canon.c (chroot_canon): Cleanups.
28240 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28243 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28244 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28246 * string/test-strchr.c: Make usable for strchrnul testing.
28247 * string/test-strchrnul.c: New file.
28248 * string/Makefile (strop-tests): Add strchrnul.
28250 * po/it.po: Update from translation team.
28251 * po/es.po: Likewise.
28253 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28256 the three constants needed as parameters. Drop the others.
28257 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28258 __m128i_strloadu_tolower.
28259 Create and initialize variable zero and use it in all the places
28260 where _mm_setzero_si128 was used.
28262 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28263 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28264 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28265 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28267 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28268 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28269 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28270 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28271 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28272 __mpranred, __mptan.
28273 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28274 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28275 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28276 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28277 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28278 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28279 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28280 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28281 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28283 2011-10-28 Andreas Schwab <schwab@redhat.com>
28285 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28286 redefine if SHARED.
28287 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28290 wide char related routines to wcsmbs subdir.
28292 2011-10-27 Andreas Schwab <schwab@redhat.com>
28295 * misc/sys/cdefs.h (__THROWNL): Define.
28296 * posix/unistd.h: Use __THREADNL instead of __THREAD
28297 for memory synchronization functions.
28299 2011-10-26 Roland McGrath <roland@hack.frob.com>
28302 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28304 * manual/stdio.texi (Obstack Streams): Node removed.
28306 2011-10-26 Andreas Schwab <schwab@redhat.com>
28308 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28309 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28310 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28312 * math/math_private.h (math_force_eval): Allow non-addressable
28314 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28316 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28318 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28319 file is not needed.
28321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28322 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28324 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28328 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28330 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28331 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28332 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28333 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28334 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28335 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28336 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28337 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28338 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28339 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28340 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28341 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28342 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28343 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28344 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28345 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28346 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28347 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28348 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28350 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28351 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28353 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28354 place. Use VEX encoding when compiling for AVX.
28356 2011-10-25 Andreas Schwab <schwab@redhat.com>
28358 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28359 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28361 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28363 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28365 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28366 useless if() expression.
28367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28372 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28373 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28375 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28376 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28377 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28378 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28379 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28380 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28381 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28383 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28385 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28387 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28389 2011-10-25 Andreas Schwab <schwab@redhat.com>
28391 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28393 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28395 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28397 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28398 .text section. Avoid duplicate constants.
28399 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28401 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28403 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28409 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28410 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28411 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28412 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28413 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28415 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28416 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28417 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28419 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28420 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28422 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28423 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28424 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28425 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28426 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28427 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28428 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28432 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28433 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28434 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28435 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28437 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28438 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28440 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28441 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28442 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28443 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28445 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28447 * sysdeps/x86_64/dla.h: Move to ...
28448 * sysdeps/x86_64/fpu/dla.h: ...here.
28449 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28450 situations. Use __builtin_fma only for gcc 4.6 and up.
28452 * config.make.in: Add have-mfma4 entry.
28453 * configure.in: Substitute libc_cv_cc_fma4.
28454 * math/Makefile (dbl-only-routines): Add sincostab.
28455 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28456 Use __sincostab not sincos.
28457 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28464 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28465 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28466 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28467 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28469 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28470 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28472 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28473 define aliases when function name is a macro.
28474 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28475 sysdeps/ieee754/dbl-64/sincos.tbl.
28476 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28477 fma4-enabled routines.
28478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28479 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28480 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28481 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28482 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28483 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28485 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28486 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28487 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28488 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28489 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28490 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28491 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28492 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28493 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28494 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28495 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28496 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28497 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28498 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28499 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28500 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28504 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28505 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28506 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28509 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28520 2011-10-24 Andreas Schwab <schwab@redhat.com>
28522 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28524 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28528 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28530 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28532 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28533 Remove unused variable magic_bits.
28534 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28536 * string/strnlen.c: Define and use STRNLEN macro.
28537 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28538 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28540 * wcsmbs/wcslen.c: Define and use WCSLEN.
28541 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28542 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28543 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28544 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28545 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28546 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28547 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28549 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28552 strnlen-sse2-no-bsf.
28553 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28554 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28555 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28556 Add strnlen support.
28557 (USE_AS_STRNLEN): New macro.
28558 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28559 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28560 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28561 * sysdeps/x86_64/wcslen.S: New file.
28563 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28566 XMM-moves are used for copying on small sizes.
28568 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28570 * wcsmbs/Makefile (strop-tests): Add wcschr.
28571 * wcsmbs/test-wcschr.c: New file.
28572 * string/test-strchr.c: Update.
28573 Add wcschr support.
28576 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28578 * wcsmbs/Makefile (strop-tests): Add wcslen.
28579 * wcsmbs/test-wcslen.c: New file.
28580 * string/test-strlen.c: Update.
28581 Add wcslen support.
28584 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28586 * po/it.po: Update from translation team.
28588 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28590 * sysdeps/x86_64/wcscmp.S: Update.
28591 Fix wrong comparison semantics.
28592 wcscmp shall use signed comparison not unsigned.
28593 Don't use substraction to avoid overflow bug.
28594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28595 * wcsmbc/wcscmp.c: Likewise.
28596 * string/test-strcmp.c: Likewise.
28597 Add new tests to check cases with negative values.
28599 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28601 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28602 * sysdeps/x86_64/dla.h: ...here. New file.
28603 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28613 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28616 __ynl_finite aliases.
28618 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28622 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28624 [DLA_FMA] (EMULV): Use DLA_FMA.
28625 [DLA_FMA] (MUL12): Use EMULV.
28626 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28627 that are not needed.
28628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28636 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28638 * math/s_nan.c: Undef __nan.
28639 * math/s_nanf.c: Undef __nanf.
28640 * math/s_nanl.c: Undef __nanl.
28641 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28644 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28646 * math/s_catan.c: Add branch predictions.
28647 * math/s_catanf.c: Likewise.
28648 * math/s_catanh.c: Likewise.
28649 * math/s_catanhf.c: Likewise.
28650 * math/s_catanhl.c: Likewise.
28651 * math/s_catanl.c: Likewise.
28652 * math/s_cexp.c: Likewise.
28653 * math/s_cexpf.c: Likewise.
28654 * math/s_cexpl.c: Likewise.
28655 * math/s_clog.c: Likewise.
28656 * math/s_clog10.c: Likewise.
28657 * math/s_clog10f.c: Likewise.
28658 * math/s_clog10l.c: Likewise.
28659 * math/s_clogf.c: Likewise.
28660 * math/s_clogl.c: Likewise.
28661 * math/s_csqrt.c: Likewise.
28662 * math/s_csqrtf.c: Likewise.
28663 * math/s_csqrtl.c: Likewise.
28664 * math/s_ctanf.c: Likewise.
28665 * math/s_ctanh.c: Likewise.
28666 * math/s_ctanhf.c: Likewise.
28667 * math/s_ctanhl.c: Likewise.
28668 * math/s_ctanl.c: Likewise.
28670 * math/math_private.h: Define __nan, __nanf, __nanl.
28671 * math/s_cacosh.c: Include <math_private.h>.
28672 * math/s_cacoshl.c: Likewise.
28673 * math/s_casinh.c: Likewise.
28674 * math/s_casinhf.c: Likewise.
28675 * math/s_casinhl.c: Likewise.
28676 * math/s_ccos.c: Rely entire on ccosh.
28677 * math/s_ccosf.c: Rely entire on ccoshf.
28678 * math/s_ccosl.c: Rely entirely on ccoshl.
28679 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28680 Remove tests for FE_INVALID.
28681 * math/s_ccoshf.c: Likewise.
28682 * math/s_ccoshl.c: Likewise.
28683 * math/s_csin.c: Likewise.
28684 * math/s_csinf.c: Likewise.
28685 * math/s_csinh.c Likewise.
28686 * math/s_csinhf.c: Likewise.
28687 * math/s_csinhl.c: Likewise.
28688 * math/s_csinl.c: Likewise.
28689 * math/s_ctan.c: Likewise.
28690 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28691 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28692 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28694 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28697 compilation problems.
28699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28702 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28704 * sysdeps/i386/configure.in: Test for -mfma4 option.
28705 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28706 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28707 COMMON_CPUID_INDEX_80000001.
28708 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28709 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28710 use it if FMA3 is not supported.
28711 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28713 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28714 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28716 2011-10-20 Andreas Schwab <schwab@redhat.com>
28719 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28720 it would create a cycle with a link time dependency.
28722 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28724 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28726 * string/Makefile (strop-tests): Add rawmemchr.
28727 * string/test-rawmemchr.c: New file.
28729 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28730 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28731 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28732 when compiling str{,n}casecmp and when AVX is available. Hook up
28733 new optimized code in initializers.
28735 2011-10-19 Andreas Schwab <schwab@redhat.com>
28737 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28738 __feraiseexcept instead of feraiseexcept.
28740 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28742 * math/math_private.h: Define defaults for libc_fetestexcept and
28744 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28745 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28746 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28747 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28748 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28749 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28750 libc_fetestexcept and libc_feupdateenv.
28752 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28753 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28754 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28755 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28756 libc_feholdexcept_setround.
28758 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28759 Add s_nearbyint-c and s_nearbyintf-c.
28760 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28761 nearbyintf inlines.
28762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28763 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28764 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28765 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28767 * math/math_private.h: Define defaults for libc_fegetround,
28768 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28769 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28770 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28771 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28772 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28773 standard functions.
28774 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28775 Remove comments and hacks for old compiler versions.
28776 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28777 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28778 libc_feholdexceptl.
28780 2011-10-18 Andreas Schwab <schwab@redhat.com>
28782 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28783 (__feraiseexcept_renamed): Add __NTH.
28784 (feraiseexcept): Add __NTH. Rename local variables to fix
28785 namespace violations.
28787 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28789 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28791 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28793 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28794 recently added interfaces.
28795 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28797 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28798 about macro parameter expansion.
28800 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28801 __NO_MATH_INLINES is defined. Cleanups.
28803 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28804 and __floorf is target has SSE4.1.
28805 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28806 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28807 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28808 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28810 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28812 (floorf): Likewise.
28814 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28816 2011-10-17 Andreas Schwab <schwab@redhat.com>
28818 * misc/sys/cdefs.h: Fix last change.
28820 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28823 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28825 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28827 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28832 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28833 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28834 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28835 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28836 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28837 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28838 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28839 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28840 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28841 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28842 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28843 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28844 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28845 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28846 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28847 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28848 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28850 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28851 ceil, ceilf, floor, floorf.
28853 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28854 Perform IRELATIVE relocations last.
28856 * elf/do-rel.h: Add another parameter nrelative, replacing the
28857 local variable with the same name. Change name of the function
28858 to end in Rel or Rela (uppercase).
28859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28860 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28861 elf_dynamic_do_##reloc function.
28863 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28865 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28866 is sufficient, at least on modern CPUs.
28868 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28870 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28871 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28873 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28875 * math/bits/math-finite.h: Add entries for exp.
28876 * math/e_expl.c: Add __*_finite alias.
28877 * sysdeps/i386/fpu/e_exp.S: Likewise.
28878 * sysdeps/i386/fpu/e_expf.S: Likewise.
28879 * sysdeps/i386/fpu/e_expl.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28881 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28882 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28886 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28888 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28889 is sufficient, at least on modern CPUs.
28891 * ctype/ctype-info.c (__ctype_init): Define.
28892 * include/ctype.h (__ctype_init): Declare.
28893 (__ctype_b_loc): The variable is always initialized.
28894 (__ctype_toupper_loc): Likewise.
28895 (__ctype_tolower_loc): Likewise.
28896 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28897 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28899 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28901 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28903 * configure.in: Also look in $cxxmachine/include for C++ system
28906 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28908 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28909 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28910 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28911 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28912 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28913 (USE_AS_WMEMCMP): New macro.
28915 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28916 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28917 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28918 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28920 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28921 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28922 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28923 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28924 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28925 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28926 (USE_AS_WMEMCMP): New macro.
28927 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28928 * sysdeps/string/test-memcmp.c: Update.
28929 Fix simple_wmemcmp.
28931 * wcsmbs/wmemcmp.c: Update.
28932 (WMEMCMP): New macro.
28935 2011-10-12 Andreas Jaeger <aj@suse.de>
28938 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28940 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28942 * libio/iofwide.c (do_length): Avoid warning.
28944 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28946 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28948 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28950 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28951 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28952 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28953 * sysdeps/i386/i686/fpu/e_log.S: New file.
28954 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28955 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28957 * ctype/ctype.h: Add support for inlined isXXX functions when
28958 compiling C++ code.
28960 2011-10-14 Andreas Schwab <schwab@redhat.com>
28962 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28966 2011-10-13 Roland McGrath <roland@hack.frob.com>
28969 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28971 2011-10-13 Andreas Schwab <schwab@redhat.com>
28973 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28974 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28977 * sysdeps/x86_64/memrchr.S: Check for zero size.
28979 * string/stratcliff.c: Add memrchr tests.
28981 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28984 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28985 rawmemchr-sse2 rawmemchr-sse2-bsf.
28986 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28987 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28988 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28989 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28990 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28991 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28992 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28993 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28994 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28995 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28996 * string/memrchr.c (MEMRCHR): New macro.
28998 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29000 Add integration with gcc's -ffinite-math-only and optimize wrapper
29002 * Versions.def: Define GLIBC_2.15 version for libm.
29003 * math/Makefile (headers): Add bits/math-finite.h.
29004 * math/bits/math-finite.h: New file.
29005 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29006 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29007 * math/e_acoshl.c: Add __*_finite alias.
29008 * math/e_acosl.c: Likewise.
29009 * math/e_asinl.c: Likewise.
29010 * math/e_atan2l.c: Likewise.
29011 * math/e_atanhl.c: Likewise.
29012 * math/e_coshl.c: Likewise.
29013 * math/e_exp10.c: Likewise.
29014 * math/e_exp10f.c: Likewise.
29015 * math/e_exp10l.c: Likewise.
29016 * math/e_exp2l.c: Likewise.
29017 * math/e_fmodl.c: Likewise.
29018 * math/e_gammal_r.c: Likewise.
29019 * math/e_hypotl.c: Likewise.
29020 * math/e_j0l.c: Likewise.
29021 * math/e_j1l.c: Likewise.
29022 * math/e_jnl.c: Likewise.
29023 * math/e_lgammal_r.c: Likewise.
29024 * math/e_log10l.c: Likewise.
29025 * math/e_log2l.c: Likewise.
29026 * math/e_logl.c: Likewise.
29027 * math/e_powl.c: Likewise.
29028 * math/e_sinhl.c: Likewise.
29029 * math/e_sqrtl.c: Likewise.
29030 * math/e_scalb.c: Completely rewritten and optimized.
29031 * math/e_scalbf.c: Likewise.
29032 * math/e_scalbl.c: Likewise.
29033 * math/w_acos.c: Likewise.
29034 * math/w_acosf.c: Likewise.
29035 * math/w_acosl.c: Likewise.
29036 * math/w_acosh.c: Likewise.
29037 * math/w_acoshf.c: Likewise.
29038 * math/w_acoshl.c: Likewise.
29039 * math/w_asin.c: Likewise.
29040 * math/w_asinf.c: Likewise.
29041 * math/w_asinl.c: Likewise.
29042 * math/w_atan2.c: Likewise.
29043 * math/w_atan2f.c: Likewise.
29044 * math/w_atan2l.c: Likewise.
29045 * math/w_atanh.c: Likewise.
29046 * math/w_atanhf.c: Likewise.
29047 * math/w_atanhl.c: Likewise.
29048 * math/w_exp10.c: Likewise.
29049 * math/w_exp10f.c: Likewise.
29050 * math/w_exp10l.c: Likewise.
29051 * math/w_fmod.c: Likewise.
29052 * math/w_fmodf.c: Likewise.
29053 * math/w_fmodl.c: Likewise.
29054 * math/w_j0.c: Likewise.
29055 * math/w_j0f.c: Likewise.
29056 * math/w_j0l.c: Likewise.
29057 * math/w_j1.c: Likewise.
29058 * math/w_j1f.c: Likewise.
29059 * math/w_j1l.c: Likewise.
29060 * math/w_jn.c: Likewise.
29061 * math/w_jnf.c: Likewise.
29062 * math/w_log.c: Likewise.
29063 * math/w_logf.c: Likewise.
29064 * math/w_logl.c: Likewise.
29065 * math/w_log10.c: Likewise.
29066 * math/w_log10f.c: Likewise.
29067 * math/w_log10l.c: Likewise.
29068 * math/w_log2.c: Likewise.
29069 * math/w_log2f.c: Likewise.
29070 * math/w_log2l.c: Likewise.
29071 * math/w_pow.c: Likewise.
29072 * math/w_powf.c: Likewise.
29073 * math/w_powl.c: Likewise.
29074 * math/w_remainder.c: Likewise.
29075 * math/w_remainderf.c: Likewise.
29076 * math/w_remainderl.c: Likewise.
29077 * math/w_scalb.c: Likewise.
29078 * math/w_scalbf.c: Likewise.
29079 * math/w_scalbl.c: Likewise.
29080 * math/w_sqrt.c: Likewise.
29081 * math/w_sqrtf.c: Likewise.
29082 * math/w_sqrtl.c: Likewise.
29083 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29084 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29086 * math/math_private.h: Declare __kernel_standard_f.
29087 * math/w_cosh.c: Remove cruft and optimize a bit.
29088 * math/w_coshf.c: Likewise.
29089 * math/w_coshl.c: Likewise.
29090 * math/w_exp2.c: Likewise.
29091 * math/w_exp2f.c: Likewise.
29092 * math/w_exp2l.c: Likewise.
29093 * math/w_hypot.c: Likewise.
29094 * math/w_hypotf.c: Likewise.
29095 * math/w_hypotl.c: Likewise.
29096 * math/w_lgamma.c: Likewise.
29097 * math/w_lgamma_r.c: Likewise.
29098 * math/w_lgammaf.c: Likewise.
29099 * math/w_lgammaf_r.c: Likewise.
29100 * math/w_lgammal.c: Likewise.
29101 * math/w_lgammal_r.c: Likewise.
29102 * math/w_sinh.c: Likewise.
29103 * math/w_sinhf.c: Likewise.
29104 * math/w_sinhl.c: Likewise.
29105 * math/w_tgamma.c: Likewise.
29106 * math/w_tgammaf.c: Likewise.
29107 * math/w_tgammal.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29110 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29111 Minor optimizations. Pretty printing. Remove cruft.
29112 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29113 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29114 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29115 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29116 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29117 * sysdeps/i386/fpu/e_asin.S: Likewise.
29118 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29119 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29120 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29121 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29122 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29123 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29124 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29125 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29126 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29127 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29128 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29129 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29130 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29131 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29132 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29133 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29134 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29135 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29136 * sysdeps/i386/fpu/e_log.S: Likewise.
29137 * sysdeps/i386/fpu/e_log10.S: Likewise.
29138 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29139 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29140 * sysdeps/i386/fpu/e_log2.S: Likewise.
29141 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29142 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29143 * sysdeps/i386/fpu/e_logf.S: Likewise.
29144 * sysdeps/i386/fpu/e_logl.S: Likewise.
29145 * sysdeps/i386/fpu/e_pow.S: Likewise.
29146 * sysdeps/i386/fpu/e_powf.S: Likewise.
29147 * sysdeps/i386/fpu/e_powl.S: Likewise.
29148 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29149 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29150 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29151 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29152 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29153 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29154 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29155 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29156 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29165 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29167 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29168 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29170 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29171 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29173 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29174 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29175 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29177 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29178 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29179 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29180 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29181 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29182 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29183 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29184 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29185 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29186 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29187 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29188 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29189 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29191 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29192 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29193 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29194 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29195 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29196 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29197 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29198 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29237 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29242 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29245 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29248 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29250 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29251 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29252 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29253 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29254 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29255 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29256 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29257 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29258 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29259 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29260 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29261 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29262 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29263 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29265 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29267 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29268 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29269 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29270 (__isnanf): Likewise.
29271 (__isinf_ns): Likewise.
29272 (__isinf_nsf): Likewise.
29273 (__finite): Likewise.
29274 (__finitef): Likewise.
29275 (__ieee754_sqrt): Define as macro.
29276 (__ieee754_sqrtf): Define as macro.
29277 (__ieee754_sqrtl): Define as macro.
29278 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29280 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29281 __FINITE_MATH_ONLY__ consistent.
29282 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29284 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29286 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29289 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29291 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29293 * po/ja.po: Update from translation team.
29295 2011-10-08 Roland McGrath <roland@hack.frob.com>
29297 * locale/programs/locarchive.c (prepare_address_space): New function.
29298 (create_archive, enlarge_archive, open_archive): Use it.
29300 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29301 inside [SHARED], where it is used.
29303 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29305 * nss/getent.c (netgroup_keys): Remove unused variable.
29306 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29308 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29310 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29311 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29313 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29314 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29315 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29316 * math/Makefile (libm-calls): Add s_isinf_ns.
29317 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29318 * math/multc3.c: Likewise.
29319 * math/s_casin.c: Likewise.
29320 * math/s_casinf.c: Likewise.
29321 * math/s_casinl.c: Likewise.
29322 * math/s_ccos.c: Likewise.
29323 * math/s_ccosf.c: Likewise.
29324 * math/s_ccosl.c: Likewise.
29325 * math/s_ctan.c: Likewise.
29326 * math/s_ctanf.c: Likewise.
29327 * math/s_ctanh.c: Likewise.
29328 * math/s_ctanhf.c: Likewise.
29329 * math/s_ctanhl.c: Likewise.
29330 * math/s_ctanl.c: Likewise.
29331 * math/w_fmod.c: Likewise.
29332 * math/w_fmodf.c: Likewise.
29333 * math/w_fmodl.c: Likewise.
29334 * math/w_remainder.c: Likewise.
29335 * math/w_remainderf.c: Likewise.
29336 * math/w_remainderl.c: Likewise.
29337 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29338 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29339 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29341 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29342 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29343 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29344 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29346 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29348 * stdio-common/printf_fphex.c: Likewise.
29349 * stdio-common/printf_size.c: Likewise.
29351 * math/e_exp10.c: Include math_private.h using <...> not "...".
29352 * math/e_exp10f.c: Likewise.
29353 * math/e_exp10l.c: Likewise.
29354 * math/e_exp2l.c: Likewise.
29355 * math/e_j0l.c: Likewise.
29356 * math/e_j1l.c: Likewise.
29357 * math/e_jnl.c: Likewise.
29358 * math/e_lgammal_r.c: Likewise.
29359 * math/e_rem_pio2l.c: Likewise.
29360 * math/e_scalb.c: Likewise.
29361 * math/e_scalbf.c: Likewise.
29362 * math/e_scalbl.c: Likewise.
29363 * math/k_cosl.c: Likewise.
29364 * math/k_sinl.c: Likewise.
29365 * math/k_tanl.c: Likewise.
29366 * math/s_cacoshf.c: Likewise.
29367 * math/s_catan.c: Likewise.
29368 * math/s_catanf.c: Likewise.
29369 * math/s_catanh.c: Likewise.
29370 * math/s_catanhf.c: Likewise.
29371 * math/s_catanhl.c: Likewise.
29372 * math/s_catanl.c: Likewise.
29373 * math/s_ccosh.c: Likewise.
29374 * math/s_ccoshf.c: Likewise.
29375 * math/s_ccoshl.c: Likewise.
29376 * math/s_cexp.c: Likewise.
29377 * math/s_cexpf.c: Likewise.
29378 * math/s_cexpl.c: Likewise.
29379 * math/s_clog.c: Likewise.
29380 * math/s_clog10.c: Likewise.
29381 * math/s_clog10f.c: Likewise.
29382 * math/s_clog10l.c: Likewise.
29383 * math/s_clogf.c: Likewise.
29384 * math/s_clogl.c: Likewise.
29385 * math/s_csin.c: Likewise.
29386 * math/s_csinf.c: Likewise.
29387 * math/s_csinh.c: Likewise.
29388 * math/s_csinhf.c: Likewise.
29389 * math/s_csinhl.c: Likewise.
29390 * math/s_csinl.c: Likewise.
29391 * math/s_csqrt.c: Likewise.
29392 * math/s_csqrtf.c: Likewise.
29393 * math/s_csqrtl.c: Likewise.
29394 * math/s_ctan.c: Likewise.
29395 * math/s_ctanf.c: Likewise.
29396 * math/s_ctanh.c: Likewise.
29397 * math/s_ctanhf.c: Likewise.
29398 * math/s_ctanhl.c: Likewise.
29399 * math/s_ctanl.c: Likewise.
29400 * math/s_ldexp.c: Likewise.
29401 * math/s_ldexpf.c: Likewise.
29402 * math/s_ldexpl.c: Likewise.
29403 * math/s_significand.c: Likewise.
29404 * math/s_significandf.c: Likewise.
29405 * math/s_significandl.c: Likewise.
29406 * math/w_acos.c: Likewise.
29407 * math/w_acosf.c: Likewise.
29408 * math/w_acosh.c: Likewise.
29409 * math/w_acoshf.c: Likewise.
29410 * math/w_acoshl.c: Likewise.
29411 * math/w_acosl.c: Likewise.
29412 * math/w_asin.c: Likewise.
29413 * math/w_asinf.c: Likewise.
29414 * math/w_asinl.c: Likewise.
29415 * math/w_atan2.c: Likewise.
29416 * math/w_atan2f.c: Likewise.
29417 * math/w_atan2l.c: Likewise.
29418 * math/w_atanh.c: Likewise.
29419 * math/w_atanhf.c: Likewise.
29420 * math/w_atanhl.c: Likewise.
29421 * math/w_cosh.c: Likewise.
29422 * math/w_coshf.c: Likewise.
29423 * math/w_coshl.c: Likewise.
29424 * math/w_dremf.c: Likewise.
29425 * math/w_exp10.c: Likewise.
29426 * math/w_exp10f.c: Likewise.
29427 * math/w_exp10l.c: Likewise.
29428 * math/w_exp2.c: Likewise.
29429 * math/w_exp2f.c: Likewise.
29430 * math/w_fmod.c: Likewise.
29431 * math/w_fmodf.c: Likewise.
29432 * math/w_fmodl.c: Likewise.
29433 * math/w_hypot.c: Likewise.
29434 * math/w_hypotf.c: Likewise.
29435 * math/w_hypotl.c: Likewise.
29436 * math/w_j0.c: Likewise.
29437 * math/w_j0f.c: Likewise.
29438 * math/w_j0l.c: Likewise.
29439 * math/w_j1.c: Likewise.
29440 * math/w_j1f.c: Likewise.
29441 * math/w_j1l.c: Likewise.
29442 * math/w_jn.c: Likewise.
29443 * math/w_jnf.c: Likewise.
29444 * math/w_jnl.c: Likewise.
29445 * math/w_lgamma.c: Likewise.
29446 * math/w_lgamma_r.c: Likewise.
29447 * math/w_lgammaf.c: Likewise.
29448 * math/w_lgammaf_r.c: Likewise.
29449 * math/w_lgammal.c: Likewise.
29450 * math/w_lgammal_r.c: Likewise.
29451 * math/w_log.c: Likewise.
29452 * math/w_log10.c: Likewise.
29453 * math/w_log10f.c: Likewise.
29454 * math/w_log10l.c: Likewise.
29455 * math/w_log2.c: Likewise.
29456 * math/w_log2f.c: Likewise.
29457 * math/w_log2l.c: Likewise.
29458 * math/w_logf.c: Likewise.
29459 * math/w_logl.c: Likewise.
29460 * math/w_pow.c: Likewise.
29461 * math/w_powf.c: Likewise.
29462 * math/w_powl.c: Likewise.
29463 * math/w_remainder.c: Likewise.
29464 * math/w_remainderf.c: Likewise.
29465 * math/w_remainderl.c: Likewise.
29466 * math/w_scalb.c: Likewise.
29467 * math/w_scalbf.c: Likewise.
29468 * math/w_scalbl.c: Likewise.
29469 * math/w_sinh.c: Likewise.
29470 * math/w_sinhf.c: Likewise.
29471 * math/w_sinhl.c: Likewise.
29472 * math/w_sqrt.c: Likewise.
29473 * math/w_sqrtf.c: Likewise.
29474 * math/w_sqrtl.c: Likewise.
29475 * math/w_tgamma.c: Likewise.
29476 * math/w_tgammaf.c: Likewise.
29477 * math/w_tgammal.c: Likewise.
29479 * po/ja.po: Update from translation team.
29481 2011-09-29 Andreas Jaeger <aj@suse.de>
29484 * sunrpc/netname.c (netname2host): Fix logic.
29488 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29490 * math/w_remainder.c (__remainder): Likewise.
29491 * math/w_remainderf.c (__remainderf): Likewise.
29492 * math/libm-test.inc (remainder_test): Add test cases.
29494 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29496 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29499 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29501 * string/test-memcmp.c: Avoid unncessary #defines.
29502 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29504 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29506 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29507 Use new sse2 version for core i3 - i7 as it's faster
29508 than sse42 version.
29509 (bit_Prefer_PMINUB_for_stringop): New.
29510 * sysdeps/x86_64/rawmemchr.S: Update.
29511 Replace with faster SSE2 version.
29512 * sysdeps/x86_64/memrchr.S: New file.
29513 * sysdeps/x86_64/memchr.S: Update.
29514 Replace with faster SSE2 version.
29516 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29518 * elf/dl-load.c (lose): Add cast to avoid warning.
29520 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29522 * po/ca.po: Update from translation team.
29524 * inet/getnetgrent_r.c: Hook up nscd.
29525 * nscd/Makefile (routines): Add nscd_netgroup.
29526 (nscd-modules): Add netgroupcache.
29527 (CFLAGS-netgroupcache.c): Define.
29528 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29529 (cache_search): Add const to second parameter.
29530 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29532 (dbs): Add netgrdb entry.
29533 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29534 (verify_persistent_db): Handle netgrdb.
29535 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29536 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29538 (netgroup_response_header): Define.
29539 (innetgroup_response_header): Define.
29540 (datahead): Add netgroup_response_header and innetgroup_response_header
29542 * nscd/nscd.conf: Add entries for netgroup cache.
29543 * nscd/nscd.h (dbtype): Add netgrdb.
29544 (_PATH_NSCD_NETGROUP_DB): Define.
29545 (netgroup_iov_disabled): Declare.
29546 (xmalloc, xcalloc, xrealloc): Move declarations here.
29547 (cache_search): Adjust prototype.
29548 Add netgroup-related prototypes.
29549 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29550 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29551 (__nscd_innetgr): Declare.
29552 * nscd/selinux.c (perms): Use access_vector_t as element type and
29553 add netgroup-related initializers.
29554 * nscd/netgroupcache.c: New file.
29555 * nscd/nscd_netgroup.c: New file.
29556 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29557 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29558 For four parameters use innetgr.
29559 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29560 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29561 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29562 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29564 * nscd/connections.c (register_traced_file): Don't register file
29565 for disabled databases.
29567 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29569 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29571 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29572 from tree and freeing node.
29574 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29576 * nss/nsswitch.c (__nss_database_lookup): Handle
29577 nss_parse_service_list out of memory case.
29579 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29581 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29582 out of memory case.
29584 2011-10-04 Andreas Schwab <schwab@redhat.com>
29586 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29587 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29589 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29590 elf_machine_rela, elf_machine_lazy_rel.
29591 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29592 (ELF_DYNAMIC_DO_REL): Likewise.
29593 (ELF_DYNAMIC_DO_RELA): Likewise.
29594 (ELF_DYNAMIC_RELOCATE): Likewise.
29595 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29596 to ELF_DYNAMIC_DO_REL.
29597 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29598 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29599 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29601 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29602 skip_ifunc, don't call ifunc function if non-zero.
29603 (elf_machine_rela): Likewise.
29604 (elf_machine_lazy_rel): Likewise.
29605 (elf_machine_lazy_rela): Likewise.
29606 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29607 (elf_machine_lazy_rel): Likewise.
29608 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29610 (elf_machine_lazy_rel): Likewise.
29611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29613 (elf_machine_lazy_rel): Likewise.
29614 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29615 (elf_machine_lazy_rel): Likewise.
29616 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29617 (elf_machine_lazy_rel): Likewise.
29618 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29619 (elf_machine_lazy_rel): Likewise.
29620 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29621 (elf_machine_lazy_rel): Likewise.
29622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29623 (elf_machine_lazy_rel): Likewise.
29624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29625 (elf_machine_lazy_rel): Likewise.
29627 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29629 * nss/nss_files/files-init.c (_nss_files_init): Use static
29630 initialization for all the *_traced_file variables.
29632 2011-09-28 Andreas Schwab <schwab@redhat.com>
29634 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29636 2011-09-27 Roland McGrath <roland@hack.frob.com>
29639 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29641 2011-09-27 Andreas Schwab <schwab@redhat.com>
29643 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29644 Reread the line before reparsing it.
29646 2011-09-26 Andreas Schwab <schwab@redhat.com>
29648 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29650 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29651 Maxim Kuvyrkov <maxim@codesourcery.com>
29652 Joseph Myers <joseph@codesourcery.com>
29654 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29655 if needed for __stack_chk_guard.
29657 2011-09-19 Roland McGrath <roland@hack.frob.com>
29659 * sysdeps/posix/spawni.c (script_execute): Always define it.
29660 It will be optimized away if unused.
29661 (maybe_script_execute): New function.
29662 (__spawni): Call it.
29664 * Makerules: Don't include tls.make.
29665 (config-tls): Always set to thread.
29666 * tls.make.c: File removed.
29668 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29670 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29671 * config.make.in (CPPFLAGS-config): New substituted variable.
29673 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29675 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29678 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29679 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29681 2011-09-15 Roland McGrath <roland@hack.frob.com>
29683 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29684 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29686 (CALL_FAIL): Likewise.
29687 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29688 (CALL_FAIL): Macro removed.
29689 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29691 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29693 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29694 for __FINITE_MATH_ONLY__ == 1.
29696 2011-09-15 Andreas Schwab <schwab@redhat.com>
29698 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29699 __ieee754_sqrt instead of sqrt.
29700 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29701 __ieee754_sqrtf instead of sqrtf.
29702 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29703 __floorf instead of floorf.
29704 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29705 __floorf, __truncf instead of floorf, truncf.
29707 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29709 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29711 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29712 __extern_always_inline.
29713 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29716 2011-09-14 Andreas Schwab <schwab@redhat.com>
29718 * elf/rtld.c (dl_main): Also relocate in dependency order when
29719 doing symbol dependency testing.
29721 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29724 Always define `refsym'.
29726 2011-09-13 Andreas Schwab <schwab@redhat.com>
29728 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29729 (__FD_ELT): Renamed from __FDELT.
29730 * misc/bits/select2.h (__FD_ELT): Likewise.
29731 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29732 __FD_MASK instead of __FDELT, __FDMASK.
29733 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29735 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29738 * elf/Makefile (gen-ldd): Fix pattern.
29740 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29741 (init_tls): Likewise.
29743 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29747 2011-09-12 Andreas Schwab <schwab@redhat.com>
29749 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29750 `struct cmsghdr *' instead of `void *'.
29751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29754 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29756 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29758 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29759 ldd_rewrite_script.
29761 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29763 * configure.in: Remove --with-tls option.
29764 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29765 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29766 out in case it is missing.
29767 * sysdeps/ia64/elf/configure.in: Likewise.
29768 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29769 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29770 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29771 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29772 * sysdeps/sh/elf/configure.in: Likewise.
29773 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29774 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29775 * sysdeps/x86_64/elf/configure.in: Likewise.
29776 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29777 * sysdeps/mach/hurd/tls.h: Likewise.
29780 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29783 * configure.in: Fix use of AC_INIT.
29785 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29787 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29789 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29791 * malloc/hooks.c: Likewise.
29794 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29795 variables statically.
29796 (narenas): Initialize.
29797 (list_lock): Initialize.
29798 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29799 initializtion of main_arena and list_lock. Small cleanups.
29800 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29801 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29802 Add initializers to main_arena and mp_.
29803 (malloc_state): Remove pagesize member. Change all users to use
29806 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29807 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29808 is always initialized.
29810 * malloc/malloc.c: Removed unused configurations and dead code.
29811 * malloc/arena.c: Likewise.
29812 * malloc/hooks.c: Likewise.
29813 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29815 * include/tls.h: Removed. USE___THREAD must always be defined.
29816 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29817 * elf/dl-libc.c: Likewise.
29818 * elf/dl-tsd.c: Likewise.
29819 * include/errno.h: Likewise.
29820 * include/netdb.h: Likewise.
29821 * include/resolv.h: Likewise.
29822 * inet/herrno-loc.c: Likewise.
29823 * inet/herrno.c: Likewise.
29824 * malloc/arena.c: Likewise.
29825 * malloc/hooks.c: Likewise.
29826 * malloc/malloc.c: Likewise.
29827 * resolv/res-state.c: Likewise.
29828 * resolv/res_libc.c: Likewise.
29829 * sysdeps/i386/dl-machine.h: Likewise.
29830 * sysdeps/ia64/dl-machine.h: Likewise.
29831 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29832 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29833 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29834 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29835 * sysdeps/sh/dl-machine.h: Likewise.
29836 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29837 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29838 * sysdeps/unix/i386/sysdep.S: Likewise.
29839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29840 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29845 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29849 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29850 * sysdeps/x86_64/dl-machine.h: Likewise.
29851 * tls.make.c: Likewise.
29853 * configure.in: Remove --with-__thread option. Make tests for
29854 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29855 tls_model attribute fail if no support is available. Remove
29857 * Makeconfig: Adjust for dropped configure option. All features are
29859 * Makerules: Likewise.
29860 * Versions.def: Likewise.
29861 * argp/argp-fmtstream.c: Likewise.
29862 * argp/argp-fmtstream.h: Likewise.
29863 * argp/argp-help.c: Likewise.
29864 * assert/assert.c: Likewise.
29865 * config.h.in: Likewise.
29866 * config.make.in: Likewise.
29867 * configure: Likewise.
29868 * configure.in: Likewise.
29869 * csu/Versions: Likewise.
29870 * csu/init.c: Likewise.
29871 * elf/tst-audit2.c: Likewise.
29872 * elf/tst-tls10.c: Likewise.
29873 * elf/tst-tls10.h: Likewise.
29874 * elf/tst-tls11.c: Likewise.
29875 * elf/tst-tls12.c: Likewise.
29876 * elf/tst-tls14.c: Likewise.
29877 * elf/tst-tlsmod11.c: Likewise.
29878 * elf/tst-tlsmod12.c: Likewise.
29879 * elf/tst-tlsmod13.c: Likewise.
29880 * elf/tst-tlsmod13a.c: Likewise.
29881 * elf/tst-tlsmod14a.c: Likewise.
29882 * elf/tst-tlsmod15b.c: Likewise.
29883 * elf/tst-tlsmod16a.c: Likewise.
29884 * elf/tst-tlsmod16b.c: Likewise.
29885 * elf/tst-tlsmod7.c: Likewise.
29886 * elf/tst-tlsmod8.c: Likewise.
29887 * elf/tst-tlsmod9.c: Likewise.
29888 * gmon/gmon.c: Likewise.
29889 * grp/fgetgrent_r.c: Likewise.
29890 * grp/putgrent.c: Likewise.
29891 * hurd/fopenport.c: Likewise.
29892 * include/libc-symbols.h: Likewise.
29893 * include/tls.h: Likewise.
29894 * intl/gettextP.h: Likewise.
29895 * intl/loadinfo.h: Likewise.
29896 * locale/global-locale.c: Likewise.
29897 * locale/localeinfo.h: Likewise.
29898 * mach/devstream.c: Likewise.
29899 * malloc/arena.c: Likewise.
29900 * malloc/set-freeres.c: Likewise.
29901 * misc/err.c: Likewise.
29902 * misc/getttyent.c: Likewise.
29903 * misc/mntent_r.c: Likewise.
29904 * posix/getopt.c: Likewise.
29905 * posix/wordexp.c: Likewise.
29906 * pwd/fgetpwent_r.c: Likewise.
29907 * resolv/Versions: Likewise.
29908 * resolv/res_hconf.c: Likewise.
29909 * shadow/fgetspent_r.c: Likewise.
29910 * shadow/putspent.c: Likewise.
29911 * stdio-common/printf_fphex.c: Likewise.
29912 * stdio-common/tmpfile.c: Likewise.
29913 * stdlib/abort.c: Likewise.
29914 * stdlib/fmtmsg.c: Likewise.
29915 * sunrpc/auth_unix.c: Likewise.
29916 * sunrpc/clnt_perr.c: Likewise.
29917 * sunrpc/clnt_tcp.c: Likewise.
29918 * sunrpc/clnt_udp.c: Likewise.
29919 * sunrpc/clnt_unix.c: Likewise.
29920 * sunrpc/openchild.c: Likewise.
29921 * sunrpc/svc_simple.c: Likewise.
29922 * sunrpc/svc_tcp.c: Likewise.
29923 * sunrpc/svc_udp.c: Likewise.
29924 * sunrpc/svc_unix.c: Likewise.
29925 * sunrpc/xdr.c: Likewise.
29926 * sunrpc/xdr_array.c: Likewise.
29927 * sunrpc/xdr_rec.c: Likewise.
29928 * sunrpc/xdr_ref.c: Likewise.
29929 * sunrpc/xdr_stdio.c: Likewise.
29931 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29933 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29935 2011-07-03 Andreas Jaeger <aj@suse.de>
29937 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29938 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29939 regenerate with gen-libm-tests.pl.
29941 2010-05-12 Petr Baudis <pasky@suse.cz>
29944 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29945 around j0() zero points by switching to j1().
29946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29951 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29953 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29955 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29958 Patch in part by Pavel Roskin <proski@gnu.org>.
29961 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29963 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29964 Free memory block if necessary.
29967 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29968 be NULL. Don't lock in this case.
29970 2011-09-09 Roland McGrath <roland@hack.frob.com>
29972 * elf/elf.h (ELFOSABI_GNU): New macro.
29973 (ELFOSABI_LINUX): Define to that.
29975 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29977 * string/strncat.c (strncat): Undef the symbol in case it has been
29978 defined in bits/string.h.
29980 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29982 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29984 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29987 2011-08-17 Andreas Jaeger <aj@suse.de>
29989 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29991 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29992 Ian Lance Taylor <iant@google.com>
29994 * math/libm-test.inc (lround_test): New testcase.
29995 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29997 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29999 * Makefile: Remove support for automatic cvs check-ins.
30000 * Makerules: Likewise.
30001 * config.make.in: Likewise.
30002 * configure.in: Likewise.
30003 * intl/Makefile: Likewise.
30004 * locale/Makefile: Likewise.
30005 * po/Makefile: Likewise.
30006 * posix/Makefile: Likewise.
30007 * sysdeps/gnu/Makefile: Likewise.
30008 * sysdeps/mach/hurd/Makefile: Likewise.
30009 * sysdeps/sparc/sparc32/Makefile: Likewise.
30012 * posix/Makefile (bug-regex32-ENV): Define.
30013 Patch by John Stanley <jpsinthemix@verizon.net>.
30015 * misc/Makefile (headers): Add bits/select2.h.
30016 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30017 * misc/bits/select2.h: New file.
30018 * include/bits/select2.h: New file.
30019 * debug/Makefile (routines): Add fdelt_chk.
30020 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30021 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30023 * debug/fdelt_chk.c: New file.
30025 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30026 * wcsmbs/test-wmemcmp.c: Likewise.
30027 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30028 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30030 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30032 * string/Makefile (strop-tests): Add memcmp.
30033 * string/test-wmemcmp.c: New file.
30034 * string/test-memcmp.c: Add wmemcmp support.
30036 2011-09-08 Roland McGrath <roland@hack.frob.com>
30039 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30042 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30043 garbage value in a __mach_port_mod_refs call in the cases of the
30044 task-self and thread-self ports.
30046 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30048 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30050 2011-09-08 Andreas Schwab <schwab@redhat.com>
30052 * elf/dl-load.c (lose): Check for non-null L.
30054 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30056 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30058 * elf/dl-libc.c (dlerror_run): Pass back error code from
30062 * elf/dl-load.c (lose): Free l_origin if it is valid.
30064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30066 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30070 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30071 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30073 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30075 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30076 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30077 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30078 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30079 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30080 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30081 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30082 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30083 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30084 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30086 2011-08-15 Alan Modra <amodra@gmail.com>
30089 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30090 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30091 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30092 ppc_mcount to static-only-routines.
30093 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30095 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30096 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30098 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30100 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30101 for finite and infinity parameters.
30103 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30106 and add nop instructions for throughput optimization.
30107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30109 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30112 aligned copy for power7 with vector-scalar instructions.
30113 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30115 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30120 2011-09-07 Andreas Schwab <schwab@redhat.com>
30123 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30126 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30129 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30130 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30131 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30134 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30136 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30137 Forgot to demangle the pointer.
30139 * sysdeps/i386/sysdep.h: Define atom_text_section.
30140 * sysdeps/x86_64/sysdep.h: Likewise.
30141 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30142 section with atom_text_section.
30143 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30145 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30147 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30149 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30150 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30151 already be defined. Change to take two parameters and don't assign
30152 result to variable. Adjust all users.
30153 Define INTERNAL_GETTIME if not already defined.
30154 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30157 HAVE_CLOCK_GETTIME_VSYSCALL.
30158 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30161 gettimeofday vsyscall, just use time.
30163 2011-09-06 Andreas Schwab <schwab@redhat.com>
30165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30168 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30170 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30174 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30176 syscall if possible.
30178 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30180 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30181 e_ident. Don't pass to find_mapsXX.
30182 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30184 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30187 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30188 * sysdeps/x86_64/multiarch/strchr.S: Update.
30189 Check bit_slow_BSF bit.
30190 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30191 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30192 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30194 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30197 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30199 (tryshell): Define.
30200 (__spawni): Change last parameter to be flag. Test
30201 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30202 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30203 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30204 * posix/spawni.c: Likewise.
30205 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30206 * posix/spawnp.c: Likewise. Change normal version to use
30207 SPAWN_XFLAGS_USE_PATH.
30208 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30209 SPAWN_XFLAGS_TRY_SHELL.
30212 * posix/glob.h: Remove gcc 1.x support.
30215 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30217 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30220 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30222 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30223 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30224 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30225 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30226 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30227 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30229 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30231 * sysdeps/x86_64/wcscmp.S: New file.
30233 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30234 wcscmp-c wcscmp-sse2
30235 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30236 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30237 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30238 * wcsmbs/wcscmp.c: Allow renaming.
30240 2011-09-05 David S. Miller <davem@davemloft.net>
30242 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30243 stack slot, rather than the struct return pointer slot.
30244 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30245 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30247 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30249 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30251 * po/ja.po: Update from translation team.
30254 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30255 kernel in 64-bit binaries.
30257 2011-09-01 David S. Miller <davem@davemloft.net>
30259 * elf/elf.h (HWCAP_SPARC_*): Move to..
30260 * sysdeps/sparc/sysdep.h: this new file and add new values.
30261 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30262 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30263 _DL_HWCAP_COUNT to 24.
30264 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30266 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30267 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30268 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30270 instead of magic constants.
30271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30273 2011-08-31 David S. Miller <davem@davemloft.net>
30275 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30277 Reimplement to do errno handling inline.
30278 (SYSCALL_ERROR_HANDLER): New macro.
30279 (__SYSCALL_STRING): Do not do errno handling in asm.
30280 (__CLONE_SYSCALL_STRING): Delete.
30281 (__INTERNAL_SYSCALL_STRING): Delete.
30282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30283 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30284 (PSEUDO): Reimplement to do errno handling inline.
30285 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30286 (SYSCALL_ERROR_HANDLER): New macro.
30287 (__SYSCALL_STRING): Do not do errno handling in asm.
30288 (__CLONE_SYSCALL_STRING): Delete.
30289 (__INTERNAL_SYSCALL_STRING): Delete.
30290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30291 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30293 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30294 (inline_syscall*): Add 'err' argument.
30295 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30296 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30297 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30298 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30300 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30301 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30303 2011-08-30 Andreas Schwab <schwab@redhat.com>
30305 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30307 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30309 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30312 2011-08-24 David S. Miller <davem@davemloft.net>
30314 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30316 2011-08-24 Andreas Schwab <schwab@redhat.com>
30318 * elf/Makefile: Add rules to build and run unload8 test.
30319 * elf/unload8.c: New file.
30320 * elf/unload8mod1.c: New file.
30321 * elf/unload8mod1x.c: New file.
30322 * elf/unload8mod2.c: New file.
30323 * elf/unload8mod3.c: New file.
30325 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30328 2011-08-23 David S. Miller <davem@davemloft.net>
30330 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30331 subtract stack bias.
30332 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30333 %sp not %fp in calculations.
30334 (_JMPBUF_UNWINDS_ADJ): Likewise.
30336 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30337 (aio_suspend): Call it to force an exception region around the
30338 AIO_MISC_WAIT() invocation.
30340 2011-08-23 Andreas Schwab <schwab@redhat.com>
30342 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30345 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30347 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30349 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30350 and <dl-machine.h>.
30351 (Elf64_FuncDesc): Remove.
30353 2011-08-22 David S. Miller <davem@davemloft.net>
30355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30356 sigaltstack check, add missing cfi directives.
30357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30358 missing cfi directives, and sigaltstack handling.
30360 2011-08-16 Andreas Schwab <schwab@redhat.com>
30363 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30364 object is seen twice.
30365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30367 * elf/Makefile (distribute): Add tst-initorder2.c.
30368 (tests): Add tst-initorder2.
30369 (modules-names): Add tst-initorder2a tst-initorder2b
30370 tst-initorder2c tst-initorder2d. Add rules to build them.
30371 ($(objpfx)tst-initorder2.out): New rule.
30372 * elf/tst-initorder2.c: New file.
30373 * elf/tst-initorder2.exp: New file.
30375 2011-08-22 Andreas Schwab <schwab@redhat.com>
30377 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30379 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30380 dependencies back to end of function.
30382 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30383 $(elfobjdir)/ld.so.
30385 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30388 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30390 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30391 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30392 of __vdso_gettimeofday.
30393 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30394 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30396 (_libc_vdso_platform_setup): Remove initialization of
30397 __vdso_gettimeofday and __vdso_time.
30399 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30401 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30402 and fgetc_unlocked.
30403 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30406 * elf/dl-open.c (add_to_global): Report additions to the global scope
30407 for LD_DEBUG=scopes.
30408 (dl_open_worker): Also print scope of newly loaded dependencies.
30409 (_dl_show_scope): Indicate if there is no scope.
30412 * stdio-common/Makefile (tests): Add bug24.
30413 * stdio-common/bug24.c: New file.
30415 2011-08-19 Andreas Jaeger <aj@suse.de>
30418 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30419 non-existant file when using close-on-exec mode.
30421 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30424 the very first instruction.
30426 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30427 the CFI state in the end.
30428 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30429 inclusion of dl-trampoline.h.
30430 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30432 2011-08-19 Andreas Schwab <schwab@redhat.com>
30434 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30435 expectations for long double.
30437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30438 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30440 2011-08-14 David S. Miller <davem@davemloft.net>
30442 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30443 artificual limit depends upon the system page size.
30445 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30447 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30448 * resolv/Makefile: Define CFLAGS-libresolv.
30450 2011-08-17 Andreas Schwab <schwab@redhat.com>
30452 * nss/makedb.c (compute_tables): Make variables used in nested
30455 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30457 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30458 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30459 if buffer was too small.
30461 * elf/pldd.c (main): Attach to all threads in the process.
30462 Rewrite /proc handling to use *at functions.
30464 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30466 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30467 specifies first scope to show.
30468 (dl_open_worker): Update callers. Move printing scope of new
30469 object to before the relocation.
30470 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30471 * sysdeps/generic/ldsodefs.h: Update declaration.
30473 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30474 string for the scope number.
30476 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30478 * nscd/servicescache.c (cache_addserv): Make sure written is always
30481 2011-08-14 Roland McGrath <roland@hack.frob.com>
30483 * sysdeps/i386/i486/bits/atomic.h
30484 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30485 statement expression, so as to suppress "set but not used" warning.
30486 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30488 * string/strncat.c (STRNCAT): Use prototype definition.
30490 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30491 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30493 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30494 (localedef-modules): Add localedef.
30495 (locale-modules): Add locale.
30497 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30498 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30499 to avoid a warning.
30501 2011-08-14 David S. Miller <davem@davemloft.net>
30503 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30504 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30506 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30508 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30509 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30510 * elf/rtld.c (dl_main): Set l_name of vDSO.
30511 Call _dl_show_scope when DL_DEBUG_SCOPES.
30512 (process_dl_debug): Recognize scopes flag and also set it for all.
30513 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30514 Declare _dl_show_scope.
30516 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30517 (do_dlopen): Pass caller_dlopen to dl_open.
30518 (__libc_dlopen_mode): Initialize caller_dlopen.
30520 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30521 of libc. Make tolower call locale-independent. Optimize a bit by
30522 using isdigit instead of isalnum.
30523 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30525 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30527 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30528 was a dependency or dynamically loaded.
30530 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30532 * intl/l10nflist.c: Allow architecture-specific pop function.
30533 * sysdeps/x86_64/l10nflist.c: New file.
30535 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30538 2011-08-10 Andreas Schwab <schwab@redhat.com>
30540 * include/dirent.h: Add libc_hidden_proto for scandirat and
30541 scandirat64. Don't declare __scandirat64.
30542 * dirent/scandirat.c: Add libc_hidden_def.
30543 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30544 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30546 2011-08-10 David S. Miller <davem@davemloft.net>
30548 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30554 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30556 * Versions.def [libc]: Add GLIBC_2.15.
30557 * dirent/Makefile (routines): Add scandirat and scandirat64.
30558 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30560 * dirent/dirent.h: Declare scandirat and scandirat64.
30561 * dirent/scandirat.c: New file.
30562 * dirent/scandirat64.c: New file.
30563 * sysdeps/wordsize-64/scandirat.c: New file.
30564 * sysdeps/wordsize-64/scandirat64.c: New file.
30565 * dirent/opendir.c: Define opendirat.
30566 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30568 * dirent/scandir64.c: Adjust for scandir.c change.
30569 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30570 __scandirat64, and __scandir_cancel_handler.
30571 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30572 additional parameter and use openat instead of open (outside of ld.so).
30573 Add new __opendir as wrapper around __opendirat.
30574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30575 here without requiring old scandirat implementation.
30577 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30579 * dirent/scandir.c (cancel_handler): Renamed to
30580 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30581 defined. Adjust users.
30582 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30583 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30585 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30587 * string/test-string.h (IMPL): Use __STRING to expand name and then
30590 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30593 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30595 * string/Makefile: Update.
30596 (strop-tests): Append strncat.
30597 * string/test-wcscmp.c: New file.
30598 New comprehensive test for wcscmp.
30599 * string/test-strcmp.c: Update.
30600 (WIDE): New define.
30602 2011-07-22 Andreas Schwab <schwab@redhat.com>
30604 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30607 2011-07-26 Andreas Schwab <schwab@redhat.com>
30609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30610 encoding to ACE if AI_IDN.
30612 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30615 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30617 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30620 Fix overflow bug in strncat.
30621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30623 * string/test-strncat.c: Update.
30624 Add new tests for checking overflow bugs.
30626 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30629 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30630 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30631 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30633 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30634 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30635 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30636 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30639 (USE_AS_STRCAT): Define.
30640 Add strcat and strncat support.
30641 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30643 2011-07-25 Andreas Schwab <schwab@redhat.com>
30645 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30646 __n bigger than INT_MAX+1.
30647 (__strncmp_g): Likewise.
30649 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30651 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30652 * libio/stido.h: Likewise.
30654 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30659 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30661 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30662 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30666 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30671 (_dl_x86_64_save_sse): Likewise.
30673 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30675 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30677 (_dl_x86_64_save_sse): Likewise.
30679 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30681 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30683 2011-07-21 Andreas Schwab <schwab@redhat.com>
30685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30687 (_dl_x86_64_save_sse): Use correct AVX check.
30689 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30692 bug in strncpy/strncat.
30693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30695 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30697 * string/tester.c (test_strcat): Add tests for different alignments
30698 of source and destination.
30699 (test_strncat): Likewise.
30701 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30704 * posix/glob.c (glob): Check passed in values before using them in
30705 expressions to avoid some overflows.
30706 (glob_in_dir): Likewise.
30709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30710 check for AVX enablement so that we don't crash with old kernels and
30712 * elf/tst-audit4.c: Add same checks here.
30713 * elf/tst-audit6.c: Likewise.
30715 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30717 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30719 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30721 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30723 * po/cs.po: Update from translation team.
30724 * po/bg.po: Likewise.
30726 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30728 * misc/sys/cdefs.h: Add support for const attribute.
30729 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30730 to gnu_dev_{major,minor,makedev} functions.
30732 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30734 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30736 2011-07-20 Andreas Schwab <schwab@redhat.com>
30738 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30741 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30744 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30745 register in order to avoid conflicts with the soft frame pointer
30746 being held in r11 when necessary.
30747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30748 (INTERNAL_VSYSCALL_NCS): Likewise.
30750 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30752 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30753 * elf/dl-fini.c (_dl_fini): Adjust caller.
30754 * elf/dl-close.c (_dl_close_worker): Likewise.
30755 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30757 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30759 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30760 "aux_cache->nlibs < 0".
30762 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30763 in the reload-count case.
30765 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30768 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30769 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30770 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30771 * sysdeps/x86_64/multiarch/strcat.S: New file.
30772 * sysdeps/x86_64/multiarch/strncat.S: New file.
30773 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30774 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30775 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30776 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30777 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30778 (USE_AS_STRCAT): Define.
30779 Add strcat and strncat support.
30780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30781 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30782 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30783 * string/strncat.c: Update.
30784 (USE_AS_STRNCAT): Define.
30785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30786 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30788 * sysdeps/x86_64/multiarch/init-arch.h
30789 (bit_Prefer_PMINUB_for_stringop): New.
30790 (index_Prefer_PMINUB_for_stringop): Likewise.
30791 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30792 bit_Prefer_PMINUB_for_stringop.
30794 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30796 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30798 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30799 of casting of buffer.
30800 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30801 buffer32 and buffer64.
30802 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30803 writes instead of casting of buffer.
30804 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30806 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30809 2011-07-19 Andreas Schwab <schwab@redhat.com>
30811 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30813 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30815 * nscd/nscd.c (termination_handler): Don't do anything for a database
30816 if it has not yet been initialized.
30818 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30820 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30822 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30824 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30826 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30828 * po/nl.po: Update from translation team.
30829 * po/sv.po: Likewise.
30831 2011-07-16 Roland McGrath <roland@hack.frob.com>
30833 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30834 now disallowed by GCC.
30836 * configure.in (use-default-link): Default to yes if a test -shared
30837 link meets our qualifications.
30838 * configure: Regenerated.
30840 * config.make.in (output-format): New variable.
30841 * configure.in: Check for ld --print-output-format support.
30842 * configure: Regenerated.
30843 * Makerules ($(common-objpfx)format.lds)
30844 [$(output-format) != unknown]: Just use $(output-format),
30845 instead of the linker-script munging.
30847 2011-07-14 Roland McGrath <roland@hack.frob.com>
30849 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30850 of $(common-objpfx)shlib.lds.
30851 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30853 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30854 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30856 * configure.in (-z relro check): Adjust test code to add a large
30857 writable data section after it.
30858 * configure: Regenerated.
30860 2011-07-11 Roland McGrath <roland@hack.frob.com>
30862 * configure.in (-z relro check): Fix test code to make the variable
30864 * configure: Regenerated.
30866 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30868 * nscd/nscd.h (struct traced_file): Define.
30869 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30870 elements. Add traced_files.
30871 (inotify_fd): Declare.
30872 (register_traced_file): Declare.
30873 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30874 (inotify_fd): Export.
30875 (resolv_conf_descr): Remove.
30876 (nscd_init): Move inotify descriptor creation to main.
30877 Don't register files for notification here.
30878 (register_traced_file): New function.
30879 (invalidate_cache): Don't use reset_res to determine whether to call
30880 res_init, go through the list of registered files.
30881 (main_loop_poll): The inotify descriptors are now stored in the
30882 structures for the traced files.
30883 (main_loop_epoll): Likewise
30884 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30885 to __nss_disable_nscd.
30886 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30887 for a database anymore. Check the records for all the registered
30889 * nss/Makefile (libnss_files-routines): Add files-init.
30890 (libnss_db-routines): Add db-init.
30891 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30892 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30893 * nss/nss_db/db-init.c: New file.
30894 * nss/nss_files/files-init.c: New file.
30895 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30896 __nss_lookup_function.
30897 (__nss_lookup_function): Call nss_load_library.
30898 (nss_load_all_libraries): New function.
30899 (__nss_disable_nscd): Take parameter with callback function for files
30900 to register. Set is_nscd. Load all the DSOs for the NSS modules
30901 used for the cached services.
30902 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30903 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30904 options for features to all the files in nscd.
30906 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30908 2011-07-10 Roland McGrath <roland@hack.frob.com>
30910 * csu/elf-init.c (__libc_csu_init): Comment typo.
30912 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30914 * po/pl.po: Update from translation team.
30915 * po/ja.po: Likewise.
30916 * po/ru.po: Likewise.
30917 * po/ko.po: Likewise.
30918 * po/fr.po: Likewise.
30920 2011-07-09 Roland McGrath <roland@hack.frob.com>
30922 * configure.in (.ctors/.dtors header and trailer check):
30923 Use an empirical test on a built program.
30924 * configure: Regenerated.
30926 * configure.in (-z relro check): Use an empirical test on a built DSO.
30927 Detect, but do not require, on ia64.
30928 * configure: Regenerated.
30930 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30931 Update tests that use readelf to use $READELF instead.
30932 * configure: Regenerated.
30934 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30936 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30937 if the result is not used.
30939 2011-07-05 Andreas Jaeger <aj@suse.de>
30942 * stdlib/tst-strtod.c: Add testcase.
30944 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30946 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30947 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30948 The latter has a higher limit. Take additional parameter to pass to
30950 (__pathconf): Pass file to __statfs_link_max.
30951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30953 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30957 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30961 (__statfs_filesize_max): Likewise.
30962 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30964 2011-07-05 Andreas Jaeger <aj@suse.de>
30966 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30968 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30970 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30972 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30975 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30977 * Makefile (strop-tests): Add strncat.
30978 * string/test-strncat.c: New file.
30980 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30982 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30984 2011-06-21 Andreas Jaeger <aj@suse.de>
30986 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30987 Copy rule from iconvdata/Makefile.
30989 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30992 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30993 but no long options are defined, just return 'W'.
30995 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30998 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31000 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31002 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31004 (innetgr): Likewise.
31006 2011-07-05 Roland McGrath <roland@hack.frob.com>
31008 * config.make.in (install_root): Default to $(DESTDIR).
31010 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31014 2011-07-02 Roland McGrath <roland@hack.frob.com>
31016 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31018 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31019 containing directory rather than embedding absolute directory names.
31021 * scripts/check-local-headers.sh: Rewritten using awk.
31022 Match by word, not by line. Print error messages for matches.
31023 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31025 * Makerules [shlib-lds-flags empty]:
31026 ($(common-objpfx)libc_pic.opts): New target.
31027 ($(common-objpfx)libc_pic.os.clean): New target.
31028 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31030 * config.make.in (OBJCOPY): New variable.
31031 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31032 * configure: Regenerated.
31034 * config.make.in (use-default-link): New variable.
31035 * configure.in (use_default_link): Grok --with-default-link to set it.
31036 * configure: Regenerated.
31037 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31038 (shlib-lds, shlib-lds-flags): Define to empty.
31040 * Makerules (shlib-lds): New variable.
31041 (shlib-lds-flags): New variable.
31042 (build-shlib, build-moduile, build-module-asneeded): Use it.
31043 ($(common-objpfx)libc.so): Use $(shlib-lds).
31044 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31045 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31047 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31048 DT_FLAGS/DT_FLAGS_1 with zero flags.
31050 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31051 linker script munging.
31053 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31055 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31057 * crypt/sha512.c (sha512_process_block): Perform total addition using
31058 128-bit if possible.
31059 (__sha512_finish_ctx): Likewise.
31060 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31062 * crypt/sha256.c (SWAP64): Define.
31063 (sha256_process_block): Perform total addition using 64-bit if
31065 (__sha256_finish_ctx): Likewise.
31067 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31069 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31071 * nscd/hstcache.c (cache_addhst): Likewise.
31072 * nscd/grpcache.c (cache_addgr): Likewise.
31073 * nscd/aicache.c (addhstaiX): Likewise
31074 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31076 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31078 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31080 * nscd/hstcache.c (cache_addhst): Likewise.
31081 * nscd/grpcache.c (cache_addgr): Likewise.
31082 * nscd/aicache.c (addhstaiX): Likewise
31084 2011-07-01 Andreas Schwab <schwab@redhat.com>
31086 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31087 domain only when needed.
31089 2011-06-30 Andreas Schwab <schwab@redhat.com>
31091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31092 is always restored.
31094 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31096 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31097 are re-adding the entry.
31098 * nscd/servicescache.c (cache_addserv): Likewise.
31100 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31102 * sysdeps/generic/dl-irel.h: fix protection against multiple
31104 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31106 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31109 * malloc/memusage.sh: Fix quoting in message.
31110 * debug/xtrace.sh: Likewise.
31112 * configure.in: Remove support for --experimental-malloc option, make
31114 * config.make.in: Likewise.
31115 * malloc/Makefile: Likewise.
31117 2011-06-27 Andreas Schwab <schwab@redhat.com>
31119 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31120 two-byte characters.
31122 2011-06-27 Roland McGrath <roland@hack.frob.com>
31124 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31125 AC_CACHE_CHECK invocation.
31126 * configure: Regenerated.
31128 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31130 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31133 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31134 bit from old_res_options.
31136 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31138 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31139 value type for setfct.
31141 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31144 __gettimeofday instead of gettimeofday.
31146 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31148 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31150 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31157 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31160 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31161 strcpy-sse2-unaligned strncpy-sse2-unaligned
31162 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31163 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31164 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31165 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31166 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31169 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31170 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31171 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31172 (STRCPY): Support SSE2 and SSSE3 versions.
31174 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31178 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31179 kernels which artificially limit size of requests.
31181 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31184 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31185 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31186 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31187 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31188 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31189 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31190 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31191 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31192 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31193 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31194 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31195 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31196 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31197 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31199 Enable unaligned load optimization for Intel Core i3, i5 and i7
31201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31203 (index_Fast_Unaligned_Load): Define.
31204 (HAS_FAST_UNALIGNED_LOAD): Define.
31206 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31208 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31210 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31214 until it is clear that the information is realy needed.
31215 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31217 2011-06-22 Andreas Schwab <schwab@redhat.com>
31219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31221 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31224 /sys/devices/system/cpu/online if it is usable.
31226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31227 reading the information from the /proc filesystem to once a second.
31229 2011-06-21 Andreas Jaeger <aj@suse.de>
31231 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31232 NULL after inclusion of kernel headers.
31234 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31236 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31237 calls to internal_setent.
31240 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31241 addresses using gethostbyname4_r ignore IPv4 addresses.
31243 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31244 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31246 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31248 2011-06-20 David S. Miller <davem@davemloft.net>
31250 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31252 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31254 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31255 (elf_irel): Use it.
31256 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31257 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31258 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31259 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31260 * sysdeps/x86_64/dl-irel.h: Likewise.
31262 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31263 * elf/dl-sym.c: Likewise.
31265 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31267 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31268 need to dereference resplen2.
31270 2011-06-14 Andreas Schwab <schwab@redhat.com>
31272 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31274 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31276 * Makeconfig: Define vardbdir and inst_vardbdir.
31277 * nss/Makefile: Add rules to install db-Makefile.
31279 * nss/nss_db/db-XXX.c: Cleanup.
31281 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31282 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31284 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31285 * nss/makedb.c: Implement -g option to specify that value strings
31286 are generated and should not be added to table iterated over for
31288 * nss/nss_db/db-initgroups.c: New file.
31290 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31293 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31294 (internal_getgrouplist): Adjust to name change.
31295 Update use_initgroups_entry if this is not the first call.
31296 * nss/databases.def: Add initgroups entry.
31298 * nss/makedb.c (compute_tables): Check result of multiple hash table
31299 sizes to minimize maximum chain length.
31301 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31303 * Versions.def: Add entry for libnss_db.
31304 * shlib-versions: Likewise.
31305 * nss/Makefile: Add rules to build libnss_db.
31306 * nss/Versions: Add libnss_db information. Organize libnss_files
31308 * nss/db-Makefile: Add gshadow support. Change rules for the new
31309 makedb progra. Some minor improvements to generate smaller files.
31310 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31312 * nss/makedb.c: ...here.
31313 Improve database format to be smaller and require less memory at
31315 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31317 * nss/nss_db/db-netgrp.c: Likewise.
31318 * nss/nss_db/db-open.c: Likewise.
31319 * nss/nss_files/flies-XXX.x: Adjust comments.
31320 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31321 * nss/nss_files/files-grp.c: Likewise.
31322 * nss/nss_files/files-hosts.c: Likewise.
31323 * nss/nss_files/files-network.c: Likewise.
31324 * nss/nss_files/files-proto.c: Likewise.
31325 * nss/nss_files/files-pwd.c: Likewise.
31326 * nss/nss_files/files-rpc.c: Likewise.
31327 * nss/nss_files/files-service.c: Likewise.
31328 * nss/nss_files/files-sgrp.c: Likewise.
31329 * nss/nss_files/files-spwd.c: Likewise.
31330 * nss/nss_db/db-alias.c: Removed.
31331 * nss/nss_db/dummy-db.h: Removed.
31333 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31335 * nss/makedb.c: Rewritten to not use database library.
31336 * nss/Makefile: Update to build new makedb program.
31338 2011-06-14 Andreas Jaeger <aj@suse.de>
31340 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31341 memset declaration.
31343 2011-06-10 Andreas Schwab <schwab@redhat.com>
31345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31348 2011-06-10 Roland McGrath <roland@hack.frob.com>
31350 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31351 * elf/Makefile ($(objpfx)ld.so): Likewise.
31353 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31354 Don't list ld.so twice in dependencies.
31356 * posix/bug-regex31.c: Include <stdlib.h>.
31358 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31360 * nis/nss_compat/compat-spwd.c
31361 (getspent_next_nss_netgr): Remove unused variable.
31362 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31364 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31365 nonmembers" output to use the right array.
31367 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31369 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31371 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31372 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31373 * catgets/gencat.c (read_input_file): Likewise.
31374 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31376 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31377 variable definition inside #if's controlling its use.
31379 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31381 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31383 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31385 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31388 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31390 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31391 * configure: Regenerated.
31393 * Makerules: Revert last change.
31394 * elf/Makefile: Likewise.
31396 2011-06-09 Roland McGrath <roland@hack.frob.com>
31398 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31399 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31400 (reloc-link): Likewise.
31402 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31404 * elf/Makefile: Add rules to build pldd.
31405 * elf/pldd.c: New file.
31406 * elf/pldd-xx.c: New file.
31408 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31410 * version.h: Update for 2.15 development version.
31412 2011-06-07 David S. Miller <davem@davemloft.net>
31414 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31417 elf_machine_lazy_rel): Likewise.
31418 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31420 elf_machine_lazy_rel): Likewise.
31421 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31422 dl_hwcap via passed in argument.
31423 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31426 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31428 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31430 2011-06-06 Roland McGrath <roland@hack.frob.com>
31433 * manual/fdl-1.1.texi: New file, verbatim from:
31434 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31435 * manual/lgpl-2.1.texi: New file, verbatim from:
31436 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31437 * manual/Makefile (licenses): New variable, list those new file names.
31439 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31441 * manual/fdl.texi: File removed.
31442 * manual/lesser.texi: File removed.
31443 * manual/libc.texinfo (Copying, Documentation License):
31444 Use new @include file names, put @appendix directive before @include.
31446 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31449 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31450 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31451 (mq_open): Add __NTH.
31453 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31456 Assume Intel Core i3/i5/i7 processor if AVX is available.
31458 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31463 2011-05-31 Andreas Schwab <schwab@redhat.com>
31465 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31466 memory. Use alloca_account. Fix memory leak when retrying.
31468 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31470 * version.h (RELEASE): Bump for 2.14 release.
31471 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31473 * config.make.in (RANLIB): Remove entry.
31475 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31477 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31478 (libc.pot): Work around missing support for .ksh extension in xgettext.
31481 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31482 if both request failed.
31483 (send_dg): In case of server errors clear resplen or *resplen2.
31486 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31487 when there are multiple maps.
31488 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31489 (_dl_fini): Remove test here.
31491 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31493 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31496 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31497 bit from old_res_options.
31498 (gaih_inet): Likewise.
31501 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31504 * resolv/res_init.c (res_setoptions): Make the code more compact.
31507 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31511 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31513 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31516 * malloc/malloc.h: Declare malloc hook variables as volatile.
31518 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31522 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31523 raise in the comment.
31524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31525 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31526 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31528 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31531 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31532 grow the buffers more if it already has to be sufficient.
31533 (build_wcs_upper_buffer): Likewise.
31534 * posix/regexec.c (check_matching): Likewise.
31535 (clean_state_log_if_needed): Likewise.
31536 (extend_buffers): Don't enlarge buffers beyond size of the input
31538 Patches mostly by Emil Wojak <emil@wojak.eu>.
31539 * posix/bug-regex32.c: New file.
31540 * posix/Makefile (tests): Add bug-regex32.
31542 * locale/findlocale.c (_nl_find_locale): Return right away if
31543 _nl_explode_name failed.
31544 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31546 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31548 * debug/xtrace.sh: Unify messages.
31549 * malloc/memusage.sh: Likewise.
31552 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31553 time symbol from vDSO. Substitute with vsyscall if not available.
31554 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31557 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31558 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31559 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31560 Add sendmmsg and internal_sendmmsg.
31561 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31562 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31565 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31566 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31567 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31569 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31573 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31579 * iconvdata/Makefile (tests): Add bug-iconv9.
31580 * iconvdata/bug-iconv9.c: New file.
31582 2011-05-27 Andreas Schwab <schwab@redhat.com>
31585 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31587 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31590 (struct user_regs_struct): Change intcs field back to cs.
31592 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31594 * po/ja.po: Update from translation team.
31596 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31599 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31600 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31602 2011-05-20 Andreas Schwab <schwab@redhat.com>
31604 * stdlib/longlong.h: Update from GCC.
31606 2011-05-23 Andreas Schwab <schwab@redhat.com>
31608 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31610 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31611 Add parameter name.
31612 (__sysconf): Pass it down.
31614 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31617 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31619 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31620 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31621 add in in __libc_use_alloca calls. Adjust callers.
31622 (glob): Use malloc in some situations.
31624 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31625 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31628 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31630 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31631 and CLOCK_BOOTTIME_ALARM.
31634 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31637 * string/_strerror.c (__strerror_r): Print negative errors as signed
31641 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31642 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31643 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31645 * configure.in: Fix typo in redirection and correct removal of test
31646 files in two cases.
31649 * locale/setlocale.c (new_composite_name): Fix test to check for
31650 identical name of all categories.
31653 * libio/filedoalloc.c (local_isatty): New function.
31654 (_IO_file_doallocate): Use local_isatty.
31655 * stdio-common/perror.c (perror): In case a new stream is used
31656 forward the stream error.
31657 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31660 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31665 * include/alloca.h (extend_alloca_account): Define.
31668 * posix/regex.h: Fix comments with documentation of user-accessible
31669 fields after compilation and describe correct free'ing of pattern
31670 after re_compile_pattern.
31671 Patch by Reuben Thomas <rrt@sc3d.org>.
31673 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31675 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31676 and -mno-altivec to prevent the compiler from using Altivec and/or
31677 VSX instructions when the corresponding registers are not available.
31679 2011-05-19 Andreas Schwab <schwab@redhat.com>
31681 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31683 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31685 * libio/freopen.c (freopen): Use __dup2, not dup2.
31686 * libio/freopen64.c (freopen64): Likewise.
31688 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31691 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31692 * math/Makefile (tests): Add test-powl.
31693 (CFLAGS-test-powl.c): Define.
31694 * math/test-powl.c: New file.
31696 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31698 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31700 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31703 * iconvdata/gb18030.c: Update to GB18020-2005.
31705 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31707 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31708 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31709 Patch by Aharon Robbins <arnold@skeeve.com>.
31712 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31716 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31717 through underflows.
31720 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31721 point to strings before performing equality test for error_one_per_line
31725 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31729 (struct user_fpregs_struct): Avoid __uint*_t types.
31732 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31733 symbol info. Use it instead of calling _dl_addr locally.
31734 (lock_and_info): New function.
31735 (tr_freehook): Call lock_and_info and pass symbol info as additional
31736 parameter to tr_where.
31737 (tr_mallochook): Likewise.
31738 (tr_reallochook): Likewise.
31739 (tr_memalignhook): Likewise.
31741 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31742 used and couldn't be at all thread-safe.
31744 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31746 * libio/freopen.c (freopen): Don't close old file descriptor
31747 before the new one is opened. Instead dup the new file descriptor
31748 to the old one after the new stream is created.
31749 * libio/freopen64.c (freopen64): Likewise.
31750 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31751 * libio/fileops.c (_IO_new_file_close_it): Handle new
31752 _IO_FLAGS2_NOCLOSE flag.
31753 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31754 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31755 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31756 _IO_FLAGS2_NOCLOSE flag.
31757 * include/unistd.h: Add hidden_proto for dup3.
31758 Define __have_dup3.
31759 * io/dup3.c: Define hidden symbol.
31760 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31763 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31764 when an incomplete long option is used.
31765 * posix/tst-getopt_long1.c: New file.
31766 * posix/Makefile (tests): Add tst-getopt_long1.
31769 * scripts/config.guess: Update from autoconf-2.68.
31770 * scripts/config.sub: Likewise.
31773 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31775 (has_cpuclock): ...this. New function.
31776 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31777 macro here based on has_cpuclock code.
31780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31781 First byte (not low byte) is now always NUL.
31782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31785 Use non-cancelable interfaces.
31788 * locale/iso-639.def: Add entry for Sorani.
31791 * include/stdlib.h: Move include protection to the right place.
31792 Define abort_msg_s. Declare __abort_msg with it.
31793 * stdlib/abort.c (__abort_msg): Adjust type.
31794 * assert/assert.c (__assert_fail_base): New function. Majority
31795 of code from __assert_fail. Allocate memory for __abort_msg with
31797 (__assert_fail): Now call __assert_fail_base.
31798 * assert/assert-perr.c: Remove bulk of implementation. Use
31799 __assert_fail_base.
31800 * include/assert.hL Declare __assert_fail_base.
31801 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31803 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31805 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31809 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31810 until all modules are registered in the DTV.
31811 * elf/Makefile: Add rules to build and run tst-tls19.
31812 * elf/tst-tls19.c: New file.
31813 * elf/tst-tls19mod1.c: New file.
31814 * elf/tst-tls19mod2.c: New file.
31815 * elf/tst-tls19mod3.c: New file.
31816 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31819 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31823 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31824 two-byte sequence errors.
31825 * iconvdata/Makefile (tests): Add bug-iconv8.
31826 * iconvdata/bug-iconv8.c: New file.
31829 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31832 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31835 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31836 (dummy_getcfa): New function.
31837 (init): Get _Unwind_GetCFA address, use dummy if not found.
31838 (backtrace_helper): In recursion check, also check whether CFA changes.
31839 (__backtrace): Completely initialize arg.
31841 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31842 storing incomplete byte sequence in state object. Avoid testing for
31843 guaranteed too small input if we know there is enough data available.
31845 2011-05-11 Andreas Schwab <schwab@redhat.com>
31847 * Makeconfig (+link-pie): Indent.
31848 * Rules (binaries-pie): Define if $(have-fpie) and
31850 (binaries-shared): Also filter out $(binaries-pie).
31851 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31852 * nscd/Makefile (others-pie): Add nscd.
31853 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31854 ($(objpfx)nscd): Remove command override.
31855 * login/Makefile (others-pie): Add pt_chown.
31856 ($(objpfx)pt_chown): Remove command override.
31857 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31858 remove command overrides.
31860 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31862 * libio/tst_putwc.c: Fix error messages.
31865 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31866 currently writing and seek to current position when not.
31867 * libio/Makefile (tests): Add bug-fclose1.
31868 * libio/bug-fclose1.c: New file.
31870 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31873 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31874 don't set DF_1_NODELETE here.
31875 (do_lookup_x): When entering new entry test for copy relocation
31876 and if necessary set DF_1_NODELETE flag.
31877 * elf/tst-unique4.cc: New file.
31878 * elf/tst-unique4.h: New file.
31879 * elf/tst-unique4lib.cc: New file.
31880 * elf/Makefile: Add rules to build and run tst-unique4.
31881 Patch by Piotr Bury <pbury@goahead.com>.
31883 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31886 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31889 * misc/mntent_r.c (addmntent): Flush the stream after the output
31892 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31893 (is_trusted_path_normalize): Skip initial colon. Append slash
31894 to empty buffer. Duplicate is_trusted_path code but allow
31895 constructed patch to be prefix.
31896 (is_dst): Allow $ORIGIN followed by /.
31897 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31898 Correct testing of result of is_trusted_path_normalize
31899 (decompose_rpath): Fix warning.
31901 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31904 * grp/initgroups.c (internal_getgrouplist): When we found the service
31905 list through the initgroups entry in nsswitch.conf do not always
31906 continue on a successful lookup. Don't always use the
31907 __nss_group_database value if it is set.
31908 * nss/nsswitch.conf (initgroups): Change action for successful db
31909 lookup to continue for compatibility.
31911 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31914 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31916 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31918 * iconvdata/tst-tables.sh: Likewise.
31919 * iconvdata/cp770.c: New file.
31920 * iconvdata/cp771.c: New file.
31921 * iconvdata/cp772.c: New file.
31922 * iconvdata/cp773.c: New file.
31923 * iconvdata/cp774.c: New file.
31924 * iconvdata/testdata/CP770: New file.
31925 * iconvdata/testdata/CP770..UTF8: New file.
31926 * iconvdata/testdata/CP771: New file.
31927 * iconvdata/testdata/CP771..UTF8: New file.
31928 * iconvdata/testdata/CP772: New file.
31929 * iconvdata/testdata/CP772..UTF8: New file.
31930 * iconvdata/testdata/CP773: New file.
31931 * iconvdata/testdata/CP773..UTF8: New file.
31932 * iconvdata/testdata/CP774: New file.
31933 * iconvdata/testdata/CP774..UTF8: New file.
31935 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31937 * iconvdata/gen-8bit-gap.sh: Likewise.
31938 * iconvdata/gen-8bit.sh: Likewise.
31940 * locale/iso-639.def: Add ary entry.
31943 * locale/C-translit.h.in: Add U20A1 transliteration.
31946 * locale/iso-639.def: Add wae entry.
31947 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31950 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31954 * locale/C-translit.h.in: Add entry for U20B9.
31955 Patch by pravin.d.s@gmail.com.
31957 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31960 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31961 ENAMETOOLONG use generic getcwd.
31962 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31963 in rtld. Use *stat64.
31964 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31965 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31966 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31967 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31968 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31969 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31970 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31971 __fstatat64 macros.
31972 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31973 * dirent/rewinddir.c: Add libc_hidden_def.
31974 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31975 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31977 * include/dirent.h (__alloc_dir): Add flags parameter.
31978 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31979 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31981 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31982 from fdopendir if O_CLOEXEC is already set.
31984 2011-03-15 Alan Modra <amodra@gmail.com>
31986 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31987 l_tls_firstbyte_offset non-zero. Save padding offset in
31988 l_tls_firstbyte_offset for later use.
31989 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31990 freeing static tls block.
31992 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31994 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31995 where #ifdef was intended. The intent is to prevent ARG_MAX from
31996 being defined by the kernel headers.
31998 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32001 * resolv/resolv.h: Define RES_NOTLDQUERY.
32002 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32003 no-tld-query and set RES_NOTLDQUERY.
32004 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32005 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32006 modern BIND to search name as TLD unless forbidden.
32008 2011-05-07 Petr Baudis <pasky@suse.cz>
32009 Ulrich Drepper <drepper@gmail.com>
32012 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32013 (is_trusted_path): ...to here.
32014 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32015 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32016 using is_trusted_path_normalize() in setuid scripts.
32018 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32020 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32021 __BEGIN/__END_DECLS.
32023 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32026 NSS_STATUS_NOTFOUND if no record was found.
32028 2011-05-05 Andreas Schwab <schwab@redhat.com>
32030 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32031 (headers-not-in-tirpc): Remove rpc/netdb.h
32032 * resolv/netdb.h: Revert last change.
32034 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32036 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32037 circular dependency between libgcc.a and libc.a.
32039 2011-05-05 Andreas Schwab <schwab@redhat.com>
32041 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32042 * nis/Makefile: Don't install rpcsvc/*.
32043 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32044 instead of <rpc/types.h>.
32045 (MAXHOSTNAMELEN): Define.
32047 2011-05-03 Andreas Schwab <schwab@redhat.com>
32049 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32051 2011-04-28 Maciej Babinski <mbabinski@google.com>
32054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32055 gethostbyname4_r when IPv6 results are possible.
32057 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32060 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32061 _PC_PIPE_BUF handling.
32063 2011-04-30 Bruno Haible <bruno@clisp.org>
32066 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32067 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32069 * inet/getnameinfo.c (getnameinfo): Likewise.
32071 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32073 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32074 to groups setting in database lookup.
32075 * nss/nsswitch.conf: Add initgroups entry.
32077 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32080 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32082 Patch by Eric Blake <eblake@redhat.com>.
32084 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32086 * sunrpc/Makefile (need-export-routines): Add svc_run.
32087 (routines): Remove svc_run.
32088 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32089 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32090 * sunrpc/svc_run.c (svc_run): Likewise.
32091 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32093 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32095 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32096 problem in reallocation in last patch.
32098 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32100 * sunrpc/Makefile: Move inclusion of Rules.
32102 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32104 * nss/nss_files/files-initgroups.c: New file.
32105 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32106 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32107 _nss_files_initgroups_dyn.
32109 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32111 * elf/elf.h (R_ARM_IRELATIVE): Define.
32113 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32115 * po/ru.po: Update from translation team.
32117 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32119 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32122 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32125 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32126 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32129 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32131 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32133 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32135 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32139 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32142 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32144 * stdlib/bug-getcontext.c: New file.
32145 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32147 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32149 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32150 instructions into .machine "z9-109".
32151 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32152 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32154 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32156 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32157 between environment variables and auxiliary vector.
32159 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32161 * Makefile: Add rules to build linkobj/libc.so.
32162 * include/libc-symbols.h: Define libc_hidden_nolink.
32163 * include/rpc/auth.h: Mark functions which are to be hidden.
32164 * include/rpc/auth_des.h: Likewise.
32165 * include/rpc/auth_unix.h: Likewise.
32166 * include/rpc/clnt.h: Likewise.
32167 * include/rpc/des_crypt.h: Likewise.
32168 * include/rpc/key_prot.h: Likewise.
32169 * include/rpc/pmap_clnt.h: Likewise.
32170 * include/rpc/pmap_prot.h: Likewise.
32171 * include/rpc/pmap_rmt.h: Likewise.
32172 * include/rpc/rpc_msg.h: Likewise.
32173 * include/rpc/svc.h: Likewise.
32174 * include/rpc/svc_auth.h: Likewise.
32175 * include/rpc/xdr.h: Likewise.
32176 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32177 * nss/Makefile: Likewise.
32178 * sunrpc/Makefile: Don't install headers. Build library with normal
32179 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32180 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32181 for the compat linking library. Remove use of INTDEF/INTUSE.
32182 * sunrpc/auth_none.c: Likewise.
32183 * sunrpc/auth_unix.c: Likewise.
32184 * sunrpc/authdes_prot.c: Likewise.
32185 * sunrpc/authuxprot.c: Likewise.
32186 * sunrpc/clnt_gen.c: Likewise.
32187 * sunrpc/clnt_perr.c: Likewise.
32188 * sunrpc/clnt_raw.c: Likewise.
32189 * sunrpc/clnt_simp.c: Likewise.
32190 * sunrpc/clnt_tcp.c: Likewise.
32191 * sunrpc/clnt_udp.c: Likewise.
32192 * sunrpc/clnt_unix.c: Likewise.
32193 * sunrpc/des_crypt.c: Likewise.
32194 * sunrpc/des_soft.c: Likewise.
32195 * sunrpc/get_myaddr.c: Likewise.
32196 * sunrpc/key_call.c: Likewise.
32197 * sunrpc/key_prot.c: Likewise.
32198 * sunrpc/netname.c: Likewise.
32199 * sunrpc/pm_getmaps.c: Likewise.
32200 * sunrpc/pm_getport.c: Likewise.
32201 * sunrpc/pmap_clnt.c: Likewise.
32202 * sunrpc/pmap_prot.c: Likewise.
32203 * sunrpc/pmap_prot2.c: Likewise.
32204 * sunrpc/pmap_rmt.c: Likewise.
32205 * sunrpc/publickey.c: Likewise.
32206 * sunrpc/rpc_cmsg.c: Likewise.
32207 * sunrpc/rpc_common.c: Likewise.
32208 * sunrpc/rpc_dtable.c: Likewise.
32209 * sunrpc/rpc_prot.c: Likewise.
32210 * sunrpc/rpc_thread.c: Likewise.
32211 * sunrpc/rtime.c: Likewise.
32212 * sunrpc/svc.c: Likewise.
32213 * sunrpc/svc_auth.c: Likewise.
32214 * sunrpc/svc_authux.c: Likewise.
32215 * sunrpc/svc_raw.c: Likewise.
32216 * sunrpc/svc_run.c: Likewise.
32217 * sunrpc/svc_simple.c: Likewise.
32218 * sunrpc/svc_tcp.c: Likewise.
32219 * sunrpc/svc_udp.c: Likewise.
32220 * sunrpc/svc_unix.c: Likewise.
32221 * sunrpc/svcauth_des.c: Likewise.
32222 * sunrpc/xcrypt.c: Likewise.
32223 * sunrpc/xdr.c: Likewise.
32224 * sunrpc/xdr_array.c: Likewise.
32225 * sunrpc/xdr_float.c: Likewise.
32226 * sunrpc/xdr_intXX_t.c: Likewise.
32227 * sunrpc/xdr_mem.c: Likewise.
32228 * sunrpc/xdr_rec.c: Likewise.
32229 * sunrpc/xdr_ref.c: Likewise.
32230 * sunrpc/xdr_sizeof.c: Likewise.
32231 * sunrpc/xdr_stdio.c: Likewise.
32233 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32236 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32237 * sysdeps/ia64/dl-tls.h: Likewise.
32238 * sysdeps/powerpc/dl-tls.h: Likewise.
32239 * sysdeps/s390/dl-tls.h: Likewise.
32240 * sysdeps/sh/dl-tls.h: Likewise.
32241 * sysdeps/sparc/dl-tls.h: Likewise.
32242 * sysdeps/x86_64/dl-tls.h: Likewise.
32243 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32245 2011-03-14 Andreas Schwab <schwab@redhat.com>
32247 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32248 rpath element also skip the following colon.
32249 (expand_dynamic_string_token): Add is_path parameter and pass
32250 down to DL_DST_REQUIRED and _dl_dst_substitute.
32251 (decompose_rpath): Call expand_dynamic_string_token with
32252 non-zero is_path. Ignore empty rpaths.
32253 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32256 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32261 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32264 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32265 Patch by Filipe David Manana <fdmanana@apache.org>.
32267 2011-04-07 Andreas Schwab <schwab@redhat.com>
32269 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32270 Maintain aligned stack.
32271 (CHECK_RSP): Remove unused macro.
32273 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32275 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32276 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32278 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32280 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32282 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32284 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32287 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32288 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32289 * sysdeps/x86_64/memmove.c: New file.
32290 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32291 (memcpy): Renamed to ...
32292 (__new_memcpy): This.
32293 (memcpy): Provide GLIBC_2_14 memcpy.
32294 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32295 (memcpy): Provide GLIBC_2_2_5 memcpy.
32297 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32300 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32302 2011-03-30 Andreas Schwab <schwab@redhat.com>
32304 * misc/syncfs.c: New file.
32305 * misc/Makefile (routines): Add syncfs.
32306 * posix/unistd.h: Declare syncfs.
32307 * sysdeps/unix/syscalls.list: Add syncfs.
32309 2011-04-01 Andreas Schwab <schwab@redhat.com>
32311 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32313 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32318 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32319 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32321 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32323 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32325 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32331 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32332 sync_file_range.c with -fexceptions.
32333 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32334 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32335 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32336 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32337 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32338 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32340 sync_file_range as cancellation point
32341 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32342 now a wrapper around __call_sync_file_range with cancellation handling.
32343 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32344 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32345 function name to __call_sync_file_range.
32346 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32347 Add call_sync_file_range.
32349 2011-04-01 Andreas Schwab <schwab@redhat.com>
32351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32354 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32356 * iconv/iconv.h: Fix typo in comment.
32357 * io/fcntl.h: Likewise.
32358 * libio/stdio.h: Likewise.
32359 * posix/spawn.h: Likewise.
32360 * posix/unistd.h: Likewise.
32361 * stdlib/stdlib.h: Likewise.
32362 * time/time.h: Likewise.
32363 * wcsmbs/wchar.h: Likewise.
32365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32366 open_by_handle): Add.
32367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32368 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32369 Augment a few comments.
32370 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32375 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32378 * io/fcntl.h (AT_EMPTY_PATH): Define.
32380 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32382 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32383 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32384 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32386 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32387 * Versions.def: Add GLIBC_2.14.
32388 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32391 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32393 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32395 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32397 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32400 * string/test-strncmp.c (do_page_test): New function.
32401 (check2): Likewise.
32402 (test_main): Call check2.
32403 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32405 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32408 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32409 Handle cache information in CPU leaf 4.
32410 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32412 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32415 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32416 character representation.
32417 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32419 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32421 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32422 END(__isnan) to END(__isnanf) to match function entry point/label
32423 EALIGN(__isnanf,...).
32425 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32427 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32429 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32432 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32433 copy from the symbol referenced in the relocation to initialize the
32435 Patch by Piotr Bury <pbury@goahead.com>.
32436 * elf/Makefile: Add rules to build and tst-unique3.
32437 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32438 * elf/tst-unique3.cc: New file.
32439 * elf/tst-unique3.h: New file.
32440 * elf/tst-unique3lib.cc: New file.
32441 * elf/tst-unique3lib2.cc: New file.
32443 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32445 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32447 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32448 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32451 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32453 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32454 to-be-loaded object along a path to loader is ld.so.
32456 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32457 Ulrich Drepper <drepper@gmail.com>
32459 * sysdeps/x86_64/memset.S: After aligning destination, code
32460 branches to different locations depending on the value of
32461 misalignment, when multiarch is enabled. Fix this.
32463 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32465 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32466 Set _x86_64_preferred_memory_instruction for AMD processsors.
32467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32468 Set bit_Prefer_SSE_for_memop for AMD processors.
32470 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32472 * libio/fmemopen.c (fmemopen): Optimize a bit.
32474 2011-03-03 Andreas Schwab <schwab@redhat.com>
32476 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32478 2011-03-03 Roland McGrath <roland@redhat.com>
32480 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32482 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32484 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32485 __bzero_ultra1 instead of __memset_ultra1.
32487 2011-02-23 Andreas Schwab <schwab@redhat.com>
32488 Ulrich Drepper <drepper@gmail.com>
32491 * include/link.h (struct link_map): Add l_orig_initfini.
32492 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32493 returning unsuccessfully.
32494 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32495 close of a file loaded at startup, restore the original l_initfini
32497 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32498 list, store the pointer.
32499 * elf/Makefile ($(objpfx)noload-mem): New rule.
32500 (noload-ENV): Define.
32501 (tests): Add $(objpfx)noload-mem.
32502 * elf/noload.c: Include <memcheck.h>.
32503 (main): Call mtrace. Close all opened handles.
32505 2011-02-17 Andreas Schwab <schwab@redhat.com>
32508 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32509 dependencies are missing.
32511 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32513 Fix __if_freereq crash: Unlike the generic version which uses free,
32515 * sysdeps/mach/hurd/ifreq.h: New file.
32517 2011-01-27 Petr Baudis <pasky@suse.cz>
32518 Ulrich Drepper <drepper@gmail.com>
32521 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32522 to extend_alloca().
32523 * stdio-common/bug23.c: New file.
32524 * stdio-common/Makefile (tests): Add bug23.
32526 2010-09-28 Andreas Schwab <schwab@redhat.com>
32527 Ulrich Drepper <drepper@gmail.com>
32530 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32531 before performing relro protection. At old place add assertion
32532 to make sure nothing changed.
32534 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32535 Glauber de Oliveira Costa <glommer@gmail.com>
32537 * elf/elf.h: Add new ARM TLS relocs.
32539 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32542 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32544 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32546 * sysdeps/wordsize-64/tst-writev.c: New file.
32548 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32550 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32551 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32552 insns in _dl_start to prevent a TOC reference before relocs are
32555 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32558 * Makeconfig: Remove RANLIB definition.
32559 * Makerules: Don't use RANLIB.
32560 * aclocal.m4: Remove ranlib test.
32561 * configure.in: No need to check for ranlib.
32562 * elf/rtld-Rules: Don't use RANLIB.
32564 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32566 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32568 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32569 inclusion protection macro.
32571 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32572 SIGRTMIN and SIGRTMAX and print information in that case only when
32573 SIGRTMIN is defined.
32575 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32577 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32578 arginfo fn returning -1.
32580 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32581 and thousands string is zero terminated.
32583 2011-02-03 Andreas Schwab <schwab@redhat.com>
32585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32586 sysdeps/unix/sysv/linux/bits/socket.h.
32588 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32590 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32591 (__CPU_COUNT): Remove old macros.
32592 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32593 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32594 (__CPU_ALLOC, __CPU_FREE): Add macros.
32595 (__sched_cpualloc, __sched_cpufree): Add declarations.
32597 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32599 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32600 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32601 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32602 (readdhstai): Return value of addhstaiX call.
32603 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32604 (addgrbyX): Return value returned by cache_addgr.
32605 (readdgrbyname): Return value returned by addgrbyX.
32606 (readdgrbygid): Likewise.
32607 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32608 (addpwbyX): Return value returned by cache_addpw.
32609 (readdpwbyname): Return value returned by addhstbyX.
32610 (readdpwbyuid): Likewise.
32611 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32612 (addservbyX): Return value returned by cache_addserv.
32613 (readdservbyname): Return value returned by addservbyX:
32614 (readdservbyport): Likewise.
32615 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32616 (addhstbyX): Return value returned by cache_addhst.
32617 (readdhstbyname): Return value returned by addhstbyX.
32618 (readdhstbyaddr): Likewise.
32619 (readdhstbynamev6): Likewise.
32620 (readdhstbyaddrv6): Likewise.
32621 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32622 (readdinitgroups): Return value returned by addinitgroupsX.
32623 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32624 (prune_cache): Keep track of timeout value of re-added entries.
32625 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32626 * nscd/nscd.h: Adjust prototypes of readd* functions.
32628 2011-02-04 Roland McGrath <roland@redhat.com>
32630 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32631 (nis_stats): Likewise.
32632 * nis/nis_modify.c (nis_modify): Likewise.
32633 * nis/nis_remove.c (nis_remove): Likewise.
32634 * nis/nis_add.c (nis_add): Likewise.
32636 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32638 * posix/fnmatch_loop.c: Add some consts.
32640 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32642 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32645 * config.make.in (config-cflags-novzeroupper): Define.
32646 * configure.in: Substitute libc_cv_cc_novzeroupper.
32647 * elf/Makefile (AVX-CFLAGS): Define.
32648 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32649 (CFLAGS-tst-auditmod4a.c): Likewise.
32650 (CFLAGS-tst-auditmod4b.c): Likewise.
32651 (CFLAGS-tst-auditmod6b.c): Likewise.
32652 (CFLAGS-tst-auditmod6c.c): Likewise.
32653 (CFLAGS-tst-auditmod7b.c): Likewise.
32654 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32656 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32658 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32659 function to the callback.
32660 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32662 2011-02-02 Andreas Schwab <schwab@redhat.com>
32664 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32667 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32670 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32672 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32674 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32677 * elf/Makefile: Add rules to build and run new test.
32678 * elf/tst-initorder.c: New file.
32679 * elf/tst-initorder.exp: New file.
32680 * elf/tst-initordera1.c: New file.
32681 * elf/tst-initordera2.c: New file.
32682 * elf/tst-initordera3.c: New file.
32683 * elf/tst-initordera4.c: New file.
32684 * elf/tst-initorderb1.c: New file.
32685 * elf/tst-initorderb2.c: New file.
32686 * elf/tst-order-a1.c: New file.
32687 * elf/tst-order-a2.c: New file.
32688 * elf/tst-order-a3.c: New file.
32689 * elf/tst-order-a4.c: New file.
32690 * elf/tst-order-b1.c: New file.
32691 * elf/tst-order-b2.c: New file.
32692 * elf/tst-order-main.c: New file.
32693 New test case by George Gensure <werkt0@gmail.com>.
32695 2010-10-01 Andreas Schwab <schwab@redhat.com>
32697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32698 decoding ACE if AI_CANONIDN.
32700 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32702 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32704 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32706 * version.h (RELEASE): Bump for 2.13 release.
32707 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32709 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32711 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32713 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32714 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32715 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32716 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32718 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32720 * posix/getconf.c: Update copyright year.
32721 * catgets/gencat.c: Likewise.
32722 * csu/version.c: Likewise.
32723 * debug/catchsegv.sh: Likewise.
32724 * debug/xtrace.sh: Likewise.
32725 * elf/ldconfig.c: Likewise.
32726 * elf/ldd.bash.in: Likewise.
32727 * elf/sprof.c (print_version): Likewise.
32728 * iconv/iconv_prog.c: Likewise.
32729 * iconv/iconvconfig.c: Likewise.
32730 * locale/programs/locale.c: Likewise.
32731 * locale/programs/localedef.c: Likewise.
32732 * malloc/memusage.sh: Likewise.
32733 * malloc/mtrace.pl: Likewise.
32734 * nscd/nscd.c (print_version): Likewise.
32735 * nss/getent.c: Likewise.
32737 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32738 PF_CAIF, and PF_ALG.
32739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32741 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32743 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32744 (modules-names): Use them.
32745 (ifunc-test-modules, ifunc-pie-tests): Define.
32746 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32747 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32748 (test-extras): Likewise.
32749 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32750 $(compile-command.c).
32751 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32752 (all-built-dso): Define.
32753 (check-textrel.out, check-execstack.out): Depend on it.
32755 * configure.in: Don't override --enable-multi-arch.
32757 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32760 * nscd/hstcache.c (tryagain): Define.
32761 (cache_addhst): Return tryagain not notfound for temporary errors.
32762 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32765 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32768 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32769 to make the syscall.
32770 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32773 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32774 and fall back to matching as normal character if the string ends before
32775 the matching ']' is found. This is what POSIX requires.
32776 * posix/testfnm.c: Adjust test result.
32777 * posix/globtest.sh: Adjust test result. Add new test.
32778 * posix/tst-fnmatch.input: Likewise.
32779 * posix/tst-fnmatch2.c: Add new test.
32781 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32783 * elf/Makefile (check-execstack): Revert last change. Depend on
32785 (check-execstack.h): New target.
32786 (generated): Add check-execstack.h.
32787 * elf/check-execstack.c: Include "check-execstack.h".
32788 (main): Revert last change.
32789 (handle_file): Return zero if GNU_STACK is absent and
32790 DEFAULT_STACK_PERMS doesn't include PF_X.
32792 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32794 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32795 in child fails because the descriptor is already closed.
32796 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32797 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32798 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32801 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32805 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32806 temporary buffer used to handle multi lookups locally.
32807 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32809 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32811 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32814 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32816 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32817 alignment for SSE2.
32819 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32822 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32823 characters. When rounding increased number of integer digits recompute
32825 * stdio-common/tst-grouping.c: New file.
32826 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32828 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32830 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32831 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32833 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32835 * bits/select.h: Likewise.
32837 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32839 * po/ja.po: Update from translation team.
32841 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32844 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32845 implementation just like for lxstat, fxstatat, et al.
32847 2010-12-27 Jim Meyering <meyering@redhat.com>
32850 * posix/regexec.c (build_trtable): Return failure indication upon
32851 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32853 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32856 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32857 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32858 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32859 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32862 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32865 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32866 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32868 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32870 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32871 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32872 script has SORT_BY_INIT_PRIORITY.
32873 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32874 NO_CTORS_DTORS_SECTIONS is defined.
32875 * elf/soinit.c: Likewise.
32876 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32877 NO_CTORS_DTORS_SECTIONS is defined.
32878 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32879 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32880 * sysdeps/sh/init-first.c: Likewise.
32881 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32883 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32885 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32886 always use the slow path.
32888 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32890 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32891 similar rule which adds the sysdep directories to the header search in
32892 order to pick up the correct platform stackinfo.h.
32893 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32894 perform test if it is, otherwise return successfully without testing.
32895 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32896 DEFAULT_STACK_PERMS define in stackinfo.h.
32897 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32898 defined in stackinfo.h.
32899 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32900 DEFAULT_STACK_PERMS defined in stackinfo.h.
32901 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32902 * sysdeps/ia64/stackinfo.h: Likewise.
32903 * sysdeps/s390/stackinfo.h: Likewise.
32904 * sysdeps/sh/stackinfo.h: Likewise.
32905 * sysdeps/sparc/stackinfo.h: Likewise.
32906 * sysdeps/x86_64/stackinfo.h: Likewise.
32907 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32908 PF_X for powerpc64. Retain PF_X for powerpc32.
32910 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32912 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32914 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32915 GETDENTS_64BIT_ALIGNED.
32917 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32919 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32921 2010-12-10 Andreas Schwab <schwab@redhat.com>
32923 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32926 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32927 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32929 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32930 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32932 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32935 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32938 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32940 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32942 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32944 * po/it.po: Update from translation team.
32946 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32951 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32953 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32955 2010-11-24 Andreas Schwab <schwab@redhat.com>
32957 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32959 (gaih_getanswer_slice): Likewise.
32961 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32965 2010-05-31 Petr Baudis <pasky@suse.cz>
32968 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32969 silently even in the chroot mode.
32971 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32973 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32974 last patch a bit. Pretty printing
32976 2010-05-31 Petr Baudis <pasky@suse.cz>
32979 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32980 initialization of skip_initgroups_dyn.
32982 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32984 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32985 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32987 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32989 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32991 2010-11-11 Andreas Schwab <schwab@redhat.com>
32993 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32994 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32995 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32996 ($(objpfx)tst-fnmatch-mem): New rule.
32997 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32998 * posix/tst-fnmatch.c (main): Call mtrace.
33000 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33003 Support Intel processor model 6 and model 0x2c.
33005 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33007 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33010 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33013 * string/test-strncasecmp.c (check_result): New function.
33014 (do_one_test): Use it.
33015 (check1): New function.
33016 (test_main): Use it.
33017 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33018 Support strcasecmp and strncasecmp.
33020 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33023 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33024 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33026 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33028 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33032 * sysdeps/x86_64/multiarch/bzero.S: New file.
33033 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33034 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33035 * sysdeps/x86_64/multiarch/memset.S: New file.
33036 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33038 Set bit_Prefer_SSE_for_memop for Intel processors.
33039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33041 (index_Prefer_SSE_for_memop): Define.
33042 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33044 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33046 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33047 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33049 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33052 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33053 (__x86_64_raw_data_cache_size_half): Likewise.
33054 (__x86_64_raw_shared_cache_size): Likewise.
33055 (__x86_64_raw_shared_cache_size_half): Likewise.
33057 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33058 (__x86_64_raw_data_cache_size_half): Likewise.
33059 (__x86_64_raw_shared_cache_size): Likewise.
33060 (__x86_64_raw_shared_cache_size_half): Likewise.
33061 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33062 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33063 and __x86_64_raw_shared_cache_size_half. Round
33064 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33065 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33066 to multiple of 256 bytes.
33068 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33071 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33072 of inacessible symlinks. Verify result of symlink before returning it.
33073 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33074 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33076 2010-10-28 Erich Ritz <erichritz@gmail.com>
33078 * math/math.h (isinf): Fix typo in comment.
33080 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33082 * po/da.po: Update from translation team.
33084 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33086 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33087 is added to the list.
33089 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33090 Ulrich Drepper <drepper@gmail.com>
33092 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33093 the global list here. Move code to...
33094 (_dl_add_to_namespace_list): ...here. New function.
33095 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33096 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33097 * elf/dl-load.c (lose): Don't remove the element from the list.
33098 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33099 (_dl_map_object): Likewise.
33101 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33104 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33105 into all bytes of SSE register.
33106 Patch by Richard Li <richardpku@gmail.com>.
33108 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33111 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33114 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33116 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33117 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33118 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33119 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33124 2010-10-22 Andreas Schwab <schwab@redhat.com>
33126 * include/dlfcn.h (__RTLD_SECURE): Define.
33127 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33128 mode & __RTLD_SECURE instead.
33129 (open_path): Rename preloaded parameter to secure.
33130 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33131 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33132 * elf/dl-deps.c (openaux): Likewise.
33133 * elf/rtld.c (struct map_args): Remove is_preloaded.
33134 (map_doit): Don't use it.
33135 (dl_main): Likewise.
33136 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33137 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33139 2010-09-09 Andreas Schwab <schwab@redhat.com>
33141 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33142 (sysd-rules-targets): Remove duplicates.
33143 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33144 rtld-%.$o dependency.
33146 2010-10-18 Andreas Schwab <schwab@redhat.com>
33148 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33149 _dl_map_object do it.
33151 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33153 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33154 fast fma builtins, define the macros in the C99 standard.
33155 (FP_FAST_FMAF): Likewise.
33156 (FP_FAST_FMAL): Likewise.
33157 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33159 * bits/mathdef.h: Update copyright year.
33160 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33162 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33164 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33165 builtins, define the macros in the C99 standard.
33166 (FP_FAST_FMAF): Likewise.
33167 (FP_FAST_FMAL): Likewise.
33168 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33170 (FP_FAST_FMAF): Likewise.
33172 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33175 * math/libm-test.inc (fma_test): Some new testcases.
33176 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33177 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33178 y and infinite z. Do multiplication by C already in long double.
33179 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33181 y and infinite z. Do bitwise or of inexact bit into u.d.
33182 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33183 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33184 * sysdeps/i386/fpu/s_fma.S: Removed.
33185 * sysdeps/i386/fpu/s_fmal.S: Removed.
33187 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33190 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33192 computation is not scheduled after fetestexcept. Fix value
33193 of minimum denormal long double.
33195 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33198 * math/libm-test.inc (fma_test): Add some more tests.
33199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33202 2010-10-15 Andreas Schwab <schwab@redhat.com>
33204 * scripts/data/localplt-s390-linux-gnu.data: New file.
33205 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33207 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33210 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33211 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33213 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33215 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33217 if one of x and y is very large and the other is subnormal.
33218 * sysdeps/s390/fpu/s_fmaf.c: New file.
33219 * sysdeps/s390/fpu/s_fma.c: New file.
33220 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33221 * sysdeps/powerpc/fpu/s_fma.S: New file.
33222 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33223 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33224 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33226 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33229 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33232 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33233 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33234 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33235 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33236 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33239 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33242 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33243 * posix/bug-regex31.input: Add test case.
33245 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33247 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33248 * posix/bug-regex31.input: New file.
33251 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33252 (parse_sub_exp): Fix last change, use postorder.
33254 * posix/bug-regex31.c: New file.
33255 * posix/Makefile: Add rules to build and run bug-regex31.
33257 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33260 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33263 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33264 to have entries in sys_siglist.
33267 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33270 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33273 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33274 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33275 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33276 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33277 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33278 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33279 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33280 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33281 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33282 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33283 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33284 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33285 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33286 * math/ftestexcept.c (fetestexcept): Likewise.
33287 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33288 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33289 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33290 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33291 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33292 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33293 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33295 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33298 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33301 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33303 * string/bug-strstr1.c: New file.
33304 * string/Makefile: Add rules to build and run bug-strstr1.
33306 2010-10-05 Eric Blake <eblake@redhat.com>
33309 * string/str-two-way.h (two_way_long_needle): Always clear memory
33310 when skipping input due to the shift table.
33312 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33315 * malloc/mcheck.c: Handle large requests.
33318 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33319 for strncmp and strncasecmp.
33320 * string/stratcliff.c: Add tests for strcmp and strncmp.
33321 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33323 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33325 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33328 2010-09-30 Andreas Jaeger <aj@suse.de>
33330 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33331 (CGROUP_SUPER_MAGIC): Define.
33332 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33333 Handle btrfs and cgroup file systems.
33334 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33337 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33339 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33340 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33342 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33345 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33346 trying to locate the ELF header.
33348 2010-09-27 Andreas Schwab <schwab@redhat.com>
33351 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33352 Mask out sign-bit copies when constructing f_fsid.
33354 2010-09-24 Petr Baudis <pasky@suse.cz>
33356 * debug/stack_chk_fail_local.c: Add missing licence exception.
33357 * debug/warning-nop.c: Likewise.
33359 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33362 implementing getdents64 using getdents syscall, set d_type if
33363 __ASSUME_GETDENTS32_D_TYPE.
33365 2010-09-16 Andreas Schwab <schwab@redhat.com>
33367 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33368 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33370 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33373 * posix/unistd.h: Undo change of feature selection for ftruncate from
33376 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33378 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33381 2010-09-20 Andreas Schwab <schwab@redhat.com>
33383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33387 2010-09-14 Andreas Schwab <schwab@redhat.com>
33389 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33390 variables after CHECK_SP call.
33391 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33393 2010-09-13 Andreas Schwab <schwab@redhat.com>
33394 Ulrich Drepper <drepper@redhat.com>
33396 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33397 re-relocationg ld.so.
33398 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33399 _dl_init_paths call.
33400 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33403 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33405 * resolv/res_init.c (__res_vinit): Count the default server we added.
33407 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33408 Ulrich Drepper <drepper@redhat.com>
33411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33412 (____longjmp_chk): Use %ebx for saving value across system call.
33415 2010-09-06 Andreas Schwab <schwab@redhat.com>
33417 * manual/Makefile: Don't mix pattern rules with normal rules.
33419 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33421 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33423 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33424 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33425 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33426 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33427 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33430 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33433 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33434 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33436 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33438 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33439 * sysdeps/x86_64/addmul_1.S: Likewise.
33440 * sysdeps/x86_64/lshift.S: Likewise.
33441 * sysdeps/x86_64/mul_1.S: Likewise.
33442 * sysdeps/x86_64/rshift.S: Likewise.
33443 * sysdeps/x86_64/sub_n.S: Likewise.
33444 * sysdeps/x86_64/submul_1.S: Likewise.
33446 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33448 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33449 Define __sched_param instead of SCHED_* and sched_param when
33450 <bits/sched.h> is included with __need_schedparam defined.
33451 * bits/sched.h [__need_schedparam]
33452 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33453 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33454 (__defined_schedparam): Define to 1.
33455 (__sched_param): New structure, identical to sched_param.
33456 (__need_schedparam): Undefine.
33458 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33461 (epoll_create1): Declare.
33463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33465 2010-08-31 Andreas Schwab <schwab@redhat.com>
33468 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33469 shifting retval into place.
33471 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33473 * nis/rpcsvc/nis.h: Update copyright notice.
33474 * nis/rpcsvc/nis.x: Likewise.
33475 * nis/rpcsvc/nis_callback.h: Likewise.
33476 * nis/rpcsvc/nis_callback.x: Likewise.
33477 * nis/rpcsvc/nis_object.x: Likewise.
33478 * nis/rpcsvc/nis_tags.h: Likewise.
33479 * nis/rpcsvc/yp.h: Likewise.
33480 * nis/rpcsvc/yp.x: Likewise.
33481 * nis/rpcsvc/ypupd.h: Likewise.
33482 * nis/yp_xdr.c: Likewise.
33483 * nis/ypupdate_xdr.c: Likewise.
33485 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33486 mainly the body of pmap_getport. Add parameters to specify timeouts.
33487 (pmap_getport): Use __libc_rpc_getport.
33488 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33489 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33490 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33492 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33497 2010-08-27 Roland McGrath <roland@redhat.com>
33499 * sysdeps/i386/i686/multiarch/Makefile
33500 (CFLAGS-varshift.c): New variable.
33502 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33504 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33505 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33509 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33511 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33513 * sysdeps/x86_64/strlen.S: Unroll the loop.
33514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33515 strlen-sse2 strlen-sse2-bsf.
33516 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33517 __strlen_no_bsf if bit_Slow_BSF is set.
33518 (__strlen_sse42): Removed.
33519 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33520 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33522 2010-08-25 Roland McGrath <roland@redhat.com>
33524 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33525 * sysdeps/x86_64/multiarch/varshift.c: New file.
33526 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33527 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33528 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33529 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33531 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33534 strlen-sse2 strlen-sse2-bsf.
33535 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33536 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33537 (__strlen_sse2): Removed.
33538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33541 bit_Slow_BSF for Atom.
33542 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33543 (index_Slow_BSF): Define.
33544 (HAS_SLOW_BSF): Define.
33546 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33549 * resolv/res_init.c (__res_vinit): When no server address at all
33550 is given default to loopback.
33552 2010-08-24 Roland McGrath <roland@redhat.com>
33554 * configure.in: Remove config-name.h generation.
33555 * configure: Regenerated.
33556 * config-name.in: File removed.
33557 * scripts/config-uname.sh: New file.
33558 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33559 ($(objdir)config-name.h): New target.
33561 * sunrpc/rpc_parse.h: Avoid nested comment.
33563 2010-08-24 Richard Henderson <rth@redhat.com>
33564 Ulrich Drepper <drepper@redhat.com>
33565 H.J. Lu <hongjiu.lu@intel.com>
33567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33569 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33570 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33571 _mm_alignr_epi8 with _mm_loadu_si128.
33572 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33573 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33574 (__m128i_shift_right): Removed.
33575 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33576 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33577 * sysdeps/x86_64/multiarch/varshift.h: New file.
33578 * sysdeps/x86_64/multiarch/varshift.S: New file.
33580 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33582 * configure.in: Move assembler checks to before sysdep dir checking.
33584 2010-08-20 Petr Baudis <pasky@suse.cz>
33586 * LICENSES: Sync the sunrpc license.
33588 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33590 * sunrpc/auth_des.c: Update copyright notice once again.
33591 * sunrpc/auth_none.c: Likewise.
33592 * sunrpc/auth_unix.c: Likewise.
33593 * sunrpc/authdes_prot.c: Likewise.
33594 * sunrpc/authuxprot.c: Likewise.
33595 * sunrpc/bindrsvprt.c: Likewise.
33596 * sunrpc/clnt_gen.c: Likewise.
33597 * sunrpc/clnt_perr.c: Likewise.
33598 * sunrpc/clnt_raw.c: Likewise.
33599 * sunrpc/clnt_simp.c: Likewise.
33600 * sunrpc/clnt_tcp.c: Likewise.
33601 * sunrpc/clnt_udp.c: Likewise.
33602 * sunrpc/clnt_unix.c: Likewise.
33603 * sunrpc/des_crypt.c: Likewise.
33604 * sunrpc/des_soft.c: Likewise.
33605 * sunrpc/get_myaddr.c: Likewise.
33606 * sunrpc/getrpcport.c: Likewise.
33607 * sunrpc/key_call.c: Likewise.
33608 * sunrpc/key_prot.c: Likewise.
33609 * sunrpc/openchild.c: Likewise.
33610 * sunrpc/pm_getmaps.c: Likewise.
33611 * sunrpc/pm_getport.c: Likewise.
33612 * sunrpc/pmap_clnt.c: Likewise.
33613 * sunrpc/pmap_prot.c: Likewise.
33614 * sunrpc/pmap_prot2.c: Likewise.
33615 * sunrpc/pmap_rmt.c: Likewise.
33616 * sunrpc/rpc/auth.h: Likewise.
33617 * sunrpc/rpc/auth_unix.h: Likewise.
33618 * sunrpc/rpc/clnt.h: Likewise.
33619 * sunrpc/rpc/des_crypt.h: Likewise.
33620 * sunrpc/rpc/key_prot.h: Likewise.
33621 * sunrpc/rpc/netdb.h: Likewise.
33622 * sunrpc/rpc/pmap_clnt.h: Likewise.
33623 * sunrpc/rpc/pmap_prot.h: Likewise.
33624 * sunrpc/rpc/pmap_rmt.h: Likewise.
33625 * sunrpc/rpc/rpc.h: Likewise.
33626 * sunrpc/rpc/rpc_des.h: Likewise.
33627 * sunrpc/rpc/rpc_msg.h: Likewise.
33628 * sunrpc/rpc/svc.h: Likewise.
33629 * sunrpc/rpc/svc_auth.h: Likewise.
33630 * sunrpc/rpc/types.h: Likewise.
33631 * sunrpc/rpc/xdr.h: Likewise.
33632 * sunrpc/rpc_clntout.c: Likewise.
33633 * sunrpc/rpc_cmsg.c: Likewise.
33634 * sunrpc/rpc_common.c: Likewise.
33635 * sunrpc/rpc_cout.c: Likewise.
33636 * sunrpc/rpc_dtable.c: Likewise.
33637 * sunrpc/rpc_hout.c: Likewise.
33638 * sunrpc/rpc_main.c: Likewise.
33639 * sunrpc/rpc_parse.c: Likewise.
33640 * sunrpc/rpc_parse.h: Likewise.
33641 * sunrpc/rpc_prot.c: Likewise.
33642 * sunrpc/rpc_sample.c: Likewise.
33643 * sunrpc/rpc_scan.c: Likewise.
33644 * sunrpc/rpc_scan.h: Likewise.
33645 * sunrpc/rpc_svcout.c: Likewise.
33646 * sunrpc/rpc_tblout.c: Likewise.
33647 * sunrpc/rpc_util.c: Likewise.
33648 * sunrpc/rpc_util.h: Likewise.
33649 * sunrpc/rpcinfo.c: Likewise.
33650 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33651 * sunrpc/rpcsvc/key_prot.x: Likewise.
33652 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33653 * sunrpc/rpcsvc/mount.x: Likewise.
33654 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33655 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33656 * sunrpc/rpcsvc/rex.x: Likewise.
33657 * sunrpc/rpcsvc/rstat.x: Likewise.
33658 * sunrpc/rpcsvc/rusers.x: Likewise.
33659 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33660 * sunrpc/rpcsvc/spray.x: Likewise.
33661 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33662 * sunrpc/rtime.c: Likewise.
33663 * sunrpc/svc.c: Likewise.
33664 * sunrpc/svc_auth.c: Likewise.
33665 * sunrpc/svc_authux.c: Likewise.
33666 * sunrpc/svc_raw.c: Likewise.
33667 * sunrpc/svc_run.c: Likewise.
33668 * sunrpc/svc_simple.c: Likewise.
33669 * sunrpc/svc_tcp.c: Likewise.
33670 * sunrpc/svc_udp.c: Likewise.
33671 * sunrpc/svc_unix.c: Likewise.
33672 * sunrpc/svcauth_des.c: Likewise.
33673 * sunrpc/xcrypt.c: Likewise.
33674 * sunrpc/xdr.c: Likewise.
33675 * sunrpc/xdr_array.c: Likewise.
33676 * sunrpc/xdr_float.c: Likewise.
33677 * sunrpc/xdr_mem.c: Likewise.
33678 * sunrpc/xdr_rec.c: Likewise.
33679 * sunrpc/xdr_ref.c: Likewise.
33680 * sunrpc/xdr_sizeof.c: Likewise.
33681 * sunrpc/xdr_stdio.c: Likewise.
33683 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33686 2010-08-19 Andreas Schwab <schwab@redhat.com>
33688 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33690 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33692 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33694 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33695 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33696 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33697 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33698 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33699 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33700 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33701 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33702 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33703 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33704 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33705 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33707 2010-07-26 Anton Blanchard <anton@samba.org>
33709 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33710 * malloc/arena.c (heap_trim): Likewise.
33712 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33714 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33717 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33719 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33721 * sysdeps/i386/elf/Makefile: New file.
33723 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33725 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33726 from fanotify_init.
33727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33730 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33732 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33734 * sysdeps/multiarch/strcmp.S: Likewise.
33736 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33738 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33739 strncase_l-nonascii.
33740 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33741 Add strncase_l-ssse3.
33742 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33743 * sysdeps/x86_64/strcmp.S: Likewise.
33744 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33745 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33746 * sysdeps/x86_64/strncase.S: New file.
33747 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33748 * sysdeps/x86_64/strncase_l.S: New file.
33749 * string/Makefile (strop-tests): Add strncasecmp.
33750 * string/test-strncasecmp.c: New file.
33752 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33755 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33756 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33758 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33760 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33762 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33764 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33766 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33768 2010-05-01 Alan Modra <amodra@gmail.com>
33770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33771 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33772 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33773 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33774 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33775 tidying. Don't tail-call __sigjmp_save for static lib.
33776 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33778 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33779 (CALL_MCOUNT): Add eh info, and nop after bl.
33780 (TAIL_CALL_SYSCALL_ERROR): New macro.
33781 (PSEUDO_RET): Use it.
33782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33783 Correct save location of integer regs and cr.
33784 (_dl_profile_resolve): Correct cr save location. Delete nops
33785 after bl when SHARED. Reduce cfi size a little by better
33786 placement of cfi directives.
33787 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33788 make a stack frame. Instead use parm save area as a temp.
33789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33790 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33792 Don't make a stack frame for parent, use parm save area.
33793 Increase child stack frame to 112 bytes. Don't save unused reg,
33794 and adjust reg usage. Set up cfi on error recovery and
33795 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33797 (__makecontext): Add dummy nop after jump to exit.
33798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33799 Use correct parm save area and cr save, reduce stack frame.
33800 Correct cfi for possible PSEUDO_RET frame setup.
33801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33802 Branch to local label emitted by PSEUDO_RET rather than
33805 2010-08-12 Andreas Schwab <schwab@redhat.com>
33808 * locale/programs/locale.c (print_assignment): New function.
33809 (show_locale_vars): Use it.
33811 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33813 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33815 (struct statfs64): Likewise.
33816 (_STATFS_F_FLAGS): Define.
33817 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33819 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33820 (ST_VALID): Define locally.
33821 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33822 __statvfs_getflags, use the provided value.
33823 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33824 __ASSUME_STATFS_F_FLAGS.
33826 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33828 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33829 Add sys/fanotify.h.
33830 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33831 fanotify_mask for GLIBC_2.13.
33832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33833 fanotify_init and fanotify_mark.
33834 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33835 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33837 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33839 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33840 prlimit64 for GLIBC_2.13.
33841 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33846 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33847 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33848 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33851 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33854 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33855 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33857 * nss/Makefile: Add rules to build and run tst-nss-test1.
33858 * shlib-versions: Add entry for libnss_test1.
33859 * nss/nss_test1.c: New file.
33860 * nss/tst-nss-test1.c: New file.
33862 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33863 (__nss_configure_lookup): Set appropriate entry in
33864 __nss_configure_lookup to true.
33865 * nss/nsswitch.h: Define enum with indeces of databases in
33866 databases and __nss_database_custom arrays. Declare
33867 __nss_database_custom.
33868 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33869 to avoid using nscd when custom rules are installed.
33870 * nss/getXXbyYY_r.c: Likewise.
33871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33873 * nss/nss_files/files-parse.c: Whitespace fixes.
33875 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33878 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33879 * posix/fnmatch_loop.c: Likewise.
33881 2010-07-17 Andi Kleen <ak@linux.intel.com>
33883 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33884 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33885 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33886 * Versions.def [GLIBC_2.13]: Add.
33888 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33891 Also fail if tpwd after pwuid call is NULL.
33893 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33895 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33896 when converting to ms.
33898 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33900 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33901 EOPNOTSUPP errors with ENOTTY.
33902 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33903 EOPNOTSUPP errors with ENOTTY.
33905 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33907 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33908 Add strcasecmp_l-ssse3.
33909 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33911 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33912 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33913 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33915 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33917 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33919 * string/Makefile (strop-tests): Add strcasecmp.
33920 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33921 strcasecmp_l-nonascii.
33922 (gen-as-const-headers): Add locale-defines.sym.
33923 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33924 * sysdeps/x86_64/strcasecmp.S: New file.
33925 * sysdeps/x86_64/strcasecmp_l.S: New file.
33926 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33927 * sysdeps/x86_64/locale-defines.sym: New file.
33928 * string/test-strcasecmp.c: New file.
33930 * string/test-strcasestr.c: Test both ends of the range of characters.
33931 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33933 2010-07-29 Roland McGrath <roland@redhat.com>
33936 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33938 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33940 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33943 2010-07-27 Andreas Schwab <schwab@redhat.com>
33945 * manual/memory.texi (Malloc Tunable Parameters): Document
33948 2010-07-26 Roland McGrath <roland@redhat.com>
33951 * configure.in (-fgnu89-inline check): Set and substitute
33952 gnu89_inline, not libc_cv_gnu89_inline.
33953 * configure: Regenerated.
33954 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33956 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33958 * string/test-strnlen.c: New file.
33959 * string/Makefile (strop-tests): Add strnlen.
33960 * string/tester.c (test_strnlen): Add a few more test cases.
33961 * string/tst-strlen.c: Better error reporting.
33963 * sysdeps/x86_64/strnlen.S: New file.
33965 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33967 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33968 lower-latency instructions.
33970 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33972 * string/test-strcasestr.c: New file.
33973 * string/test-strstr.c: New file.
33974 * string/Makefile (strop-tests): Add strstr and strcasestr.
33975 * string/str-two-way.h: Don't undefine MAX.
33976 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33978 2010-07-21 Andreas Schwab <schwab@redhat.com>
33980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33981 strcasestr-nonascii.
33982 (CFLAGS-strcasestr-nonascii.c): Define.
33983 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33985 Remove unused attribute.
33987 2010-07-20 Roland McGrath <roland@redhat.com>
33989 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33990 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33991 ld.so.cache was broken. With it, there is no way to disable dsocaps
33992 like LD_HWCAP_MASK can disable hwcaps.
33994 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33996 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33998 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34000 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34001 call in strcasestr.
34002 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34003 __strcasestr_sse42_nonascii.
34004 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34005 strcasestr-nonascii.c.
34006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34008 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34012 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34015 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34020 2010-07-06 Andreas Schwab <schwab@redhat.com>
34023 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34026 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34029 _PC_PIPE_BUF using F_GETPIPE_SZ.
34031 2010-07-05 Roland McGrath <roland@redhat.com>
34033 * manual/arith.texi (Rounding Functions): Fix rint description
34034 implicit in round description.
34036 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34038 * elf/Makefile: Fix linking for a few tests to make recent linker
34041 2010-06-30 Andreas Schwab <schwab@redhat.com>
34043 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34044 $(common-objpfx)libc_nonshared.a.
34046 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34048 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34049 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34050 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34051 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34052 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34053 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34054 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34055 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34070 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34071 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34072 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34073 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34074 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34075 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34076 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34077 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34078 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34079 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34080 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34081 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34097 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34099 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34100 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34101 * string/memmove.c (memmove): Renamed to ...
34102 (MEMMOVE): ...this. Default to memmove.
34103 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34104 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34107 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34108 mempcpy-ssse3-back memmove-ssse3-back.
34109 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34112 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34113 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34114 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34115 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34116 * sysdeps/x86_64/multiarch/memmove.c: New file.
34117 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34118 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34119 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34120 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34121 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34124 (index_Fast_Copy_Backward): Define.
34125 (HAS_ARCH_FEATURE): Define.
34126 (HAS_FAST_REP_STRING): Define.
34127 (HAS_FAST_COPY_BACKWARD): Define.
34129 2010-06-21 Andreas Schwab <schwab@redhat.com>
34131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34132 Restore proper fallback handling.
34134 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34137 * posix/group_member.c (__group_member): Correct checking loop.
34139 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34140 OOM in getpwuid_r correctly. Return error number when the caller
34141 should return, otherwise -1.
34142 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34143 call returning > 0 value.
34144 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34146 2010-06-07 Andreas Schwab <schwab@redhat.com>
34148 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34149 libc_nonshared.a from targets in modules-names.
34151 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34153 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34156 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34158 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34159 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34163 2010-06-02 Andreas Schwab <schwab@redhat.com>
34165 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34167 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34178 2010-06-14 Roland McGrath <roland@redhat.com>
34180 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34182 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34184 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34185 __REDIRECT followed by __THROW.
34186 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34187 * posix/getopt.h (getopt): Likewise.
34189 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34191 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34192 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34193 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34195 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34196 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34198 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34200 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34202 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34206 Properly check family and model.
34208 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34210 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34212 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34214 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34216 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34218 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34221 2010-05-19 Andreas Schwab <schwab@redhat.com>
34223 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34226 2010-05-21 Andreas Schwab <schwab@redhat.com>
34228 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34229 and internal_recvmmsg.
34230 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34231 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34232 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34233 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34235 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34236 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34237 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34239 2010-05-20 Andreas Schwab <schwab@redhat.com>
34241 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34243 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34245 POWER7 optimizations.
34246 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34247 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34249 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34251 * version.h: Update for 2.13 development version.
34253 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34255 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34256 exceptions. Return 0.
34258 2010-05-07 Roland McGrath <roland@redhat.com>
34260 * elf/ldconfig.c (main): Add a const.
34262 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34264 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34265 (args_options): Add no-idn option.
34266 (ahosts_keys_int): Add idn_flags to ai_flags.
34267 (parse_option): Handle 'i' option to clear idn_flags.
34269 * malloc/malloc.c (_int_free): Possible race in the most recently
34270 added check. Only act on the data if no current modification
34273 See ChangeLog.17 for earlier changes.