1 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3 * soft-fp/double.h: Indent preprocessor directives inside #if.
4 * soft-fp/extended.h: Likewise.
5 * soft-fp/op-2.h: Likewise.
6 * soft-fp/op-4.h: Likewise.
7 * soft-fp/op-common.h: Likewise.
8 * soft-fp/quad.h: Likewise.
9 * soft-fp/single.h: Likewise.
10 * soft-fp/soft-fp.h: Likewise.
12 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14 * iconv/iconv_prog.c: Fix typos.
15 * stdio-common/psiginfo-data.h: Likewise.
17 2013-10-12 Reuben Thomas <rrt@sc3d.org>
20 * locale/setlocale.c: Fix typo.
22 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26 signaling NaN arguments.
27 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
33 * soft-fp/gesf2.c (__gesf2): Likewise.
34 * soft-fp/getf2.c (__getf2): Likewise.
35 * soft-fp/ledf2.c (__ledf2): Likewise.
36 * soft-fp/lesf2.c (__lesf2): Likewise.
37 * soft-fp/letf2.c (__letf2): Likewise.
39 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40 * soft-fp/eqsf2.c (__eqsf2): Likewise.
41 * soft-fp/eqtf2.c (__eqtf2): Likewise.
42 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44 * soft-fp/fixdfti.c (__fixdfti): Likewise.
45 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47 * soft-fp/fixsfti.c (__fixsfti): Likewise.
48 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
50 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
52 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
55 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
57 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
59 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
61 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62 * soft-fp/floatsisf.c (__floatsisf): Likewise.
63 * soft-fp/floattidf.c (__floattidf): Likewise.
64 * soft-fp/floattisf.c (__floattisf): Likewise.
65 * soft-fp/floattitf.c (__floattitf): Likewise.
66 * soft-fp/floatundidf.c (__floatundidf): Likewise.
67 * soft-fp/floatundisf.c (__floatundisf): Likewise.
68 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
69 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
70 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
71 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
72 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
73 * soft-fp/gesf2.c (__gesf2): Likewise.
74 * soft-fp/getf2.c (__getf2): Likewise.
75 * soft-fp/ledf2.c (__ledf2): Likewise.
76 * soft-fp/lesf2.c (__lesf2): Likewise.
77 * soft-fp/letf2.c (__letf2): Likewise.
79 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
80 Undefine and redefine.
81 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
82 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
83 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
84 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
85 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
86 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
87 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
88 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
89 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
90 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
91 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
92 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
93 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
94 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
95 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
98 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
99 without decrementing exponent if mantissa >= that for the
101 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
102 denominator, not >. Decrement exponent in < case instead of
103 incrementing in >= case.
104 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
105 without decrementing exponent if mantissa >= that for the
108 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
109 computing saturated result for unsigned overflow.
111 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
112 Jeff Law <law@redhat.com>
114 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
115 (atan2Mp): Add systemtap probe marker.
116 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
117 (__ieee754_log): Add systemtap probe marker.
118 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
119 (atanMp): Add systemtap probe marker.
120 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
121 (tanMp): Add systemtap probe marker.
122 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
123 (__slowexp): Add systemtap probe marker.
124 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
125 (__slowpow): Add systemtap probe marker.
126 * manual/probes.texi: Document probes.
128 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
131 * libio/fileops.c (_IO_new_file_write): Return count of bytes
133 (_IO_new_file_xsputn): Don't return EOF if nothing has been
135 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
136 written to buffer but not flushed.
137 * libio/iofwrite_u.c: Likewise.
138 * libio/iopadn.c: Return bytes returned even if EOF was
140 * libio/iowpadn.c: Likewise.
141 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
142 if _IO_padn does not write the whole buffer.
143 [!COMPILE_WPRINTF] (PAD): Likewise.
145 2013-10-10 David S. Miller <davem@davemloft.net>
147 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
150 2013-10-10 Joseph Myers <joseph@codesourcery.com>
152 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
153 instead of FSF address.
154 * soft-fp/fixdfti.c: Likewise.
155 * soft-fp/fixsfti.c: Likewise.
156 * soft-fp/fixtfti.c: Likewise.
157 * soft-fp/fixunsdfti.c: Likewise.
158 * soft-fp/fixunssfti.c: Likewise.
159 * soft-fp/fixunstfti.c: Likewise.
160 * soft-fp/floattidf.c: Likewise.
161 * soft-fp/floattisf.c: Likewise.
162 * soft-fp/floattitf.c: Likewise.
163 * soft-fp/floatuntidf.c: Likewise.
164 * soft-fp/floatuntisf.c: Likewise.
165 * soft-fp/floatuntitf.c: Likewise.
166 * soft-fp/trunctfxf2.c: Likewise.
168 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
169 * soft-fp/fixdfti.c: Likewise.
170 * soft-fp/fixsfti.c: Likewise.
171 * soft-fp/fixtfti.c: Likewise.
172 * soft-fp/fixunsdfti.c: Likewise.
173 * soft-fp/fixunssfti.c: Likewise.
174 * soft-fp/fixunstfti.c: Likewise.
175 * soft-fp/floattidf.c: Likewise.
176 * soft-fp/floattisf.c: Likewise.
177 * soft-fp/floattitf.c: Likewise.
178 * soft-fp/floatuntidf.c: Likewise.
179 * soft-fp/floatuntisf.c: Likewise.
180 * soft-fp/floatuntitf.c: Likewise.
181 * soft-fp/trunctfxf2.c: Likewise.
183 2013-10-10 David S. Miller <davem@davemloft.net>
185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
187 2013-10-10 Joseph Myers <joseph@codsourcery.com>
189 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
190 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
191 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
192 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
193 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
194 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
195 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
198 for NaNs before doing comparisons on argument.
199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
202 2013-10-10 Will Newton <will.newton@linaro.org>
204 * malloc/hooks.c (memalign_check): Ensure the value of bytes
205 passed to _int_memalign does not overflow.
207 2013-10-10 Torvald Riegel <triegel@redhat.com>
209 * scripts/bench.pl: Add include-sources directive.
210 * benchtests/README: Update documentation.
212 2013-10-10 Joseph Myers <joseph@codesourcery.com>
214 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
215 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
216 instead of FP_INIT_ROUNDMODE.
217 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
218 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
221 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
222 copy class of input value.
223 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
224 not handle exceptions.
225 * soft-fp/negsf2.c (__negsf2): Likewise.
226 * soft-fp/negtf2.c (__negtf2): Likewise.
227 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
229 2013-10-09 Joseph Myers <joseph@codesourcery.com>
231 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
232 semicolon. From Linux kernel.
234 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
236 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
238 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
241 * manual/socket.texi: Added statement about buffer
242 for gethostbyname2_r.
244 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
246 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
247 Use .p2align directive instead, throughout.
248 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
249 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
250 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
251 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
253 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
254 * sysdeps/x86_64/strchr.S: Likewise.
255 * sysdeps/x86_64/strrchr.S: Likewise.
257 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
259 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
261 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
263 * sysdeps/generic/math_private.h (__mpsin1): Remove
265 (__mpcos1): Likewise.
266 (__mpsin): New argument __range_reduce.
268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
269 (slow): Use __mpsin and __mpcos.
282 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
283 range_reduce. Merge in __mpsin1.
286 (__mpcos1): Likewise.
288 2013-10-07 Joseph Myers <joseph@codesourcery.com>
290 * locale/loadlocale.c (_nl_intern_locale_data): Use
292 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
293 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
294 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
295 obstack data is appropriately aligned.
296 (obstack_int32_grow_fast): Likewise.
297 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
298 * locale/programs/locfile.c (add_locale_uint32): Likewise.
299 (add_locale_uint32_array): Likewise.
301 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
303 * benchtests/Makefile: Remove ARGLIST and RET variables.
304 ($(objpfx)bench-%.c): Pass only function name to the script.
305 * benchtests/README: Update documentation.
306 * benchtests/acos-inputs: Add new directives.
307 * benchtests/acosh-inputs: Likewise.
308 * benchtests/asin-inputs: Likewise.
309 * benchtests/asinh-inputs: Likewise.
310 * benchtests/atan-inputs: Likewise.
311 * benchtests/atanh-inputs: Likewise.
312 * benchtests/cos-inputs: Likewise.
313 * benchtests/cosh-inputs: Likewise.
314 * benchtests/exp-inputs: Likewise.
315 * benchtests/log-inputs: Likewise.
316 * benchtests/pow-inputs: Likewise.
317 * benchtests/rint-inputs: Likewise.
318 * benchtests/sin-inputs: Likewise.
319 * benchtests/sinh-inputs: Likewise.
320 * benchtests/tan-inputs: Likewise.
321 * benchtests/tanh-inputs: Likewise.
322 * scripts/bench.pl: Add support for new directives.
324 2013-10-07 Alan Modra <amodra@gmail.com>
326 * README: Fix careless merge.
328 2013-10-05 Alan Modra <amodra@gmail.com>
330 * NEWS: Mention powerpc64le support and bugs fixed.
331 * README: Both big-endian and little-endian powerpc64 supported.
333 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
335 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
336 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
337 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
338 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
340 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
342 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
345 2013-10-04 Joseph Myers <joseph@codesourcery.com>
347 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
348 Move -mhard-float appending from
349 ports/sysdeps/powerpc/powerpc32/Makefile.
350 [$(with-fp) = yes] (ASFLAGS): Likewise.
351 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
352 * sysdeps/powerpc/nofpu: Move directory from
353 ports/sysdeps/powerpc/nofpu.
354 * sysdeps/powerpc/soft-fp: Move directory from
355 ports/sysdeps/powerpc/soft-fp.
356 * sysdeps/powerpc/powerpc32/405: Move directory from
357 ports/sysdeps/powerpc/powerpc32/405.
358 * sysdeps/powerpc/powerpc32/440: Move directory from
359 ports/sysdeps/powerpc/powerpc32/440.
360 * sysdeps/powerpc/powerpc32/464: Move directory from
361 ports/sysdeps/powerpc/powerpc32/464.
362 * sysdeps/powerpc/powerpc32/476: Move directory from
363 ports/sysdeps/powerpc/powerpc32/476.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
365 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
367 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
369 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
371 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
373 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
374 * README: Update for powerpc-*-linux-gnu software floating point
377 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
378 case to powerpc/powerpc32*.
379 * sysdeps/unix/sysv/linux/configure: Regenerated.
381 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
382 (_FPU_MASK_OM): Define as 0x04.
383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
391 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
394 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
397 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
400 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
402 * locale/iso-3166.def: Update iso-1366.def and related occurrences
404 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
406 * manual/threads.texi (Default Thread Attributes): Fix typo.
408 2013-10-04 Will Newton <will.newton@linaro.org>
410 * malloc/Makefile: Add tst-memalign.
411 * malloc/tst-memalign.c: New file.
413 * malloc/tst-posix_memalign.c: Add comments.
414 (do_test): Add comments and call free on all potentially
415 allocated pointers. Add space after cast.
417 * malloc/tst-pvalloc.c: Add comments.
418 (do_test): Add comments and call free on all potentially
419 allocated pointers. Remove duplicate check for NULL pointer.
420 Add space after cast.
422 * malloc/tst-valloc.c: Add comments.
423 (do_test): Add comments and call free on all potentially
424 allocated pointers. Remove duplicate check for NULL pointer.
425 Add space after cast.
427 2013-10-04 Alan Modra <amodra@gmail.com>
429 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
430 Use stdint types in rather than __attribute__((mode())).
431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
433 2013-10-04 Alan Modra <amodra@gmail.com>
435 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
436 Correct handling of unaligned relocs for little-endian.
437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
439 2013-10-04 Alan Modra <amodra@gmail.com>
441 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
442 * configure: Regenerate.
443 * nptl/shlib-versions: Powerpc*le starts at 2.18.
444 * shlib-versions: Likewise.
446 2013-10-04 Alan Modra <amodra@gmail.com>
448 * string/tester.c (test_memrchr): Increment reported test cycle.
450 2013-10-04 Alan Modra <amodra@gmail.com>
452 * string/test-memcpy.c (do_one_test): When reporting errors, print
453 string address and don't overrun end of string.
455 2013-10-04 Alan Modra <amodra@gmail.com>
457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
458 insrdi. Make better use of reg selection to speed exit slightly.
459 Schedule entry path a little better. Remove useless "are we done"
460 checks on entry to main loop. Handle wrapping around zero address.
461 Correct main loop count. Handle single left-over word from main
462 loop inline rather than by using loop_small. Remove extra word
463 case in loop_small caused by wrong loop count. Add little-endian
465 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
468 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
469 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
470 support. Avoid rlwimi.
471 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
473 2013-10-04 Alan Modra <amodra@gmail.com>
475 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
477 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
478 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
479 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
480 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
481 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
482 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
484 2013-10-04 Alan Modra <amodra@gmail.com>
486 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
487 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
489 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
490 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
491 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
492 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
493 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
494 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
495 use of regs. Use power7 mtocrf. Tidy function tails.
497 2013-10-04 Alan Modra <amodra@gmail.com>
499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
500 Formatting. Consistently use rXXX register defines or rN defines.
501 Use early exit labels that avoid restoring unused non-volatile regs.
502 Make cr field use more consistent with rWORDn compares. Rename
503 regs used as shift registers for unaligned loop, using rN defines
504 for short lifetime/multiple use regs.
505 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
506 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
507 addi 1,1,64 to pop stack frame. Simplify return value code.
508 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
510 2013-10-04 Alan Modra <amodra@gmail.com>
512 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
513 support. Correct typos, formatting. Optimize tail. Use insrdi
515 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
516 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
517 little-endian support. Correct typos.
518 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
520 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
521 in loop and entry code to keep "and." results.
522 (strchr): Add little-endian support. Comment. Move cntlzd
524 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
526 2013-10-04 Alan Modra <amodra@gmail.com>
528 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
529 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
530 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
531 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
533 2013-10-04 Alan Modra <amodra@gmail.com>
535 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
536 (rTMP): Define as r11.
537 (strcmp): Add little-endian support. Optimise tail.
538 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
539 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
540 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
541 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
544 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
546 2013-10-04 Alan Modra <amodra@gmail.com>
548 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
549 little-endian support. Remove unnecessary "are we done" tests.
550 Handle "s" wrapping around zero and extremely large "size".
551 Correct main loop count. Handle single left-over word from main
552 loop inline rather than by using small_loop. Correct comments.
553 Delete "zero" tail, use "end_max" instead.
554 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
556 2013-10-04 Alan Modra <amodra@gmail.com>
558 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
559 support. Don't branch over align.
560 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
561 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
562 support. Rearrange tmp reg use to suit. Comment.
563 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
565 2013-10-04 Alan Modra <amodra@gmail.com>
567 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
569 2013-10-04 Alan Modra <amodra@gmail.com>
571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
572 conditional form of branch and link when obtaining pc.
573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
575 2013-10-04 Alan Modra <amodra@gmail.com>
577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
582 2013-10-04 Alan Modra <amodra@gmail.com>
584 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
585 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
586 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
587 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
588 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
589 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
590 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
591 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
592 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
593 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
595 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
596 Alistair Popple <alistair@ozlabs.au.ibm.com>
597 Alan Modra <amodra@gmail.com>
600 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
601 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
602 _dl_hwcap access for little-endian.
603 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
604 destroy vmx regs when saving unaligned.
605 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
606 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
607 destroy vmx regs when saving unaligned.
609 2013-10-04 Alan Modra <amodra@gmail.com>
611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
612 Don't use a union to pack hi/low value.
614 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
616 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
618 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
620 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
621 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
622 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
624 2013-10-04 Alan Modra <amodra@gmail.com>
626 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
627 constants to usual value for .cst8 section, and remove redundant
629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
630 constant for 0x1p52. Load little-endian words of double from
631 correct stack offsets.
633 2013-10-04 Alan Modra <amodra@gmail.com>
635 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
636 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
637 words of double from correct stack offsets.
638 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
639 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
640 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
641 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
645 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
646 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
650 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
651 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
652 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
653 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
654 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
656 2013-10-04 Alan Modra <amodra@gmail.com>
658 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
659 64-bit int/double union.
660 (_FPU_SETCW): Likewise.
661 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
662 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
664 2013-10-04 Alan Modra <amodra@gmail.com>
666 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
667 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
669 2013-10-04 Alan Modra <amodra@gmail.com>
671 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
672 use vector int constants.
673 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
675 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
677 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
678 array with long long.
679 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
680 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
681 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
682 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
683 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
684 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
685 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
686 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
687 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
688 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
689 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
690 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
691 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
693 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
695 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
696 (__signbit): Likewise. Correct for little-endian.
697 (__signbitl): Call __signbit.
698 (lrint): Correct for little-endian.
699 (lrintf): Call lrint.
701 2013-10-04 Alan Modra <amodra@gmail.com>
703 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
704 union 32-bit int array member with 64-bit int array.
705 (t515, tm256): Double rather than long double.
706 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
708 2013-10-04 Alan Modra <amodra@gmail.com>
710 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
712 (IEEE854_LONG_DOUBLE_BIAS): Delete.
713 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
714 version of math_ldbl.h.
716 2013-10-04 Alan Modra <amodra@gmail.com>
718 [BZ #15734], [BZ #15735]
719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
720 all uses of ieee875 long double macros and unions. Simplify test
721 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
722 ldbl_extract_mantissa value for ix,iy exponents. Properly
723 normalize after ldbl_extract_mantissa, and don't add hidden bit
724 already handled. Don't treat low word of ieee854 mantissa like
725 low word of IBM long double and mask off bit when testing for
727 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
728 all uses of ieee875 long double macros and unions. Simplify tests
729 for 0.0L and inf. Correct double adjustment of k. Delete dead code
730 adjusting ha,hb. Simplify code setting kld. Delete two600 and
731 two1022, instead use their values. Recognise that tests for large
732 "a" and small "b" are mutually exclusive. Rename vars. Comment.
733 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
734 Rewrite all uses of ieee875 long double macros and unions. Simplify
735 test for 0.0L and nan. Correct negation.
736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
737 ieee875 long double macros and unions. Correct output for large
738 magnitude x. Correct absolute value calculation.
740 * math/libm-test.inc: Add tests for errors discovered in IBM long
741 double versions of fmodl, remainderl, erfl and erfcl.
743 2013-10-04 Alan Modra <amodra@gmail.com>
745 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
746 all uses of ieee854 long double macros and unions. Simplify tests
747 for long doubles that are fully specified by the high double.
748 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
750 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
751 Remove dead code too.
752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
753 (__ieee754_ynl): Likewise.
754 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
755 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
756 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
757 Remove dead code too.
758 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
759 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
760 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
761 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
763 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
765 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
766 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
767 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
768 Comment on variable precision.
769 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
770 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
772 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
773 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
774 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
775 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
776 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
778 2013-10-04 Alan Modra <amodra@gmail.com>
780 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
781 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
782 all uses of ieee854 long double macros and unions.
783 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
784 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
785 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
786 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
787 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
788 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
794 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
795 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
796 Simplify sign and nan test too.
797 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
798 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
799 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
800 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
802 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
803 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
805 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
806 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
807 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
808 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
812 2013-10-04 Alan Modra <amodra@gmail.com>
814 * stdio-common/printf_size.c (__printf_size): Don't use
815 union ieee854_long_double in fpnum union.
816 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
817 signbit macro to retrieve sign from long double.
818 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
819 retrieve sign from long double.
820 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
821 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
822 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
823 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
824 * math/test-misc.c (main): Don't use union ieee854_long_double.
826 2013-10-04 Alan Modra <amodra@gmail.com>
829 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
830 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
831 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
832 calculation. Remove unnecessary test for denormal exponent.
833 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
834 Correct handling of denormals. Avoid undefined shift behaviour.
835 Correct normalisation of low mantissa when low double is denormal.
836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
837 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
838 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
839 Correct normalisation of low mantissa. Test for overflow of high
840 mantissa and normalise.
841 (ldbl_nearbyint): Use more readable constant for two52.
842 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
843 (__mpn_construct_long_double): Fix test for overflow of high
844 mantissa and correct normalisation. Avoid undefined shift.
846 2013-10-04 Alan Modra <amodra@gmail.com>
848 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
849 (union ibm_extended_long_double): Define as an array of ieee754_double.
850 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
851 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
852 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
853 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
854 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
855 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
856 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
857 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
858 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
859 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
860 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
862 2013-10-03 Joseph Myers <joseph@codesourcery.com>
864 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
865 page size instead of calling getpagesize.
867 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
868 (LOCFILE_ALIGN_MASK): Likewise.
869 (LOCFILE_ALIGN_UP): Likewise.
870 (LOCFILE_ALIGNED_P): Likewise.
871 * locale/programs/ld-collate.c (collate_output): Use the new
872 macros instead of __alignof__ (int32_t).
873 * locale/weight.h (findidx): Likewise.
875 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
878 * manual/string.texi: Fix strncat and wcsncat.
880 2013-10-03 Brooks Moses <bmoses@google.com>
883 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
884 * Makerules: ...here, and adjust associated comments.
886 2013-10-02 Will Newton <will.newton@linaro.org>
888 * malloc/Makefile: Add tst-pvalloc.
889 * malloc/tst-pvalloc.c: New file.
891 2013-10-02 Will Newton <will.newton@linaro.org>
893 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
894 improve test coverage.
896 2013-10-02 Will Newton <will.newton@linaro.org>
898 * malloc/Makefile: Add tst-posix_memalign.
899 * malloc/tst-posix_memalign.c: New file.
901 2013-10-01 Eric Blake <eblake@redhat.com>
903 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
904 Use __THROWNL rather than __THROW on static functions.
906 2013-09-30 Petr Machata <pmachata@redhat.com>
908 * elf/elf.h (R_AARCH64_ABS16): New macro.
909 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
910 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
911 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
912 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
913 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
914 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
915 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
916 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
917 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
918 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
919 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
920 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
921 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
922 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
923 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
924 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
925 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
926 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
927 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
928 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
929 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
930 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
931 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
932 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
933 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
934 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
935 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
936 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
937 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
938 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
939 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
940 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
941 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
942 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
943 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
944 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
945 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
946 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
947 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
948 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
949 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
950 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
951 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
952 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
953 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
954 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
955 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
956 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
957 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
958 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
959 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
960 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
961 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
962 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
963 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
964 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
965 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
966 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
967 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
968 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
969 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
970 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
971 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
972 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
973 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
974 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
975 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
976 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
977 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
978 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
979 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
980 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
981 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
982 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
983 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
984 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
985 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
986 (R_AARCH64_TLSDESC_LDR): Likewise.
987 (R_AARCH64_TLSDESC_ADD): Likewise.
988 (R_AARCH64_TLSDESC_CALL): Likewise.
990 2013-09-30 Andreas Schwab <schwab@suse.de>
993 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
994 the nss database lookup.
995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
998 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1000 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1002 2013-09-28 P. J. McDermott <pj@pehjota.net>
1004 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1005 ${Bash-specific parameter/pattern/string} parameter expansion.
1006 * sysdeps/unix/make-syscalls.sh: Likewise.
1008 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1010 * sysdeps/sh/stackguard-macros.h: New file.
1012 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1016 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1017 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1018 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1019 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1021 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1023 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1024 Fix thread ID register.
1026 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1028 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1029 [POSIX || UNIX98]: Require rather than permitting all symbols from
1031 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1032 element of struct sched_param.
1033 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1034 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1035 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1036 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1039 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1041 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1042 argument calculation.
1044 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1046 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1048 [POSIX] (pthread_attr_t): Do not require type.
1049 [POSIX] (pthread_cond_t): Likewise.
1050 [POSIX] (pthread_condattr_t): Likewise.
1051 [POSIX] (pthread_key_t): Likewise.
1052 [POSIX] (pthread_mutex_t): Likewise.
1053 [POSIX] (pthread_mutexattr_t): Likewise.
1054 [POSIX] (pthread_once_t): Likewise.
1055 [POSIX] (pthread_t): Likewise.
1056 [POSIX-based standards] (pthread_atfork): Expect function.
1058 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1059 Richard Sandiford <richard@codesourcery.com>
1061 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1062 (swap_endianness_p): New extern variable.
1063 (set_big_endian): New inline function.
1064 (maybe_swap_uint32): Likewise.
1065 (maybe_swap_uint32_array): Likewise.
1066 (maybe_swap_uint32_obstack): Likewise.
1067 * locale/programs/locfile.c: Include <stdbool.h>.
1068 (swap_endianness_p): New variable.
1069 (add_locale_uint32): Call maybe_swap_uint32.
1070 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1071 (write_locale_data): Call maybe_swap_uint32_array.
1072 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1074 (obstack_int32_grow_fast): Likewise.
1075 (output_weightwc): Call maybe_swap_uint32_obstack.
1076 (collate_output): Likewise.
1077 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1078 (OPT_LITTLE_ENDIAN): Likewise.
1079 (options): Add --little-endian and --big-endian options.
1080 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1081 * locale/programs/locarchive.c: Include "locfile.h".
1085 (create_archive): Use the new macros to access fields of
1086 structures directly mapped from or written to locale archives.
1087 (oldlocrecentcmp): Likewise.
1088 (enlarge_archive): Likewise.
1089 (insert_name): Likewise.
1090 (add_alias): Likewise.
1091 (add_locale): Likewise.
1092 (delete_locales_from_archive): Likewise.
1093 (show_archive_content): Likewise.
1094 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1097 2013-09-24 Roland McGrath <roland@hack.frob.com>
1099 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1100 http://www.gnu.org/doc/freemanuals.texi.
1101 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1103 2013-09-24 Will Newton <will.newton@linaro.org>
1105 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1108 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1110 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1113 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1115 * manual/threads.texi (POSIX Threads): Fix a typo.
1117 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1120 * string/tst-strcoll-overflow.c: New test case.
1121 * string/Makefile (xtests): Add tst-strcoll-overflow.
1122 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1123 cache if string sizes may cause integer overflow.
1126 * string/strcoll_l.c (coll_seq): New members rule, idx,
1127 save_idx and back_us.
1128 (get_next_seq_nocache): New function.
1129 (do_compare_nocache): New function.
1130 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1133 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1136 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1137 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1138 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1141 * elf/Makefile (tests): Add tst-ptrguard1.
1142 (tests-static): Add tst-ptrguard1-static.
1143 (tst-ptrguard1-ARGS): Define.
1144 (tst-ptrguard1-static-ARGS): Define.
1145 * elf/tst-ptrguard1.c: New file.
1146 * elf/tst-ptrguard1-static.c: New file.
1147 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1148 * sysdeps/i386/stackguard-macros.h: Likewise.
1149 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1150 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1151 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1152 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1153 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1154 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1156 2013-09-23 Hector Marco <hecmargi@upv.es>
1157 Ismael Ripoll <iripoll@disca.upv.es>
1158 Carlos O'Donell <carlos@redhat.com>
1161 * sysdeps/generic/stackguard-macros.h: Define
1162 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1163 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1164 Define __pointer_chk_guard_local.
1165 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1166 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1168 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1171 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1173 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1175 * include/string.h (__ffs): Declare as hidden.
1176 * string/ffs.c (__ffs): Define as hidden.
1177 * sysdeps/i386/ffs.c (__ffs): Likewise.
1178 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1179 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1180 * sysdeps/s390/ffs.c (__ffs): Likewise.
1181 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1183 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1185 * NEWS: Mention malloc probes.
1187 * malloc/arena.c (new_heap): New memory_heap_new probe.
1188 (grow_heap): New memory_heap_more probe.
1189 (shrink_heap): New memory_heap_less probe.
1190 (heap_trim): New memory_heap_free probe.
1191 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1192 (systrim): New memory_sbrk_less probe.
1193 * manual/probes.texi: Document them.
1195 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1196 * manual/probes.texi: Document it.
1198 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1199 (__libc_realloc): Add memory_realloc_retry probe.
1200 (__libc_memalign): Add memory_memalign_retry probe.
1201 (__libc_valloc): Add memory_valloc_retry probe.
1202 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1203 (__libc_calloc): Add memory_calloc_retry probe.
1204 * manual/probes.texi: Document them.
1206 * malloc/arena.c (get_free_list): Add probe
1207 memory_arena_reuse_free_list.
1208 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1209 and memory_arena_reuse.
1210 (arena_get2) [!PER_THREAD]: Likewise.
1211 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1212 memory_arena_reuse_realloc.
1213 * manual/probes.texi: Document them.
1215 * malloc/malloc.c (__libc_free): Add
1216 memory_mallopt_free_dyn_thresholds probe.
1217 (__libc_mallopt): Add multiple memory_mallopt probes.
1218 * manual/probes.texi: Document them.
1220 * malloc/malloc.c: Include stap-probe.h.
1221 (__libc_mallopt): Add memory_mallopt probe.
1222 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1223 * manual/probes.texi: New.
1224 * manual/Makefile (chapters): Add probes.
1225 * manual/threads.texi: Set next node.
1227 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1230 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1231 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1232 Add `Chinese' to `nan' entry name.
1234 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1236 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1237 (POLYNOMIAL): Likewise.
1238 (TAYLOR_SINCOS): Likewise.
1239 (TAYLOR_SLOW): Likewise.
1240 (__sin): Use TAYLOR_SINCOS.
1242 (slow): Use TAYLOR_SLOW.
1247 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1249 * stdlib/strtod_l.c: Fix buffer overrun.
1251 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1253 * benchtests/Makefile (bench): Add sincos.
1254 * benchtests/bench-sincos.c: New file.
1256 * math/libm-test.inc (cos_test_data): New test inputs.
1257 (sin_test_data): Likewise.
1259 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1267 (bsloww1): Likewise.
1268 (bsloww2): Likewise.
1270 (csloww1): Likewise.
1271 (csloww2): Likewise.
1273 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1278 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1282 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1284 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1285 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1286 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1287 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1288 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1289 * elf/cache.c (print_entry): Handle the new cache flags.
1291 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1292 Aldy Hernandez <aldyh@redhat.com>
1294 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1295 Change condition to [_SOFT_FLOAT].
1296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1308 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1311 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1314 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1316 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1317 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1318 (__longjmp): Use LOAD_GP to load saved GPRs.
1319 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1320 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1321 (__sigsetjmp): Use SAVE_GP to save GPRs.
1323 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1324 Do not append -msoft-float.
1325 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1327 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1329 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1331 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1334 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1335 (_FPU_GETCW): Use initial "__" on variable and field names but not
1336 on macro parameter name.
1337 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1338 parentheses around reference to macro parameter.
1340 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1342 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1344 (ctype_startup): Use uint32_t in cast and sizeof for
1347 2013-09-11 Jia Liu <proljc@gmail.com>
1349 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1351 [__FreeBSD__]: Likewise.
1353 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1356 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1357 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1358 (strchr): Remove __strchr_sse42 ifunc selection.
1359 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1360 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1362 2013-09-11 Will Newton <will.newton@linaro.org>
1364 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1365 parameter to RES. Remove hardcoded 1000 value.
1366 * benchtests/bench-skeleton.c (main): Pass RES parameter
1367 to TIMING_INIT and multiply result by 1000.
1369 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1373 2013-09-11 Andreas Schwab <schwab@suse.de>
1375 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1377 (O_TMPFILE) [__USE_GNU]: Define.
1378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1381 2013-09-11 Will Newton <will.newton@linaro.org>
1384 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1387 2013-09-11 Will Newton <will.newton@linaro.org>
1390 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1393 2013-09-11 Will Newton <will.newton@linaro.org>
1396 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1399 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1401 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1402 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1403 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1404 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1405 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1407 2013-09-10 Allan McRae <allan@archlinux.org>
1410 * manual/arith.texi (Parsing of Floats): Clarify
1414 * manual/install.texi (Running make install): Mention
1416 * INSTALL: Regenerated.
1418 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1420 * csu/init-first.c (_init): Remove the !SHARED condition around
1421 FPU control word initialization.
1422 * elf/dl-support.c (_dl_fpu_control): New variable.
1423 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1424 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1425 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1426 * math/test-fpucw-static.c: New file.
1427 * math/test-fpucw-ieee.c: New file.
1428 * math/test-fpucw-ieee-static.c: New file.
1429 * math/Makefile (tests): Add `test-fpucw-ieee' and
1431 (tests-static): New variable.
1432 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1434 [($(build-shared),yes)]
1435 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1437 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1440 2013-09-09 Allan McRae <allan@archlinux.org>
1443 * manual/string.texi (Collation Functions): Fix typo in
1445 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1448 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1451 * libio/memstream.c (open_memstream): Fix memory leak.
1452 * libio/wmemstream.c (open_wmemstream): Likewise.
1455 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1457 2013-09-09 Will Newton <will.newton@linaro.org>
1459 * malloc/Makefile: Add tst-realloc to tests.
1460 * malloc/tst-realloc.c: New file.
1462 2013-09-09 Allan McRae <allan@archlinux.org>
1465 * COPYING: Update from GNU website to fix FSF address.
1466 * COPYING.LIB: Likewise.
1468 2013-09-06 David S. Miller <davem@davemloft.net>
1470 * po/zh_TW.po: Update Chinese (traditional) translation from
1471 translation project.
1473 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1474 Joseph Myers <joseph@codesourcery.com>
1476 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1478 (obstack_chunk_alloc): New macro.
1479 (obstack_chunk_free): Likewise.
1480 (record_offset): New function.
1481 (init_locale_data): Likewise.
1482 (align_locale_data): Likewise.
1483 (add_locale_empty): Likewise.
1484 (add_locale_raw_data): Likewise.
1485 (add_locale_raw_obstack): Likewise.
1486 (add_locale_string): Likewise.
1487 (add_locale_wstring): Likewise.
1488 (add_locale_uint32): Likewise.
1489 (add_locale_uint32_array): Likewise.
1490 (add_locale_char): Likewise.
1491 (start_locale_structure): Likewise.
1492 (end_locale_structure): Likewise.
1493 (start_locale_prelude): Likewise.
1494 (end_locale_prelude): Likewise.
1495 (write_locale_data): Take locale_file structure rather than an
1497 * locale/programs/locfile.h: Include "obstack.h".
1498 (struct locale_file): Change to store locale file contents instead
1500 (init_locale_data): New prototype.
1501 (align_locale_data): Likewise.
1502 (add_locale_empty): Likewise.
1503 (add_locale_raw_data): Likewise.
1504 (add_locale_raw_obstack): Likewise.
1505 (add_locale_string): Likewise.
1506 (add_locale_wstring): Likewise.
1507 (add_locale_uint32): Likewise.
1508 (add_locale_uint32_array): Likewise.
1509 (add_locale_char): Likewise.
1510 (start_locale_structure): Likewise.
1511 (end_locale_structure): Likewise.
1512 (start_locale_prelude): Likewise.
1513 (end_locale_prelude): Likewise.
1514 (write_locale_data): Update prototype.
1515 * locale/programs/3level.h (struct TABLE): Remove result field.
1516 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1517 Use new locale_file interface.
1518 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1519 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1520 * locale/programs/ld-address.c (address_output): Use new
1521 locale_file interface.
1522 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1524 (collate_finish): Don't call collseq_table_finalize.
1525 (collate_output): Use new locale_file interface.
1526 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1528 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1529 (TABLE): Move defines earlier in file.
1530 (ELEMENT): Likewise.
1531 (DEFAULT): Likewise.
1532 (wctrans_table_add): Move macro and inline function earlier in
1534 (struct wctype_table): Move type earlier in file.
1535 (add_locale_wctype_table): New static prototype.
1536 (struct locale_ctype_t): Use logical types instead of struct iovec
1537 pointers for members.
1538 (ctype_output): Use new locale_file interface.
1539 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1540 new locale_file interface.
1541 (allocate_arrays): Update for use of new locale_file interface.
1542 * locale/programs/ld-identification.c (identification_output): Use
1543 new locale_file interface.
1544 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1545 * locale/programs/ld-messages.c (messages_output): Likewise.
1546 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1547 * locale/programs/ld-name.c (name_output): Likewise.
1548 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1549 * locale/programs/ld-paper.c (paper_output): Likewise.
1550 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1551 * locale/programs/ld-time.c (time_output): Likewise.
1553 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555 * benchtests/Makefile: Add memrchr benchmark.
1556 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1557 benchmark as memrchr.
1558 * benchtests/bench-memrchr-ifunc.c: New file.
1559 * benchtests/bench-memrchr.c: New file.
1561 2013-09-06 Will Newton <will.newton@linaro.org>
1563 * benchtests/Makefile (string-bench): Add memcpy.
1565 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1566 Cong Wang <amwang@redhat.com>
1568 * sysdeps/unix/sysv/linux/bits/in.h
1569 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1570 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1571 before __USE_KERNEL_IPV6_DEFS uses.
1572 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1574 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1575 sockaddr_in6, or ipv6_mreq.
1577 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1579 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1580 memory access for final bytes in some large inputs.
1581 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1583 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1585 * string/test-memrchr.c: New file.
1586 * string/test-memrchr-ifunc.c: New file.
1587 * string/Makefile: Add new memrchr testcase.
1589 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1591 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1592 fanotify_init returns EPERM.
1594 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1596 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1598 (top level): Treat second token from macro or constant entries for
1599 allowed headers as allowed.
1600 * include/complex.h: Condition internal declarations on
1602 * include/fenv.h: Condition include of <stdbool.h> and internal
1603 declarations on [!_ISOMAC].
1605 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1608 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1610 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1612 * configure.in (--enable-versioning): Remove configure option.
1613 (libc_cv_asm_symver_directive): Remove configure test.
1614 (libc_cv_ld_version_script_option): Likewise.
1615 (VERSIONING): Remove variable and AC_SUBST.
1616 (DO_VERSIONING): Remove AC_DEFINE.
1617 * configure: Regenerated.
1618 * config.h.in (DO_VERSIONING): Remove macro.
1619 * Makerules [$(versioning) = yes]: Change conditionals to
1620 [$(build-shared) = yes].
1621 * config.make.in (versioning): Remove variable.
1622 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1623 [$(build-shared) = yes].
1624 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1625 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1626 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1627 [$(build-shared) = yes].
1628 * extra-lib.mk [$(versioning) = yes]: Likewise.
1629 * hurd/Makefile [$(versioning) = yes]: Likewise.
1630 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1632 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1634 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1635 [SHARED && !NO_HIDDEN].
1636 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1638 [SHARED && DO_VERSIONING]: Likewise..
1639 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1640 [$(build-shared) = yes].
1641 * manual/install.texi (--disable-versioning): Remove
1643 * INSTALL: Regenerated.
1644 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1646 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1647 [$(build-shared) = yes].
1648 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1649 * sysdeps/i386/i686/multiarch/strstr-c.c
1650 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1651 [SHARED && !NO_HIDDEN].
1652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1653 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1654 * sysdeps/powerpc/powerpc32/dl-machine.c
1655 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1656 * sysdeps/powerpc/powerpc32/sysdep.h
1657 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1658 to [SHARED && PIC && !NO_HIDDEN].
1659 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1660 conditional to [SHARED].
1662 2013-09-04 Will Newton <will.newton@linaro.org>
1664 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1665 * benchtests/bench-string.h: Include bench-timing.h instead
1666 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1667 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1668 call to HP_TIMING_DIFF_INIT.
1669 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1670 instead of hp-timing.h macros.
1671 * benchtests/bench-memchr.c: Likewise.
1672 * benchtests/bench-memcmp.c: Likewise.
1673 * benchtests/bench-memcpy.c: Likewise.
1674 * benchtests/bench-memmem.c: Likewise.
1675 * benchtests/bench-memmove.c: Likewise.
1676 * benchtests/bench-memset.c: Likewise.
1677 * benchtests/bench-rawmemchr.c: Likewise.
1678 * benchtests/bench-strcasecmp.c: Likewise.
1679 * benchtests/bench-strcasestr.c: Likewise.
1680 * benchtests/bench-strcat.c: Likewise.
1681 * benchtests/bench-strchr.c: Likewise.
1682 * benchtests/bench-strcmp.c: Likewise.
1683 * benchtests/bench-strcpy.c: Likewise.
1684 * benchtests/bench-strcpy_chk.c: Likewise.
1685 * benchtests/bench-strlen.c: Likewise.
1686 * benchtests/bench-strncasecmp.c: Likewise.
1687 * benchtests/bench-strncat.c: Likewise.
1688 * benchtests/bench-strncmp.c: Likewise.
1689 * benchtests/bench-strncpy.c: Likewise.
1690 * benchtests/bench-strnlen.c: Likewise.
1691 * benchtests/bench-strpbrk.c: Likewise.
1692 * benchtests/bench-strrchr.c: Likewise.
1693 * benchtests/bench-strspn.c: Likewise.
1694 * benchtests/bench-strstr.c: Likewise.
1696 2013-09-04 Will Newton <will.newton@linaro.org>
1698 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1700 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1703 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1704 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1705 * math/libm-test.inc (lgamma_test_data): Add more tests.
1706 * sysdeps/i386/fpu/libm-test-ulps: Update.
1707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1709 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1711 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1715 Add strcmp-sse2-unaligned
1716 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1718 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1720 * Versions.def (libc): Add GLIBC_2.19.
1722 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1724 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1725 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1727 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1730 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1731 intermediate calculations in recurrence.
1732 (__ieee754_ynf): Likewise.
1733 * math/libm-test.inc (jn_test_data): Do not allow spurious
1734 underflow exception. Add more tests.
1735 (yn_test_data): Add more tests.
1736 * sysdeps/i386/fpu/libm-test-ulps: Update.
1737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1739 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1743 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1745 * csu/init-first.c: Fix then/than typos.
1746 * locale/programs/ld-collate.c: Likewise.
1747 * locale/programs/linereader.h: Likewise.
1748 * manual/charset.texi: Likewise.
1749 * manual/filesys.texi: Likewise.
1750 * manual/stdio.texi: Likewise.
1751 * manual/string.texi: Likewise.
1752 * stdlib/fmtmsg.c: Likewise.
1753 * sysdeps/i386/stpncpy.S: Likewise.
1754 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1755 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1756 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1757 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1759 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1761 * elf/dl-open.c: Fix typos.
1762 * iconvdata/gbbig5.c: Likewise.
1763 * iconvdata/iso-2022-jp.c: Likewise.
1764 * iconv/gconv_int.h: Likewise.
1765 * iconv/loop.c: Likewise.
1766 * nis/rpcsvc/nis.h: Likewise.
1767 * resolv/ns_name.c: Likewise.
1768 * stdio-common/vfscanf.c: Likewise.
1769 * streams/stropts.h: Likewise.
1770 * sunrpc/rpc_thread.c: Likewise.
1771 * sysdeps/i386/strpbrk.S: Likewise.
1772 * sysdeps/ieee754/k_standard.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1775 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1776 * sysdeps/mach/hurd/profil.c: Likewise.
1777 * sysdeps/s390/dl-procinfo.h: Likewise.
1778 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1779 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1780 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1781 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1784 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1786 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1789 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1791 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1793 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1795 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1796 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1798 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1799 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1800 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1802 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1803 Roland McGrath <roland@hack.frob.com>
1805 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1806 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1808 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1810 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1811 __executable_start symbol instead of _start.
1813 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1815 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1816 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1818 * sysdeps/gnu/ldsodefs.h: ... this new file.
1820 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1821 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1822 instead of ELFOSABI_LINUX.
1824 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1825 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1826 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1827 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1829 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1830 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1833 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1834 (ibm_extended_long_double): Add ieee_nan member.
1835 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1836 (do_test): New function.
1838 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1840 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1841 functions, renamed from truncdfsf_test, trunctfsf_test,
1843 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1845 (do_test): Run all these.
1847 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1849 * argp/argp-help.c: Fix typos.
1850 * argp/argp-parse.c: Likewise.
1851 * debug/backtracesyms.c: Likewise.
1852 * elf/elf.h: Likewise.
1853 * malloc/malloc.c: Likewise.
1854 * nis/nis_print.c: Likewise.
1855 * resolv/res_comp.c: Likewise.
1856 * stdlib/stdlib.h: Likewise.
1857 * sunrpc/clnt_tcp.c: Likewise.
1858 * sunrpc/clnt_udp.c: Likewise.
1859 * sunrpc/clnt_unix.c: Likewise.
1860 * sysdeps/unix/bsd/ptsname.c: Likewise.
1861 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1862 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1869 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1871 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1873 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1876 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1879 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1880 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1881 ($(objpfx)bug-dl-leaf): New rule.
1882 ($(objpfx)bug-dl-leaf.so): Likewise.
1883 ($(objpfx)bug-dl-leaf.out): Likewise.
1884 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1885 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1886 * dlfcn/bug-dl-leaf.c: New test.
1887 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1888 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1889 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1890 (dlclose): Likewise.
1891 (dlmopen): Likewise.
1893 2013-08-27 Roland McGrath <roland@hack.frob.com>
1895 * include/netdb.h [!_ISOMAC]:
1896 Don't include <tls.h>.
1897 (h_errno, __libc_h_errno): Move declaration and macros out of
1900 * include/resolv.h [_RESOLV_H_]:
1901 Don't include <tls.h>.
1902 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1903 * resolv/res_libc.c: Don't include <tls.h>.
1904 (_res): Use __attribute__ ((nocommon)) in place of
1905 __attribute__ ((section (".bss"))).
1907 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1908 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1910 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1912 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1913 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1915 * resolv/res_mkquery.c: Include <sys/time.h>.
1917 * inet/ifreq.c: Moved to ...
1918 * sysdeps/unix/ifreq.c: ... here.
1919 * inet/ifreq.c: New file, true stub version.
1921 * socket/sa_len.c: New file.
1922 * socket/Makefile (aux): Add it.
1923 * sysdeps/unix/sysv/linux/Makefile
1924 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1925 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1926 and #include <socket/sa_len.c>.
1927 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1928 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1930 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1931 * bits/socket.h: ... here.
1933 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1934 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1935 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1937 2013-08-27 Andreas Schwab <schwab@suse.de>
1940 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1941 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1942 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1943 * string/test-strcasecmp.c (test_main): Run tests in several
1945 * string/test-strncasecmp.c (test_main): Likewise.
1947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1948 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1949 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1951 (__strncasecmp_ssse3) [PIC]: Likewise.
1953 2013-08-26 Roland McGrath <roland@hack.frob.com>
1955 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1957 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1958 instead of explicitly declaring xdecrypt.
1959 * nis/nss_nis/nis-publickey.c: Likewise.
1961 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1964 * nscd/aicache.c: Include res_hconf.h.
1965 (addhstaiX): Initialize res_hconf.
1967 2013-08-26 Andreas Schwab <schwab@suse.de>
1969 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1970 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1972 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1974 * nscd/aicache.c (addhstaiX): Fix indentation.
1976 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1978 * configure.ac: Quote $build_pt_chown test.
1979 * configure: Regenerated.
1981 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1984 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1985 * math/s_cexpf.c (__cexpf): Likewise.
1986 * math/s_cexpl.c (__cexpl): Likewise.
1987 * math/libm-test.inc (cexp_test_data): Correct expected return
1988 value for NaN + i0. Add another test.
1990 2013-08-22 David S. Miller <davem@davemloft.net>
1992 * po/ca.po: Update Catalan translation from translation project.
1993 * po/uk.po: Add Ukrainian translations from translation project.
1995 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1998 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1999 is infinite, not alongside NaN test.
2000 * math/s_fdimf.c (__fdimf): Likewise.
2001 * math/s_fdiml.c (__fdiml): Likewise.
2002 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2005 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2007 * argp/argp-help.c: Fix typos.
2008 * crypt/speeds.c: Likewise.
2009 * csu/check_fds.c: Likewise.
2010 * elf/dl-load.c: Likewise.
2011 * elf/dl-open.c: Likewise.
2012 * elf/reldep3.c: Likewise.
2013 * elf/reldep.c: Likewise.
2014 * elf/sprof.c: Likewise.
2015 * iconv/iconv_charmap.c: Likewise.
2016 * iconv/skeleton.c: Likewise.
2017 * iconv/strtab.c: Likewise.
2018 * io/lockf64.c: Likewise.
2019 * libio/libioP.h: Likewise.
2020 * resolv/gai_notify.c: Likewise.
2021 * resolv/ns_name.c: Likewise.
2022 * resolv/ns_samedomain.c: Likewise.
2023 * resolv/res_send.c: Likewise.
2024 * stdlib/random.c: Likewise.
2025 * sunrpc/rpc/xdr.h: Likewise.
2026 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2027 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2028 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2029 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2030 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2034 * sysdeps/mach/hurd/check_fds.c: Likewise.
2035 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2036 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2038 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2039 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2040 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2041 * sysdeps/pthread/aio_notify.c: Likewise.
2042 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2043 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2044 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2045 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2046 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2048 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2050 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2051 version if bit_Slow_SSE4_2 is set.
2052 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2053 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2055 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2059 trampoline stack frame information.
2060 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2061 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2062 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2063 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2064 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2065 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2066 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2067 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2069 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2070 interrupting a syscall and set with option SA_SIGINFO.
2072 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2075 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2076 argument is infinite.
2077 * math/s_cprojf.c (__cprojf): Likewise.
2078 * math/s_cprojl.c (__cprojl): Likewise.
2079 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2080 * math/libm-test.inc (cproj_test_data): Add more tests.
2082 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2084 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2085 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2086 size. Use __ffs to determine corresponding shift.
2088 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2089 Roland McGrath <roland@hack.frob.com>
2091 * Makefile (INSTALL): Remove trailing blank lines from output of
2094 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2096 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2097 Align 32 bit compat elf_greg to 8 bytes.
2099 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2101 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2103 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2105 * string/strcoll_l.c (coll_seq): New structure.
2106 (get_next_seq_cached): New function.
2107 (get_next_seq): New function.
2108 (do_compare): New function.
2109 (STRCOLL): Use GNU style definition. Simplify implementation
2110 by using get_next_seq, get_next_seq_cached and do_compare.
2112 2013-08-16 Florian Weimer <fweimer@redhat.com>
2116 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2118 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2120 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2121 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2122 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2124 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2125 GETDENTS_64BIT_ALIGNED.
2126 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2127 * manual/filesys.texi (Reading/Closing Directory): Document
2128 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2130 * manual/conf.texi (Limits for Files): Add portability note to
2132 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2134 2013-08-13 Andreas Schwab <schwab@suse.de>
2137 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2139 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2140 LDBL_MAX_EXP >= 16384]: Add tests for it.
2142 2013-08-12 David S. Miller <davem@davemloft.net>
2144 * version.h (RELEASE): Set to "development".
2145 (VERSION): Set to "2.18.90".
2146 * NEWS: Add 2.19 section.
2148 2013-08-03 David S. Miller <davem@davemloft.net>
2150 * po/ko.po: Update Korean translation from translation project.
2152 2013-08-01 David S. Miller <davem@davemloft.net>
2154 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2155 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2158 2013-07-30 David S. Miller <davem@davemloft.net>
2160 * po/fr.po: Update French translation from translation project.
2162 2013-07-28 David S. Miller <davem@davemloft.net>
2164 * po/cs.po: Update Czech translation from translation project.
2166 * po/sv.po: Update Swedish translation from translation project.
2168 2013-07-27 David S. Miller <davem@davemloft.net>
2170 * po/eo.po: Update Esperanto translation from translation project.
2172 * po/vi.po: Update Vietnamese translation from translation project.
2174 * po/de.po: Update German translation from translation project.
2176 2013-07-26 David S. Miller <davem@davemloft.net>
2178 * po/bg.po: Update Bulgarian translation from translation project.
2180 * po/nl.po: Update Dutch translation from translation project.
2181 * po/pl.po: Update Polish translation from translation project.
2182 * po/ru.po: Update Russian translation from translation project.
2184 2013-07-24 David S. Miller <davem@davemloft.net>
2186 * po/libc.pot: Update.
2188 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2190 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2192 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2194 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2196 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2198 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2200 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2201 Andreas Schwab <schwab@suse.de>
2202 Roland McGrath <roland@hack.frob.com>
2203 Joseph Myers <joseph@codesourcery.com>
2204 Carlos O'Donell <carlos@redhat.com>
2207 * config.h.in: Define HAVE_PT_CHOWN.
2208 * config.make.in (build-pt-chown): New variable.
2209 * configure.in (--enable-pt_chown): New configure option.
2210 * configure: Regenerate.
2211 * login/Makefile: Include Makeconfig. Build pt_chown only if
2212 build-pt-chown is enabled.
2213 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2214 pt_chown to fix pty ownership.
2215 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2217 * manual/install.texi (Configuring and compiling): Mention
2218 --enable-pt_chown. Add @findex for grantpt.
2219 * INSTALL: Regenerate.
2221 2013-07-20 David S. Miller <davem@davemloft.net>
2223 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2224 difference between 32-bit and 64-bit.
2226 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2229 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2230 Avoid system header dependency with -ffreestanding.
2231 ($(objpfx)bits/syscall%d): Likewise.
2233 2013-07-13 David S. Miller <davem@davemloft.net>
2235 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2236 underflows from atanl/atan2l due to bug 15319.
2237 (casinh_test_data): Likewise.
2239 2013-07-07 David S. Miller <davem@davemloft.net>
2241 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2243 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2245 * sysdeps/i386/fpu/libm-test-ulps: Update.
2246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2248 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2250 * configure.in (--enable-lock-elision): Fix message text.
2251 * INSTALL: Regenerate.
2252 * configure: Regenerate.
2254 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2258 2013-07-03 Andreas Jaeger <aj@suse.de>
2260 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2262 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2263 (ptrace_peeksiginfo_args): Add.
2264 (__ptrace_peeksiginfo_flags): Add.
2265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2266 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2267 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2269 2013-07-03 Allan McRae <allan@archlinux.org>
2271 * sysdeps/i386/fpu/libm-test-ulps: Update.
2273 2013-07-02 David S. Miller <davem@davemloft.net>
2275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2277 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2281 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2283 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2286 2013-07-02 Andi Kleen <ak@linux.intel.com>
2288 * config.h.in (ENABLE_LOCK_ELISION): Add.
2289 * configure.in (--enable-lock-elision): Add option.
2290 * manual/install.texi: Document --enable lock elision.
2291 * configure: Regenerate
2292 * INSTALL: Regenerate.
2294 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2296 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2297 SSE4.2 strcasecmp for libc.a.
2298 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2300 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2303 * soft-fp/op-common.h (_FP_FMA): New macro.
2304 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2305 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2306 (_FP_MUL_MEAT_1_imm): ... here.
2307 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2308 (_FP_MUL_MEAT_1_wide): ... here.
2309 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2310 (_FP_MUL_MEAT_1_hard): ... here.
2311 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2312 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2313 (_FP_MUL_MEAT_2_wide): ... here.
2314 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2315 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2316 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2317 (_FP_MUL_MEAT_2_gmp): ... here.
2318 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2319 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2320 (_FP_MUL_MEAT_4_wide): ... here.
2321 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2322 (_FP_MUL_MEAT_4_gmp): ... here.
2323 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2324 (_FP_WFRACBITS_DW_S): Likewise.
2325 (_FP_WFRACXBITS_DW_S): Likewise.
2326 (_FP_HIGHBIT_DW_S): Likewise.
2327 (FP_FMA_S): Likewise.
2328 (_FP_FRAC_HIGH_DW_S): Likewise.
2329 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2330 (_FP_WFRACBITS_DW_D): Likewise.
2331 (_FP_WFRACXBITS_DW_D): Likewise.
2332 (_FP_HIGHBIT_DW_D): Likewise.
2333 (FP_FMA_D): Likewise.
2334 (_FP_FRAC_HIGH_DW_D): Likewise.
2335 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2336 (_FP_WFRACBITS_DW_E): Likewise.
2337 (_FP_WFRACXBITS_DW_E): Likewise.
2338 (_FP_HIGHBIT_DW_E): Likewise.
2339 (FP_FMA_E): Likewise.
2340 (_FP_FRAC_HIGH_DW_E): Likewise.
2341 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2342 (_FP_WFRACBITS_DW_Q): Likewise.
2343 (_FP_WFRACXBITS_DW_Q): Likewise.
2344 (_FP_HIGHBIT_DW_Q): Likewise.
2345 (FP_FMA_Q): Likewise.
2346 (_FP_FRAC_HIGH_DW_Q): Likewise.
2347 * soft-fp/fmasf4.c: New file.
2348 * soft-fp/fmadf4.c: Likewise.
2349 * soft-fp/fmatf4.c: Likewise.
2351 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2354 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2358 (index_Slow_SSE4_2): Likewise.
2359 (index_Prefer_PMINUB_for_stringop): Likewise.
2360 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2361 bit_Slow_SSE4_2 is set.
2362 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2363 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2365 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2367 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2368 rtld_global._dl_hwcap2.
2369 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2371 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2372 POWER8 feature descriptions defined in _dl_hwcap2.
2373 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2374 string handling for POWER8 feature bits.
2375 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2376 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2377 _dl_powerpc_cap_flags.
2378 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2379 * sysdeps/powerpc/rtld-global-offsets.sym
2380 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2381 _dl_hwcap2 in the rtld_global_ro structure.
2383 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2385 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2386 hardware capabilities in support of AT_HWCAP2.
2387 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2388 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2390 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2391 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2392 explicitly the unknown a_type display mechanism is used.
2393 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2394 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2396 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2397 to macro prototype for AT_HWCAP2 support.
2398 * sysdeps/i386/dl-procinfo.h: Likewise.
2399 * sysdeps/s390/dl-procinfo.h: Likewise.
2400 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2401 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2402 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2403 return -1 for unknown a_type display fallback.
2404 * sysdeps/sparc/dl-procinfo.h: Likewise.
2405 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2406 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2408 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2410 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2411 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2413 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2416 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2417 mprotect making __stack_prot writable.
2419 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2420 Joseph Myers <joseph@codesourcery.com>
2422 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2423 as being properly aligned.
2425 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2427 * dlfcn/modstatic5.c: New file.
2428 * dlfcn/tststatic5.c: New file.
2429 * dlfcn/Makefile (tests): Add tststatic5.
2430 (tests-static): Likewise.
2431 (modules-names): Add modstatic5.
2432 (tststatic5-ENV): New variable.
2433 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2436 * elf/dl-support.c (_dl_main_map): New variable.
2437 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2438 (_dl_nns, _dl_load_adds): Set to 1.
2439 (_dl_initial_searchlist): Refer to _dl_main_map.
2440 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2441 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2442 call to _dl_get_origin.
2443 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2445 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2446 * dlfcn/modstatic3.c: New file.
2447 * dlfcn/tststatic3.c: New file.
2448 * dlfcn/tststatic4.c: New file.
2449 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2450 (tests-static): Likewise.
2451 (modules-names): Add modstatic3.
2452 (tststatic3-ENV, tststatic4-ENV): New variables.
2453 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2454 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2456 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2458 * configure.in (CC): Require GCC version 4.4 or later.
2459 * configure: Regenerated.
2460 * manual/install.texi (Tools for Compilation): Update GCC version
2462 * INSTALL: Regenerated.
2464 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2467 * string/test-memcmp.c (check2): New.
2468 (main): Call check2.
2470 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2472 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2475 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2477 (dl_open_worker) [!SHARED]: ... here.
2479 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2481 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2483 2013-06-25 Richard Henderson <rth@redhat.com>
2485 * locale/programs/locarchive.c: Include <libc-internal.h>
2487 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2489 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2490 trailing whitespace removed.
2492 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2495 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2496 * locale/programs/locarchive.c: Include libc-mmap.h.
2497 (prepare_address_space): Take two new outputs (the mmap base and len).
2498 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2500 (create_archive): Declare new mmap base and len values for
2501 prepare_address_space, and store the result in ah.
2502 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2503 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2504 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2505 Declare new mmap base and len values for
2506 prepare_address_space, and store the result in new_ah.
2507 (open_archive): Declare new mmap base and len values for
2508 prepare_address_space, and store the result in ah.
2509 (close_archive): If ah->mmap_base is not NULL, use that and
2510 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2511 * sysdeps/generic/libc-mmap.h: New file.
2513 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2515 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2516 (ALIGN_UP): Likewise.
2517 (PTR_ALIGN_DOWN): Likewise.
2518 (PTR_ALIGN_UP): Likewise.
2520 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2522 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2523 entry mapped to PPC_PLATFORM_POWER8.
2524 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2526 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2527 (_dl_string_platform): Add case for exporting platform position for
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2530 search path to sysdeps/powerpc/powerpc32/power8 directory.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2532 search path to sysdeps/powerpc/powerpc64/power8 directory.
2533 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2535 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2538 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2540 * INSTALL: Regenerate.
2542 * nscd/connections.c (nscd_init): Fix comment.
2544 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2546 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2549 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2550 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2552 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2554 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2556 (DL_DST_REQ_STATIC): Remove macro.
2558 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2561 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2562 with a shift of 0 bits.
2564 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2566 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2569 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2572 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2574 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2576 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2577 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2578 accepts -fno-tree-loop-distribute-patterns.
2579 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2580 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2582 * string/memset.c (memset): Likewise.
2583 * string/test-memmove.c (simple_memmove): Disable loop transformation
2585 * string/test-memset.c (simple_memset): Likewise.
2586 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2587 * benchtests/bench-memset.c (simple_memset): Likewise.
2588 * configure: Regenerated.
2590 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2592 * math/test-misc.c (main): Ignore fesetround failure when failures
2593 of subsequent rounding tests would be ignored.
2596 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2597 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2598 * math/fegetenv.c (__fegetenv): Return 0.
2599 * math/fegetexcept.c (fegetexcept): Return 0.
2600 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2602 * math/feholdexcpt.c (feholdexcept): Return 0.
2603 * math/fesetenv.c (__fesetenv): Return 0.
2604 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2605 argument FE_TONEAREST.
2606 * math/feupdateenv.c (__feupdateenv): Return 0.
2607 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2609 2013-06-18 Roland McGrath <roland@hack.frob.com>
2611 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2612 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2613 ($(objpfx)rtld-%.os rules): Use them.
2615 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2617 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2620 2013-06-17 Roland McGrath <roland@hack.frob.com>
2622 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2623 length of target pattern, then descending length of dependency pattern.
2624 * configure.in (AWK): Require gawk 3.1.2 or newer.
2625 * manual/install.texi (Tools for Compilation): Say that we do.
2626 * configure: Regenerated.
2628 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2629 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2630 * scripts/sysd-rules.awk: ... this new script.
2631 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2632 than a glob-style pattern.
2634 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2636 * math/test-misc.c (main): Do not treat incorrectly rounded
2637 conversions as failure unless ROUNDING_TESTS passes.
2639 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2643 restore exception state around main square root computation, then
2644 check for inexactness explicitly.
2646 * math/libm-test.inc (fma_test_data): Add another test.
2648 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2650 * manual/threads.texi (Non-POSIX Extensions): New document
2651 node. Document pthread_getattr_default_np and
2652 pthread_setattr_default_np.
2654 * Versions.def (libpthread): Add GLIBC_2.18.
2655 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2664 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2675 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2678 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2680 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2681 H.J. Lu <hjl.tools@gmail.com>
2684 * sysdeps/x86_64/rtld-memset.c: Remove file.
2685 * sysdeps/x86_64/rtld-memset.S: New file.
2687 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2689 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2690 (test_in_one_mode): Take arguments for whether the rounding mode
2691 is supported for each floating-point type.
2692 (do_test): Pass new arguments to test_in_one_mode using
2695 2013-06-13 Roland McGrath <roland@hack.frob.com>
2697 * posix/tst-waitid.c (do_test): Distinguish different instances of
2698 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2699 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2700 before entering the kernel for waitpid.
2702 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2704 * NEWS: Fix note on clock function precision. Text by Roland
2707 2013-06-13 Roland McGrath <roland@hack.frob.com>
2709 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2710 it into place only when and if the sanity check passes.
2712 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2714 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2715 output for whether conversion result is exact. Take argument
2716 indicating whether type is IBM long double.
2717 (round_for_all): Change need_exact field to ibm_ld.
2718 * stdlib/tst-strtod-round.c (struct exactness): New type.
2719 (struct test): Change bool ld_ok field to struct exactness exact.
2720 (TEST): Update all definitions for change to field.
2721 (tests): Regenerate array contents.
2722 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2723 field value. Check for IBM long double here.
2724 (do_test): Update calls to test_in_one_mode.
2726 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2729 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2730 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2732 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2735 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2736 generated by the compiler on loop optimizations.
2737 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2738 general definitions.
2740 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2742 * math/bug-nextafter.c: Include <math-tests.h>.
2743 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2745 * math/bug-nexttoward.c: Include <math-tests.h>.
2746 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2748 * math/test-misc.c: Include <math-tests.h>.
2749 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2752 2013-06-12 Andreas Jaeger <aj@suse.de>
2754 * po/ia.po: Update Interlingua translation from translation
2757 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2759 * include/fenv.h: Include stdbool.h.
2760 (struct rm_ctx): New structure.
2761 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2763 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2764 (SET_RESTORE_ROUNDF): Likewise.
2765 (SET_RESTORE_ROUNDL): Likewise.
2766 (SET_RESTORE_ROUND_NOEX): Likewise.
2767 (SET_RESTORE_ROUND_NOEXF): Likewise.
2768 (SET_RESTORE_ROUND_NOEXL): Likewise.
2769 (SET_RESTORE_ROUND_53BIT): Likewise.
2770 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2771 (libc_feresetround_noexf_ctx): Likewise.
2772 (libc_feresetround_noexl_ctx): Likewise.
2773 (libc_feholdsetround_53bit_ctx): Likewise.
2774 (libc_feresetround_53bit_ctx): Likewise.
2775 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2776 (libc_feholdexcept_setround_sse_ctx): New function.
2777 (libc_fesetenv_sse_ctx): Likewise.
2778 (libc_feupdateenv_sse_ctx): Likewise.
2779 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2780 (libc_feholdexcept_setround_387_ctx): Likewise.
2781 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2782 (libc_feholdsetround_387_prec_ctx): Likewise.
2783 (libc_feholdsetround_387_ctx): Likewise.
2784 (libc_feholdsetround_387_53bit_ctx): Likewise.
2785 (libc_feholdsetround_sse_ctx): Likewise.
2786 (libc_feresetround_sse_ctx): Likewise.
2787 (libc_feresetround_387_ctx): Likewise.
2788 (libc_feupdateenv_387_ctx): Likewise.
2789 (libc_feholdexcept_setroundf_ctx): Define macro.
2790 (libc_fesetenvf_ctx): Likewise.
2791 (libc_feupdateenvf_ctx): Likewise.
2792 (libc_feholdsetroundf_ctx): Likewise.
2793 (libc_feresetroundf_ctx): Likewise.
2794 (libc_feholdexcept_setround_ctx): Likewise.
2795 (libc_fesetenv_ctx): Likewise.
2796 (libc_feupdateenv_ctx): Likewise.
2797 (libc_feholdsetround_ctx): Likewise.
2798 (libc_feresetround_ctx): Likewise.
2799 (libc_feholdexcept_setroundl_ctx): Likewise.
2800 (libc_feupdateenvl_ctx): Likewise.
2801 (libc_feholdsetroundl_ctx): Likewise.
2802 (libc_feresetroundl_ctx): Likewise.
2803 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2804 (libc_feresetround_53bit_ctx): Likewise.
2806 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2808 * locale/iso-639.def: Convert to UTF-8.
2810 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2812 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2813 (EXCEPTION_TESTS_double): Likewise.
2814 (EXCEPTION_TESTS_long_double): Likewise.
2815 (EXCEPTION_TESTS): Likewise.
2816 * math/libm-test.inc (test_exceptions): Only test exceptions if
2817 EXCEPTION_TESTS (FLOAT).
2819 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2821 * benchtests/Makefile (string-bench): Add strcpy_chk and
2823 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2824 * benchtests/bench-stpcpy_chk.c: New file.
2825 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2826 * benchtests/bench-strcpy_chk.c: New file.
2827 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2829 (do_test): Likewise.
2831 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2833 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2834 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2835 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2836 with tabs where appropriate.
2837 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2839 [PPC_PLATFORM_PPC440]: Likewise.
2840 [PPC_PLATFORM_PPC464]: Likewise.
2841 [PPC_PLATFORM_PPC476]: Likewise.
2842 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2843 ppc464, and ppc476 platform strings merging from ports/
2846 2013-06-11 Andreas Schwab <schwab@suse.de>
2849 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2850 (from_ucs4_idx): Regenerate.
2851 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2852 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2853 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2854 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2855 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2856 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2857 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2858 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2859 from FROM_LOOP and TO_LOOP specific macros.
2860 (BODY): Handle combining characters.
2861 * iconvdata/BIG5HKSCS.irreversible: Update.
2862 * iconvdata/BIG5HKSCS.precomposed: New file.
2863 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2865 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2867 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2869 * include/sys/time.h: Fix indentation and add copyright header.
2871 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2872 (do_test): Likewise.
2873 * string/test-memchr.c (do_one_test): Likewise.
2874 (do_test): Likewise.
2875 * string/test-memcmp.c (do_one_test): Likewise.
2876 (do_test): Likewise.
2877 * string/test-memcpy.c (do_one_test): Likewise.
2878 (do_test): Likewise.
2879 * string/test-memmem.c (do_one_test): Likewise.
2880 (do_test): Likewise.
2881 (do_random_tests): Likewise.
2882 * string/test-memmove.c (do_one_test): Likewise.
2883 (do_test): Likewise.
2884 * string/test-memset.c (do_one_test): Likewise.
2885 (do_test): Likewise.
2886 * string/test-rawmemchr.c (do_one_test): Likewise.
2887 (do_test): Likewise.
2888 * string/test-strcasecmp.c (do_one_test): Likewise.
2889 (do_test): Likewise.
2890 * string/test-strcasestr.c (do_one_test): Likewise.
2891 (do_test): Likewise.
2892 * string/test-strcat.c (do_one_test): Likewise.
2893 (do_test): Likewise.
2894 * string/test-strchr.c (do_one_test): Likewise.
2895 (do_test): Likewise.
2896 * string/test-strcmp.c (do_one_test): Likewise.
2897 (do_test): Likewise.
2898 * string/test-strcpy.c (do_one_test): Likewise.
2899 (do_test): Likewise.
2900 * string/test-string.h: Likewise.
2901 (test_init): Likewise.
2902 * string/test-strlen.c (do_one_test): Likewise.
2903 (do_test): Likewise.
2904 * string/test-strncasecmp.c (do_one_test): Likewise.
2905 (do_test): Likewise.
2906 * string/test-strncat.c (do_one_test): Likewise.
2907 (do_test): Likewise.
2908 * string/test-strncmp.c (do_one_test): Likewise.
2909 (do_test_limit): Likewise.
2910 (do_test): Likewise.
2911 * string/test-strncpy.c (do_one_test): Likewise.
2912 (do_test): Likewise.
2913 * string/test-strnlen.c (do_one_test): Likewise.
2914 (do_test): Likewise.
2915 * string/test-strpbrk.c (do_one_test): Likewise.
2916 (do_test): Likewise.
2917 * string/test-strrchr.c (do_one_test): Likewise.
2918 (do_test): Likewise.
2919 * string/test-strspn.c (do_one_test): Likewise.
2920 (do_test): Likewise.
2921 * string/test-strstr.c (do_one_test): Likewise.
2922 (do_test): Likewise.
2924 * benchtests/Makefile (string-bench): Add string benchmarks.
2925 * benchtests/bench-bcopy-ifunc.c: New file.
2926 * benchtests/bench-bcopy.c: New file.
2927 * benchtests/bench-bzero-ifunc.c: New file.
2928 * benchtests/bench-bzero.c: New file.
2929 * benchtests/bench-memccpy-ifunc.c: New file.
2930 * benchtests/bench-memccpy.c: New file.
2931 * benchtests/bench-memchr-ifunc.c: New file.
2932 * benchtests/bench-memchr.c: New file.
2933 * benchtests/bench-memcmp-ifunc.c: New file.
2934 * benchtests/bench-memcmp.c: New file.
2935 * benchtests/bench-memmem-ifunc.c: New file.
2936 * benchtests/bench-memmem.c: New file.
2937 * benchtests/bench-memmove-ifunc.c: New file.
2938 * benchtests/bench-memmove.c: New file.
2939 * benchtests/bench-mempcpy-ifunc.c: New file.
2940 * benchtests/bench-mempcpy.c: New file.
2941 * benchtests/bench-memset-ifunc.c: New file.
2942 * benchtests/bench-memset.c: New file.
2943 * benchtests/bench-rawmemchr-ifunc.c: New file.
2944 * benchtests/bench-rawmemchr.c: New file.
2945 * benchtests/bench-stpcpy-ifunc.c: New file.
2946 * benchtests/bench-stpcpy.c: New file.
2947 * benchtests/bench-stpncpy-ifunc.c: New file.
2948 * benchtests/bench-stpncpy.c: New file.
2949 * benchtests/bench-strcasecmp-ifunc.c: New file.
2950 * benchtests/bench-strcasecmp.c: New file.
2951 * benchtests/bench-strcasestr-ifunc.c: New file.
2952 * benchtests/bench-strcasestr.c: New file.
2953 * benchtests/bench-strcat-ifunc.c: New file.
2954 * benchtests/bench-strcat.c: New file.
2955 * benchtests/bench-strchr-ifunc.c: New file.
2956 * benchtests/bench-strchr.c: New file.
2957 * benchtests/bench-strchrnul-ifunc.c: New file.
2958 * benchtests/bench-strchrnul.c: New file.
2959 * benchtests/bench-strcmp-ifunc.c: New file.
2960 * benchtests/bench-strcmp.c: New file.
2961 * benchtests/bench-strcpy-ifunc.c: New file.
2962 * benchtests/bench-strcpy.c: New file.
2963 * benchtests/bench-strcspn-ifunc.c: New file.
2964 * benchtests/bench-strcspn.c: New file.
2965 * benchtests/bench-strlen-ifunc.c: New file.
2966 * benchtests/bench-strlen.c: New file.
2967 * benchtests/bench-strncasecmp-ifunc.c: New file.
2968 * benchtests/bench-strncasecmp.c: New file.
2969 * benchtests/bench-strncat-ifunc.c: New file.
2970 * benchtests/bench-strncat.c: New file.
2971 * benchtests/bench-strncmp-ifunc.c: New file.
2972 * benchtests/bench-strncmp.c: New file.
2973 * benchtests/bench-strncpy-ifunc.c: New file.
2974 * benchtests/bench-strncpy.c: New file.
2975 * benchtests/bench-strnlen-ifunc.c: New file.
2976 * benchtests/bench-strnlen.c: New file.
2977 * benchtests/bench-strpbrk-ifunc.c: New file.
2978 * benchtests/bench-strpbrk.c: New file.
2979 * benchtests/bench-strrchr-ifunc.c: New file.
2980 * benchtests/bench-strrchr.c: New file.
2981 * benchtests/bench-strspn-ifunc.c: New file.
2982 * benchtests/bench-strspn.c: New file.
2983 * benchtests/bench-strstr-ifunc.c: New file.
2984 * benchtests/bench-strstr.c: New file.
2986 * benchtests/Makefile: Disable parallel execution of targets.
2987 (string-bench): Add memcpy.
2988 (benchset): New variable to store a list of benchmark sets.
2989 (bench-func): Renamed from bench.
2990 (bench-set): New target.
2991 (bench): Depend on bench-func and bench-set.
2992 * benchtests/README: Add section on benchmark sets.
2993 * benchtests/bench-memcpy-ifunc.c: New file.
2994 * benchtests/bench-memcpy.c: New file.
2995 * benchtests/bench-string.h: New file.
2997 2013-06-11 Andreas Schwab <schwab@suse.de>
3000 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3001 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3002 values in the triple.
3003 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3004 terminator in the group key.
3006 2013-06-11 Andreas Jaeger <aj@suse.de>
3008 * po/zh_TW.po: Update Chinese (traditional) translation from
3009 translation project.
3011 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3013 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3014 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3015 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3016 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3017 (clock_getcpuclockid): Likewise.
3018 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3019 Add weak_alias and libc_hidden_def.
3020 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3021 * rt/clock_gettime.c (clock_gettime): Rename to
3022 __clock_gettime. Add weak_alias and libc_hidden_def.
3023 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3024 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3025 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3026 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3027 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3029 * rt/clock_settime.c (clock_settime): Rename to
3030 __clock_settime. Add weak_alias and libc_hidden_def.
3031 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3033 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3035 * mach/err_boot.sub: Remove trailing whitespace.
3036 * mach/err_ipc.sub: Likewise.
3037 * mach/err_mach.sub: Likewise.
3039 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3040 (ROUNDING_TESTS_double): Likewise.
3041 (ROUNDING_TESTS_long_double): Likewise.
3042 (ROUNDING_TESTS): Likewise.
3043 * math/libm-test.inc: Include <math-tests.h>.
3044 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3045 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3046 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3047 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3049 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3051 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3054 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3056 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3057 otherwise empty TRANS lines.
3058 * sysdeps/gnu/errlist.c: Regenerated.
3060 * catgets/gencat.c (error_print): Use (void) in function
3062 * crypt/crypt_util.c (__init_des): Likewise.
3063 * crypt/speeds.c (Stop): Likewise.
3065 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3066 * inet/ruserpass.c (token): Likewise.
3067 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3068 * intl/localealias.c (extend_alias_table): Likewise.
3069 * intl/plural-exp.c (init_germanic_plural): Likewise.
3070 * libio/fcloseall.c (__fcloseall): Likewise.
3071 * libio/genops.c (_IO_flush_all): Likewise.
3072 (_IO_flush_all_linebuffered): Likewise.
3073 (_IO_cleanup): Likewise.
3074 (_IO_iter_begin): Likewise.
3075 (_IO_iter_end): Likewise.
3076 (_IO_list_lock): Likewise.
3077 (_IO_list_unlock): Likewise.
3078 (_IO_list_resetlock): Likewise.
3079 * libio/getchar.c (getchar): Likewise.
3080 * libio/getchar_u.c (getchar_unlocked): Likewise.
3081 * libio/getwchar.c (getwchar): Likewise.
3082 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3083 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3084 * login/getpt.c (__getpt): Likewise.
3085 * login/tst-utmp.c (main): Likewise.
3086 * malloc/hooks.c (__malloc_check_init): Likewise.
3087 * malloc/malloc.c (__malloc_stats): Likewise.
3088 * malloc/mtrace.c (tr_break): Likewise.
3090 (muntrace): Likewise.
3091 * misc/fstab.c (endfsent): Likewise.
3092 * misc/getclktck.c (__getclktck): Likewise.
3093 * misc/getdtsz.c (__getdtablesize): Likewise.
3094 * misc/gethostid.c (gethostid): Likewise.
3095 * misc/getpagesize.c (__getpagesize): Likewise.
3096 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3097 (__get_nprocs): Likewise.
3098 (__get_phys_pages): Likewise.
3099 (__get_avphys_pages): Likewise.
3100 * misc/getttyent.c (getttyent): Likewise.
3101 (setttyent): Likewise.
3102 (endttyent): Likewise.
3103 * misc/getusershell.c (getusershell): Likewise.
3104 (endusershell): Likewise.
3105 (setusershell): Likewise.
3106 (initshells): Likewise.
3107 * misc/hsearch.c (__hdestroy): Likewise.
3108 * misc/sync.c (sync): Likewise.
3109 * misc/syslog.c (closelog_internal): Likewise.
3110 (closelog): Likewise.
3111 * misc/ttyslot.c (ttyslot): Likewise.
3112 * misc/vhangup.c (vhangup): Likewise.
3113 * posix/fork.c (__fork): Likewise.
3114 * posix/getegid.c (__getegid): Likewise.
3115 * posix/geteuid.c (__geteuid): Likewise.
3116 * posix/getgid.c (__getgid): Likewise.
3117 * posix/getpid.c (__getpid): Likewise.
3118 * posix/getppid.c (__getppid): Likewise.
3119 * posix/getuid.c (__getuid): Likewise.
3120 * posix/pause.c (pause): Likewise.
3121 * posix/setpgrp.c (setpgrp): Likewise.
3122 * posix/setsid.c (__setsid): Likewise.
3123 * posix/test-vfork.c (noop): Likewise.
3124 * resolv/gethnamaddr.c (_endhtent): Likewise.
3125 (_gethtent): Likewise.
3126 (ht_endhostent): Likewise.
3127 (gethostent): Likewise.
3128 (dns_service): Likewise.
3129 * stdlib/drand48.c (drand48): Likewise.
3130 * stdlib/lrand48.c (lrand48): Likewise.
3131 * stdlib/mrand48.c (mrand48): Likewise.
3132 * stdlib/rand.c (rand): Likewise.
3133 * stdlib/random.c (__random): Likewise.
3134 * stdlib/setenv.c (clearenv): Likewise.
3135 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3136 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3137 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3138 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3139 (__get_nprocs): Likewise.
3140 (__get_phys_pages): Likewise.
3141 (__get_avphys_pages): Likewise.
3142 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3143 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3144 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3145 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3146 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3147 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3148 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3149 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3150 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3151 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3152 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3153 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3154 * sysdeps/posix/clock.c (clock): Likewise.
3155 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3156 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3157 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3158 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3159 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3161 (__get_nprocs_conf): Likewise.
3162 (__get_phys_pages): Likewise.
3163 (__get_avphys_pages): Likewise.
3164 * time/clock.c (clock): Likewise.
3165 * time/tzset.c (__tzname_max): Likewise.
3167 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3169 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3170 (__bswap_32): Do not use "register".
3171 * crypt/crypt.c (_ufc_doit_r): Likewise.
3172 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3173 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3174 * gmon/gmon.c (__monstartup): Likewise.
3175 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3176 * hurd/hurdmalloc.c (more_memory): Likewise.
3179 (realloc): Likewise.
3180 (malloc_fork_prepare): Likewise.
3181 (malloc_fork_parent): Likewise.
3182 (malloc_fork_child): Likewise.
3183 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3184 (_svcauth_des): Likewise.
3185 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3186 * inet/inet_net.c (inet_network): Likewise.
3187 * inet/inet_netof.c (inet_netof): Likewise.
3188 * inet/rcmd.c (__validuser2_sa): Likewise.
3189 * io/fts.c (fts_open): Likewise.
3190 (fts_load): Likewise.
3191 (fts_close): Likewise.
3192 (fts_read): Likewise.
3193 (fts_children): Likewise.
3194 (fts_build): Likewise.
3195 (fts_stat): Likewise.
3196 (fts_sort): Likewise.
3197 (fts_alloc): Likewise.
3198 (fts_lfree): Likewise.
3199 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3200 (_IO_file_xsgetn): Likewise.
3201 (_IO_file_xsgetn_mmap): Likewise.
3202 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3203 (_IO_cookie_write): Likewise.
3204 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3205 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3206 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3207 * malloc/obstack.c (_obstack_begin): Likewise.
3208 (_obstack_begin_1): Likewise.
3209 (_obstack_newchunk): Likewise.
3210 (_obstack_allocated_p): Likewise.
3211 (obstack_free): Likewise.
3212 (_obstack_memory_used): Likewise.
3213 * misc/getttyent.c (getttynam): Likewise.
3214 (getttyent): Likewise.
3217 * misc/getusershell.c (initshells): Likewise.
3218 * misc/syslog.c (__vsyslog_chk): Likewise.
3219 * misc/ttyslot.c (ttyslot): Likewise.
3220 * nis/nis_hash.c (__nis_hash): Likewise.
3221 * posix/fnmatch_loop.c (FCT): Likewise.
3222 * posix/getconf.c (print_all): Likewise.
3224 * posix/getopt.c (exchange): Likewise.
3225 * posix/glob.c (globfree): Likewise.
3226 (prefix_array): Likewise.
3227 (__glob_pattern_type): Likewise.
3228 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3229 (NS_GET32): Likewise.
3230 (NS_PUT16): Likewise.
3231 (NS_PUT32): Likewise.
3232 * resolv/gethnamaddr.c (getanswer): Likewise.
3233 (gethostbyname2): Likewise.
3234 (gethostbyaddr): Likewise.
3235 (_gethtent): Likewise.
3236 (_gethtbyname2): Likewise.
3237 (_gethtbyaddr): Likewise.
3238 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3239 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3240 * resolv/res_init.c (__res_vinit): Likewise.
3241 (net_mask): Likewise.
3242 * resolv/res_mkquery.c (outchar): Likewise.
3244 * stdio-common/printf_fp.c (outchar): Likewise.
3246 * stdio-common/printf_fphex.c (outchar): Likewise.
3248 * stdio-common/printf_size.c (outchar): Likewise.
3250 * stdio-common/test_rdwr.c (main): Likewise.
3251 * stdio-common/tfformat.c (matches): Likewise.
3252 * stdio-common/vfprintf.c (outchar): Likewise.
3253 (printf_unknown): Likewise.
3254 (buffered_vfprintf): Likewise.
3255 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3256 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3257 (ReadFile): Likewise.
3258 * stdlib/qsort.c (SWAP): Likewise.
3259 (_quicksort): Likewise.
3260 * stdlib/setenv.c (__add_to_environ): Likewise.
3261 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3262 * stdlib/strtol_l.c (__strtol_l): Likewise.
3263 * stdlib/tst-strtod.c (main): Likewise.
3264 * stdlib/tst-strtol.c (main): Likewise.
3265 * stdlib/tst-strtoll.c (main): Likewise.
3266 * string/bits/string2.h (__strcmp_cc): Likewise.
3267 (__strcmp_cg): Likewise.
3268 (__strcspn_c1): Likewise.
3269 (__strcspn_c2): Likewise.
3270 (__strcspn_c3): Likewise.
3271 (__strspn_c1): Likewise.
3272 (__strspn_c2): Likewise.
3273 (__strspn_c3): Likewise.
3274 (__strsep_1c): Likewise.
3275 (__strsep_2c): Likewise.
3276 (__strsep_3c): Likewise.
3277 * string/memccpy.c (__memccpy): Likewise.
3278 * string/stpcpy.c (__stpcpy): Likewise.
3279 * string/strcmp.c (strcmp): Likewise.
3280 * string/strrchr.c (strrchr): Likewise.
3281 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3283 * sysdeps/mach/hurd/getcwd.c
3284 (_hurd_canonicalize_directory_name_internal): Likewise.
3285 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3286 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3287 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3288 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3289 Likewise, in both definitions.
3290 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3292 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3293 64] (__bswap_64): Likewise.
3294 * time/test_time.c (main): Likewise.
3295 * time/tzfile.c (__tzfile_read): Likewise.
3296 (__tzfile_compute): Likewise.
3297 * time/tzset.c (__tzset_parse_tz): Likewise.
3298 (tzset_internal): Likewise.
3299 (compute_change): Likewise.
3300 * wcsmbs/wcscat.c (__wcscat): Likewise.
3301 * wcsmbs/wcschr.c (wcschr): Likewise.
3302 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3303 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3304 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3305 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3306 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3307 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3308 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3309 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3310 * wcsmbs/wmemset.c (wmemset): Likewise.
3312 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3314 * scripts/config.guess: Update to version 2013-05-16.
3315 * scripts/config.sub: Update to version 2013-04-24.
3316 * scripts/install-sh: Update to version 2011-11-20.07.
3317 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3318 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3320 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3322 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3323 * elf/sln.c: Likewise.
3324 * hurd/hurd/ioctl.h: Likewise.
3325 * hurd/hurdmalloc.c: Likewise.
3326 * hurd/xattr.c: Likewise.
3327 * include/shlib-compat.h: Likewise.
3328 * inet/ruserpass.c: Likewise.
3329 * libio/iofgets_u.c: Likewise.
3330 * libio/iofgetws_u.c: Likewise.
3331 * locale/programs/ld-identification.c: Likewise.
3332 * locale/programs/ld-time.c: Likewise.
3333 * mach/msg-destroy.c: Likewise.
3334 * nss/nss_files/files-netgrp.c: Likewise.
3335 * resolv/res_data.c: Likewise.
3336 * soft-fp/op-1.h: Likewise.
3337 * soft-fp/op-2.h: Likewise.
3338 * soft-fp/op-4.h: Likewise.
3339 * soft-fp/op-common.h: Likewise.
3340 * stdio-common/printf_fphex.c: Likewise.
3341 * stdlib/strtod_l.c: Likewise.
3342 * sunrpc/rpc/clnt.h: Likewise.
3343 * sysdeps/generic/framestate.c: Likewise.
3344 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3345 * sysdeps/i386/bsd-setjmp.S: Likewise.
3346 * sysdeps/i386/__longjmp.S: Likewise.
3347 * sysdeps/i386/setjmp.S: Likewise.
3348 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3349 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3350 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3366 * sysdeps/ieee754/support.c: Likewise.
3367 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3368 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3369 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3370 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3371 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3372 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3373 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3374 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3375 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3376 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3377 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3378 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3379 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3380 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3381 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3382 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3383 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3386 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3388 * posix/transbug.c: Remove executable mode.
3390 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3392 * crypt/speeds.c: Remove trailing whitespace.
3393 * dlfcn/default.c: Likewise.
3394 * elf/ifuncdep2.c: Likewise.
3395 * elf/ifuncmain1.c: Likewise.
3396 * elf/ifuncmain1vis.c: Likewise.
3397 * elf/testobj.h: Likewise.
3398 * elf/tst-stackguard1.c: Likewise.
3399 * gmon/sys/gmon.h: Likewise.
3400 * hurd/hurdmsg.c: Likewise.
3401 * hurd/new-fd.c: Likewise.
3402 * hurd/ports-get.c: Likewise.
3403 * iconvdata/ibm1008_420.c: Likewise.
3404 * inet/tst-getni1.c: Likewise.
3405 * inet/tst-getni2.c: Likewise.
3406 * libio/ioungetc.c: Likewise.
3407 * libio/wfiledoalloc.c: Likewise.
3408 * manual/libm-err-tab.pl: Likewise.
3409 * math/w_dremf.c: Likewise.
3410 * misc/ftruncate.c: Likewise.
3411 * posix/bug-glob2.c: Likewise.
3412 * posix/tst-pcre.c: Likewise.
3413 * posix/wait4.c: Likewise.
3414 * resolv/README: Likewise.
3415 * resolv/res_debug.h: Likewise.
3416 * resolv/tst-inet_ntop.c: Likewise.
3417 * setjmp/bug269-setjmp.c: Likewise.
3418 * soft-fp/extended.h: Likewise.
3419 * soft-fp/op-1.h: Likewise.
3420 * soft-fp/op-2.h: Likewise.
3421 * soft-fp/op-4.h: Likewise.
3422 * soft-fp/op-8.h: Likewise.
3423 * soft-fp/testit.c: Likewise.
3424 * stdio-common/bug16.c: Likewise.
3425 * stdlib/random.c: Likewise.
3426 * sunrpc/rpcsvc/rquota.x: Likewise.
3427 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3428 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3429 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3430 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3431 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3432 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3433 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3434 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3436 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3437 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3438 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3439 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3440 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3441 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3442 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3443 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3444 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3445 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3448 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3449 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3450 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3451 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3452 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3453 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3455 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3456 * sysdeps/ieee754/s_lib_version.c: Likewise.
3457 * sysdeps/mach/hurd/check_fds.c: Likewise.
3458 * sysdeps/mach/hurd/getsockname.c: Likewise.
3459 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3460 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3461 * sysdeps/powerpc/bits/link.h: Likewise.
3462 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3463 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3464 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3465 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3466 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3467 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3468 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3469 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3470 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3471 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3472 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3473 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3474 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3475 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3476 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3477 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3478 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3479 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3481 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3483 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3484 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3485 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3486 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3487 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3488 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3489 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3490 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3491 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3492 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3493 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3494 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3495 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3496 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3497 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3498 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3499 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3500 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3501 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3502 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3503 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3504 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3505 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3506 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3507 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3508 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3509 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3510 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3511 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3512 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3514 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3515 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3516 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3517 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3518 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3519 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3520 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3521 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3522 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3523 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3524 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3525 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3526 * sysdeps/powerpc/sysdep.h: Likewise.
3527 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3528 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3529 * sysdeps/sh/dl-trampoline.S: Likewise.
3530 * sysdeps/sh/memset.S: Likewise.
3531 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3532 * sysdeps/sh/strlen.S: Likewise.
3533 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3534 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3535 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3536 * sysdeps/sparc/sparc32/rem.S: Likewise.
3537 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3538 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3539 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3540 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3541 * sysdeps/sparc/sparc32/urem.S: Likewise.
3542 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3543 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3544 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3545 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3547 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3548 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3549 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3550 * sysdeps/unix/bsd/times.c: Likewise.
3551 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3552 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3556 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3557 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3558 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3559 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3560 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3561 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3562 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3563 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3564 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3565 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3566 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3567 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3568 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3569 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3570 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3571 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3572 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3573 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3574 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3575 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3576 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3577 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3578 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3579 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3580 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3581 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3582 * sysdeps/x86_64/strcspn.S: Likewise.
3584 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3586 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3587 generated file. Regenerate properly from gen-translit.pl.
3588 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3589 locale/C-translit.h.
3591 2013-06-05 Andreas Schwab <schwab@suse.de>
3594 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3595 week as 6 instead of -1.
3596 * time/tst-strptime.c (day_tests): Add test case.
3598 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3600 * sysdeps/generic/math_private.h
3601 (libc_feholdexcept_setround_53bit): Replace with
3602 libc_feholdsetround_53bit.
3603 (libc_feupdateenv_53bit): Replace with
3604 libc_feresetround_53bit.
3605 (SET_RESTORE_ROUND_53BIT): Adjust.
3607 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3609 * string/test-strchrnul.c: Add copyright header.
3611 * posix/tst-getaddrinfo4.c: Increase test timeout.
3613 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3616 * math/libm-test.inc (MAX_EXP): Remove
3618 (ulp): Use MIN_EXP - MANT_DIG.
3619 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3621 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3623 * po/be.po: Revert last change.
3624 * po/zh_CN.po: Likewise.
3625 * po/header.pot: Likewise.
3627 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3629 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3630 link-libc-deps to empty as target-specific variable.
3631 * Makerules (link-libc-args): New variable.
3632 (libc-for-link): Likewise.
3633 (link-libc-deps): Likewise.
3634 (lib%.so): Depend on $(link-libc-deps). Link with
3636 (build-module): Link with $(link-libc-args).
3637 (build-module-asneeded): Likewise.
3638 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3640 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3641 target-specific variable.
3642 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3643 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3644 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3646 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3648 ($(objpfx)libpcprofile.so): Likewise.
3649 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3651 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3652 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3653 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3655 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3656 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3657 * login/Makefile ($(objpfx)libutil.so): Likewise.
3658 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3659 * math/Makefile ($(objpfx)libm.so): Likewise.
3660 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3661 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3662 variable instead of depending directly on libc.
3663 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3664 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3666 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3668 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3669 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3670 ($(objpfx)libanl.so): Likewise.
3671 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3673 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3675 * sysdeps/i386/fpu/Makefile: Remove file.
3676 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3677 ($(objpfx)libm.so): Remove dependency on ld.so.
3679 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3682 * nis/yp_xdr.c (XDRMAXNAME): Define.
3683 (XDRMAXRECORD): Define.
3684 (xdr_domainname): Use XDRMAXNAME.
3685 (xdr_mapname): Likewise.
3686 (xdr_peername): Likewise.
3687 (xdr_keydat): Use XDRMAXRECORD.
3688 (xdr_valdat): Likewise.
3690 2013-05-30 Jeff Law <law@redhat.com>
3693 * manual/errno.texi (ESTALE): Update to account for more than
3694 just NFS file systems.
3695 * sysdeps/gnu/errlist.c: Regenerated.
3697 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3700 * elf/Makefile (tests): Add tst-null-argv.
3701 (modules-names): Add tst-null-argv-lib.
3702 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3703 (tst-null-argv-ENV): Set environment for tst-null-argv.
3704 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3705 (RTLD_PROGNAME): New macro.
3706 * elf/tst-null-argv.c: New test case.
3707 * elf/tst-null-argv-lib.c: Library for test case.
3708 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3709 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3710 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3711 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3712 * elf/dl-init.c (call_init): Likewise.
3713 (_dl_init): Likewise.
3714 * elf/dl-load.c (print_search_path): Likewise.
3715 (_dl_map_object): Likewise.
3716 * elf/dl-lookup.c (do_lookup_x): Likewise.
3717 (add_dependency): Likewise.
3718 (_dl_lookup_symbol_x): Likewise.
3719 (_dl_debug_bindings): Likewise.
3720 * elf/dl-open.c (_dl_show_scope): Likewise.
3721 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3722 * elf/dl-version.c (match_symbol): Likewise.
3723 (_dl_check_map_versions): Likewise.
3724 * elf/rtld.c (dl_main): Likewise.
3725 (print_unresolved): Use RTLD_PROGNAME.
3726 (print_missing_version): Likewise.
3727 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3728 (elf_machine_rela): Likewise.
3729 * sysdeps/powerpc/powerpc32/dl-machine.c
3730 (__process_machine_rela): Likewise.
3731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3735 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3737 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3738 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3740 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3742 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3744 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3746 * po/be.po: Add descriptive title.
3747 * po/zh_CN.po: Likewise.
3748 * po/header.pot: Likewise.
3750 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3752 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3754 (enlarge_archive): Likewise.
3756 2013-05-28 Ben North <ben@redfrontdoor.org>
3758 * manual/arith.texi (frexp): It is the magnitude of the return
3759 value which lies in [0.5, 1), not the return value itself.
3761 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3765 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3767 * stdio-common/bug26.c (main): Correct fscanf template.
3769 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3770 declare _dl_skip_args.
3772 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3775 * manual/platform.texi: Add missing @end deftypefun.
3777 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3780 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3781 bit of mantissa of 2^16382.
3782 * math/libm-test.inc (hypot_test_data): Add more tests.
3784 * math/libm-test.inc: Add drem and pow10 to list of tested
3786 (pow10_test): New function.
3787 (drem_test): Likewise.
3788 (drem_test_tonearest): Likewise.
3789 (drem_test_towardzero): Likewise.
3790 (drem_test_downward): Likewise.
3791 (drem_test_upward): Likewise.
3792 (main): Call the new functions.
3794 * math/libm-test.inc (finite_test_data): Remove.
3795 (finite_test): Run tests from isfinite_test_data.
3796 (gamma_test_data): Remove.
3797 (gamma_test): Run tests from lgamma_test_data.
3798 * sysdeps/i386/fpu/libm-test-ulps: Update.
3799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3801 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3803 * manual/platform.texi: Add PowerPC PPR function set documentation.
3804 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3807 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3809 * math/libm-test.inc (MAX_EXP): Define.
3811 (ulp): New function.
3812 (check_float_internal): Use ULPDIFF.
3813 (cpow_test): Disable failing test.
3814 (check_ulp): Test ulp() implemetnation.
3815 (main): Call check_ulp before starting tests.
3817 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3819 * math/gen-libm-test.pl (generate_testfile): Do not handle
3820 START_DATA and END_DATA.
3821 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3823 (acos_tonearest_test_data): Likewise.
3824 (acos_towardzero_test_data): Likewise.
3825 (acos_downward_test_data): Likewise.
3826 (acos_upward_test_data): Likewise.
3827 (acosh_test_data): Likewise.
3828 (asin_test_data): Likewise.
3829 (asin_tonearest_test_data): Likewise.
3830 (asin_towardzero_test_data): Likewise.
3831 (asin_downward_test_data): Likewise.
3832 (asin_upward_test_data): Likewise.
3833 (asinh_test_data): Likewise.
3834 (atan_test_data): Likewise.
3835 (atanh_test_data): Likewise.
3836 (atan2_test_data): Likewise.
3837 (cabs_test_data): Likewise.
3838 (cacos_test_data): Likewise.
3839 (cacosh_test_data): Likewise.
3840 (carg_test_data): Likewise.
3841 (casin_test_data): Likewise.
3842 (casinh_test_data): Likewise.
3843 (catan_test_data): Likewise.
3844 (catanh_test_data): Likewise.
3845 (cbrt_test_data): Likewise.
3846 (ccos_test_data): Likewise.
3847 (ccosh_test_data): Likewise.
3848 (ceil_test_data): Likewise.
3849 (cexp_test_data): Likewise.
3850 (cimag_test_data): Likewise.
3851 (clog_test_data): Likewise.
3852 (clog10_test_data): Likewise.
3853 (conj_test_data): Likewise.
3854 (copysign_test_data): Likewise.
3855 (cos_test_data): Likewise.
3856 (cos_tonearest_test_data): Likewise.
3857 (cos_towardzero_test_data): Likewise.
3858 (cos_downward_test_data): Likewise.
3859 (cos_upward_test_data): Likewise.
3860 (cosh_test_data): Likewise.
3861 (cosh_tonearest_test_data): Likewise.
3862 (cosh_towardzero_test_data): Likewise.
3863 (cosh_downward_test_data): Likewise.
3864 (cosh_upward_test_data): Likewise.
3865 (cpow_test_data): Likewise.
3866 (cproj_test_data): Likewise.
3867 (creal_test_data): Likewise.
3868 (csin_test_data): Likewise.
3869 (csinh_test_data): Likewise.
3870 (csqrt_test_data): Likewise.
3871 (ctan_test_data): Likewise.
3872 (ctan_tonearest_test_data): Likewise.
3873 (ctan_towardzero_test_data): Likewise.
3874 (ctan_downward_test_data): Likewise.
3875 (ctan_upward_test_data): Likewise.
3876 (ctanh_test_data): Likewise.
3877 (ctanh_tonearest_test_data): Likewise.
3878 (ctanh_towardzero_test_data): Likewise.
3879 (ctanh_downward_test_data): Likewise.
3880 (ctanh_upward_test_data): Likewise.
3881 (erf_test_data): Likewise.
3882 (erfc_test_data): Likewise.
3883 (exp_test_data): Likewise.
3884 (exp_tonearest_test_data): Likewise.
3885 (exp_towardzero_test_data): Likewise.
3886 (exp_downward_test_data): Likewise.
3887 (exp_upward_test_data): Likewise.
3888 (exp10_test_data): Likewise.
3889 (exp2_test_data): Likewise.
3890 (expm1_test_data): Likewise.
3891 (fabs_test_data): Likewise.
3892 (fdim_test_data): Likewise.
3893 (finite_test_data): Likewise.
3894 (floor_test_data): Likewise.
3895 (fma_test_data): Likewise.
3896 (fma_towardzero_test_data): Likewise.
3897 (fma_downward_test_data): Likewise.
3898 (fma_upward_test_data): Likewise.
3899 (fmax_test_data): Likewise.
3900 (fmin_test_data): Likewise.
3901 (fmod_test_data): Likewise.
3902 (fpclassify_test_data): Likewise.
3903 (frexp_test_data): Likewise.
3904 (gamma_test_data): Likewise.
3905 (hypot_test_data): Likewise.
3906 (ilogb_test_data): Likewise.
3907 (isfinite_test_data): Likewise.
3908 (isgreater_test_data): Likewise.
3909 (isgreaterequal_test_data): Likewise.
3910 (isinf_test_data): Likewise.
3911 (isless_test_data): Likewise.
3912 (islessequal_test_data): Likewise.
3913 (islessgreater_test_data): Likewise.
3914 (isnan_test_data): Likewise.
3915 (isnormal_test_data): Likewise.
3916 (issignaling_test_data): Likewise.
3917 (isunordered_test_data): Likewise.
3918 (j0_test_data): Likewise.
3919 (j1_test_data): Likewise.
3920 (jn_test_data): Likewise.
3921 (ldexp_test_data): Likewise.
3922 (lgamma_test_data): Likewise.
3923 (lrint_test_data): Likewise.
3924 (lrint_tonearest_test_data): Likewise.
3925 (lrint_towardzero_test_data): Likewise.
3926 (lrint_downward_test_data): Likewise.
3927 (lrint_upward_test_data): Likewise.
3928 (llrint_test_data): Likewise.
3929 (llrint_tonearest_test_data): Likewise.
3930 (llrint_towardzero_test_data): Likewise.
3931 (llrint_downward_test_data): Likewise.
3932 (llrint_upward_test_data): Likewise.
3933 (log_test_data): Likewise.
3934 (log10_test_data): Likewise.
3935 (log1p_test_data): Likewise.
3936 (log2_test_data): Likewise.
3937 (logb_test_data): Likewise.
3938 (logb_downward_test_data): Likewise.
3939 (lround_test_data): Likewise.
3940 (llround_test_data): Likewise.
3941 (modf_test_data): Likewise.
3942 (nearbyint_test_data): Likewise.
3943 (nextafter_test_data): Likewise.
3944 (nexttoward_test_data): Likewise.
3945 (pow_test_data): Likewise.
3946 (pow_tonearest_test_data): Likewise.
3947 (pow_towardzero_test_data): Likewise.
3948 (pow_downward_test_data): Likewise.
3949 (pow_upward_test_data): Likewise.
3950 (remainder_test_data): Likewise.
3951 (remainder_tonearest_test_data): Likewise.
3952 (remainder_towardzero_test_data): Likewise.
3953 (remainder_downward_test_data): Likewise.
3954 (remainder_upward_test_data): Likewise.
3955 (remquo_test_data): Likewise.
3956 (rint_test_data): Likewise.
3957 (rint_tonearest_test_data): Likewise.
3958 (rint_towardzero_test_data): Likewise.
3959 (rint_downward_test_data): Likewise.
3960 (rint_upward_test_data): Likewise.
3961 (round_test_data): Likewise.
3962 (scalb_test_data): Likewise.
3963 (scalbn_test_data): Likewise.
3964 (scalbln_test_data): Likewise.
3965 (signbit_test_data): Likewise.
3966 (sin_test_data): Likewise.
3967 (sin_tonearest_test_data): Likewise.
3968 (sin_towardzero_test_data): Likewise.
3969 (sin_downward_test_data): Likewise.
3970 (sin_upward_test_data): Likewise.
3971 (sincos_test_data): Likewise.
3972 (sinh_test_data): Likewise.
3973 (sinh_tonearest_test_data): Likewise.
3974 (sinh_towardzero_test_data): Likewise.
3975 (sinh_downward_test_data): Likewise.
3976 (sinh_upward_test_data): Likewise.
3977 (sqrt_test_data): Likewise.
3978 (tan_test_data): Likewise.
3979 (tan_tonearest_test_data): Likewise.
3980 (tan_towardzero_test_data): Likewise.
3981 (tan_downward_test_data): Likewise.
3982 (tan_upward_test_data): Likewise.
3983 (tanh_test_data): Likewise.
3984 (tgamma_test_data): Likewise.
3985 (trunc_test_data): Likewise.
3986 (y0_test_data): Likewise.
3987 (y1_test_data): Likewise.
3988 (yn_test_data): Likewise.
3989 (significand_test_data): Likewise.
3991 * math/gen-libm-test.pl (@functions): Remove variable.
3992 (generate_testfile): Don't handle START and END lines.
3993 * math/libm-test.inc (START): New macro.
3995 (END_COMPLEX): Likewise.
3996 (acos_test): Use END macro without arguments.
3997 (acos_test_tonearest): Likewise.
3998 (acos_test_towardzero): Likewise.
3999 (acos_test_downward): Likewise.
4000 (acos_test_upward): Likewise.
4001 (acosh_test): Likewise.
4002 (asin_test): Likewise.
4003 (asin_test_tonearest): Likewise.
4004 (asin_test_towardzero): Likewise.
4005 (asin_test_downward): Likewise.
4006 (asin_test_upward): Likewise.
4007 (asinh_test): Likewise.
4008 (atan_test): Likewise.
4009 (atanh_test): Likewise.
4010 (atan2_test): Likewise.
4011 (cabs_test): Likewise.
4012 (cacos_test): Use END_COMPLEX macro without arguments.
4013 (cacosh_test): Likewise.
4014 (carg_test): Use END macro without arguments.
4015 (casin_test): Use END_COMPLEX macro without arguments.
4016 (casinh_test): Likewise.
4017 (catan_test): Likewise.
4018 (catanh_test): Likewise.
4019 (cbrt_test): Use END macro without arguments.
4020 (ccos_test): Use END_COMPLEX macro without arguments.
4021 (ccosh_test): Likewise.
4022 (ceil_test): Use END macro without arguments.
4023 (cexp_test): Use END_COMPLEX macro without arguments.
4024 (cimag_test): Use END macro without arguments.
4025 (clog_test): Use END_COMPLEX macro without arguments.
4026 (clog10_test): Likewise.
4027 (conj_test): Likewise.
4028 (copysign_test): Use END macro without arguments.
4029 (cos_test): Likewise.
4030 (cos_test_tonearest): Likewise.
4031 (cos_test_towardzero): Likewise.
4032 (cos_test_downward): Likewise.
4033 (cos_test_upward): Likewise.
4034 (cosh_test): Likewise.
4035 (cosh_test_tonearest): Likewise.
4036 (cosh_test_towardzero): Likewise.
4037 (cosh_test_downward): Likewise.
4038 (cosh_test_upward): Likewise.
4039 (cpow_test): Use END_COMPLEX macro without arguments.
4040 (cproj_test): Likewise.
4041 (creal_test): Use END macro without arguments.
4042 (csin_test): Use END_COMPLEX macro without arguments.
4043 (csinh_test): Likewise.
4044 (csqrt_test): Likewise.
4045 (ctan_test): Likewise.
4046 (ctan_test_tonearest): Likewise.
4047 (ctan_test_towardzero): Likewise.
4048 (ctan_test_downward): Likewise.
4049 (ctan_test_upward): Likewise.
4050 (ctanh_test): Likewise.
4051 (ctanh_test_tonearest): Likewise.
4052 (ctanh_test_towardzero): Likewise.
4053 (ctanh_test_downward): Likewise.
4054 (ctanh_test_upward): Likewise.
4055 (erf_test): Use END macro without arguments.
4056 (erfc_test): Likewise.
4057 (exp_test): Likewise.
4058 (exp_test_tonearest): Likewise.
4059 (exp_test_towardzero): Likewise.
4060 (exp_test_downward): Likewise.
4061 (exp_test_upward): Likewise.
4062 (exp10_test): Likewise.
4063 (exp2_test): Likewise.
4064 (expm1_test): Likewise.
4065 (fabs_test): Likewise.
4066 (fdim_test): Likewise.
4067 (finite_test): Likewise.
4068 (floor_test): Likewise.
4069 (fma_test): Likewise.
4070 (fma_test_towardzero): Likewise.
4071 (fma_test_downward): Likewise.
4072 (fma_test_upward): Likewise.
4073 (fmax_test): Likewise.
4074 (fmin_test): Likewise.
4075 (fmod_test): Likewise.
4076 (fpclassify_test): Likewise.
4077 (frexp_test): Likewise.
4078 (gamma_test): Likewise.
4079 (hypot_test): Likewise.
4080 (ilogb_test): Likewise.
4081 (isfinite_test): Likewise.
4082 (isgreater_test): Likewise.
4083 (isgreaterequal_test): Likewise.
4084 (isinf_test): Likewise.
4085 (isless_test): Likewise.
4086 (islessequal_test): Likewise.
4087 (islessgreater_test): Likewise.
4088 (isnan_test): Likewise.
4089 (isnormal_test): Likewise.
4090 (issignaling_test): Likewise.
4091 (isunordered_test): Likewise.
4092 (j0_test): Likewise.
4093 (j1_test): Likewise.
4094 (jn_test): Likewise.
4095 (ldexp_test): Likewise.
4096 (lgamma_test): Likewise.
4097 (lrint_test): Likewise.
4098 (lrint_test_tonearest): Likewise.
4099 (lrint_test_towardzero): Likewise.
4100 (lrint_test_downward): Likewise.
4101 (lrint_test_upward): Likewise.
4102 (llrint_test): Likewise.
4103 (llrint_test_tonearest): Likewise.
4104 (llrint_test_towardzero): Likewise.
4105 (llrint_test_downward): Likewise.
4106 (llrint_test_upward): Likewise.
4107 (log_test): Likewise.
4108 (log10_test): Likewise.
4109 (log1p_test): Likewise.
4110 (log2_test): Likewise.
4111 (logb_test): Likewise.
4112 (logb_test_downward): Likewise.
4113 (lround_test): Likewise.
4114 (llround_test): Likewise.
4115 (modf_test): Likewise.
4116 (nearbyint_test): Likewise.
4117 (nextafter_test): Likewise.
4118 (nexttoward_test): Likewise.
4119 (pow_test): Likewise.
4120 (pow_test_tonearest): Likewise.
4121 (pow_test_towardzero): Likewise.
4122 (pow_test_downward): Likewise.
4123 (pow_test_upward): Likewise.
4124 (remainder_test): Likewise.
4125 (remainder_test_tonearest): Likewise.
4126 (remainder_test_towardzero): Likewise.
4127 (remainder_test_downward): Likewise.
4128 (remainder_test_upward): Likewise.
4129 (remquo_test): Likewise.
4130 (rint_test): Likewise.
4131 (rint_test_tonearest): Likewise.
4132 (rint_test_towardzero): Likewise.
4133 (rint_test_downward): Likewise.
4134 (rint_test_upward): Likewise.
4135 (round_test): Likewise.
4136 (scalb_test): Likewise.
4137 (scalbn_test): Likewise.
4138 (scalbln_test): Likewise.
4139 (signbit_test): Likewise.
4140 (sin_test): Likewise.
4141 (sin_test_tonearest): Likewise.
4142 (sin_test_towardzero): Likewise.
4143 (sin_test_downward): Likewise.
4144 (sin_test_upward): Likewise.
4145 (sincos_test): Likewise.
4146 (sinh_test): Likewise.
4147 (sinh_test_tonearest): Likewise.
4148 (sinh_test_towardzero): Likewise.
4149 (sinh_test_downward): Likewise.
4150 (sinh_test_upward): Likewise.
4151 (sqrt_test): Likewise.
4152 (tan_test): Likewise.
4153 (tan_test_tonearest): Likewise.
4154 (tan_test_towardzero): Likewise.
4155 (tan_test_downward): Likewise.
4156 (tan_test_upward): Likewise.
4157 (tanh_test): Likewise.
4158 (tgamma_test): Likewise.
4159 (trunc_test): Likewise.
4160 (y0_test): Likewise.
4161 (y1_test): Likewise.
4162 (yn_test): Likewise.
4163 (significand_test): Likewise.
4165 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4168 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4170 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4173 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4174 __ppc_mdoio and __ppc_mdoom.
4175 * manual/platform.texi: Document new functions __ppc_yield,
4176 __ppc_mdoio and __ppc_mdoom.
4178 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4180 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4181 (main): Mention "tls" pseudo-hwcap is legacy.
4182 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4184 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4186 * math/gen-libm-test.pl (parse_args): Output only string of
4187 arguments as text for test name, not full call or descriptions of
4188 tests for extra outputs.
4189 (generate_testfile): Do not pass function name to parse_args.
4190 Generate this_func variable from START.
4191 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4193 (struct test_ff_f_data): Likewise.
4194 (test_ff_f_data_nexttoward): Likewise.
4195 (struct test_fi_f_data): Likewise.
4196 (struct test_fl_f_data): Likewise.
4197 (struct test_if_f_data): Likewise.
4198 (struct test_fff_f_data): Likewise.
4199 (struct test_c_f_data): Likewise.
4200 (struct test_f_f1_data): Likewise. Remove field extra_name.
4201 (struct test_fF_f1_data): Likewise.
4202 (struct test_ffI_f1_data): Likewise.
4203 (struct test_c_c_data): Rename test_name field to arg_str.
4204 (struct test_cc_c_data): Likewise.
4205 (struct test_f_i_data): Likewise.
4206 (struct test_ff_i_data): Likewise.
4207 (struct test_f_l_data): Likewise.
4208 (struct test_f_L_data): Likewise.
4209 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4211 (COMMON_TEST_SETUP): New macro.
4212 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4213 (COMMON_TEST_CLEANUP): Likewise.
4214 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4215 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4217 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4218 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4220 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4221 (RUN_TEST_fff_f): Take argument string. Call new setup and
4223 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4224 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4226 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4227 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4229 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4230 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4232 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4233 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4235 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4236 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4238 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4239 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4241 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4242 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4244 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4245 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4247 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4248 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4250 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4251 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4253 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4254 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4256 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4257 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4259 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4260 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4262 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4263 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4265 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4266 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4268 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4270 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4272 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4273 to _sifields.sigfault.
4274 (si_addr_lsb): Define new macro.
4275 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4276 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4277 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4279 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4282 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4284 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4286 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4289 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4291 * math/gen-libm-test.pl (parse_args): Do not include expected
4292 result in test name.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4294 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4295 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4296 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4297 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4300 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4302 * benchtests/Makefile: Sort function entries.
4304 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4305 tanh, asinh, acosh, atanh.
4306 * benchtests/acos-inputs: New file.
4307 * benchtests/acosh-inputs: New file.
4308 * benchtests/asin-inputs: New file.
4309 * benchtests/asinh-inputs: New file.
4310 * benchtests/atanh-inputs: New file.
4311 * benchtests/cosh-inputs: New file.
4312 * benchtests/log-inputs: New file.
4313 * benchtests/sinh-inputs: New file.
4314 * benchtests/tanh-inputs: New file.
4316 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4319 * posix/tst-getaddrinfo4.c: New test.
4320 * posix/Makefile (tests): Add it.
4322 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4325 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4326 when no services were used.
4327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4328 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4330 2013-05-21 Andreas Schwab <schwab@suse.de>
4333 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4334 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4336 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4337 redundant variable declarations and reallocation of buffer when
4338 parsing as IPv6 address. Always set NSS status when called from
4339 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4340 buffer too small. Correct computation of needed size.
4341 * nss/Makefile (tests): Add test-digits-dots.
4342 * nss/test-digits-dots.c: New test.
4344 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4346 * benchtests/Makefile: Remove instructions for adding
4348 * benchtests/README: New file to explain how to execute and
4349 enhance the benchmark tests.
4351 2013-05-21 Andreas Schwab <schwab@suse.de>
4354 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4355 * setjmp/tst-sigsetjmp.c: New test.
4357 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4359 * sysdeps/x86_64/memset.S (memset): New implementation.
4360 (__bzero): Likewise.
4361 (__memset_tail): New function.
4363 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4365 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4366 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4367 __memcpy_sse2_unaligned ifunc selection.
4368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4369 Add memcpy-sse2-unaligned.S.
4370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4371 Add: __memcpy_sse2_unaligned.
4373 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4376 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4377 math_force_eval before restoring floating-point envrionment.
4378 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4381 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4383 (__nearbyintl): Use math_force_eval before restoring
4384 floating-point environment.
4385 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4387 * math/gen-libm-test.pl (special_functions): Remove.
4388 (parse_args): Don't handle TEST_extra. Handle functions with no
4390 * math/libm-test.inc (struct test_sincos_data): Replace with
4391 struct test_fFF_11_data.
4392 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4393 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4394 (sincos_test_data): Change element type to struct
4395 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4396 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4397 RUN_TEST_LOOP_sincos.
4398 * math/README.libm-test: Don't mention special handling of
4399 individual functions.
4400 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4401 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4402 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4403 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4404 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4407 * math/gen-libm-test.pl (get_variable): Remove function.
4408 (parse_args): Don't show pointer parameters to call in test
4409 names. Use "extra output N" in test names for extra outputs
4410 rather than naming variables.
4412 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4415 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4416 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4417 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4419 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4421 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4424 * math/gen-libm-test.pl (@tests): Remove variable.
4426 (new_test): Remove function.
4427 (show_exceptions): New function.
4428 (special_functions): Use show_exceptions instead of new_test.
4429 (parse_args): Likewise.
4430 (generate_testfile): Pass only function name in generated call to
4431 print_max_error or print_complex_max_error.
4432 (get_ulps): Do not handle complex tests specially.
4433 (output_test): Rename to ...
4434 (get_all_ulps_for_test): ... this. Return a string rather than
4435 printing to a file. Require ulps to be present.
4436 (output_ulps): Generate arrays rather than #defines.
4437 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4438 (struct ulp_data): New type.
4439 (BUILD_COMPLEX_ULP): Remove macro.
4440 (compare_ulp_data): New function.
4441 (find_ulps): Likewise.
4442 (find_test_ulps): Likewise.
4443 (find_function_ulps): Likewise.
4444 (find_complex_function_ulps): Likewise.
4445 (print_max_error): Determine allowed ulps using
4447 (print_complex_max_error): Determine allowed ulps using
4448 find_complex_function_ulps.
4449 (check_float_internal): Determine max ulps using find_test_ulps.
4450 (check_float): Do not take max_ulp parameter. Update call to
4451 check_float_internal.
4452 (check_complex): Likewise.
4453 (check_int): Do not take max_ulp parameter.
4454 (check_long): Likewise.
4455 (check_bool): Likewise.
4456 (check_longlong): Likewise.
4457 (struct test_f_f_data): Remove max_ulp field.
4458 (struct test_ff_f_data): Likewise.
4459 (struct test_ff_f_data_nexttoward): Likewise.
4460 (struct test_fi_f_data): Likewise.
4461 (struct test_fl_f_data): Likewise.
4462 (struct test_if_f_data): Likewise.
4463 (struct test_fff_f_data): Likewise.
4464 (struct test_c_f_data): Likewise.
4465 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4466 (struct test_fF_f1_data): Likewise.
4467 (struct test_ffI_f1_data): Likewise.
4468 (struct test_c_c_data): Remove max_ulp field.
4469 (struct test_cc_c_data): Likewise.
4470 (struct test_f_i_data): Likewise.
4471 (struct test_ff_i_data): Likewise.
4472 (struct test_f_l_data): Likewise.
4473 (struct test_f_L_data): Likewise.
4474 (struct test_sincos_data): Likewise.
4475 (RUN_TEST_f_f): Do not handle ulps.
4476 (RUN_TEST_LOOP_f_f): Likewise.
4477 (RUN_TEST_2_f): Likewise.
4478 (RUN_TEST_LOOP_2_f): Likewise.
4479 (RUN_TEST_fff_f): Likewise.
4480 (RUN_TEST_LOOP_fff_f): Likewise.
4481 (RUN_TEST_c_f): Likewise.
4482 (RUN_TEST_LOOP_c_f): Likewise.
4483 (RUN_TEST_f_f1): Likewise.
4484 (RUN_TEST_LOOP_f_f1): Likewise.
4485 (RUN_TEST_fF_f1): Likewise.
4486 (RUN_TEST_LOOP_fF_f1): Likewise.
4487 (RUN_TEST_fI_f1): Likewise.
4488 (RUN_TEST_LOOP_fI_f1): Likewise.
4489 (RUN_TEST_ffI_f1): Likewise.
4490 (RUN_TEST_LOOP_ffI_f1): Likewise.
4491 (RUN_TEST_c_c): Likewise.
4492 (RUN_TEST_LOOP_c_c): Likewise.
4493 (RUN_TEST_cc_c): Likewise.
4494 (RUN_TEST_LOOP_cc_c): Likewise.
4495 (RUN_TEST_f_i): Likewise.
4496 (RUN_TEST_LOOP_f_i): Likewise.
4497 (RUN_TEST_f_i_tg): Likewise.
4498 (RUN_TEST_LOOP_f_i_tg): Likewise.
4499 (RUN_TEST_ff_i_tg): Likewise.
4500 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4501 (RUN_TEST_f_b): Likewise.
4502 (RUN_TEST_LOOP_f_b): Likewise.
4503 (RUN_TEST_f_b_tg): Likewise.
4504 (RUN_TEST_LOOP_f_b_tg): Likewise.
4505 (RUN_TEST_f_l): Likewise.
4506 (RUN_TEST_LOOP_f_l): Likewise.
4507 (RUN_TEST_f_L): Likewise.
4508 (RUN_TEST_LOOP_f_L): Likewise.
4509 (RUN_TEST_sincos): Likewise.
4510 (RUN_TEST_LOOP_sincos): Likewise.
4512 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4516 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4517 main case of finite arguments, set rounding mode to FE_TONEAREST
4518 and discard exceptions.
4519 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4521 (remainder_tonearest_test_data): New variable.
4522 (remainder_test_tonearest): New function.
4523 (remainder_towardzero_test_data): New variable.
4524 (remainder_test_towardzero): New function.
4525 (remainder_downward_test_data): New variable.
4526 (remainder_test_downward): New function.
4527 (remainder_upward_test_data): New variable.
4528 (remainder_test_upward): New function.
4529 (main): Call the new test functions.
4531 * math/libm-test.inc (struct test_f_f1_data): Remove field
4533 (struct test_fF_f1_data): Likewise.
4534 (struct test_ffI_f1_data): Likewise.
4535 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4536 based on value of EXTRA_EXPECTED.
4537 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4538 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4539 EXTRA_VAR based on value of EXTRA_EXPECTED.
4540 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4541 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4542 EXTRA_VAR based on value of EXTRA_EXPECTED.
4543 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4544 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4545 EXTRA_VAR based on value of EXTRA_EXPECTED.
4546 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4547 * math/gen-libm-test.pl (parse_args): Don't output initializers
4548 for extra output values.
4550 * math/libm-test.inc (check_int): Expect result to be exactly
4551 equal to expected value and do not handle ulps.
4552 (check_long): Likewise.
4553 (check_longlong): Likewise.
4555 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4557 (cimag_test_data): Likewise.
4558 (conj_test_data): Likewise.
4559 (copysign_test_data): Likewise.
4560 (cproj_test_data): Likewise.
4561 (creal_test_data): Likewise.
4562 (fabs_test_data): Likewise.
4563 (fdim_test_data): Likewise.
4564 (finite_test_data): Likewise.
4565 (floor_test_data): Likewise.
4566 (fmax_test_data): Likewise.
4567 (fmin_test_data): Likewise.
4568 (fmod_test_data): Likewise.
4569 (fpclassify_test_data): Likewise.
4570 (frexp_test_data): Likewise.
4571 (ilogb_test_data): Likewise.
4572 (isfinite_test_data): Likewise.
4573 (isgreater_test_data): Likewise.
4574 (isgreaterequal_test_data): Likewise.
4575 (isinf_test_data): Likewise.
4576 (isless_test_data): Likewise.
4577 (islessequal_test_data): Likewise.
4578 (islessgreater_test_data): Likewise.
4579 (isnan_test_data): Likewise.
4580 (isnormal_test_data): Likewise.
4581 (issignaling_test_data): Likewise.
4582 (isunordered_test_data): Likewise.
4583 (ldexp_test_data): Likewise.
4584 (lrint_test_data): Likewise.
4585 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4586 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4587 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4588 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4589 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4590 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4592 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4593 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4594 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4595 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4597 (lrint_downward_test_data): Test for "inexact" exceptions.
4598 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4599 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4600 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4602 (lrint_upward_test_data): Test for "inexact" exceptions.
4603 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4605 (llrint_test_data): Test for "inexact" exceptions.
4606 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4607 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4608 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4609 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4610 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4611 (llrint_downward_test_data): Test for "inexact" exceptions.
4612 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4613 (llrint_upward_test_data): Test for "inexact" exceptions.
4614 (logb_test_data): Likewise.
4615 (logb_downward_test_data): Likewise.
4616 (nextafter_test_data): Likewise.
4617 (nexttoward_test_data): Likewise.
4618 (remainder_test_data): Likewise.
4619 (remquo_test_data): Likewise.
4620 (scalbn_test_data): Likewise.
4621 (scalbln_test_data): Likewise.
4622 (signbit_test_data): Likewise.
4623 (sqrt_test_data): Likewise.
4624 (significand_test_data): Likewise.
4626 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4629 * benchtests/bench-modf.c (struct args): Mark arg0 as
4631 * scripts/bench.pl: Mark members of struct args as volatile.
4633 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4636 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4637 negative infinity on POWER6 or lower.
4638 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4640 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4643 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4644 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4645 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4646 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4647 (_FP_SETQNAN): New macro.
4648 (_FP_SETQNAN_SEMIRAW): Likewise.
4649 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4650 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4651 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4652 (FP_EXTEND): Use _FP_FRAC_SNANP.
4653 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4654 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4656 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4658 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4661 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4663 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4664 with DIVIDE_BY_ZERO_EXCEPTION.
4665 (gamma_test_data): Likewise.
4666 (lgamma_test_data): Likewise.
4667 (log_test_data): Likewise.
4668 (log10_test_data): Likewise.
4669 (log2_test_data): Likewise.
4670 (tgamma_test_data): Likewise.
4672 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4673 (acos_test_tonearest): Likewise.
4674 (acos_test_towardzero): Likewise.
4675 (acos_test_downward): Likewise.
4676 (acos_test_upward): Likewise.
4677 (acosh_test): Likewise.
4678 (asin_test): Likewise.
4679 (asin_test_tonearest): Likewise.
4680 (asin_test_towardzero): Likewise.
4681 (asin_test_downward): Likewise.
4682 (asin_test_upward): Likewise.
4683 (asinh_test): Likewise.
4684 (atan_test): Likewise.
4685 (atanh_test): Likewise.
4686 (atan2_test): Likewise.
4687 (cabs_test): Likewise.
4688 (cacos_test): Likewise.
4689 (cacosh_test): Likewise.
4690 (casin_test): Likewise.
4691 (casinh_test): Likewise.
4692 (catan_test): Likewise.
4693 (catanh_test): Likewise.
4694 (cbrt_test): Likewise.
4695 (ccos_test): Likewise.
4696 (ccosh_test): Likewise.
4697 (cexp_test): Likewise.
4698 (clog_test): Likewise.
4699 (clog10_test): Likewise.
4700 (cos_test): Likewise.
4701 (cos_test_tonearest): Likewise.
4702 (cos_test_towardzero): Likewise.
4703 (cos_test_downward): Likewise.
4704 (cos_test_upward): Likewise.
4705 (cosh_test): Likewise.
4706 (cosh_test_tonearest): Likewise.
4707 (cosh_test_towardzero): Likewise.
4708 (cosh_test_downward): Likewise.
4709 (cosh_test_upward): Likewise.
4710 (cpow_test): Likewise.
4711 (csin_test): Likewise.
4712 (csinh_test): Likewise.
4713 (csqrt_test): Likewise.
4714 (ctan_test): Likewise.
4715 (ctan_test_tonearest): Likewise.
4716 (ctan_test_towardzero): Likewise.
4717 (ctan_test_downward): Likewise.
4718 (ctan_test_upward): Likewise.
4719 (ctanh_test): Likewise.
4720 (ctanh_test_tonearest): Likewise.
4721 (ctanh_test_towardzero): Likewise.
4722 (ctanh_test_downward): Likewise.
4723 (ctanh_test_upward): Likewise.
4724 (erf_test): Likewise.
4725 (erfc_test): Likewise.
4726 (exp_test): Likewise.
4727 (exp_test_tonearest): Likewise.
4728 (exp_test_towardzero): Likewise.
4729 (exp_test_downward): Likewise.
4730 (exp_test_upward): Likewise.
4731 (exp10_test): Likewise.
4732 (exp2_test): Likewise.
4733 (expm1_test): Likewise.
4734 (fmod_test): Likewise.
4735 (gamma_test): Likewise.
4736 (hypot_test): Likewise.
4737 (j0_test): Likewise.
4738 (j1_test): Likewise.
4739 (jn_test): Likewise.
4740 (lgamma_test): Likewise.
4741 (log_test): Likewise.
4742 (log10_test): Likewise.
4743 (log1p_test): Likewise.
4744 (log2_test): Likewise.
4745 (logb_test_downward): Likewise.
4746 (pow_test): Likewise.
4747 (pow_test_tonearest): Likewise.
4748 (pow_test_towardzero): Likewise.
4749 (pow_test_downward): Likewise.
4750 (pow_test_upward): Likewise.
4751 (remainder_test): Likewise.
4752 (remquo_test): Likewise.
4753 (sin_test): Likewise.
4754 (sin_test_tonearest): Likewise.
4755 (sin_test_towardzero): Likewise.
4756 (sin_test_downward): Likewise.
4757 (sin_test_upward): Likewise.
4758 (sincos_test): Likewise.
4759 (sinh_test): Likewise.
4760 (sinh_test_tonearest): Likewise.
4761 (sinh_test_towardzero): Likewise.
4762 (sinh_test_downward): Likewise.
4763 (sinh_test_upward): Likewise.
4764 (sqrt_test): Likewise.
4765 (tan_test): Likewise.
4766 (tan_test_tonearest): Likewise.
4767 (tan_test_towardzero): Likewise.
4768 (tan_test_downward): Likewise.
4769 (tan_test_upward): Likewise.
4770 (tanh_test): Likewise.
4771 (tgamma_test): Likewise.
4772 (y0_test): Likewise.
4773 (y1_test): Likewise.
4774 (yn_test): Likewise.
4776 * math/gen-libm-test.pl (adjust_arg): Remove function.
4777 (special_function): Remove argument $in_func. Only handle
4778 generating output for tables of tests, not inside functions.
4779 (parse_args): Likewise.
4780 (generate_testfile): Remove variable $in_func. Update call to
4782 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4783 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4784 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4785 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4786 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4787 (MAX_VALUE_INIT): Rename macro to max_value.
4788 (MIN_VALUE_INIT): Rename macro to min_value.
4789 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4790 (plus_zero): Remove variable.
4791 (minus_zero): Likewise.
4792 (plus_infty): Likewise.
4793 (minus_infty): Likewise.
4794 (qnan_value): Likewise.
4795 (max_value): Likewise.
4796 (min_value): Likewise.
4797 (min_subnorm_value): Likewise.
4799 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4801 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4802 uint64_t or uint32_t usage.
4803 * crypt/sha256-block.c: Likewise.
4804 * crypt/sha256-crypt.c: Likewise.
4805 * crypt/sha256.c: Likewise.
4806 * crypt/sha512-block.c: Likewise.
4807 * crypt/sha512-crypt.c: Likewise.
4808 * crypt/sha512.c: Likewise.
4809 * debug/backtrace-tst.c: Likewise.
4810 * debug/pcprofiledump.c: Likewise.
4811 * elf/cache.c: Likewise.
4812 * elf/dl-cache.c: Likewise.
4813 * elf/dl-misc.c: Likewise.
4814 * elf/dl-profile.c: Likewise.
4815 * elf/dl-support.c: Likewise.
4816 * elf/ldconfig.c: Likewise.
4817 * elf/sprof.c: Likewise.
4818 * iconv/dummy-repertoire.c: Likewise.
4819 * iconv/iconv_charmap.c: Likewise.
4820 * iconv/skeleton.c: Likewise.
4821 * iconvdata/8bit-generic.c: Likewise.
4822 * iconvdata/cp737.h: Likewise.
4823 * iconvdata/cp775.h: Likewise.
4824 * iconvdata/ibm1008.h: Likewise.
4825 * iconvdata/ibm1025.h: Likewise.
4826 * iconvdata/ibm1046.h: Likewise.
4827 * iconvdata/ibm1097.h: Likewise.
4828 * iconvdata/ibm1112.h: Likewise.
4829 * iconvdata/ibm1122.h: Likewise.
4830 * iconvdata/ibm1123.h: Likewise.
4831 * iconvdata/ibm1124.h: Likewise.
4832 * iconvdata/ibm1129.h: Likewise.
4833 * iconvdata/ibm1130.h: Likewise.
4834 * iconvdata/ibm1132.h: Likewise.
4835 * iconvdata/ibm1133.h: Likewise.
4836 * iconvdata/ibm1137.h: Likewise.
4837 * iconvdata/ibm1140.h: Likewise.
4838 * iconvdata/ibm1141.h: Likewise.
4839 * iconvdata/ibm1142.h: Likewise.
4840 * iconvdata/ibm1143.h: Likewise.
4841 * iconvdata/ibm1144.h: Likewise.
4842 * iconvdata/ibm1145.h: Likewise.
4843 * iconvdata/ibm1146.h: Likewise.
4844 * iconvdata/ibm1147.h: Likewise.
4845 * iconvdata/ibm1148.h: Likewise.
4846 * iconvdata/ibm1149.h: Likewise.
4847 * iconvdata/ibm1153.h: Likewise.
4848 * iconvdata/ibm1154.h: Likewise.
4849 * iconvdata/ibm1155.h: Likewise.
4850 * iconvdata/ibm1156.h: Likewise.
4851 * iconvdata/ibm1157.h: Likewise.
4852 * iconvdata/ibm1158.h: Likewise.
4853 * iconvdata/ibm1160.h: Likewise.
4854 * iconvdata/ibm1161.h: Likewise.
4855 * iconvdata/ibm1162.h: Likewise.
4856 * iconvdata/ibm1163.h: Likewise.
4857 * iconvdata/ibm1164.h: Likewise.
4858 * iconvdata/ibm1166.h: Likewise.
4859 * iconvdata/ibm1167.h: Likewise.
4860 * iconvdata/ibm12712.h: Likewise.
4861 * iconvdata/ibm1390.h: Likewise.
4862 * iconvdata/ibm1399.h: Likewise.
4863 * iconvdata/ibm16804.h: Likewise.
4864 * iconvdata/ibm4517.h: Likewise.
4865 * iconvdata/ibm4899.h: Likewise.
4866 * iconvdata/ibm4909.h: Likewise.
4867 * iconvdata/ibm4971.h: Likewise.
4868 * iconvdata/ibm5347.h: Likewise.
4869 * iconvdata/ibm803.h: Likewise.
4870 * iconvdata/ibm856.h: Likewise.
4871 * iconvdata/ibm901.h: Likewise.
4872 * iconvdata/ibm902.h: Likewise.
4873 * iconvdata/ibm9030.h: Likewise.
4874 * iconvdata/ibm9066.h: Likewise.
4875 * iconvdata/ibm921.h: Likewise.
4876 * iconvdata/ibm922.h: Likewise.
4877 * iconvdata/ibm9448.h: Likewise.
4878 * iconvdata/isiri-3342.h: Likewise.
4879 * iconvdata/jis0201.h: Likewise.
4880 * include/link.h: Likewise.
4881 * include/netdb.h: Likewise.
4882 * inet/check_native.c: Likewise.
4883 * inet/check_pf.c: Likewise.
4884 * inet/getipv4sourcefilter.c: Likewise.
4885 * inet/getnameinfo.c: Likewise.
4886 * inet/getsourcefilter.c: Likewise.
4887 * inet/htonl.c: Likewise.
4888 * inet/setipv4sourcefilter.c: Likewise.
4889 * inet/setsourcefilter.c: Likewise.
4890 * inet/test-inet6_opt.c: Likewise.
4891 * inet/tst-network.c: Likewise.
4892 * locale/C-collate.c: Likewise.
4893 * locale/C-ctype.c: Likewise.
4894 * locale/C-time.c: Likewise.
4895 * locale/C-translit.h: Likewise.
4896 * locale/loadarchive.c: Likewise.
4897 * locale/programs/3level.h: Likewise.
4898 * locale/programs/charmap.c: Likewise.
4899 * locale/programs/charmap.h: Likewise.
4900 * locale/programs/ld-address.c: Likewise.
4901 * locale/programs/ld-collate.c: Likewise.
4902 * locale/programs/ld-ctype.c: Likewise.
4903 * locale/programs/ld-identification.c: Likewise.
4904 * locale/programs/ld-measurement.c: Likewise.
4905 * locale/programs/ld-messages.c: Likewise.
4906 * locale/programs/ld-monetary.c: Likewise.
4907 * locale/programs/ld-name.c: Likewise.
4908 * locale/programs/ld-numeric.c: Likewise.
4909 * locale/programs/ld-paper.c: Likewise.
4910 * locale/programs/ld-telephone.c: Likewise.
4911 * locale/programs/ld-time.c: Likewise.
4912 * locale/programs/linereader.c: Likewise.
4913 * locale/programs/locale.c: Likewise.
4914 * locale/programs/locarchive.c: Likewise.
4915 * locale/programs/locfile.h: Likewise.
4916 * locale/programs/repertoire.c: Likewise.
4917 * locale/programs/simple-hash.c: Likewise.
4918 * locale/programs/simple-hash.h: Likewise.
4919 * malloc/memusage.c: Likewise.
4920 * malloc/memusagestat.c: Likewise.
4921 * nis/nis_defaults.c: Likewise.
4922 * nis/nis_hash.c: Likewise.
4923 * nis/nis_print.c: Likewise.
4924 * nis/nis_xdr.c: Likewise.
4925 * nscd/connections.c: Likewise.
4926 * nscd/hstcache.c: Likewise.
4927 * nscd/nscd_gethst_r.c: Likewise.
4928 * nscd/nscd_getserv_r.c: Likewise.
4929 * nscd/nscd_helper.c: Likewise.
4930 * nscd/servicescache.c: Likewise.
4931 * nss/makedb.c: Likewise.
4932 * nss/nss_db/db-XXX.c: Likewise.
4933 * nss/nss_db/db-initgroups.c: Likewise.
4934 * nss/nss_db/db-netgrp.c: Likewise.
4935 * nss/nss_files/files-network.c: Likewise.
4936 * nss/nss_files/files-parse.c: Likewise.
4937 * posix/bug-regex5.c: Likewise.
4938 * posix/fnmatch_loop.c: Likewise.
4939 * posix/regcomp.c: Likewise.
4940 * posix/regexec.c: Likewise.
4941 * posix/tst-rfc3484-2.c: Likewise.
4942 * posix/tst-rfc3484-3.c: Likewise.
4943 * posix/tst-rfc3484.c: Likewise.
4944 * resolv/nss_dns/dns-canon.c: Likewise.
4945 * resolv/nss_dns/dns-network.c: Likewise.
4946 * resolv/res_init.c: Likewise.
4947 * resolv/res_mkquery.c: Likewise.
4948 * resolv/tst-aton.c: Likewise.
4949 * stdlib/cxa_atexit.c: Likewise.
4950 * stdlib/cxa_finalize.c: Likewise.
4951 * stdlib/gen-fpioconst.c: Likewise.
4952 * stdlib/strtol_l.c: Likewise.
4953 * string/tst-endian.c: Likewise.
4954 * sunrpc/auth_des.c: Likewise.
4955 * sunrpc/clnt_udp.c: Likewise.
4956 * sunrpc/rtime.c: Likewise.
4957 * sunrpc/svcauth_des.c: Likewise.
4958 * sunrpc/xdr.c: Likewise.
4959 * sunrpc/xdr_intXX_t.c: Likewise.
4960 * sunrpc/xdr_rec.c: Likewise.
4961 * sysdeps/generic/ldconfig.h: Likewise.
4962 * sysdeps/generic/ldsodefs.h: Likewise.
4963 * sysdeps/generic/memusage.h: Likewise.
4964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4967 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4973 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4974 * sysdeps/posix/getaddrinfo.c: Likewise.
4975 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4976 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4977 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4978 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4979 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4980 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4981 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4982 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4983 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4984 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4985 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4986 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4987 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4988 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4989 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4990 * sysdeps/x86_64/dl-tls.h: Likewise.
4991 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4992 * time/alt_digit.c: Likewise.
4993 * time/era.c: Likewise.
4994 * wcsmbs/tst-c16c32-1.c: Likewise.
4996 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4998 * math/libm-test.inc (struct test_sincos_data): New type.
4999 (RUN_TEST_LOOP_sincos): New macro.
5000 (sincos_test_data): New variable.
5001 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5003 2013-05-16 Richard Henderson <rth@redhat.com>
5005 * math/atest-exp2.c (LIMB64): New macro.
5006 (CONSTSZ): New macro.
5007 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5009 (print_mpn_fp): ... to function scope.
5010 (read_mpn_hex): Remove.
5012 (exp2_mpn): Use mp_log2.
5013 (main): Use mp_exp1.
5015 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5017 * math/libm-test.inc: Remove comment about not testing "inexact"
5019 (INEXACT_EXCEPTION): New macro.
5020 (NO_INEXACT_EXCEPTION): Likewise.
5021 (INVALID_EXCEPTION_OK): Update value.
5022 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5023 (OVERFLOW_EXCEPTION_OK): Likewise.
5024 (UNDERFLOW_EXCEPTION_OK): Likewise.
5025 (IGNORE_ZERO_INF_SIGN): Likewise.
5026 (ERRNO_UNCHANGED): Likewise.
5027 (ERRNO_EDOM): Likewise.
5028 (ERRNO_ERANGE): Likewise.
5029 (test_exceptions): Handle testing "inexact" exceptions.
5030 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5031 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5032 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5033 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5035 (rint_towardzero_test_data): Likewise.
5036 (rint_downward_test_data): Likewise.
5037 (rint_upward_test_data): Likewise.
5039 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5040 with OVERFLOW_EXCEPTION.
5041 (exp10_test_data): Likewise.
5042 (exp2_test_data): Likewise.
5043 (expm1_test_data): Likewise.
5044 (lgamma_test_data): Likewise.
5045 (pow_test_data): Likewise.
5046 (tgamma_test_data): Likewise.
5047 (yn_test_data): Remove duplicate test of overflow.
5049 * math/libm-test.inc (struct test_cc_c_data): New type.
5050 (RUN_TEST_LOOP_cc_c): New macro.
5051 (cpow_test_data): New variable.
5052 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5054 * math/libm-test.inc (struct test_f_L_data): New type.
5055 (RUN_TEST_LOOP_f_L): New macro.
5056 (llrint_test_data): New variable.
5057 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5058 (llrint_tonearest_test_data): New variable.
5059 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5060 (llrint_towardzero_test_data): New variable.
5061 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5062 (llrint_downward_test_data): New variable.
5063 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5064 (llrint_upward_test_data): New variable.
5065 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5066 (llround_test_data): New variable.
5067 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5069 2013-05-13 Peter Collingbourne <pcc@google.com>
5071 * math/atest-exp2.c (get_log2): Remove const attribute.
5073 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5075 * math/libm-test.inc (struct test_f_l_data): New type.
5076 (RUN_TEST_LOOP_f_l): New macro.
5077 (lrint_test_data): New variable.
5078 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5079 (lrint_tonearest_test_data): New variable.
5080 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5081 (lrint_towardzero_test_data): New variable.
5082 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5083 (lrint_downward_test_data): New variable.
5084 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5085 (lrint_upward_test_data): New variable.
5086 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5087 (lround_test_data): New variable.
5088 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5090 2013-05-15 Peter Collingbourne <pcc@google.com>
5092 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5093 (EXTRACT_WORDS64) Use where appropriate.
5094 (INSERT_WORDS64) Likewise.
5096 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5097 constraints with x constraints.
5098 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5100 * malloc/obstack.c (_obstack_compat): Add initializer.
5102 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5104 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5105 si_trapno and add si_addr_lsb to _sifields.sigfault.
5106 (si_trapno): Remove macro.
5107 (si_addr_lsb): Define new macro.
5108 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5110 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5112 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5113 instead of TEST_f_l.
5114 (llrint_test_tonearest): Likewise.
5115 (llrint_test_towardzero): Likewise.
5116 (llrint_test_downward): Likewise.
5117 (llrint_test_upward): Likewise.
5118 (llround_test): Likewise.
5120 * math/libm-test.inc (struct test_f_i_data): Add comment.
5121 (RUN_TEST_LOOP_f_b): New macro.
5122 (RUN_TEST_LOOP_f_b_tg): Likewise.
5123 (finite_test_data): New variable.
5124 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5125 (isfinite_test_data): New variable.
5126 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5127 (isinf_test_data): New variable.
5128 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5129 (isnan_test_data): New variable.
5130 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5131 (isnormal_test_data): New variable.
5132 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5133 (issignaling_test_data): New variable.
5134 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5135 (signbit_test_data): New variable.
5136 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5138 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5139 with INVALID_EXCEPTION.
5140 (acosh_test_data): Likewise.
5141 (asin_test_data): Likewise.
5142 (atanh_test_data): Likewise.
5143 (fmod_test_data): Likewise.
5144 (log_test_data): Likewise.
5145 (log10_test_data): Likewise.
5146 (log2_test_data): Likewise.
5147 (pow_test_data): Likewise.
5148 (sqrt_test_data): Likewise.
5149 (y0_test_data): Likewise.
5150 (y1_test_data): Likewise.
5151 (yn_test_data): Likewise.
5153 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5156 * math/libm-test.inc (struct test_ff_i_data): New type.
5157 (RUN_TEST_LOOP_ff_i_tg): New macro.
5158 (isgreater_test_data): New variable.
5159 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5160 (isgreaterequal_test_data): New variable.
5161 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5162 (isless_test_data): New variable.
5163 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5164 (islessequal_test_data): New variable.
5165 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5166 (islessgreater_test_data): New variable.
5167 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5168 (isunordered_test_data): New variable.
5169 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5171 2013-05-14 David S. Miller <davem@davemloft.net>
5173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5175 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5177 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5179 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5181 (struct test_f_i_data): Change type of max_ulp to int.
5183 * math/libm-test.inc (test_ffI_f1_data): New type.
5184 (RUN_TEST_LOOP_ffI_f1): New macro.
5185 (remquo_test_data): New variable.
5186 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5188 * setjmp/tst-setjmp-fp.c: New file.
5189 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5190 (link-libm): New variable.
5191 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5193 * math/libm-test.inc (struct test_f_i_data): New type.
5194 (RUN_TEST_LOOP_f_i): New macro.
5195 (RUN_TEST_LOOP_f_i_tg): Likewise.
5196 (fpclassify_test_data): New variable.
5197 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5198 (ilogb_test_data): New variable.
5199 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5201 * math/libm-test.inc (scalbln_test): Correct function name in END
5204 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5205 (RUN_TEST_LOOP_fI_f1): New macro.
5206 (frexp_test_data): New variable.
5207 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5209 * math/libm-test.inc (struct test_fF_f1_data): New type.
5210 (RUN_TEST_LOOP_fF_f1): New macro.
5211 (modf_test_data): New variable.
5212 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5214 * math/libm-test.inc (struct test_f_f1_data): New type.
5215 (RUN_TEST_LOOP_f_f1): New macro.
5216 (gamma_test_data): New variable.
5217 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5218 (lgamma_test_data): New variable.
5219 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5221 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5223 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5224 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5225 (main): Comment "tls" pseudo-hwcap.
5227 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5229 * math/libm-test.inc (struct test_fl_f_data): New type.
5230 (RUN_TEST_LOOP_fl_f): New variable.
5231 (scalbln_test_data): New variable.
5232 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5234 * math/libm-test.inc (struct test_fi_f_data): New type.
5235 (RUN_TEST_LOOP_fi_f): New macro.
5236 (ldexp_test_data): New variable.
5237 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5238 (scalbn_test_data): New variable.
5239 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5241 * math/libm-test.inc (struct test_c_f_data): New type.
5242 (RUN_TEST_LOOP_c_f): New macro.
5243 (cabs_test_data): New variable.
5244 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5245 (carg_test_data): New variable.
5246 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5247 (cimag_test_data): New variable.
5248 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5249 (creal_test_data): New variable.
5250 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5252 * math/libm-test.inc (struct test_if_f_data): New type.
5253 (RUN_TEST_LOOP_if_f): New macro.
5254 (jn_test_data): New variable.
5255 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5256 (yn_test_data): New variable.
5257 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5259 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5261 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5264 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5266 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5268 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5269 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5270 (bench-deps): Add bench-timing.h.
5271 * benchtests-bench-skeleton.c: Include bench-timing.h.
5272 (main): Use TIMING_* macros instead of clock_gettime.
5273 * benchtests/bench-timing.h: New file.
5276 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5277 Renamed from _LIB_VERSION.
5278 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5280 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5282 * math/libm-test.inc (struct test_fff_f_data): New type.
5283 (RUN_TEST_LOOP_fff_f): New macro.
5284 (fma_test_data): New variable.
5285 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5286 (fma_towardzero_test_data): New variable.
5287 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5288 (fma_downward_test_data): New variable.
5289 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5290 (fma_upward_test_data): New variable.
5291 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5293 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5294 (struct test_c_c_data): New type.
5295 (RUN_TEST_LOOP_c_c): New macro.
5296 (cacos_test_data): New variable.
5297 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5298 (cacosh_test_data): New variable.
5299 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5300 (casin_test_data): New variable.
5301 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5302 (casinh_test_data): New variable.
5303 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5304 (catan_test_data): New variable.
5305 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5306 (catanh_test_data): New variable.
5307 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5308 (ccos_test_data): New variable.
5309 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5310 (ccosh_test_data): New variable.
5311 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5312 (cexp_test_data): New variable.
5313 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5314 (clog_test_data): New variable.
5315 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5316 (clog10_test_data): New variable.
5317 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5318 (conj_test_data): New variable.
5319 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5320 (cproj_test_data): New variable.
5321 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5322 (csin_test_data): New variable.
5323 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5324 (csinh_test_data): New variable.
5325 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5326 (csqrt_test_data): New variable.
5327 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5328 (ctan_test_data): New variable.
5329 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5330 (ctan_tonearest_test_data): New variable.
5331 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5332 (ctan_towardzero_test_data): New variable.
5333 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5334 (ctan_downward_test_data): New variable.
5335 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5336 (ctan_upward_test_data): New variable.
5337 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5338 (ctanh_test_data): New variable.
5339 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5340 (ctanh_tonearest_test_data): New variable.
5341 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5342 (ctanh_towardzero_test_data): New variable.
5343 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5344 (ctanh_downward_test_data): New variable.
5345 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5346 (ctanh_upward_test_data): New variable.
5347 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5348 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5351 * math/libm-test.inc (struct test_ff_f_data): New type.
5352 (struct test_ff_f_data_nexttoward): Likewise.
5353 (RUN_TEST_LOOP_2_f): New macro.
5354 (RUN_TEST_LOOP_ff_f): Likewise.
5355 (atan2_test_data): New variable.
5356 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5357 (copysign_test_data): New variable.
5358 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5359 (fdim_test_data): New variable.
5360 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5361 (fmax_test_data): New variable.
5362 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5363 (fmin_test_data): New variable.
5364 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5365 (fmod_test_data): New variable.
5366 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5367 (hypot_test_data): New variable.
5368 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5369 (nextafter_test_data): New variable.
5370 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5371 (nexttoward_test_data): New variable.
5372 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5373 (pow_test_data): New variable.
5374 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5375 (pow_tonearest_test_data): New variable.
5376 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5377 (pow_towardzero_test_data): New variable.
5378 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5379 (pow_downward_test_data): New variable.
5380 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5381 (pow_upward_test_data): New variable.
5382 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5383 (remainder_test_data): New variable.
5384 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5385 (scalb_test_data): New variable.
5386 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5387 * sysdeps/i386/fpu/libm-test-ulps: Update.
5389 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5391 * math/libm-test.inc (fma_test): Use max_value instead of local
5393 (nextafter_test): Likewise.
5395 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5396 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5397 (acos_downward_test_data): New variable.
5398 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5399 (acos_upward_test_data): New variable.
5400 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5401 (acosh_test_data): New variable.
5402 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5403 (asin_test_data): New variable.
5404 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5405 (asin_tonearest_test_data): New variable.
5406 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5407 (asin_towardzero_test_data): New variable.
5408 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5409 (asin_downward_test_data): New variable.
5410 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5411 (asin_upward_test_data): New variable.
5412 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5413 (asinh_test_data): New variable.
5414 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5415 (atan_test_data): New variable.
5416 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5417 (atanh_test_data): New variable.
5418 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5419 (cbrt_test_data): New variable.
5420 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5421 (ceil_test_data): New variable.
5422 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5423 (cos_test_data): New variable.
5424 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5425 (cos_tonearest_test_data): New variable.
5426 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5427 (cos_towardzero_test_data): New variable.
5428 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5429 (cos_downward_test_data): New variable.
5430 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5431 (cos_upward_test_data): New variable.
5432 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5433 (cosh_test_data): New variable.
5434 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5435 (cosh_tonearest_test_data): New variable.
5436 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5437 (cosh_towardzero_test_data): New variable.
5438 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5439 (cosh_downward_test_data): New variable.
5440 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5441 (cosh_upward_test_data): New variable.
5442 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5443 (erf_test_data): New variable.
5444 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5445 (erfc_test_data): New variable.
5446 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5447 (exp_test_data): New variable.
5448 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5449 (exp_tonearest_test_data): New variable.
5450 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5451 (exp_towardzero_test_data): New variable.
5452 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5453 (exp_downward_test_data): New variable.
5454 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5455 (exp_upward_test_data): New variable.
5456 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5457 (exp10_test_data): New variable.
5458 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5459 (exp2_test_data): New variable.
5460 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5461 (expm1_test_data): New variable.
5462 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5463 (fabs_test_data): New variable.
5464 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5465 (floor_test_data): New variable.
5466 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5467 (j0_test_data): New variable.
5468 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5469 (j1_test_data): New variable.
5470 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5471 (log_test_data): New variable.
5472 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5473 (log10_test_data): New variable.
5474 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5475 (log1p_test_data): New variable.
5476 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5477 (log2_test_data): New variable.
5478 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5479 (logb_test_data): New variable.
5480 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5481 (logb_downward_test_data): New variable.
5482 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5483 (nearbyint_test_data): New variable.
5484 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5485 (rint_test_data): New variable.
5486 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5487 (rint_tonearest_test_data): New variable.
5488 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5489 (rint_towardzero_test_data): New variable.
5490 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5491 (rint_downward_test_data): New variable.
5492 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5493 (rint_upward_test_data): New variable.
5494 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5495 (round_test_data): New variable.
5496 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5497 (sin_test_data): New variable.
5498 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5499 (sin_tonearest_test_data): New variable.
5500 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5501 (sin_towardzero_test_data): New variable.
5502 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5503 (sin_downward_test_data): New variable.
5504 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5505 (sin_upward_test_data): New variable.
5506 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5507 (sinh_test_data): New variable.
5508 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5509 (sinh_tonearest_test_data): New variable.
5510 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5511 (sinh_towardzero_test_data): New variable.
5512 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5513 (sinh_downward_test_data): New variable.
5514 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5515 (sinh_upward_test_data): New variable.
5516 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5517 (sqrt_test_data): New variable.
5518 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5519 (tan_test_data): New variable.
5520 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5521 (tan_tonearest_test_data): New variable.
5522 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5523 (tan_towardzero_test_data): New variable.
5524 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5525 (tan_downward_test_data): New variable.
5526 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5527 (tan_upward_test_data): New variable.
5528 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5529 (tanh_test_data): New variable.
5530 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5531 (tgamma_test_data): New variable.
5532 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5533 (trunc_test_data): New variable.
5534 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5535 (y0_test_data): New variable.
5536 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5537 (y1_test_data): New variable.
5538 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5539 (significand_test_data): New variable.
5540 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5542 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5545 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5547 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5549 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5551 2013-05-10 Andreas Jaeger <aj@suse.de>
5554 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5555 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5557 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5559 * math/gen-libm-test.pl (adjust_arg): New function.
5560 (special_functions): Handle generating output in both functions
5562 (parse_args): Likewise.
5563 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5564 $in_func argument to parse_args.
5565 * math/libm-test.inc (struct test_f_f_data): New type.
5566 (IF_ROUND_INIT_): New macro.
5567 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5568 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5569 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5570 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5571 (ROUND_RESTORE_): Likewise.
5572 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5573 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5574 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5575 (ROUND_RESTORE_FE_UPWARD): Likewise.
5576 (RUN_TEST_LOOP_f_f): New macro.
5577 (acos_test_data): New variable.
5578 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5579 (acos_tonearest_test_data): New variable.
5580 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5582 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5584 * benchtests/bench-skeleton.c (startup): Fix coding style.
5586 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5589 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5590 negative infinity argument.
5591 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5592 negative infinity argument.
5593 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5594 negative infinity argument.
5595 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5598 2013-05-10 Florian Weimer <fweimer@redhat.com>
5600 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5601 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5602 * iconv/iconv_prog.c (main): Likewise.
5603 * locale/programs/charmap-dir.c (charmap_readdir)
5604 (fopen_uncompressed): Likewise.
5605 * locale/programs/locfile.c (siblings_uncached)
5606 (write_locale_data): Use lstat64 instead of lstat.
5607 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5610 2013-05-10 Andreas Jaeger <aj@suse.de>
5613 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5617 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5619 * elf/dl-close.c (_dl_close_worker): Add comments.
5621 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5624 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5626 (__ieee754_rem_pio2l): Update comments.
5629 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5631 (__ieee754_rem_pio2l): Update comments.
5633 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5634 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5636 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5639 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5640 (M_PI_34_LOG10El): Likewise.
5641 (M_PI2_LOG10El): Likewise.
5642 (M_PI4_LOG10El): Likewise.
5643 (M_PI_LOG10El): Likewise.
5645 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5649 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5651 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5652 (MINUS_ZERO_INIT): Likewise.
5653 (PLUS_INFTY_INIT): Likewise.
5654 (MINUS_INFTY_INIT): Likewise.
5655 (QNAN_VALUE_INIT): Likewise.
5656 (MAX_VALUE_INIT): Likewise.
5657 (MIN_VALUE_INIT): Likewise.
5658 (MIN_SUBNORM_VALUE_INIT): Likewise.
5659 (plus_zero): Initialize with PLUS_ZERO_INIT.
5660 (minus_zero): Initialize with MINUS_ZERO_INIT.
5661 (plus_infty): Initialize with PLUS_INFTY_INIT.
5662 (minus_infty): Initialize with MINUS_INFTY_INIT.
5663 (qnan_value): Initialize with QNAN_VALUE_INIT.
5664 (max_value): Initialize with MAX_VALUE_INIT.
5665 (min_value): Initialize with MIN_VALUE_INIT.
5666 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5668 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5669 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5670 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5671 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5673 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5674 (RUN_TEST_2_f): Likewise.
5675 (RUN_TEST_ff_f): Likewise.
5676 (RUN_TEST_fi_f): Likewise.
5677 (RUN_TEST_fl_f): Likewise.
5678 (RUN_TEST_fff_f): Likewise.
5679 (RUN_TEST_c_f): Likewise.
5680 (RUN_TEST_f_f1): Likewise.
5681 (RUN_TEST_fF_f1): Likewise.
5682 (RUN_TEST_fI_f1): Likewise.
5683 (RUN_TEST_ffI_f1): Likewise.
5684 (RUN_TEST_c_c): Likewise.
5685 (RUN_TEST_cc_c): Likewise.
5686 (RUN_TEST_f_i): Likewise.
5687 (RUN_TEST_f_i_tg): Likewise.
5688 (RUN_TEST_ff_i_tg): Likewise.
5689 (RUN_TEST_f_b): Likewise.
5690 (RUN_TEST_f_b_tg): Likewise.
5691 (RUN_TEST_f_l): Likewise.
5692 (RUN_TEST_f_L): Likewise.
5693 (RUN_TEST_sincos): Likewise.
5694 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5695 whether to show exceptions. Do not include ");\n" in return
5697 (special_functions): Output call to RUN_TEST_sincos instead of
5698 check_float calls. Update calls to new_test.
5699 (parse_args): Output call to single RUN_TEST_* macro instead of
5700 check_* calls and other assignments. Update calls to new_test.
5706 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5707 input to result for tgamma overflow.
5708 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5709 (gamma_coeff): New variable.
5710 (NCOEFF): New macro.
5711 (gamma_positive): New function.
5712 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5713 underflow here. Use gamma_positive instead of exp (lgamma) for
5715 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5716 (gamma_coeff): New variable.
5717 (NCOEFF): New macro.
5718 (gammaf_positive): New function.
5719 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5720 underflow here. Use gamma_positive instead of exp (lgamma) for
5722 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5723 (gamma_coeff): New variable.
5724 (NCOEFF): New macro.
5725 (gammal_positive): New function.
5726 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5727 underflow here. Use gamma_positive instead of exp (lgamma) for
5729 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5730 (gamma_coeff): New variable.
5731 (NCOEFF): New macro.
5732 (gammal_positive): New function.
5733 (__ieee754_gammal_r): Handle positive infinity, overflow and
5734 underflow here. Handle NaN the same as positive infinity. Remove
5735 check x < 0xffffffff for negative integers. Use gamma_positive
5736 instead of exp (lgamma) for other arguments.
5737 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5738 (gamma_coeff): New variable.
5739 (NCOEFF): New macro.
5740 (gammal_positive): New function.
5741 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5742 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5746 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5747 * sysdeps/generic/math_private.h (__gamma_productf): New
5749 (__gamma_product): Likewise.
5750 (__gamma_productl): Likewise.
5751 * math/Makefile (libm-calls): Add gamma_product.
5752 * math/libm-test.inc (tgamma_test): Add more tests.
5753 * sysdeps/i386/fpu/libm-test-ulps: Update.
5754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5756 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5758 * benchtests/bench-skeleton.c (main): Preheat CPU.
5760 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5762 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5764 2013-05-07 Roland McGrath <roland@hack.frob.com>
5766 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5767 and _dl_skip_args_internal.
5769 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5771 * manual/message.texi (Message Translation): Talk about users.
5772 Message to key mapping impacts design.
5774 2013-05-06 Roland McGrath <roland@hack.frob.com>
5776 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5778 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5780 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5781 * sysdeps/wordsize-64/glob64.c: ... here.
5783 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5784 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5787 * debug/getlogin_r_chk.c: Moved to ...
5788 * login/getlogin_r_chk.c: ... here.
5789 * debug/Makefile (routines): Move getlogin_r_chk to ...
5790 * login/Makefile (routines): ... here.
5791 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5792 * login/Versions (libc: GLIBC_2.4): ... here.
5794 * io/poll.c (__poll): Renamed from poll.
5795 Add libc_hidden_def.
5796 (poll): Define as weak alias.
5798 * debug/ptsname_r_chk.c: Moved to ...
5799 * login/ptsname_r_chk.c: ... here.
5800 * debug/Makefile (routines): Move ptsname_r_chk to ...
5801 * login/Makefile (routines): ... here.
5802 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5803 * login/Versions (libc: GLIBC_2.4): ... here.
5805 * posix/getlogin.c: Moved to ...
5806 * login/getlogin.c: ... here.
5807 * posix/getlogin_r.c: Moved to ...
5808 * login/getlogin_r.c: ... here.
5809 * posix/getlogin_r.c: Moved to ...
5810 * login/getlogin_r.c: ... here.
5811 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5812 * login/Makefile (routines): ... here.
5813 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5814 * login/Versions (libc: GLIBC_2.0): ... here.
5816 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5817 (setrlimit): Define as weak alias.
5819 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5820 Call __ names for open, ftruncate, and close.
5821 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5822 (truncate): Define as weak alias.
5824 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5826 * math/gen-libm-test.pl (parse_args): Initialize x before each
5827 test of frexp, modf and remquo.
5829 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5832 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5836 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5838 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5840 2013-05-06 Roland McGrath <roland@hack.frob.com>
5842 * elf/dl-writev.h: New file.
5843 * elf/dl-misc.c: Include it.
5844 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5845 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5847 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5849 * math/libm-test.inc (noXFails): Remove variable.
5850 (noXPasses): Likewise.
5851 (BUILD_COMPLEX_INT): Remove macro.
5852 (print_screen): Remove xfail argument.
5853 (print_screen_max_error): Likewise.
5854 (update_stats): Likewise.
5855 (print_max_error): Likewise. Update calls to other affected
5857 (print_complex_max_error): Likewise.
5858 (test_single_exception): Update calls to print_screen.
5859 (test_single_errno): Likewise.
5860 (check_float_internal): Remove xfail argument. Update calls to
5861 other affected functions.
5862 (check_float): Likewise.
5863 (check_complex): Likewise.
5864 (check_int): Likewise.
5865 (check_long): Likewise.
5866 (check_bool): Likewise.
5867 (check_longlong): Likewise.
5868 (main): Don't print noXFails and noXPasses.
5869 * math/gen-libm-test.pl (top level): Don't mention expected
5870 failure handling in comment.
5871 (new_test): Don't handle expected failures.
5872 (parse_args): Don't mention expected failure handling in comment.
5873 (generate_testfile): Don't handle expected failures.
5874 (parse_ulps): Likewise.
5875 (print_ulps_file): Likewise.
5876 (get_failure): Remove function.
5877 (output_test): Don't handle expected failures.
5878 * make/README.libm-test: Don't mention expected failure handling.
5880 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5881 (minus_zero): Likewise.
5882 (plus_infty): Likewise.
5883 (minus_infty): Likewise.
5884 (qnan_value): Likewise.
5885 (max_value): Likewise.
5886 (min_value): Likewise.
5887 (min_subnorm_value): Likewise.
5888 (initialize): Do not initialize those variables dynamically.
5890 2013-05-03 Roland McGrath <roland@hack.frob.com>
5892 * io/open.c (__open_2): Moved to ...
5893 * io/open_2.c: ... this new file.
5894 * io/open64.c (__open64_2): Moved to ...
5895 * io/open64_2.c: ... this new file.
5896 * io/openat.c (__openat_2): Moved to ...
5897 * io/openat_2.c: ... this new file.
5898 * io/openat64.c (__openat64_2): Moved to ...
5899 * io/openat64_2.c: ... this new file.
5900 * io/Makefile (routines): Add them.
5901 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5902 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5903 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5904 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5905 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5906 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5907 (__openat64): Add hidden_ver.
5908 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5909 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5911 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5912 Separately conditionalize setting of GLRO(dl_sysinfo) so
5913 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5914 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5916 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5918 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5919 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5921 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5922 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5923 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5924 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5925 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5927 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5929 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5932 * math/libm-test.inc (hypot_test): Do not use
5933 IGNORE_ZERO_INF_SIGN.
5935 2013-05-03 Andreas Jaeger <aj@suse.de>
5937 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5939 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5940 (PF_MAX): Adjust for VSOCK change.
5942 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5946 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5949 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5950 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5951 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5953 2013-05-02 David S. Miller <davem@davemloft.net>
5955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5957 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5959 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5961 2013-05-01 Roland McGrath <roland@hack.frob.com>
5963 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5965 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5968 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5969 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5970 Use __attribute__ ((__gnu_inline__)).
5971 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5972 Don't use __attribute__ ((__gnu_inline__)).
5974 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5977 * math/s_catan.c (__catan): Handle small real or imaginary part of
5978 input specially to avoid spurious underflow.
5979 * math/s_catanf.c (__catanf): Likewise.
5980 * math/s_catanh.c (__catanh): Likewise.
5981 * math/s_catanhf.c (__catanhf): Likewise.
5982 * math/s_catanhl.c (__catanhl): Likewise.
5983 * math/s_catanl.c (__catanl): Likewise.
5984 * math/libm-test.inc (catan_test): Add more tests.
5985 (catanh_test): Likewise.
5986 * sysdeps/i386/fpu/libm-test-ulps: Update.
5987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5989 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5993 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5996 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5997 accurately for denominator in atan2.
5998 * math/s_catanf.c (__catanf): Likewise.
5999 * math/s_catanh.c (__catanh): Likewise.
6000 * math/s_catanhf.c (__catanhf): Likewise.
6001 * math/s_catanhl.c (__catanhl): Likewise.
6002 * math/s_catanl.c (__catanl): Likewise.
6003 * math/libm-test.inc (catan_test): Add more tests.
6004 (catanh_test): Likewise.
6005 * sysdeps/i386/fpu/libm-test-ulps: Update.
6006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6008 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6010 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6012 * benchtests/Makefile (bench): Remove slow benchmarks.
6013 * benchtests/atan-inputs: Add slow benchmark inputs.
6014 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6015 (BENCH_FUNC): Accept variant offset.
6017 * benchtests/bench-skeleton.c (main): Run benchmark for each
6019 * benchtests/cos-inputs: Add slow benchmark inputs.
6020 * benchtests/exp-inputs: Likewise.
6021 * benchtests/pow-inputs: Likewise.
6022 * benchtests/sin-inputs: Likewise.
6023 * benchtests/slowatan-inputs: Remove.
6024 * benchtests/slowatan.c: Remove.
6025 * benchtests/slowcos-inputs: Remove.
6026 * benchtests/slowcos.c: Remove.
6027 * benchtests/slowexp-inputs: Remove.
6028 * benchtests/slowexp.c: Remove.
6029 * benchtests/slowpow-inputs: Remove.
6030 * benchtests/slowpow.c: Remove.
6031 * benchtests/slowsin-inputs: Remove.
6032 * benchtests/slowsin.c: Remove.
6033 * benchtests/slowtan-inputs: Remove.
6034 * benchtests/slowtan.c: Remove.
6035 * benchtests/tan-inputs: Add slow benchmark inputs.
6036 * scripts/bench.pl: Parse comments and directives.
6038 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6040 ($(objpfx)bench-%.c): Remove *-ITER.
6041 * benchtests/bench-modf.c: Remove definition of ITER.
6042 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6043 (main): Loop for DURATION seconds instead of fixed number of
6045 * scripts/bench.pl: Don't expect iterations in parameters.
6047 2013-04-29 Roland McGrath <roland@hack.frob.com>
6049 * io/fchdir.c (__fchdir): Renamed from fchdir.
6050 (fchdir): Define as weak alias.
6052 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6054 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6055 (ERRNO_EDOM): Likewise.
6056 (ERRNO_ERANGE): Likewise.
6057 (noErrnoTests): New variable.
6058 (init_max_error): Set errno to 0.
6059 (test_single_errno): New function.
6060 (test_errno): Likewise.
6061 (check_float_internal): Call test_errno. Set errno to 0.
6062 (check_complex): Refer to errno tests in comment.
6063 (check_int): Call test_errno. Set errno to 0.
6064 (check_long): Likewise.
6065 (check_bool): Likewise.
6066 (check_longlong): Likewise.
6067 (cos_test): Use ERRNO_* flags for errno tests instead of
6069 (expm1_test): Likewise.
6070 (fmod_test): Likewise.
6071 (ilogb_test): Likewise.
6072 (lgamma_test): Likewise.
6073 (pow_test): Likewise.
6074 (remainder_test): Likewise.
6075 (sin_test): Likewise.
6076 (tan_test): Likewise.
6077 (yn_test): Likewise.
6078 (initialize): Set errno to 0.
6079 (main): Print number of errno tests.
6080 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6082 2013-04-29 Andreas Jaeger <aj@suse.de>
6085 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6089 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6090 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6094 * stdlib/random.c (__initstate): Return NULL if
6098 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6099 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6102 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6106 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6108 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6109 of individual tests.
6110 (casin_test): Likewise.
6111 (casinh_test): Likewise.
6113 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6116 * math/s_catan.c (__catan): Handle arguments with large real or
6117 imaginary part separately without squaring.
6118 * math/s_catanf.c (__catanf): Likewise.
6119 * math/s_catanh.c (__catanh): Likewise.
6120 * math/s_catanhf.c (__catanhf): Likewise.
6121 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6123 (__catanhl): Handle arguments with large real or imaginary part
6124 separately without squaring.
6125 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6127 (__catanl): Handle arguments with large real or imaginary part
6128 separately without squaring.
6129 * math/libm-test.inc (catan_test): Add more tests.
6130 (catanh_test): Likewise.
6131 * sysdeps/i386/fpu/libm-test-ulps: Update.
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6134 2013-04-27 Andreas Jaeger <aj@suse.de>
6137 * stdlib/stdlib.h: Update guards for qecvt.
6138 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6141 2013-04-27 Allan McRae <allan@archlinux.org>
6143 * sysdeps/i386/fpu/libm-test-ulps: Update.
6145 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6148 * math/s_catan.c: Include <float.h>.
6149 (__catan): Ensure underflow exception occurs for underflowed
6151 * math/s_catanf.c: Include <float.h>.
6152 (__catanf): Ensure underflow exception occurs for underflowed
6154 * math/s_catanh.c: Include <float.h>.
6155 (__catanh): Ensure underflow exception occurs for underflowed
6157 * math/s_catanhf.c: Include <float.h>.
6158 (__catanhf): Ensure underflow exception occurs for underflowed
6160 * math/s_catanhl.c: Include <float.h>.
6161 (__catanhl): Ensure underflow exception occurs for underflowed
6163 * math/s_catanl.c: Include <float.h>.
6164 (__catanl): Ensure underflow exception occurs for underflowed
6166 * math/libm-test.inc (catan_test): Add more tests.
6167 (catanh_test): Likewise.
6170 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6172 * math/s_ccoshf.c (__ccoshf): Likewise.
6173 * math/s_ccoshl.c (__ccoshl): Likewise.
6174 * math/s_csin.c (__csin): Likewise.
6175 * math/s_csinf.c (__csinf): Likewise.
6176 * math/s_csinh.c (__csinh): Likewise.
6177 * math/s_csinhf.c (__csinhf): Likewise.
6178 * math/s_csinhl.c (__csinhl): Likewise.
6179 * math/s_csinl.c (__csinl): Likewise.
6180 * math/libm-test.inc (ccos_test): Add more tests.
6181 (ccosh_test): Likewise.
6182 (csin_test): Likewise.
6183 (csinh_test): Likewise.
6185 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6187 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6188 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6189 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6190 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6191 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6192 powerpc/power5+/fpu folders.
6193 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6196 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6200 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6202 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6203 additions to variable.
6204 [$(config-machine) = x86_64] (modules-names): Likewise.
6205 ($(objpfx)tst-audit3): Remove dependency.
6206 ($(objpfx)tst-audit3.out): Likewise.
6207 ($(objpfx)tst-audit4): Likewise.
6208 ($(objpfx)tst-audit4.out): Likewise.
6209 ($(objpfx)tst-audit5): Likewise.
6210 ($(objpfx)tst-audit5.out): Likewise.
6211 ($(objpfx)tst-audit6): Likewise.
6212 ($(objpfx)tst-audit6.out): Likewise.
6213 ($(objpfx)tst-audit7): Likewise.
6214 ($(objpfx)tst-audit7.out): Likewise.
6215 (tst-audit3-ENV): Remove variable.
6216 (tst-audit4-ENV): Likewise.
6217 (tst-audit5-ENV): Likewise.
6218 (tst-audit6-ENV): Likewise.
6219 (tst-audit7-ENV): Likewise.
6220 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6221 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6222 addition to variable.
6223 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6224 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6225 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6226 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6227 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6228 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6229 tst-audit3, tst-audit4 and tst-audit5.
6230 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6231 tst-audit6 and tst-audit7.
6232 [$(subdir) = elf] (modules-names): Add audit modules for those
6234 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6235 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6236 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6237 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6238 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6239 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6240 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6241 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6242 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6243 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6244 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6245 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6246 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6247 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6248 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6249 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6251 [$(subdir) = elf && $(config-cflags-avx) = yes]
6252 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6253 [$(subdir) = elf && $(config-cflags-avx) = yes]
6254 (CFLAGS-tst-auditmod4a.c): Likewise.
6255 [$(subdir) = elf && $(config-cflags-avx) = yes]
6256 (CFLAGS-tst-auditmod4b.c): Likewise.
6257 [$(subdir) = elf && $(config-cflags-avx) = yes]
6258 (CFLAGS-tst-auditmod6b.c): Likewise.
6259 [$(subdir) = elf && $(config-cflags-avx) = yes]
6260 (CFLAGS-tst-auditmod6c.c): Likewise.
6261 [$(subdir) = elf && $(config-cflags-avx) = yes]
6262 (CFLAGS-tst-auditmod7b.c): Likewise.
6263 * elf/tst-audit3.c: Move to ...
6264 * sysdeps/x86_64/tst-audit3.c: ... here.
6265 * elf/tst-audit4.c: Move to ...
6266 * sysdeps/x86_64/tst-audit4.c: ... here.
6267 * elf/tst-audit5.c: Move to ...
6268 * sysdeps/x86_64/tst-audit5.c: ... here.
6269 * elf/tst-audit6.c: Move to ...
6270 * sysdeps/x86_64/tst-audit6.c: ... here.
6271 * elf/tst-audit7.c: Move to ...
6272 * sysdeps/x86_64/tst-audit7.c: ... here.
6273 * elf/tst-auditmod3a.c: Move to ...
6274 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6275 * elf/tst-auditmod3b.c: Move to ...
6276 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6277 * elf/tst-auditmod4a.c: Move to ...
6278 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6279 * elf/tst-auditmod4b.c: Move to ...
6280 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6281 * elf/tst-auditmod5a.c: Move to ...
6282 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6283 * elf/tst-auditmod5b.c: Move to ...
6284 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6285 * elf/tst-auditmod6a.c: Move to ...
6286 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6287 * elf/tst-auditmod6b.c: Move to ...
6288 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6289 * elf/tst-auditmod6c.c: Move to ...
6290 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6291 * elf/tst-auditmod7a.c: Move to ...
6292 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6293 * elf/tst-auditmod7b.c: Move to ...
6294 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6296 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6299 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6300 define unconditionally.
6301 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6302 define unconditionally.
6303 (INT8_C, INT16_C, etc.): Likewise.
6305 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6307 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6308 __ehdr_start with hidden visibility.
6310 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6312 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6314 * math/libm-test.inc (cos_test): Use accurate hex constants.
6315 (sincost_test): Likewise.
6317 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6319 * math/libm-test.inc (catan_test): Add more tests.
6320 (catanh_test): Likewise.
6322 * math/s_catanf.c (__catanf): Use suffixed floating-point
6324 * math/s_catanhf.c (__catanhf): Likewise.
6325 * math/s_catanhl.c (__catanhl): Likewise.
6326 * math/s_catanl.c (__catanl): Likewise.
6329 * math/s_catan.c (__catan): Calculate imaginary part of result
6330 with log1p not log unless computing log of number close to 0.
6331 * math/s_catanf.c (__catanf): Likewise.
6332 * math/s_catanl.c (__catanl): Likewise.
6333 * math/s_catanh.c (__catanh): Calculate real part of result with
6334 log1p not log unless computing log of number close to 0.
6335 * math/s_catanhf.c (__catanhf): Likewise.
6336 * math/s_catanhl.c (__catanhl): Likewise.
6337 * math/libm-test.inc (catan_test): Add more tests.
6338 (catanh_test): Likewise.
6339 * sysdeps/i386/fpu/libm-test-ulps: Update.
6340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6342 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6344 * benchtests/Makefile: Mention files in which fast and slow
6345 paths of math functions are implemented.
6347 2013-04-23 Roland McGrath <roland@hack.frob.com>
6349 * sysdeps/posix/timespec_get.c: New file.
6351 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6353 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6355 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6357 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6358 powerpc/power5/fpu folders.
6359 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6360 * benchtests/Makefile: Add modf testcase.
6361 * benchtests/bench-modf.c: New file: Benchmark test for mo
6363 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6366 * time/Makefile (tests): Add tst-strptime-whitespace.
6367 * time/strptime_l.c (get_number): Use ISSPACE.
6368 (__strptime_internal): Likewise.
6369 * time/tst-strptime-whitespace.c: New test case.
6371 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6373 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6375 (_nss_files_init): Set it here.
6377 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6379 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6380 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6383 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6385 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6387 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6392 2013-04-21 David S. Miller <davem@davemloft.net>
6394 * po/ru.po: Update Russion translation from translation project.
6396 2013-04-17 Adam Conrad <adconrad@0c3.net>
6398 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6401 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6403 * configure.in: Remove i386 configure warning. Remove i386 case.
6404 * configure: Regenerate.
6405 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6406 Add example to error message.
6407 * sysdeps/i386/configure: Regenerate.
6409 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6411 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6413 * benchtests/cos-inputs: New file.
6414 * benchtests/slowcos-inputs: New file.
6415 * benchtests/slowcos.c: New file.
6416 * benchtests/slowtan-inputs: New file.
6417 * benchtests/slowtan.c: New file.
6418 * benchtests/tan-inputs: New file.
6420 2013-04-16 Roland McGrath <roland@hack.frob.com>
6422 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6425 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6427 * benchtests/Makefile: Include cppflags-iterator.mk to add
6428 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6430 * Makefile.in (bench-clean): New target.
6431 * benchtests/Makefile (bench-clean): Likewise.
6433 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6435 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6437 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6439 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6441 2013-04-15 Andreas Schwab <schwab@suse.de>
6443 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6444 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6445 * nscd/pwdcache.c (cache_addpw): Likewise.
6446 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6449 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6451 * benchtests/Makefile (bench): Write all output to
6452 bench-out.tmp together.
6454 2013-04-15 Andreas Schwab <schwab@suse.de>
6456 * nscd/nscd.c (main): Don't fork again after closing files.
6458 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6460 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6462 * benchtests/Rules (bench-deps): Collect dependencies into a
6463 single variable. Add Makefile to dependencies.
6464 ($(objpfx)bench-%.c): Depend on bench-deps.
6466 2013-04-12 Roland McGrath <roland@hack.frob.com>
6467 Xavier Roche <roche+kml2@exalead.com>
6470 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6471 just that it's a file descriptor.
6472 * manual/llio.texi (Synchronizing AIO Operations): Update description
6473 for EBADF error from aio_fsync.
6475 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6477 * Rules (bench): Move target definition...
6478 * benchtests/Makefile: ... here.
6480 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6482 * math/libm-test.inc (cos_test): Fix PI/2 test.
6483 (sincos_test): Likewise.
6484 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6485 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6487 2013-04-11 Andreas Schwab <schwab@suse.de>
6490 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6491 accept exponent character only when digits were seen.
6492 * stdio-common/Makefile (tests): Add bug26.
6493 * stdio-common/bug26.c: New file.
6496 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6499 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6501 * Makeconfig (rtld-prefix): Define built linker prefix.
6502 * Rules (run-bench): Use it.
6503 * math/Makefile (run-regen-ulps): Likewise.
6505 * Rules (bench): Remove eval.
6507 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6508 Roland McGrath <roland@hack.frob.com>
6509 Ondrej Bilka <neleai@seznam.cz>
6512 * time/getdate.c: Include ctype.h and alloca.h.
6513 (__getdate_r): Trim leading and trailing spaces of input.
6514 * time/tst-getdate.c (tests): Add tests with leading and
6517 2013-04-08 Roland McGrath <roland@hack.frob.com>
6520 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6521 when computing value.
6523 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6525 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6526 Use testrun.sh to run libm tests.
6529 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6531 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6534 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6536 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6538 * Makefile.in (regen-ulps): New target.
6539 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6540 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6541 [ifneq (no,$(PERL)] (regen-ulps): New target.
6542 [ifeq (no,$(PERL)] (regen-ulps): New target.
6543 * math/libm-test.inc (ulps_file_name): Define.
6544 (output_dir): New variable.
6545 (options): Add "output-dir" option.
6546 (parse_opt): Handle 'o' case.
6547 (main): If output_dir is non-NULL use it as a prefix
6549 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6551 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6554 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6555 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6556 fail configure if __sync_val_compare_and_swap is not inlined.
6557 * sysdeps/i386/configure: Regenerate.
6558 * configure.in: Build for i686 when configured for i386.
6559 * configure: Regenerate.
6560 * README: Remove i386 reference.
6562 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6564 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6565 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6567 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6569 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6570 (lmsnanval): New variables.
6571 (F): Add conversion tests.
6572 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6573 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6575 * stdio-common/tstdiomisc.c (F): Properly collect individual
6579 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6580 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6581 Instead, use input NaN values or generate a qNaN by arithmetic
6582 operation. Also fix bugs to comply with the standard.
6583 * math/libm-test.inc (remainder_test): Add more tests.
6586 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6588 input NaN values or generate a qNaN by arithmetic operation.
6590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6593 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6596 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6599 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6601 * math/s_cexpf.c (__cexpf): Likewise.
6602 * math/s_cexpl.c (__cexpl): Likewise.
6603 * math/libm-test.inc (cexp_test): Add more tests.
6605 2013-04-03 Andreas Schwab <schwab@suse.de>
6608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6609 order arrays from heap if bigger than alloca cutoff.
6611 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6613 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6614 (SNAN_TESTS_double): Refer to GCC PR56831.
6615 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6618 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6620 * Rules (bench): Move bench.out after the run is complete.
6622 * Rules (bench): Echo currently running benchmark.
6624 * benchtests/Makefile (bench): Add atan and slowatan.
6625 * benchtests/atan-inputs: New file.
6626 * benchtests/slowatan-inputs: New file.
6627 * benchtests/slowatan.c: New file.
6629 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6634 * sysdeps/unix/sysv/linux/kernel-features.h
6635 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6636 __ASSUME_XFS_RESTRICTED_CHOWN.
6637 * sysdeps/unix/sysv/linux/pathconf.c
6638 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6639 Save and restore errno.
6641 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6644 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6645 arguments using __kernel_casinh.
6646 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6647 arguments using __kernel_casinhf.
6648 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6649 arguments using __kernel_casinhl.
6650 * math/libm-test.inc (cacosh_test): Add more tests.
6651 * sysdeps/i386/fpu/libm-test-ulps: Update.
6652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6654 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6656 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6657 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6659 * bench/Makefile (bench): Add sin and slowsin.
6660 * benchtests/sin-inputs: New file.
6661 * benchtests/slowsin-inputs: New file.
6662 * benchtests/slowsin.c: New file.
6664 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6665 (bench): Add slowexp and slowpow.
6666 (exp-ITER): Increase iterations.
6667 (pow-ITER): Likewise.
6668 * benchtests/exp-inputs: Change input.
6669 * benchtests/pow-inputs: Likewise.
6670 * benchtests/slowexp-inputs: New file.
6671 * benchtests/slowexp.c: New file.
6672 * benchtests/slowpow-inputs: New file.
6673 * benchtests/slowpow.c: New file.
6675 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6677 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6679 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6680 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6681 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6682 * benchtests/Makefile: Add rint benchtest.
6683 * benchtests/rint-inputs: Input for rint benchtest.
6685 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6687 * Versions.def (libm): Add GLIBC_2.18.
6688 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6689 hidden libm prototypes.
6690 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6691 * math/Makefile (libm-calls): Add s_issignaling.
6692 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6693 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6694 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6696 * math/math.h [__USE_GNU] (issignaling): New macro.
6697 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6698 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6700 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6703 * manual/arith.texi (issignaling): New section.
6704 * manual/libm-err-tab.pl (@all_functions): Update comment.
6705 * math/gen-libm-test.pl (parse_args): Apply special handling for
6707 * math/libm-test.inc (print_float, issignaling_test): New
6709 (check_float_internal): Add issignaling checks.
6710 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6712 * sysdeps/powerpc/math-tests.h: New file.
6713 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6715 * math/test-snan.c (TEST_FUNC): Likewise.
6717 2013-03-30 David S. Miller <davem@davemloft.net>
6719 * po/de.po: Update from translation team.
6721 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6724 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6725 imaginary part less than 1.0 and real part less than 0.5
6727 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6728 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6729 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6730 (cacos_test): Add more tests.
6731 (casin_test): Likewise.
6732 (casinh_test): Likewise.
6733 * sysdeps/i386/fpu/libm-test-ulps: Update.
6734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6736 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6738 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6741 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6742 (__pow_mp): Replace ONE and MONE with their values.
6743 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6744 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6746 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6747 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6748 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6750 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6752 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6753 (__pow_mp): Replace ZERO and MZERO with their values.
6754 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6756 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6758 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6759 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6762 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6764 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6766 2013-03-28 Roland McGrath <roland@hack.frob.com>
6768 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6769 Declare with __attribute__ ((weak)).
6770 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6771 Call __call_tls_dtors only if it's not NULL.
6773 2013-03-28 Roland McGrath <roland@hack.frob.com>
6775 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6776 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6777 magic __ehdr_start linker symbol if it's defined.
6778 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6779 them up here if it was already done.
6781 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6782 (_dl_aux_init): Use const in cast when setting it.
6783 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6784 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6785 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6787 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6789 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6790 * csu/libc-tls.c: Nor here.
6791 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6793 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6794 (__libc_message): Never call vsyslog.
6796 2013-03-28 Alan Modra <amodra@gmail.com>
6798 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6800 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6803 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6806 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6810 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6813 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6814 Don't add gid passed as argument.
6816 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6818 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6821 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6822 imaginary part between 1.0 and 1.5 and real part less than 0.5
6824 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6825 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6826 * math/libm-test.inc (cacos_test): Add more tests.
6827 (casin_test): Likewise.
6828 (casinh_test): Likewise.
6829 * sysdeps/i386/fpu/libm-test-ulps: Update.
6830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6832 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6834 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6838 (__dbl_mp): Likewise.
6839 (add_magnitudes): Likewise.
6840 (sub_magnitudes): Likewise.
6848 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6850 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6851 (__dubcos): Likewise.
6852 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6853 (__ieee754_acos): Likewise.
6854 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6857 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6860 (my_log2): Likewise.
6861 (checkint): Likewise.
6862 * sysdeps/ieee754/dbl-64/e_remainder.c
6863 (__ieee754_remainder): Likewise.
6864 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6865 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6867 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6869 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6870 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6871 MANTISSA_STORE_T to store computations on mantissa. Use
6872 macros for rounding and division.
6874 (__dbl_mp): Likewise.
6875 (add_magnitudes): Likewise.
6876 (sub_magnitudes): Likewise.
6879 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6880 powers of two in terms of TWOPOW macro.
6881 (mp_no): Make type of mantissa as MANTISSA_T.
6882 [!RADIXI]: Define RADIXI.
6883 [!TWO52]: Define TWO52.
6884 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6886 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6888 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6889 llroundl symbol when building for PPC32.
6891 2013-03-24 Mark H Weaver <mhw@netris.org>
6893 * manual/arith.texi (Normalization Functions): Fix prototypes for
6894 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6896 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6899 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6900 high value to check if expl overflow.
6901 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6902 to check for underflow and overflow.
6903 * math/libm-test.inc: Add exp test.
6905 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6908 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6911 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6913 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6916 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6918 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6919 wrap blocks consisting of several statements.
6921 * sysdeps/generic/math-tests.h: New file.
6922 * sysdeps/i386/fpu/math-tests.h: Likewise.
6923 * math/test-snan.c: Include it.
6924 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6926 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6929 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6930 (__ieee754_j0l): Do not improve calculations using cos of twice
6931 input for inputs above LDBL_MAX / 2.0L.
6932 (__ieee754_y0l): Likewise.
6933 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6934 (__ieee754_j1l): Do not improve calculations using cos of twice
6935 input for inputs above LDBL_MAX / 2.0L.
6936 (__ieee754_y1l): Likewise.
6937 * math/libm-test.inc (j0_test): Add another test.
6938 (j1_test): Likewise.
6939 (y0_test): Likewise.
6940 (y1_test): Likewise.
6941 * sysdeps/i386/fpu/libm-test-ulps: Update.
6943 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6945 * Rules ($(objpfx)bench-%.c): Include code from a C source
6948 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6951 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6952 imaginary part 1.0 and real part less than 0.5 specially.
6953 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6954 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6955 * math/libm-test.inc (cacos_test): Add more tests.
6956 (casin_test): Likewise.
6957 (casinh_test): Likewise.
6958 * sysdeps/i386/fpu/libm-test-ulps: Update.
6959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6961 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6963 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6964 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6966 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6968 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6969 * config.make.in (config-cflags-sse4): Remove variable.
6970 (config-cflags-avx): Likewise.
6971 (config-cflags-sse2avx): Likewise.
6972 (config-cflags-novzeroupper): Likewise.
6973 (config-asflags-i686): Likewise.
6974 (have-mfma4): Likewise.
6975 (have-as-vis3): Likewise.
6977 * configure.in (MIG): Do not AC_SUBST.
6978 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6979 (libc_cv_cc_sse4): Do not AC_SUBST.
6980 (libc_cv_cc_avx): Likewise.
6981 (libc_cv_cc_sse2avx): Likewise.
6982 (libc_cv_cc_novzeroupper): Likewise.
6983 (libc_cv_cc_fma4): Likewise.
6984 (libc_cv_as_i686): Likewise.
6985 (libc_cv_sparc_as_vis3): Likewise.
6986 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6988 (config-asflags-i686): Likewise.
6989 (config-cflags-avx): Likewise.
6990 (config-cflags-sse2avx): Likewise.
6991 (have-mfma4): Likewise.
6992 (config-cflags-novzeroupper): Likewise.
6993 * sysdeps/mach/configure.in (MIG): Likewise.
6994 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6995 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6997 (config-cflags-avx): Likewise.
6998 (config-cflags-sse2avx): Likewise.
6999 (have-mfma4): Likewise.
7000 (config-cflags-novzeroupper): Likewise.
7001 * configure: Regenerated.
7002 * sysdeps/i386/configure: Likewise.
7003 * sysdeps/mach/configure: Likewise.
7004 * sysdeps/sparc/configure: Likewise.
7005 * sysdeps/x86_64/configure: Likewise.
7007 2013-03-20 Roland McGrath <roland@hack.frob.com>
7010 * locale/programs/localedef.c (options): Put N_ translation marker
7011 on argument names, not just descriptions.
7013 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7015 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7017 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7020 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7022 2013-03-19 Roland McGrath <roland@hack.frob.com>
7024 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7025 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7026 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7027 [!BEFORE_ABORT] (before_abort): New function.
7028 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7029 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7030 (writev_for_fatal): New function.
7031 (WRITEV_FOR_FATAL): New macro; call that.
7032 (backtrace_and_maps): New function.
7033 (BEFORE_ABORT): New macro; call that.
7034 (struct str_list): Type removed.
7035 (__libc_message, __libc_fatal): Functions removed.
7036 Include <sysdeps/posix/libc_fatal.c> instead.
7038 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7040 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7042 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7045 2013-03-19 Andreas Schwab <schwab@suse.de>
7047 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7048 * sysdeps/gnu/configure: Regenerate.
7050 * configure.in: Substitute libc_cv_rtlddir.
7051 * configure: Regenerate.
7052 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7053 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7054 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7055 * elf/Makefile (install-others, CFLAGS-interp.c)
7056 (ldso_install, common-ldd-rewrite): Likewise.
7057 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7058 $(inst_slibdir)/$(rtld-installed-name).
7059 * scripts/rellns-sh: Add -p option.
7060 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7063 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7065 * manual/nptl.texi: Renamed to ...
7066 * manual/threads.texi: ... this.
7067 * manual/Makefile (chapters): Update.
7069 2013-03-18 Roland McGrath <roland@hack.frob.com>
7072 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7073 on argument names, not just descriptions.
7074 * malloc/memusagestat.c (options): Likewise.
7075 * nss/getent.c (options): Likewise.
7077 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7080 * iconv/iconv_prog.c (options): Put N_ translation marker
7081 on argument names, not just descriptions.
7082 * iconv/iconvconfig.c (options): Likewise.
7084 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7086 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7087 implementation which is faster on all x86_64 architectures.
7088 Tested on AMD, Intel Nehalem, SNB, IVB.
7089 * sysdeps/x86_64/strnlen.S: Likewise.
7091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7092 Remove all multiarch strlen and strnlen versions.
7093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7094 Remove strlen and strnlen related parts.
7096 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7098 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7100 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7101 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7102 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7103 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7104 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7105 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7107 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7109 * manual/memory.texi (Malloc Tunable Parameters):
7110 Sort parameters alphabetically. Add comments for missing entries.
7112 2013-03-17 David S. Miller <davem@davemloft.net>
7114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7116 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7119 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7120 for arguments at most half maximum finite value.
7121 * math/libm-test.inc (j0_test): Add more tests.
7122 (j1_test): Likewise.
7123 (y0_test): Likewise.
7124 (y1_test): Likewise.
7125 * sysdeps/i386/fpu/libm-test-ulps: Update.
7126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7129 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7130 1 / x and functions P and Q for arguments above 0x1p256L.
7131 (__ieee754_y0l): Likewise.
7132 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7133 (__ieee754_y1l): Likewise.
7134 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7135 (j1_test): Likewise.
7136 (y0_test): Likewise.
7137 (y1_test): Likewise.
7139 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7141 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7144 2013-03-15 Roland McGrath <roland@hack.frob.com>
7146 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7147 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7148 zero since it's initialized to EXEC_PAGESIZE.
7150 * sysdeps/unix/sysv/linux/ldsodefs.h
7151 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7152 * sysdeps/generic/ldsodefs.h: ... here.
7154 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7156 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7158 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7160 * math/test-snan.c: Renamed from
7161 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7162 * math/Makefile (tests): Add test-snan.
7163 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7166 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7167 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7169 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7170 __builtin_nan family of functions.
7171 * math/libm-test.inc (initialize): Initialize qnan_value with
7172 __builtin_nan family of functions.
7173 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7175 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7177 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7178 storage class. Initialize qNaN_var and sNaN_var with
7179 __builtin_nan and __builtin_nans families of functions,
7182 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7183 (sqrt_test): Remove duplicate test with qNaN input.
7184 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7185 (round_test, signbit_test, significand_test): Note missing +/-Inf
7186 as well as qNaN tests.
7188 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7189 qNaN_var. Fix a few strings, too.
7190 * math/libm-test.inc (nan_value): Rename to qnan_value.
7191 * math/gen-libm-test.pl (%beautify): Adjust to that.
7192 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7193 * math/test-misc.c (main): Likewise.
7194 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7195 to __qnan_bytes, and __qnan_union, respectively.
7196 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7198 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7199 and lqnanval, respectively.
7200 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7201 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7202 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7203 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7205 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7206 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7209 * math/test-misc.c (main): Fix copy'n'pastos.
7210 * misc/tst-efgcvt.c (special): Likewise.
7212 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7213 Remove declarations.
7215 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7217 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7218 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7219 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7220 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7222 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7224 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7225 macro to return vdso values correctly in IFUNC implementations.
7226 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7227 Optimization by using IFUNC.
7229 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7230 Richard Henderson <rth@redhat.com>
7231 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7233 * Makefile.in (bench): New target.
7234 * NEWS: Mention the benchmark framework.
7235 * Rules (bench): Likewise.
7236 (binaries-bench): Generate binaries for functions to
7238 * benchtests/Makefile: New makefile for benchmark tests.
7239 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7241 * benchtests/exp-inputs: New input file for EXP function.
7242 * benchtests/pow-inputs: New input file for POW function.
7243 * scripts/bench.pl: New script to generate source files for
7246 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7248 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7249 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7250 computations on mantissa. Use macros for rounding and
7253 (__dbl_mp): Likewise.
7254 (add_magnitudes): Likewise.
7255 (sub_magnitudes): Likewise.
7258 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7259 powers of two in terms of TWOPOW macro.
7260 (mp_no): Make type of mantissa as MANTISSA_T.
7261 [!RADIXI]: Define RADIXI.
7262 [!TWO52]: Define TWO52.
7263 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7265 * manual/nptl.texi (cindex): Modify threads to pthreads.
7267 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7269 * sysdeps/x86_64/preconfigure: Regenerated.
7271 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7274 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7276 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7277 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7279 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7280 * math/libm-test.inc (j0_test): Do not allow one spurious
7281 underflow exception.
7282 (y1_test): Likewise.
7284 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7286 * manual/Makefile (chapters): Add nptl.
7287 * manual/debug.texi (Debugging Support): Add link to Threads
7289 * manual/nptl.texi: New file.
7291 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7293 2013-03-14 Petr Baudis <pasky@ucw.cz>
7295 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7296 for non-NULL pointer before the memory validity test. Pointed
7297 out by Holger Brunck <holger.brunck@keymile.com>.
7299 2013-03-13 Andreas Schwab <schwab@suse.de>
7301 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7304 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7306 * timezone/zic.c: Update from tzcode 2013b.
7308 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7310 * manual/install.texi (Configuring and compiling):
7311 Mention i686 and i586.
7312 * INSTALL: Regenerate.
7314 2013-03-12 Roland McGrath <roland@hack.frob.com>
7316 * sysdeps/init_array/elf-init.c: New file.
7318 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7319 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7321 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7322 __gmon_start__ as global, but as static with a .preinit_array pointer.
7323 * sysdeps/init_array/gmon-start.c: New file. Use that.
7324 * sysdeps/init_array/crti.S: New file, empty except for comments.
7325 * sysdeps/init_array/crtn.S: Likewise.
7327 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7329 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7332 Remove Prefer_SSE_for_memop.
7333 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7334 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7335 HAS_PREFER_SSE_FOR_MEMOP.
7336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7339 Remove bzero, memset ifunc support.
7340 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7341 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7342 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7343 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7345 2013-03-11 Andreas Schwab <schwab@suse.de>
7348 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7351 (GLIBC_2.16): Remove pthread_atfork.
7353 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7355 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7356 (ptestcases.h): Likewise.
7358 2013-03-08 Roland McGrath <roland@hack.frob.com>
7360 * Makeconfig ($(common-objpfx)config.status): Depend on
7361 sysdeps/*/preconfigure{,.in} too.
7363 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7365 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7366 (__free_hook): Use void * instead of __malloc_ptr_t.
7367 (__malloc_hook): Likewise.
7368 (__realloc_hook): Likewise.
7369 (__memalign_hook): Likewise.
7370 (__after_morecore_hook): Likewise.
7371 * malloc/arena.c (save_malloc_hook): Likewise.
7372 (save_free_hook): Likewise.
7373 * malloc/hooks.c (malloc_hook_ini): Likewise.
7374 (realloc_hook_ini): Likewise.
7375 (memalign_hook_ini): Likewise.
7376 * malloc/malloc.c (malloc_hook_ini): Likewise.
7377 (realloc_hook_ini): Likewise.
7378 (memalign_hook_ini): Likewise.
7379 (__free_hook): Likewise.
7380 (__malloc_hook): Likewise.
7381 (__realloc_hook): Likewise.
7382 (__memalign_hook): Likewise.
7383 (__libc_malloc): Likewise.
7384 (__libc_free): Likewise.
7385 (__libc_realloc): Likewise.
7386 (__libc_memalign): Likewise.
7387 (__libc_valloc): Likewise.
7388 (__libc_pvalloc): Likewise.
7389 (__libc_calloc): Likewise.
7390 (__posix_memalign): Likewise.
7391 * malloc/morecore.c (__sbrk): Likewise.
7392 (__default_morecore): Likewise.
7394 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7396 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7397 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7400 * malloc/malloc.h (__malloc_size_t): Remove macro.
7401 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7403 (old_memalign_hook): Likewise.
7404 (old_realloc_hook): Likewise.
7405 (struct hdr): Likewise.
7407 (mallochook): Likewise.
7408 (memalignhook): Likewise.
7409 (reallochook): Likewise.
7410 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7411 (tr_old_realloc_hook): Likewise.
7412 (tr_old_memalign_hook): Likewise.
7413 (tr_mallochook): Likewise.
7414 (tr_reallochook): Likewise.
7415 (tr_memalignhook): Likewise.
7417 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7420 default_ldbl_pack and using as default implementation.
7421 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7423 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7424 redundant definition.
7425 (ldbl_insert_mantissa): Likewise.
7426 (ldbl_canonicalize): Likewise.
7427 (ldbl_nearbyint): Likewise.
7428 (ldbl_pack): Rename to ldbl_pack_ppc.
7429 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7430 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7431 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7433 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7436 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7437 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7438 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7440 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7441 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7442 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7444 2013-03-07 Andreas Jaeger <aj@suse.de>
7446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7449 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7451 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7452 Include mpa.h and declare __MPEXP.
7453 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7454 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7455 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7456 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7457 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7458 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7459 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7461 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7462 (__slowpow): Use long double EXPL and LOGL functions to
7464 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7465 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7466 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7467 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7468 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7469 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7472 intermediate variable to calculate exponent.
7474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7478 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7479 [!NO__SQR]: Define __sqr.
7480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7481 and NO__SQR. Remove all code except __mul and __sqr. Include
7482 sysdeps/ieee754/dbl-64/mpa.c.
7483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7486 * posix/Makefile (tests): Add tst-pathconf.
7487 * posix/tst-pathconf.c: New test case.
7488 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7490 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7492 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7494 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7496 2013-03-06 Andreas Jaeger <aj@suse.de>
7498 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7499 definition via __MAP_ANONYMOUS.
7501 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7502 it's not part of Linux headers.
7504 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7505 (MAP_HUGE_MASK): Define.
7507 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7509 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7510 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7512 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7513 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7515 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7516 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7518 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7520 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7521 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7522 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7523 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7524 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7525 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7527 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7530 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7531 Handle f2fs and efivarfs.
7533 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7536 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7537 (EFIVARFS_MAGIC): Add.
7538 (F2FS_LINK_MAX): Add.
7540 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7542 * stdio-common/vfprintf.c: Replace __builtin_expect with
7545 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7548 * sysdeps/generic/bp-sym.h: Remove file.
7549 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7550 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7551 <bp-sym.h> and <bp-asm.h>.
7552 (__longjmp): Don't use BP_SYM.
7553 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7555 (memcpy): Don't use BP_SYM.
7556 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7557 <bp-sym.h> and <bp-asm.h>.
7558 (memcpy): Don't use BP_SYM.
7559 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7561 (memcpy): Don't use BP_SYM.
7562 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7564 (memset): Don't use BP_SYM.
7565 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7566 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7567 (__bzero): Don't use BP_SYM.
7568 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7569 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7570 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7571 <bp-sym.h> and <bp-asm.h>.
7572 (memcmp): Don't use BP_SYM. Remove comment about bounded
7574 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7575 <bp-sym.h> and <bp-asm.h>.
7576 (memcpy): Don't use BP_SYM.
7577 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7578 <bp-sym.h> and <bp-asm.h>.
7579 (memset): Don't use BP_SYM.
7580 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7581 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7582 (__bzero): Don't use BP_SYM.
7583 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7584 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7585 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7586 <bp-sym.h> and <bp-asm.h>.
7587 (strncmp): Don't use BP_SYM. Remove comment about bounded
7589 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7590 <bp-sym.h> and <bp-asm.h>.
7591 (memcpy): Don't use BP_SYM.
7592 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7593 <bp-sym.h> and <bp-asm.h>.
7594 (memset): Don't use BP_SYM.
7595 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7596 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7597 (__bzero): Don't use BP_SYM.
7598 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7599 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7600 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7601 <bp-sym.h> and <bp-asm.h>.
7602 (__memchr): Don't use BP_SYM.
7603 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7604 <bp-sym.h> and <bp-asm.h>.
7605 (memcmp): Don't use BP_SYM. Remove comment about bounded
7607 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7608 <bp-sym.h> and <bp-asm.h>.
7609 (memcpy): Don't use BP_SYM.
7610 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7611 <bp-sym.h> and <bp-asm.h>.
7612 (__mempcpy): Don't use BP_SYM.
7613 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7614 <bp-sym.h> and <bp-asm.h>.
7615 (__memrchr): Don't use BP_SYM.
7616 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7617 <bp-sym.h> and <bp-asm.h>.
7618 (memset): Don't use BP_SYM.
7619 (__bzero): Likewise.
7620 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7621 <bp-sym.h> and <bp-asm.h>.
7622 (__rawmemchr): Don't use BP_SYM.
7623 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7624 <bp-sym.h> and <bp-asm.h>.
7625 (__STRCMP): Don't use BP_SYM.
7626 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7627 <bp-sym.h> and <bp-asm.h>.
7628 (strchr): Don't use BP_SYM.
7629 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7630 <bp-sym.h> and <bp-asm.h>.
7631 (__strchrnul): Don't use BP_SYM.
7632 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7633 <bp-sym.h> and <bp-asm.h>.
7634 (strlen): Don't use BP_SYM.
7635 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7636 <bp-sym.h> and <bp-asm.h>.
7637 (strncmp): Don't use BP_SYM. Remove comment about bounded
7639 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7640 <bp-sym.h> and <bp-asm.h>.
7641 (__strnlen): Don't use BP_SYM.
7642 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7643 <bp-sym.h> and <bp-asm.h>.
7644 (__GI__setjmp): Don't use BP_SYM.
7645 (_setjmp): Likewise.
7646 (__sigsetjmp): Likewise.
7647 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7648 (L(start_addresses)): Don't use BP_SYM.
7650 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7652 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7653 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7654 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7655 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7656 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7658 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7659 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7660 about bounded pointers.
7661 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7662 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7663 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7665 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7666 about bounded pointers. Remove GKM FIXME comments.
7667 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7668 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7670 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7671 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7672 Remove GKM FIXME comments.
7673 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7674 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7675 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7677 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7678 about bounded pointers. Remove GKM FIXME comment.
7679 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7681 (strncmp): Don't use BP_SYM. Remove comment about bounded
7683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7684 <bp-sym.h> and <bp-asm.h>.
7685 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7687 <bp-sym.h> and <bp-asm.h>.
7688 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7691 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7693 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7696 2013-03-05 David S. Miller <davem@davemloft.net>
7698 * po/es.po: Update from translation team.
7700 2013-03-05 Andreas Jaeger <aj@suse.de>
7702 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7703 <bits/mman-linux.h>.
7704 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7706 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7707 <bits/mman-linux.h> to end of file.
7708 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7710 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7711 <bits/mman-linux.h> to end of file.
7712 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7715 <bits/mman-linux.h> to end of file.
7717 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7718 (MCL_CURRENT, MCL_FUTURE): Define here.
7720 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7723 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7725 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7727 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7729 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7730 fourth parameter needed for rt_sigprocmask syscall.
7731 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7732 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7733 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7734 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7735 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7736 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7738 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7741 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7742 comment about bounded pointers.
7743 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7744 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7746 2013-03-04 Andreas Jaeger <aj@suse.de>
7748 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7751 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7752 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7753 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7754 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7755 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7756 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7758 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7761 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7762 __ieee754_sqrl instead of __sqrl.
7764 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7766 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7767 * sysdeps/powerpc/fpu_control.h: ... here.
7768 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7769 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7770 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7771 * sysdeps/powerpc/bits/mathinline.h: ... here.
7773 2013-03-01 Roland McGrath <roland@hack.frob.com>
7775 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7776 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7777 to just [NEED_DL_SYSINFO_DSO].
7778 * elf/dl-support.c: Likewise.
7779 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7780 * elf/rtld.c (dl_main): Likewise.
7781 * elf/setup-vdso.h (setup_vdso): Likewise.
7782 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7783 * sysdeps/unix/sysv/linux/dl-sysdep.c
7784 (_dl_discover_osversion): Likewise.
7786 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7788 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7789 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7791 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7793 * NEWS: Mention libm performance improvements and non-x86 PI
7796 * csu/libc-start.c (__pthread_initialize_minimal): Change
7798 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7800 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7803 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7804 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7805 <bp-sym.h> and <bp-asm.h>.
7806 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7807 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7809 (memcpy): Don't use BP_SYM.
7810 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7812 (__mpn_add_n): Don't use BP_SYM.
7813 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7814 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7816 (__mpn_addmul_1): Don't use BP_SYM.
7817 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7818 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7820 (_setjmp): Don't use BP_SYM.
7821 (__novmx_setjmp): Likewise.
7822 (__GI__setjmp): Likewise.
7823 (__vmx_setjmp): Likewise.
7824 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7826 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7827 (__bzero): Don't use BP_SYM.
7828 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7829 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7830 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7831 <bp-sym.h> and <bp-asm.h>.
7832 (memcpy): Don't use BP_SYM.
7833 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7834 <bp-sym.h> and <bp-asm.h>.
7835 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7836 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7837 <bp-sym.h> and <bp-asm.h>.
7838 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7839 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7841 (__mpn_lshift): Don't use BP_SYM.
7842 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7843 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7845 (memset): Don't use BP_SYM.
7846 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7847 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7848 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7850 (__mpn_mul_1): Don't use BP_SYM.
7851 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7852 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7853 <bp-sym.h> and <bp-asm.h>.
7854 (memcmp): Don't use BP_SYM.
7855 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7856 <bp-sym.h> and <bp-asm.h>.
7857 (memcpy): Don't use BP_SYM.
7858 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7859 <bp-sym.h> and <bp-asm.h>.
7860 (memset): Don't use BP_SYM.
7861 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7862 <bp-sym.h> and <bp-asm.h>.
7863 (strncmp): Don't use BP_SYM.
7864 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7865 <bp-sym.h> and <bp-asm.h>.
7866 (memcpy): Don't use BP_SYM.
7867 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7868 <bp-sym.h> and <bp-asm.h>.
7869 (memset): Don't use BP_SYM.
7870 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7871 <bp-sym.h> and <bp-asm.h>.
7872 (__memchr): Don't use BP_SYM.
7873 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7874 <bp-sym.h> and <bp-asm.h>.
7875 (memcmp): Don't use BP_SYM.
7876 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7877 <bp-sym.h> and <bp-asm.h>.
7878 (memcpy): Don't use BP_SYM.
7879 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7880 <bp-sym.h> and <bp-asm.h>.
7881 (__mempcpy): Don't use BP_SYM.
7882 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7883 <bp-sym.h> and <bp-asm.h>.
7884 (__memrchr): Don't use BP_SYM.
7885 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7886 <bp-sym.h> and <bp-asm.h>.
7887 (memset): Don't use BP_SYM.
7888 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7889 <bp-sym.h> and <bp-asm.h>.
7890 (__rawmemchr): Don't use BP_SYM.
7891 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7892 <bp-sym.h> and <bp-asm.h>.
7893 (__STRCMP): Don't use BP_SYM.
7894 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7895 <bp-sym.h> and <bp-asm.h>.
7896 (strchr): Don't use BP_SYM.
7897 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7898 <bp-sym.h> and <bp-asm.h>.
7899 (__strchrnul): Don't use BP_SYM.
7900 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7901 <bp-sym.h> and <bp-asm.h>.
7902 (strlen): Don't use BP_SYM.
7903 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7904 <bp-sym.h> and <bp-asm.h>.
7905 (strncmp): Don't use BP_SYM.
7906 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7907 <bp-sym.h> and <bp-asm.h>.
7908 (__strnlen): Don't use BP_SYM.
7909 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7911 (__mpn_rshift): Don't use BP_SYM.
7912 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7913 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7914 <bp-sym.h> and <bp-asm.h>.
7915 (__sigsetjmp): Don't use BP_SYM.
7916 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7917 (L(start_addresses)): Don't use BP_SYM.
7919 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7921 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7922 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7923 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7924 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7926 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7927 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7928 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7929 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7931 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7933 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7934 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7936 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7938 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7939 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7940 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7942 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7944 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7946 (strncmp): Don't use BP_SYM,
7947 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7949 (__mpn_sub_n): Don't use BP_SYM.
7950 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7951 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7953 (__mpn_submul_1): Don't use BP_SYM.
7954 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7956 <bp-sym.h> and <bp-asm.h>.
7957 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7959 <bp-sym.h> and <bp-asm.h>.
7960 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7963 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7966 Use ZK to minimize writes to Z.
7967 (sub_magnitudes): Simplify code a bit.
7968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7969 Use ZK to minimize writes to Z.
7970 (sub_magnitudes): Simplify code a bit.
7972 2013-02-27 Roland McGrath <roland@hack.frob.com>
7974 * csu/gmon-start.c: Add special exception to license text.
7976 2013-02-27 Richard Henderson <rth@redhat.com>
7978 * scripts/config.guess: Update from config.git.
7979 * scripts/config.sub: Likewise.
7981 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7983 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7985 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7987 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7989 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7991 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7993 2013-02-26 Roland McGrath <roland@hack.frob.com>
7995 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7996 [$(build-shared = yes].
7998 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8000 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8001 (__mul): Reduce iterations for calculating mantissa.
8003 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8005 (__mpranred): Likewise.
8008 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8009 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8011 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8013 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8014 Define __attribute__.
8016 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8018 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8020 * posix/regex_internal.h (__attribute): Remove.
8021 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8022 (re_string_context_at): Likewise.
8023 (bitset_not): Use __attribute__ and mark function as possibly
8025 (bitset_merge): Likewise.
8026 (bitset_mask): Likewise.
8027 (re_string_char_size_at): Likewise.
8028 (re_string_wchar_at): Likewise.
8029 (re_string_elem_size_at): Likewise.
8031 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8033 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8037 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8042 (__dbl_mp): Likewise.
8043 (add_magnitudes): Likewise.
8044 (sub_magnitudes): Likewise.
8048 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8051 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8054 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8058 up changes with default code.
8059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8062 2013-02-24 Allan McRae <allan@archlinux.org>
8064 * manual/socket.texi (The Internet Namespace): Order menu items
8065 to match that in the file.
8067 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8068 node listing of the info page menu.
8070 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8073 * sysdeps/i386/bp-asm.h: Remove file.
8074 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8075 (PARMS): Do not use macros from bp-asm.h.
8079 (__mpn_add_n): Do not use BP_SYM
8080 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8082 (PARMS): Do not use macros from bp-asm.h.
8085 (__mpn_addmul_1): Do not use BP_SYM
8086 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8088 (PARMS): Do not use macros from bp-asm.h.
8090 (_setjmp): Likewise. Do not use BP_SYM.
8091 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8093 (PARMS): Do not use macros from bp-asm.h.
8095 (setjmp): Likewise. Do not use BP_SYM.
8096 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8098 (PARMS): Do not use macros from bp-asm.h.
8099 (__frexp): Do not use BP_SYM.
8101 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8103 (PARMS): Do not use macros from bp-asm.h.
8104 (__frexpf): Do not use BP_SYM.
8106 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8108 (PARMS): Do not use macros from bp-asm.h.
8109 (__frexpl): Do not use BP_SYM.
8111 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8113 (PARMS): Do not use macros from bp-asm.h.
8114 (__remquo): Do not use BP_SYM.
8116 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8118 (PARMS): Do not use macros from bp-asm.h.
8119 (__remquof): Do not use BP_SYM.
8120 (remquof): Likewise.
8121 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8123 (PARMS): Do not use macros from bp-asm.h.
8124 (__remquol): Do not use BP_SYM.
8125 (remquol): Likewise.
8126 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8128 (PARMS): Do not use macros from bp-asm.h.
8131 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8132 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8134 (PARMS): Do not use macros from bp-asm.h.
8135 (strlen): Do not use BP_SYM.
8136 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8138 (PARMS): Do not use macros from bp-asm.h.
8142 (__mpn_add_n): Do not use BP_SYM.
8143 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8145 (PARMS): Do not use macros from bp-asm.h.
8148 (__mpn_addmul_1): Do not use BP_SYM.
8149 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8152 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8154 (PARMS): Do not use macros from bp-asm.h.
8157 (__mpn_lshift): Do not use BP_SYM.
8158 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8160 (PARMS): Do not use macros from bp-asm.h.
8164 (memcpy): Likewise. Do not use BP_SYM.
8165 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8166 libc_hidden_def and weak_alias.
8167 (mempcpy): Do not use BP_SYM in weak_alias.
8168 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8170 (PARMS): Do not use macros from bp-asm.h.
8173 [!BZERO_P] (CHR): Likewise.
8174 (memset): Likewise. Do not use BP_SYM.
8175 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8177 (PARMS): Do not use macros from bp-asm.h.
8180 (__mpn_mul_1): Do not use BP_SYM.
8181 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8183 (PARMS): Do not use macros from bp-asm.h.
8186 (__mpn_rshift): Do not use BP_SYM.
8187 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8189 (PARMS): Do not use macros from bp-asm.h.
8192 (strchr): Likewise. Do not use BP_SYM.
8193 (index): Do not use BP_SYM in weak_alias.
8194 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8196 (PARMS): Do not use macros from bp-asm.h.
8199 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8200 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8202 (PARMS): Do not use macros from bp-asm.h.
8203 (strlen): Do not use BP_SYM.
8204 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8206 (PARMS): Do not use macros from bp-asm.h.
8210 (__mpn_sub_n): Do not use BP_SYM.
8211 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8213 (PARMS): Do not use macros from bp-asm.h.
8216 (__mpn_submul_1): Do not use BP_SYM.
8217 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8219 (PARMS): Do not use macros from bp-asm.h.
8223 (__mpn_add_n): Do not use BP_SYM.
8224 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8227 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8229 (PARMS): Do not use macros from bp-asm.h.
8232 (memcmp): Do not use BP_SYM.
8233 (bcmp): Do not use BP_SYM in weak_alias.
8234 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8236 (PARMS): Do not use macros from bp-asm.h.
8240 (memcpy): Likewise. Do not use BP_SYM.
8241 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8243 (PARMS): Do not use macros from bp-asm.h.
8247 (memmove): Likewise. Do not use BP_SYM.
8248 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8250 (PARMS): Do not use macros from bp-asm.h.
8254 (__mempcpy): Likewise. Do not use BP_SYM.
8255 (mempcpy): Do not use BP_SYM in weak_alias.
8256 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8258 (PARMS): Do not use macros from bp-asm.h.
8261 [!BZERO_P] (CHR): Likewise.
8262 (memset): Likewise. Do not use BP_SYM.
8263 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8265 (PARMS): Do not use macros from bp-asm.h.
8267 (strcmp): Do not use BP_SYM.
8268 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8270 (PARMS): Do not use macros from bp-asm.h.
8273 [USE_AS_STRTOK_R] (SAVE): Likewise.
8274 (FUNCTION): Likewise. Do not use BP_SYM.
8275 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8277 (strtok_r): Likewise.
8278 (__GI___strtok_r): Likewise.
8279 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8280 (PARMS): Do not use macros from bp-asm.h.
8283 (__mpn_lshift): Do not use BP_SYM.
8284 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8285 (PARMS): Do not use macros from bp-asm.h.
8288 (__memchr): Do not use BP_SYM.
8289 (memchr): Do not use BP_SYM in weak_alias.
8290 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8291 (PARMS): Do not use macros from bp-asm.h.
8294 (memcmp): Do not use BP_SYM.
8295 (bcmp): Do not use BP_SYM in weak_alias.
8296 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8297 (PARMS): Do not use macros from bp-asm.h.
8300 (__mpn_mul_1): Do not use BP_SYM.
8301 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8303 (PARMS): Do not use macros from bp-asm.h.
8306 (__rawmemchr): Do not use BP_SYM.
8307 (rawmemchr): Do not use BP_SYM in weak_alias.
8308 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8309 (PARMS): Do not use macros from bp-asm.h.
8312 (__mpn_rshift): Do not use BP_SYM.
8313 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8314 (PARMS): Do not use macros from bp-asm.h.
8316 (__sigsetjmp): Likewise. Do not use BP_SYM.
8317 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8318 (_start): Do not use BP_SYM.
8319 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8320 (PARMS): Do not use macros from bp-asm.h.
8323 (__stpcpy): Likewise. Do not use BP_SYM.
8324 (stpcpy): Do not use BP_SYM in weak_alias.
8325 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8327 (PARMS): Do not use macros from bp-asm.h.
8331 (__stpncpy): Likewise. Do not use BP_SYM.
8332 (stpncpy): Do not use BP_SYM in weak_alias.
8333 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8334 (PARMS): Do not use macros from bp-asm.h.
8337 (strchr): Likewise. Do not use BP_SYM.
8338 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8340 (PARMS): Do not use macros from bp-asm.h.
8343 (__strchrnul): Likewise. Do not use BP_SYM.
8344 (strchrnul): Do not use BP_SYM in weak_alias.
8345 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8347 (PARMS): Do not use macros from bp-asm.h.
8349 (strcspn): Do not use BP_SYM.
8350 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8352 (PARMS): Do not use macros from bp-asm.h.
8355 (strpbrk): Likewise. Do not use BP_SYM.
8356 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8358 (PARMS): Do not use macros from bp-asm.h.
8361 (strrchr): Likewise. Do not use BP_SYM.
8362 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8363 (PARMS): Do not use macros from bp-asm.h.
8365 (strspn): Do not use BP_SYM.
8366 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8367 (PARMS): Do not use macros from bp-asm.h.
8371 (FUNCTION): Likewise. Do not use BP_SYM.
8372 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8374 (strtok_r): Likewise.
8375 (__GI___strtok_r): Likewise.
8376 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8377 (PARMS): Do not use macros from bp-asm.h.
8381 (__mpn_sub_n): Do not use BP_SYM.
8382 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8384 (PARMS): Do not use macros from bp-asm.h.
8387 (__mpn_submul_1): Do not use BP_SYM.
8388 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8390 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8392 (PARMS): Do not use macros from bp-asm.h.
8397 (__clone): Do not use BP_SYM.
8398 (clone): Do not use BP_SYM in weak_alias.
8399 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8401 (PARMS): Do not use macros from bp-asm.h.
8403 (__mmap64): Do not use BP_SYM.
8404 (mmap64): Do not use BP_SYM in weak_alias.
8405 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8406 <bp-sym.h> and <bp-asm.h>.
8407 (PARMS): Do not use macros from bp-asm.h.
8408 (__posix_fadvise64_l64): Do not use BP_SYM.
8409 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8410 (PARMS): Do not use macros from bp-asm.h.
8412 (semtimedop): Do not use BP_SYM.
8413 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8416 2013-02-21 Allan McRae <allan@archlinux.org>
8418 * manual/message.texi (Charset conversion in gettext):
8419 Move @end statement to beginning of line.
8421 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8428 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8433 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8435 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8436 tail-call to the resolved function if pltexit isn't needed.
8438 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8441 or Y being zero as being unlikely.
8442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8445 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8447 * manual/nss.texi (System Databases and Name Service Switch):
8448 Remove frobnicate @pxref.
8450 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8452 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8453 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8455 2013-02-20 Petr Machata <pmachata@redhat.com>
8457 * elf/elf.h (R_ARM_TARGET1): New macro.
8458 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8459 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8460 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8461 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8462 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8463 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8464 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8465 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8466 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8467 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8468 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8469 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8470 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8471 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8472 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8473 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8474 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8475 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8476 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8477 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8478 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8479 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8480 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8481 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8482 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8483 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8484 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8485 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8486 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8487 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8488 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8489 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8490 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8491 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8492 (R_ARM_THM_GOT_BREL12): Likewise.
8493 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8494 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8495 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8496 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8497 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8498 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8499 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8500 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8501 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8503 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8505 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8506 __attribute_used__ to __attribute__ ((unused)).
8508 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8510 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8516 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8519 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8521 (ENTER): Remove both macro definitions.
8523 (CHECK_BOUNDS_LOW): Likewise.
8524 (CHECK_BOUNDS_HIGH): Likewise.
8525 (CHECK_BOUNDS_BOTH): Likewise.
8526 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8527 (RETURN_BOUNDED_POINTER): Likewise.
8528 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8529 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8530 (POP_ERRNO_LOCATION_RETURN): Likewise.
8531 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8532 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8533 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8535 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8536 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8537 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8538 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8539 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8540 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8541 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8542 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8543 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8544 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8545 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8546 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8547 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8548 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8550 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8551 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8553 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8554 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8555 * sysdeps/i386/i586/memset.S (memset): Likewise.
8556 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8557 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8558 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8560 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8561 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8562 Change uses of L(2) to L(out).
8563 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8564 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8565 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8566 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8567 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8569 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8570 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8572 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8573 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8574 (RETURN): Do not use macro LEAVE.
8575 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8576 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8577 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8578 * sysdeps/i386/i686/memset.S (memset): Likewise.
8579 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8580 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8581 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8582 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8584 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8585 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8586 L(1_2) and L(1_3) into L(1).
8587 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8588 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8589 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8590 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8591 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8592 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8593 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8594 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8595 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8597 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8598 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8599 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8600 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8601 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8602 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8603 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8604 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8605 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8606 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8607 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8608 * sysdeps/i386/strspn.S (strspn): Likewise.
8609 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8611 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8612 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8613 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8614 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8616 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8617 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8618 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8620 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8622 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8624 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8627 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8629 * math/atest-exp.c (exp_mpn): Remove ROUND.
8630 * math/atest-exp2.c (exp_mpn): Likewise.
8631 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8633 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8634 * stdlib/tst-tls-atexit-lib.c: Likewise.
8635 * stdlib/tst-tls-atexit.c: Likewise.
8637 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8639 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8640 and __attribute_alloc_size__.
8642 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8644 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8645 __attribute_alloc_size__.
8646 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8647 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8649 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8651 * include/programs/xmalloc.h: New file.
8652 * catgets/gencat.c: Include it.
8653 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8654 * elf/pldd.c: Likewise.
8655 * iconv/iconv_charmap.c: Likewise.
8656 * iconv/iconvconfig.c: Likewise.
8657 * iconv/strtab.c: Likewise.
8658 * locale/programs/locale.c: Likewise.
8659 * locale/programs/localedef.h: Likewise.
8660 * locale/programs/simple-hash.c: Likewise.
8661 * nscd/nscd.h: Likewise.
8662 * nss/makedb.c: Likewise.
8663 * sysdeps/generic/ldconfig.h: Likewise.
8665 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8667 * Versions.def: Add GLIBC_2.18.
8668 * include/link.h (struct link_map): New member l_tls_dtor_count.
8669 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8670 (__call_tls_dtors): Likewise.
8671 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8672 __cxa_thread_atexit_impl.
8673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8681 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8689 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8690 (tests): Add test case tst-tls-atexit.
8691 (modules-names): Add shared library for tst-tls-atexit.
8692 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8693 (GLIBC_PRIVATE): Add __call_tls_dtors.
8694 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8696 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8697 * stdlib/tst-tls-atexit.c: New test case.
8698 * stdlib/tst-tls-atexit-lib.c: New test case.
8700 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8702 * elf/Versions (ld): Add _dl_find_dso_for_object.
8703 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8704 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8705 (dl_open_worker): Use _dl_find_dso_for_object.
8706 * elf/dl-sym.c (do_sym): Likewise.
8707 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8709 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8711 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8712 Syntactic changes only.
8713 (_dl_runtime_profile): Do a tail-call to the resolved function.
8715 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8718 * sysdeps/x86_64/bp-asm.h: Remove file.
8719 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8720 <bp-sym.h> and <bp-asm.h>.
8721 (__clone): Do not use BP_SYM.
8722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8723 <bp-sym.h> and <bp-asm.h>.
8724 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8725 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8727 (_setjmp): Do not use BP_SYM.
8728 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8730 (setjmp): Do not use BP_SYM.
8731 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8733 (mempcpy): Do not use BP_SYM in weak_alias.
8734 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8736 (strchr): Do not use BP_SYM.
8737 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8739 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8740 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8741 (_start): Do not use BP_SYM.
8742 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8744 (strcat): Do not use BP_SYM.
8745 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8747 (STRCMP): Do not use BP_SYM.
8748 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8750 (STRCPY): Do not use BP_SYM.
8751 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8753 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8755 (FUNCTION): Do not use BP_SYM.
8756 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8758 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8760 2013-02-17 Andreas Jaeger <aj@suse.de>
8762 * time/Versions: Sort entries.
8763 * string/Versions: Likewise.
8764 * resolv/Versions: Likewise.
8765 * posix/Versions: Likewise.
8766 * iconv/Versions: Likewise.
8767 * elf/Versions: Likewise.
8768 * wcsmbs/Versions: Likewise.
8770 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8772 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8773 loop termination condition.
8775 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8776 variable to calculate EZ.
8779 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8780 the lower precision input.
8782 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8785 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8786 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8787 (run-via-rtld-prefix): Do not handle %-bp tests.
8788 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8789 (all-object-suffixes): Remove .ob.
8790 (bppfx): Remove variable.
8791 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8792 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8793 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8794 [$(build-bounded) = yes] (libtype.ob): Likewise.
8795 * Makerules (elide-routines.ob): Remove variable.
8796 (do-tests-clean): Do not handle *-bp.out.
8797 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8798 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8799 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8800 (tests): Do not include $(tests-bp.out).
8801 (xtests): Do not include $(xtests-bp.out).
8802 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8803 [$(build-bounded) = yes] ($(addprefix
8804 $(objpfx),$(binaries-bounded))): Remove rule.
8805 ($(objpfx)%-bp.out): Remove rule.
8806 * config.make.in (build-bounded): Remove variable.
8807 * crypt/Makefile [$(build-bounded) = yes]
8808 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8809 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8811 [$(build-bounded) = yes] (install-lib): Likewise.
8812 [$(build-bounded) = yes] (generated): Likewise.
8813 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8815 * intl/Makefile [$(build-bounded) = yes]
8816 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8817 * math/Makefile [$(build-bounded) = yes]
8818 ($(tests:%=$(objpfx)%-bp): Likewise.
8819 * misc/Makefile [$(build-bounded) = yes]
8820 ($(objpfx)tst-tsearch-bp): Likewise.
8821 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8822 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8824 * string/Makefile (o-objects.ob): Remove variable.
8825 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8826 (CFLAGS-.ob): Remove variable.
8827 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8828 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8829 both definitions of variable.
8830 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8831 (ASFLAGS-.ob): Remove variable.
8833 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8836 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8837 Remove __BOUNDED_POINTERS__ from condition.
8838 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8839 * string/bits/string2.h [!__NO_STRING_INLINES &&
8840 !__BOUNDED_POINTERS__]: Likewise.
8841 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8843 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8844 Remove conditional code.
8845 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8846 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8847 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8851 * csu/libc-start.c: Do not include <bp-sym.h>.
8852 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8853 * elf/dl-open.c: Do not include <bp-sym.h>.
8854 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8855 * math/fegetenv.c: Do not include <bp-sym.h>.
8856 (fegetenv): Do not use BP_SYM in versioned symbols.
8857 * nptl/sysdeps/pthread/bits/libc-lockP.h
8858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8861 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8863 (__pthread_mutex_destroy): Likewise.
8864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8865 (__pthread_mutex_lock): Likewise.
8866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8867 (__pthread_mutex_trylock): Likewise.
8868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8869 (__pthread_mutex_unlock): Likewise.
8870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8871 (__pthread_mutexattr_init): Likewise.
8872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8873 (__pthread_mutexattr_destroy): Likewise.
8874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8875 (__pthread_mutexattr_settype): Likewise.
8876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8877 (__pthread_rwlock_init): Likewise.
8878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8879 (__pthread_rwlock_destroy): Likewise.
8880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8881 (__pthread_rwlock_rdlock): Likewise.
8882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8883 (__pthread_rwlock_tryrdlock): Likewise.
8884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8885 (__pthread_rwlock_wrlock): Likewise.
8886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8887 (__pthread_rwlock_trywrlock): Likewise.
8888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8889 (__pthread_rwlock_unlock): Likewise.
8890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8891 (__pthread_key_create): Likewise.
8892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8893 (__pthread_setspecific): Likewise.
8894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8895 (__pthread_getspecific): Likewise.
8896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8899 (_pthread_cleanup_push_defer): Likewise.
8900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8901 (_pthread_cleanup_pop_restore): Likewise.
8902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8903 (pthread_setcancelstate): Likewise.
8904 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8906 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8907 (memchr): Do not use BP_SYM in weak_alias.
8908 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8909 (fegetenv): Do not use BP_SYM in versioned symbols.
8910 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8911 (fesetenv): Do not use BP_SYM in versioned symbols.
8912 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8913 (feupdateenv): Do not use BP_SYM in versioned symbols.
8914 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8915 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8916 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8917 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8918 (open64): Do not use BP_SYM in weak_alias.
8919 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8920 (fegetenv): Do not use BP_SYM in versioned symbols.
8921 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8922 (fesetenv): Do not use BP_SYM in versioned symbols.
8923 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8924 (feupdateenv): Do not use BP_SYM in versioned symbols.
8925 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8926 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8927 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8928 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8929 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8930 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8931 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8933 (__libc_start_main): Do not use BP_SYM.
8935 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8938 redundant return line.
8942 (sub_magnitudes): Likewise.
8948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8952 (sub_magnitudes): Likewise.
8959 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8961 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8962 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8965 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8966 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8968 of __mul for squares.
8969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8973 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8974 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8976 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8979 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8981 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8982 prototype or function definition. Rename ubp_* variables and
8983 parameters. Remove argv definitions conditional on
8984 [__BOUNDED_POINTERS__].
8985 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8986 * elf/dl-runtime.c (_dl_fixup): Likewise.
8987 * include/set-hooks.h (RUN_HOOK): Likewise.
8988 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8990 * string/strcpy.c (strcpy): Do not use __unbounded.
8991 * sysdeps/generic/frame.h (struct layout): Likewise.
8992 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8993 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8994 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8995 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8996 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8997 (__backtrace): Likewise.
8998 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9000 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9001 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9002 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9004 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9005 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9006 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9007 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9008 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9009 Do not use __unbounded.
9010 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9011 Rename __unboundedrlimits parameter to rlimits in prototype.
9012 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9013 Do not use __unbounded.
9014 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9016 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9017 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9018 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9019 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9020 __ptrvalue or __unbounded.
9021 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9022 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9024 (__new_msgctl): Do not use __ptrvalue.
9025 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9027 (__libc_msgrcv): Do not use __ptrvalue.
9028 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9029 startup_info): Do not use __unbounded.
9030 (__libc_start_main): Likewise. Rename ubp_* variables and
9031 parameters. Remove argv definitions conditional on
9032 [__BOUNDED_POINTERS__].
9033 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9035 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9037 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9039 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9041 (__new_shmctl): Do not use __ptrvalue.
9042 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9043 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9045 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9046 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9047 (__libc_sigaction): Likewise.
9048 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9049 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9051 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9053 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9055 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9057 * string/mempcpy.c: Implement by calling memcpy.
9059 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9066 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9067 values in the mantissa.
9069 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9070 minimize writes to Z.
9071 (sub_magnitudes): Simplify code a bit.
9073 2013-02-12 Roland McGrath <roland@hack.frob.com>
9075 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9076 from the message. The linker prefixes all warnings with that already.
9078 2013-02-12 Andreas Schwab <schwab@suse.de>
9081 * posix/regexec.c (extend_buffers): Add parameter min_len.
9082 (check_matching): Pass minimum needed length.
9083 (clean_state_log_if_needed): Likewise.
9084 (get_subexp): Likewise.
9085 * posix/Makefile (tests): Add bug-regex34.
9086 (bug-regex34-ENV): Define.
9087 * posix/bug-regex34.c: New file.
9090 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9091 elements compare against the byte sequence of it, not its name.
9092 * posix/Makefile (tests): Add bug-regex35.
9093 (bug-regex35-ENV): Define.
9094 * posix/bug-regex35.c: New file.
9096 2013-02-11 Tom de Vries <tom@codesourcery.com>
9098 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9100 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9101 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9102 (CHECK_EOL): Add undef.
9104 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9106 * bits/stdlib-bsearch.h: New file.
9107 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9108 * stdlib/stdlib.h: Likewise.
9110 2013-02-11 Roland McGrath <roland@hack.frob.com>
9112 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9113 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9115 * manual/search.texi (Array Search Function): Add missing const in
9117 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9118 declaration to use rlim_t.
9119 (Basic Scheduling Functions): Remove erroneous const from
9120 sched_getparam prototype. Remove erroneous * from
9121 sched_get_priority_max and sched_get_priority_min prototypes.
9122 (Resource Usage): Fix summary @comment on vtimes to refer to
9123 sys/vtimes.h rather than vtimes.h.
9124 Add missing *s in vtimes prototype.
9125 (Limits on Resources): Fix ulimit prototype to return long int.
9126 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9127 prototypes to use long int rather than double.
9128 (BSD Random): Fix initstate and setstate to use char *, not void *.
9129 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9130 prototype to make second argument 'struct aiocb64 *const[]'.
9131 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9132 (Status of AIO Operations): Remove erroneous const in aio_return and
9133 aio_return64 prototypes.
9134 (Synchronizing I/O): Fix sync prototype to return void.
9135 * manual/startup.texi (Suboptions): Remove an erroneous const in
9136 getsubopt prototype.
9137 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9138 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9139 use size_t rather than int.
9140 (Scanning All Users): Likewise for getpwent_r.
9141 (Setting Groups): Add missing const to setgroups prototype.
9142 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9143 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9144 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9145 'const void *' rather than 'const char *'.
9146 (Host Address Functions): Likewise for inet_ntop.
9147 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9148 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9149 ssize_t for return value.
9150 (Sending Data): Likewise for send, sendto, sendmsg.
9151 (Socket Option Functions): Add a missing const in setsockopt prototype.
9152 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9153 use wchar_t for the argument.
9154 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9155 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9157 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9158 double/float/long double for second argument.
9159 Fix return types of significand, significandf, significandl.
9160 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9161 argument in fchmod prototype.
9162 (File Owner): Use uid_t and gid_t in fchown prototype.
9163 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9164 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9165 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9166 use 'const struct dirent **' as argument types to CMP function pointer
9168 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9169 (File Times): Fix summary magic @comment for struct utimbuf and utime
9170 to refer to utime.h, not time.h.
9171 * manual/string.texi (Argz Functions): Add missing const in
9172 argz_extract and argz_next prototypes.
9173 (Finding Tokens in a String): Likewise for basename.
9174 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9175 (Copying and Concatenation): Fix typo in wmemmove prototype.
9176 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9177 (Signal Stack): Remove erroneous const in sigstack prototype.
9178 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9180 (Simple Calendar Time): Likewise for stime.
9181 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9183 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9184 say sys/sysctl.h instead.
9185 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9186 and vsyslog prototypes.
9188 2013-02-11 Tom de Vries <tom@codesourcery.com>
9190 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9193 2013-02-11 Roland McGrath <roland@hack.frob.com>
9195 * misc/sys/mman.h: Fix typo in mremap comment.
9197 2013-02-08 Roland McGrath <roland@hack.frob.com>
9199 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9200 the '\0' terminator.
9202 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9205 * debug/segfault.c: Don't include <bp-checks.h>.
9206 * sysdeps/generic/bp-checks.h: Remove file.
9207 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9208 (__GETDENTS): Don't use CHECK_N.
9209 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9210 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9211 (__getgroups): Don't use CHECK_N.
9212 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9213 (setgroups): Don't use CHECK_N.
9214 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9215 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9216 (__libc_msgrcv): Don't use CHECK_N.
9217 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9218 (__libc_msgsnd): Don't use CHECK_N.
9219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9221 (__libc_pread): Don't use CHECK_N.
9222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9223 include <bp-checks.h>.
9224 (__libc_pread64): Don't use CHECK_N.
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9226 include <bp-checks.h>.
9227 (__libc_pwrite): Don't use CHECK_N.
9228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9229 include <bp-checks.h>.
9230 (__libc_pwrite64): Don't use CHECK_N.
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9233 (__libc_pread): Don't use CHECK_N.
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9235 include <bp-checks.h>.
9236 (__libc_pread64): Don't use CHECK_N.
9237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9238 include <bp-checks.h>.
9239 (__libc_pwrite): Don't use CHECK_N.
9240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9241 include <bp-checks.h>.
9242 (__libc_pwrite64): Don't use CHECK_N.
9243 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9244 (do_pread): Don't use CHECK_N.
9245 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9246 (do_pread64): Don't use CHECK_N.
9247 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9248 (do_pwrite): Don't use CHECK_N.
9249 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9250 (do_pwrite64): Don't use CHECK_N.
9251 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9252 (__libc_readv): Don't use CHECK_N.
9253 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9254 (semop): Don't use CHECK_N.
9255 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9257 (semtimedop): Don't use CHECK_N.
9258 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9259 (__libc_pread): Don't use CHECK_N.
9260 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9262 (__libc_pread64): Don't use CHECK_N.
9263 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9265 (__libc_pwrite): Don't use CHECK_N.
9266 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9268 (__libc_pwrite64): Don't use CHECK_N.
9269 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9271 (__libc_msgrcv): Don't use CHECK_N.
9272 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9273 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9274 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9275 (__libc_writev): Don't use CHECK_N.
9277 2013-02-08 Roland McGrath <roland@hack.frob.com>
9279 * string/strcpy.c: Removed unused variable.
9281 * Makeconfig (+sysdep-includes): Define with := rather than =.
9282 Use an existing include/ subdir of each sysdeps dir before it.
9284 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9286 * nscd/connection.c (register_traced_file): Comment function.
9287 [HAVE_INOTIFY] (union __inev): Define.
9288 [HAVE_INOTIFY] (inotify_check_files): New function.
9289 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9290 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9292 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9294 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9296 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9297 loaded if not already and that a failure is permanent.
9299 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9302 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9303 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9305 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9308 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9309 (CHECK_1_NULL_OK): Likewise.
9310 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9311 (__fxstat): Do not use CHECK_1.
9312 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9314 (___fxstat64): Do not use CHECK_1.
9315 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9317 (__fxstatat): Do not use CHECK_1.
9318 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9320 (__fxstatat64): Do not use CHECK_1.
9321 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9323 (__fxstat): Do not use CHECK_1.
9324 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9326 (__fxstatat): Do not use CHECK_1.
9327 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9329 (__getresgid): Do not use CHECK_1.
9330 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9332 (__getresuid): Do not use CHECK_1.
9333 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9335 (__lxstat): Do not use CHECK_1.
9336 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9338 (__old_msgctl): Do not use CHECK_1.
9339 (__new_msgctl): Likewise.
9340 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9342 (__new_setrlimit): Do not use CHECK_1.
9343 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9345 (__old_shmctl): Do not use CHECK_1.
9346 (__new_shmctl): Likewise.
9347 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9349 (__xstat): Do not use CHECK_1.
9350 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9351 (__lxstat): Do not use CHECK_1.
9352 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9354 (___lxstat64): Do not use CHECK_1.
9355 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9356 (__old_msgctl): Do not use CHECK_1.
9357 (__new_msgctl): Likewise.
9358 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9360 (__gettimeofday): Do not use CHECK_1.
9361 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9362 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9363 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9365 (__gettimeofday): Do not use CHECK_1.
9366 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9367 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9368 (__new_shmctl): Do not use CHECK_1.
9369 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9371 (do_sigtimedwait): Do not use CHECK_1.
9372 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9374 (do_sigwaitinfo): Do not use CHECK_1.
9375 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9377 (msgctl): Do not use CHECK_1.
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9380 (shmctl): Do not use CHECK_1.
9381 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9382 (ustat): Do not use CHECK_1.
9383 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9385 (__fxstat): Do not use CHECK_1.
9386 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9388 (__fxstatat): Do not use CHECK_1.
9389 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9391 (__lxstat): Do not use CHECK_1.
9392 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9394 (__xstat): Do not use CHECK_1.
9395 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9396 (__xstat): Do not use CHECK_1.
9397 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9398 (___xstat64): Do not use CHECK_1.
9401 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9403 (CHECK_BOUNDS_HIGH): Likewise.
9404 * string/strcpy.c: Do not include <bp-checks.h>.
9405 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9407 2013-02-07 Roland McGrath <roland@hack.frob.com>
9409 * nscd/nscd-client.h (__nscd_drop_map_ref):
9410 Add __attribute__ ((unused)).
9411 * nis/nss-nisplus.h (niserr2nss): Likewise.
9413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9414 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9416 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9417 Remove inline keyword.
9418 * include/rounding-mode.h (round_away): Likewise.
9419 * libio/wfileops.c (adjust_wide_data): Likewise.
9420 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9421 (__m128i_strloadu_tolower): Likewise.
9422 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9423 (__m128i_strloadu_tolower): Likewise.
9424 * time/mktime.c (ydhms_diff): Likewise.
9425 * locale/elem-hash.h (elem_hash): Likewise.
9426 * locale/setlocale.c (setdata): Likewise.
9427 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9428 (re_string_wchar_at): Likewise.
9429 (bitset_not, bitset_merge, bitset_mask): Likewise.
9430 [!(__GNUC__ > 3)] (inline): Remove macro.
9431 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9432 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9433 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9434 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9435 * string/memcmp.c (memcmp_bytes): Likewise.
9436 * locale/programs/locarchive.c (compute_hashval): Likewise.
9437 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9438 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9439 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9440 * nss/getent.c (print_rpc, print_protocols): Likewise.
9441 (print_passwd, print_group, print_aliases): Likewise.
9442 * nis/nss-nisplus.h (niserr2nss): Likewise.
9443 * nscd/connections.c (restart_p): Likewise.
9444 Change return type to bool.
9446 2013-02-05 Roland McGrath <roland@hack.frob.com>
9448 * Makeconfig (all-Depend-files): Add existing
9449 $(sorted-subdirs:=/Depend) files.
9450 (all-subdirs): Remove nss.
9451 * sysdeps/unix/inet/Subdirs: Add it here instead.
9452 * hesiod/Depend: New file.
9454 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9455 instead of calling alloca.
9457 * io/lseek.c (__lseek): Rename to __libc_lseek.
9458 Define __lseek as an alias.
9460 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9462 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9464 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9465 else clause and remove check for non-standard endianness.
9467 2013-02-04 David S. Miller <davem@davemloft.net>
9469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9471 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9474 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9475 (__ubp_memchr): Remove prototype.
9476 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9477 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9478 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9479 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9480 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9482 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9483 (__ubp_memchr): Likewise.
9484 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9485 (__ubp_memchr): Likewise.
9486 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9487 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9488 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9489 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9491 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9492 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9493 (__getcwd): Do not use CHECK_STRING.
9494 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9496 (__real_chown): Do not use CHECK_STRING.
9497 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9499 (fchownat): Do not use CHECK_STRING.
9500 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9502 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9504 (__lchown): Do not use CHECK_STRING.
9505 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9506 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9507 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9508 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9510 include <bp-checks.h>.
9511 (truncate64): Do not use CHECK_STRING.
9512 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9514 (__real_chown): Do not use CHECK_STRING.
9515 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9517 (__lchown): Do not use CHECK_STRING.
9518 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9520 (__chown): Do not use CHECK_STRING.
9521 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9523 (truncate64): Do not use CHECK_STRING.
9524 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9526 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9527 (__xmknod): Do not use CHECK_STRING.
9528 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9530 (__xmknodat): Do not use CHECK_STRING.
9531 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9532 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9534 2013-02-04 Andreas Schwab <schwab@suse.de>
9537 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9538 * include/netdb.h: Likewise for h_errno.
9539 * elf/tst-stackguard1.c: Include <tls.h>.
9541 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9543 * elf/link.h (struct link_map): Extend the l_addr comment.
9544 * include/link.h (struct link_map): Likewise.
9546 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9549 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9550 (BOUNDED_1): Remove macro.
9551 * debug/backtrace.c: Don't include <bp-checks.h>.
9552 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9553 (__backtrace): Likewise.
9554 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9556 (__backtrace): Don't use BOUNDED_1.
9557 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9559 (__backtrace): Don't use BOUNDED_1.
9560 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9561 (__backtrace): Don't use BOUNDED_1.
9562 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9563 (shmat): Don't use BOUNDED_N.
9565 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9568 * sysdeps/generic/bp-start.h: Remove file.
9569 * csu/libc-start.c: Don't include <bp-start.h>.
9570 (LIBC_START_MAIN): Set up __environ directly instead of using
9571 INIT_ARGV_and_ENVIRON.
9572 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9576 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9578 (CHECK_FCNTL): Likewise.
9579 (CHECK_N_PAGES): Likewise.
9582 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9584 (CHECK_SIGSET_NULL_OK): Likewise.
9585 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9587 (sigpending): Don't use CHECK_SIGSET.
9588 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9590 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9591 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9593 (do_sigsuspend): Don't use CHECK_SIGSET.
9594 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9596 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9597 (do_sigwait): Don't use CHECK_SIGSET.
9598 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9600 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9601 include <bp-checks.h>.
9602 (sigpending): Don't use CHECK_SIGSET.
9603 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9604 include <bp-checks.h>.
9605 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9606 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9608 (sigpending): Don't use CHECK_SIGSET.
9609 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9611 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9614 * sysdeps/generic/bp-semctl.h: Remove file.
9615 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9616 <bp-checks.h> and <bp-semctl.h>.
9617 (__old_semctl): Don't use CHECK_SEMCTL.
9618 (__new_semctl): Likewise.
9619 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9621 (__old_semctl): Don't use CHECK_SEMCTL.
9622 (__new_semctl): Likewise.
9623 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9624 <bp-checks.h> and <bp-semctl.h>.
9625 (__old_semctl): Don't use CHECK_SEMCTL.
9626 (__new_semctl): Likewise.
9627 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9628 <bp-checks.h> and <bp-semctl.h>.
9629 (semctl): Don't use CHECK_SEMCTL.
9632 * Makerules (elide-bp-thunks): Remove variable.
9633 (elide-routines.oS): Don't use $(elide-bp-thunks).
9634 (elide-routines.os): Likewise.
9635 (elide-routines.o): Likewise.
9636 (elide-routines.op): Likewise.
9637 (elide-routines.og): Likewise.
9638 (objects): Don't use $(bp-thunks).
9639 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9641 (common-generated): Do not add s-proto-bp.d.
9642 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9645 Do not generate makefile rules for bounded-pointer thunks.
9646 * sysdeps/generic/bp-thunks.h: Remove file.
9647 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9648 * sysdeps/unix/s-proto-bp.S: Likewise.
9651 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9652 parts of result separately when argument is not close to line from
9653 -i to i and one part of argument is small.
9654 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9655 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9656 * math/libm-test.inc (cacos_test): Add more tests.
9657 (casin_test): Likewise.
9658 (casinh_test): Likewise.
9659 * sysdeps/i386/fpu/libm-test-ulps: Update.
9660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9662 2013-01-31 David S. Miller <davem@davemloft.net>
9664 * po/de.po: Update from translation team.
9666 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9668 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9670 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9672 * configure.in (_AC_PROG_CC_C89): New definition.
9673 * configure: Regenerate.
9675 * configure.in (AC_PROG_CPP): New definition.
9676 * configure: Regenerate.
9678 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9680 * debug/tst-backtrace.h: New file.
9681 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9682 (ret): Remove variable.
9684 (FAIL): Remove macro.
9685 (NO_INLINE): Likewise.
9686 (fn1): Use match function instead of strstr.
9687 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9688 (ret): Remove variable.
9690 (FAIL): Remove macro.
9691 (NO_INLINE): Likewise.
9692 (fn): Use match function instead of strstr.
9693 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9694 (ret): Remove variable.
9696 (FAIL): Remove macro.
9697 (NO_INLINE): Likewise.
9698 (handle_signal): Use match function instead of strstr.
9699 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9700 (ret): Remove variable.
9702 (FAIL): Remove macro.
9703 (NO_INLINE): Likewise.
9704 (handle_signal): Use match function instead of strstr.
9706 2013-01-23 Roland McGrath <roland@hack.frob.com>
9708 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9710 2013-01-23 David S. Miller <davem@davemloft.net>
9712 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9713 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9714 argument of CAS if possible.
9715 * sysdeps/sparc/sparc64/bits/atomic.h
9716 (__arch_compare_and_exchange_val_32_acq): Likewise.
9717 (__arch_compare_and_exchange_val_64_acq): Likewise.
9719 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9721 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9722 * sysdeps/posix/ulimit.c: ... this.
9724 * sysdeps/unix/bsd/ulimit.c: Remove file.
9726 2013-01-23 Adam Conrad <adconrad@0c3.net>
9728 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9729 (LDFLAGS-tst-array5): Likewise.
9731 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9734 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9735 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9736 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9737 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9739 2013-01-21 David S. Miller <davem@davemloft.net>
9741 * sysdeps/sparc/backtrace.c: New file.
9742 * sysdeps/sparc/sparc32/backtrace.h: New file.
9743 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9744 * sysdeps/sparc/sparc64/backtrace.h: New file.
9745 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9746 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9749 2013-01-21 Andreas Schwab <schwab@suse.de>
9752 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9755 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9761 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9762 Mark Mitchell <mark@codesourcery.com>
9763 Tom de Vries <tom@codesourcery.com>
9764 Paul Pluzhnikov <ppluzhnikov@google.com>
9766 * debug/tst-backtrace2.c: New file.
9767 * debug/tst-backtrace3.c: Likewise.
9768 * debug/tst-backtrace4.c: Likewise.
9769 * debug/tst-backtrace5.c: Likewise.
9770 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9771 (CFLAGS-tst-backtrace3.c): Likewise.
9772 (CFLAGS-tst-backtrace4.c): Likewise.
9773 (CFLAGS-tst-backtrace5.c): Likewise.
9774 (LDFLAGS-tst-backtrace2): Likewise.
9775 (LDFLAGS-tst-backtrace3): Likewise.
9776 (LDFLAGS-tst-backtrace4): Likewise.
9777 (LDFLAGS-tst-backtrace5): Likewise.
9778 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9779 tst-backtrace4 and tst-backtrace5.
9781 2013-01-18 Anton Blanchard <anton@samba.org>
9782 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9784 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9785 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9786 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9787 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9789 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9790 "+r" and remove output regs list as redundant. Add explicit inline
9791 asm to specify register of return val to work around compiler codegen
9792 bug. Remove (int) cast on return value. Add return type parameter to
9793 use in macro so that this macro does not truncate return value for
9795 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9796 pass to INTERNAL_VSYSCALL_NCS.
9797 (INLINE_VSYSCALL): Add 'long int' as return type to
9798 INTERNAL_VSYSCALL_NCS macro invocation.
9799 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9800 INTERNAL_VSYSCALL_NCS macro invocation.
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9803 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9806 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9807 Fix application of SIMD FP exception mask.
9809 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9810 mp_no from a power of two.
9811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9812 __mpexp_twomm1. Use __pow_mp.
9814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9817 2013-01-17 David S. Miller <davem@davemloft.net>
9819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9821 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9824 * include/complex.h: Condition contents on [!_COMPLEX_H].
9825 (__kernel_casinhf): New prototype.
9826 (__kernel_casinh): Likewise.
9827 (__kernel_casinhl): Likewise.
9828 * math/Makefile (libm_calls): Add k_casinh.
9829 * math/k_casinh.c: New file.
9830 * math/k_casinhf.c: Likewise.
9831 * math/k_casinhl.c: Likewise.
9832 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9833 finite nonzero arguments.
9834 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9835 finite nonzero arguments.
9836 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9837 finite nonzero arguments.
9838 * math/s_casinh.c: Do not include <float.h>.
9839 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9840 * math/s_casinhf.c: Do not include <float.h>.
9841 (__casinhf): Move code for finite nonzero arguments to
9843 * math/s_casinhl.c: Do not include <float.h>.
9844 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9846 (__casinhl): Move code for finite nonzero arguments to
9848 * math/libm-test.inc (cacos_test): Add more tests.
9849 * sysdeps/i386/fpu/libm-test-ulps: Update.
9850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9852 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9854 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9855 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9856 [!HAVE_MREMAP]: Remove [defined linux] case.
9857 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9859 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9861 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9863 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9865 * elf/elf.h (R_386_SIZE32): New relocation.
9866 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9868 (elf_machine_rela): Likewise.
9869 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9870 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9872 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9874 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9875 (FP_FAST_FMA): Do not define.
9876 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9877 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9878 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9879 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9880 !_SOFT_FLOAT]: Likewise.
9881 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9884 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9885 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9886 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9887 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9888 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9889 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9892 2013-01-16 Andreas Schwab <schwab@suse.de>
9895 * include/stdlib.h (__mktemp): Add declaration.
9896 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9897 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9899 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9901 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9903 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9904 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9905 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9907 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9908 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9910 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9912 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9913 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9914 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9916 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9917 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9919 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9921 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9923 2013-01-15 David S. Miller <davem@davemloft.net>
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9926 trunc{,f} to libm-sysdep_routes.
9927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9937 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9938 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9939 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9940 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9941 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9942 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9945 nearbyint{,f} to libm-sysdep_routes.
9946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9959 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9963 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9964 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9966 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9967 libc_feholdexcept and libc_fesetenv.
9969 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9971 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9973 2013-01-14 David S. Miller <davem@davemloft.net>
9975 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9976 (SPARC_ASM_VIS2_IFUNC): Likewise.
9977 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9979 use of 'siam' instruction.
9980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10013 routines to libm-sysdep_routines.
10014 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10017 fdim/fdimf to libm-sysdep_routines.
10018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10026 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10027 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10028 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10029 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10031 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10033 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10034 to optimize copies.
10036 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10041 local variable MPTWO.
10042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10045 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10047 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10050 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10052 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10054 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10056 * manual/pattern.texi (glob_t): Document gl_flags.
10057 (glob64_t): Likewise.
10059 2013-01-11 David S. Miller <davem@davemloft.net>
10061 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10062 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10063 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10064 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10065 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10066 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10067 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10068 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10069 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10070 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10071 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10072 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10073 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10075 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10076 sparc V9 rather than using V8 code.
10077 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10078 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10080 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10082 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10085 2013-01-11 Roland McGrath <roland@hack.frob.com>
10087 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10088 not in the main loop.
10089 * configure: Regenerated.
10091 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10093 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10094 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10096 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10097 [!__GLIBC_HAVE_LONG_LONG] case.
10098 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10099 condition to just #else.
10100 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10101 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10102 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10103 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10105 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10106 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10107 #elif condition to just #else.
10108 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10109 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10110 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10111 #elif condition to just #else.
10113 2013-01-11 Steve Ellcey <sellcey@mips.com>
10115 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10116 (EF_MIPS_ARCH_64): Fix value.
10117 (EF_MIPS_ARCH_32R2): New.
10118 (EF_MIPS_ARCH_64R2): New.
10120 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10122 * Makeconfig (+link-pie-before-libc): New.
10123 (+link-pie-after-libc): Likewise.
10124 (+link-pie-tests): Likewise.
10125 (+link-pie): Rewritten.
10126 (link-before-libc): Remove $(config-LDFLAGS).
10127 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10128 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10129 (config-LDFLAGS): Renamed to ...
10130 (rtld-LDFLAGS): This.
10131 (rtld-tests-LDFLAGS): New macro.
10132 (link-libc-rpath-link): Likewise.
10133 (link-libc-tests-rpath-link): Likewise.
10134 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10135 (link-libc): Prepand $(link-libc-rpath-link).
10136 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10137 (test-program-prefix): New macro.
10138 (test-via-rtld-prefix): Likewise.
10139 (test-program-cmd): Likewise.
10140 (host-test-program-cmd): Likewise.
10141 * Makefile ($(common-objpfx)testrun.sh): Replace
10142 $(run-program-prefix) with $(test-program-prefix).
10143 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10145 ($(common-objpfx)shlib.lds): Likewise.
10146 (build-module-helper): Likewise.
10147 ($(common-objpfx)format.lds): Likewise.
10148 * Rules (binaries-pie-tests): New.
10149 (binaries-pie-notests): Likewise.
10150 (binaries-pie): Rewritten.
10151 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10152 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10153 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10154 (make-test-out): Replace $(host-built-program-cmd) with
10155 $(host-test-program-cmd).
10156 * config.make.in (build-hardcoded-path-in-tests): New variable.
10157 * configure.in (--enable-hardcoded-path-in-tests): New configure
10159 (hardcoded_path_in_tests): New AC_SUBST.
10160 * configure: Regenerated.
10161 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10162 $(built-program-cmd) with $(test-program-cmd).
10163 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10164 (test_program_cmd): This.
10165 * elf/Makefile ($(objpfx)order.out): Run test with
10166 $(test-program-prefix).
10167 ($(objpfx)order2.out): Likewise.
10168 ($(objpfx)tst-initorder.out): Likewise.
10169 ($(objpfx)tst-initorder2.out): Likewise.
10170 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10171 $(test-program-cmd).
10172 ($(objpfx)tst-array1-static.out): Likewise.
10173 ($(objpfx)tst-array2.out): Likewise.
10174 ($(objpfx)tst-array3.out): Likewise.
10175 ($(objpfx)tst-array4.out): Likewise.
10176 ($(objpfx)tst-array5.out): Likewise.
10177 ($(objpfx)tst-array5-static.out): Likewise.
10178 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10179 $(test-program-cmd).
10180 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10181 $(run-program-prefix) with $(test-program-prefix).
10182 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10183 (test_program_prefix): This.
10184 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10185 $(run-program-prefix) with $(test-program-prefix).
10186 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10187 (test_program_prefix): This.
10188 * iconvdata/tst-tables.sh: Likewise.
10189 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10190 $(run-program-prefix) with $(test-program-prefix).
10191 ($(objpfx)tst-translit.out): Likewise.
10192 ($(objpfx)tst-gettext2.out): Likewise.
10193 ($(objpfx)tst-gettext4.out): Likewise.
10194 ($(objpfx)tst-gettext6.out): Likewise.
10195 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10196 (test_program_prefix): This.
10197 * intl/tst-gettext2.sh: Likewise.
10198 * intl/tst-gettext4.sh Likewise.
10199 * intl/tst-gettext6.sh: Likewise.
10200 * intl/tst-translit.sh: Likewise.
10201 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10202 with $(test-program-cmd).
10203 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10204 $(run-program-prefix) with $(test-program-prefix).
10205 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10206 (test_program_prefix): This.
10207 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10208 $(run-program-prefix) with $(test-program-prefix).
10209 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10210 (test_program_prefix): This.
10211 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10212 * posix/Makefile ($(objpfx)globtest.out): Replace
10213 $(run-via-rtld-prefix) and $(test-wrapper) with
10214 $(test-program-prefix) and $(test-via-rtld-prefix).
10215 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10216 $(test-program-prefix).
10217 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10218 $(host-test-program-cmd).
10219 (tst-spawn-ARGS): Likewise.
10220 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10221 $(test-program-prefix).
10222 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10223 (test_via_rtld_prefix): This.
10224 (test_wrapper): Renamed to ...
10225 (test_program_prefix): This.
10226 (run_program_prefix): Replaced by test_program_prefix.
10227 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10228 (test_program_prefix): This.
10229 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10230 with $(host-test-program-cmd).
10231 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10232 $(run-program-prefix) with $(test-program-prefix).
10233 ($(objpfx)tst-printf.out): Likewise.
10234 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10235 $(test-program-cmd).
10236 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10237 (test_program_prefix): This.
10238 * stdio-common/tst-unbputc.sh: Likewise.
10239 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10240 $(run-program-prefix) with $(test-program-prefix).
10241 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10242 (test_program_prefix): This.
10243 * string/Makefile ($(objpfx)tst-svc.out): Replace
10244 $(built-program-cmd) with $(test-program-cmd).
10246 2013-01-11 Andreas Jaeger <aj@suse.de>
10249 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10250 value. Sync with Linux 3.7.
10252 2013-01-10 David S. Miller <davem@davemloft.net>
10254 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10255 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10256 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10258 2013-01-10 Roland McGrath <roland@hack.frob.com>
10260 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10262 * configure: Regenerated.
10264 2013-01-10 David S. Miller <davem@davemloft.net>
10266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10267 sparc V9 rather than using V8 code.
10268 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10269 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10271 2013-01-10 Roland McGrath <roland@hack.frob.com>
10273 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10274 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10275 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10276 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10277 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10278 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10279 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10280 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10281 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10282 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10283 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10284 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10285 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10286 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10287 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10288 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10289 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10290 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10291 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10292 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10293 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10294 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10295 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10296 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10297 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10298 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10299 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10301 2013-01-10 David S. Miller <davem@davemloft.net>
10303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10305 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10307 * posix/Makefile (tests-static): New variable.
10308 (tests): Add $(tests-static).
10309 (tst-exec-static-ARGS): New variable.
10310 (tst-spawn-static-ARGS): Likewise.
10311 * posix/tst-exec-static.c: New file.
10312 * posix/tst-spawn-static.c: Likewise.
10313 * posix/tst-exec.c: Support run directly.
10314 * posix/tst-spawn.c: Likewise.
10316 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10318 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10320 * math/bits/mathcalls.h (llrint): Likewise.
10321 (llround): Likewise.
10322 * stdlib/stdlib.h (struct drand48_data): Likewise.
10323 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10324 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10325 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10327 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10329 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10330 (elf_greg_t): Likewise.
10331 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10332 (__jmp_buf): Likewise.
10333 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10335 (llrint): Likewise, for all definitions.
10336 (llrintl): Likewise.
10338 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10339 Remove [__GNUC__] condition.
10340 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10341 condition to just [__USE_ISOC99].
10342 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10344 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10347 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10348 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10350 (_POSIX_V6_ILP32_OFF32): Likewise.
10351 (_XBS5_ILP32_OFF32): Likewise.
10352 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10353 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10355 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10357 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10360 doubles __mpexp_twomm1. Adjust usage.
10361 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10364 2013-01-10 Andreas Schwab <schwab@suse.de>
10367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10368 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10370 2013-01-09 David S. Miller <davem@davemloft.net>
10373 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10374 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10375 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10376 TCP_FASTOPEN): Define.
10377 (tcp_repair_opt): New structure.
10378 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10380 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10381 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10382 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10383 (tcp_cookie_transactions): New structure.
10385 2013-01-09 Anton Blanchard <anton@samba.org>
10387 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10388 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10389 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10390 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10392 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10394 * include/features.h (__USE_ANSI): Remove.
10396 2013-01-09 Roland McGrath <roland@hack.frob.com>
10398 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10400 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10402 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10404 * sysdeps/s390/fpu/libm-test-ulps: Update.
10406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10408 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10412 (denorm): Likewise.
10413 (__mp_dbl): Likewise.
10414 (__dbl_mp): Likewise.
10415 (add_magnitudes): Likewise.
10416 (sub_magnitudes): Likewise.
10422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10426 (denorm): Likewise.
10427 (__mp_dbl): Likewise.
10428 (__dbl_mp): Likewise.
10429 (add_magnitudes): Likewise.
10430 (sub_magnitudes): Likewise.
10436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10440 (denorm): Likewise.
10441 (__mp_dbl): Likewise.
10442 (__dbl_mp): Likewise.
10443 (add_magnitudes): Likewise.
10444 (sub_magnitudes): Likewise.
10451 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10453 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10454 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10455 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10456 2 && __USE_EXTERN_INLINES]: Likewise.
10458 2013-01-08 Andreas Jaeger <aj@suse.de>
10461 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10463 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10464 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10466 2013-01-07 Anton Blanchard <anton@samba.org>
10468 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10469 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10470 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10471 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10472 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10473 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10474 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10475 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10477 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10478 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10479 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10480 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10481 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10482 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10484 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10485 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10486 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10488 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10489 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10491 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10492 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10493 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10494 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10495 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10497 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10498 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10500 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10501 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10502 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10503 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10504 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10505 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10506 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10507 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10508 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10509 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10510 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10512 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10514 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10515 (__MALLOC_PMT): Likewise.
10516 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10517 [__GNUC__], only on [_LIBC].
10518 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10519 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10520 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10521 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10522 forward declaration.
10523 (realloc_hook_ini): Likewise.
10524 (memalign_hook_ini): Likewise.
10525 (__libc_memalign): Do not use __MALLOC_PMT in variable
10527 (__libc_valloc): Likewise.
10528 (__libc_pvalloc): Likewise.
10529 (__libc_calloc): Likewise.
10530 (__posix_memalign): Likewise.
10533 * math/s_casinh.c: Include <float.h>.
10534 (__casinh): Do not do computation with squaring and square root
10535 for large arguments.
10536 * math/s_casinhf.c: Include <float.h>.
10537 (__casinhf): Do not do computation with squaring and square root
10538 for large arguments.
10539 * math/s_casinhl.c: Include <float.h>.
10540 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10541 (__casinhl): Do not do computation with squaring and square root
10542 for large arguments.
10543 * math/libm-test.inc (casin_test): Add more tests.
10544 (casinh_test): Likewise.
10545 * sysdeps/i386/fpu/libm-test-ulps: Update.
10546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10548 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10550 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10551 (__x86_64_raw_data_cache_size): Likewise.
10552 (__x86_64_data_cache_size_half): Likewise.
10553 (__x86_64_raw_data_cache_size_half): Likewise.
10554 (__x86_64_shared_cache_size): Likewise.
10555 (__x86_64_raw_shared_cache_size): Likewise.
10556 (__x86_64_shared_cache_size_half): Likewise.
10557 (__x86_64_raw_shared_cache_size_half): Likewise.
10558 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10560 (__x86_data_cache_size): This.
10561 (__x86_64_raw_data_cache_size): Renamed to ...
10562 (__x86_raw_data_cache_size): This.
10563 (__x86_64_data_cache_size_half): Renamed to ...
10564 (__x86_data_cache_size_half): This.
10565 (__x86_64_raw_data_cache_size_half): Renamed to ...
10566 (__x86_raw_data_cache_size_half): This.
10567 (__x86_64_shared_cache_size): Renamed to ...
10568 (__x86_shared_cache_size): This.
10569 (__x86_64_raw_shared_cache_size): Renamed to ...
10570 (__x86_raw_shared_cache_size): This.
10571 (__x86_64_shared_cache_size_half): Renamed to ...
10572 (__x86_shared_cache_size_half): This.
10573 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10574 (__x86_raw_shared_cache_size_half): This.
10575 * sysdeps/x86_64/memcpy.S: Updated.
10576 * sysdeps/x86_64/memset.S: Likewise.
10577 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10578 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10581 2013-01-04 David S. Miller <davem@davemloft.net>
10583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10585 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10587 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10588 1 to avoid redefinition warning.
10589 (__USE_GNU): Don't define.
10590 (init_signaling_nan): Protoize.
10592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10594 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10596 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10598 (__cpymn): Likewise.
10599 (norm): Remove commented code.
10600 (denorm): Likewise.
10601 (__mp_dbl): Likewise.
10603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10604 (__cpymn): Likewise.
10605 (norm): Remove commented code.
10606 (denorm): Likewise.
10607 (__mp_dbl): Likewise.
10610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10611 mp_no value for 1.0 and 2.0.
10612 (norm): Use RADIXI instead of radixi.d.
10613 (denorm): Likewise.
10614 (__mul): Use 0.0 instead of zero.d.
10615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10616 mp_no value for 1.0 and 2.0.
10617 (norm): Use RADIXI instead of radixi.d.
10618 (denorm): Likewise.
10619 (__mul): Use 0.0 instead of zero.d.
10621 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10624 * math/s_casinh.c (__casinh): Reduce finite argument to first
10625 quadrant then set signs of results at the end.
10626 * math/s_casinhf.c (__casinhf): Likewise.
10627 * math/s_casinhl.c (__casinhl): Likewise.
10628 * math/libm-test.inc (casin_test): Add more tests.
10629 (casinh_test): Likewise.
10630 * sysdeps/i386/fpu/libm-test-ulps: Update.
10631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10633 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10635 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10637 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10639 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10641 (denorm): Likewise.
10642 (__mp_dbl): Likewise.
10645 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10646 and adjust the header comment.
10648 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10649 variable name from declaration.
10651 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10654 Initialize COMMON_CPUID_INDEX_7 element.
10655 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10656 (CPUID_RTM): Likewise.
10657 (HAS_RTM): Likewise.
10658 (COMMON_CPUID_INDEX_7): New enum.
10660 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10663 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10664 size is zero, record memory as freed.
10666 2013-01-03 Andreas Jaeger <aj@suse.de>
10668 * po/ia.po: Add new Interlingua translation.
10670 2012-01-03 Allan McRae <allan@archlinux.org>
10672 * locale/programs/localedef.c: Fix description of '--posix' flag.
10674 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10676 * NEWS: Update dates in second copyright notice.
10677 * README: Update copyright dates in example.
10678 * manual/libc.texinfo: Update copyright dates.
10679 * scripts/test-installation.pl: Update copyright date in --version
10682 * hurd/ctty-input.c: Fix copyright notice formatting.
10683 * hurd/ctty-output.c: Likewise.
10684 * hurd/dtable.c: Likewise.
10685 * hurd/hurd-raise.c: Likewise.
10686 * hurd/hurdprio.c: Likewise.
10687 * hurd/msgportdemux.c: Likewise.
10688 * misc/sys/file.h: Likewise.
10689 * misc/sys/ioctl.h: Likewise.
10690 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10691 * sysdeps/mach/hurd/chdir.c: Likewise.
10692 * sysdeps/mach/hurd/fchdir.c: Likewise.
10693 * sysdeps/mach/hurd/rename.c: Likewise.
10694 * sysdeps/mach/hurd/rmdir.c: Likewise.
10695 * sysdeps/mach/hurd/seekdir.c: Likewise.
10696 * sysdeps/mach/hurd/setsid.c: Likewise.
10697 * sysdeps/posix/wait3.c: Likewise.
10699 * All files with FSF copyright notices: Update copyright dates
10700 using scripts/update-copyrights.
10701 * intl/plural.c: Regenerated.
10702 * locale/programs/charmap-kw.h: Likewise.
10703 * locale/programs/locfile-kw.h: Likewise.
10705 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10707 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10710 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10711 calculation loop and add branch prediction.
10713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10714 check access beyond bounds of m1np.
10716 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10718 (__inv): Remove local variable MPTWO to use the global
10720 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10723 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10724 MP3HALFS static const.
10726 2013-01-01 David S. Miller <davem@davemloft.net>
10728 * po/ca.po: Update from translation team.
10730 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10732 * scripts/update-copyrights: New file.
10733 * Makeconfig: Reformat copyright notice.
10734 * ctype/ctype.h: Likewise.
10735 * debug/swprintf_chk.c: Likewise.
10736 * elf/dl-cache.c: Likewise.
10737 * elf/dl-debug.c: Likewise.
10738 * elf/dl-object.c: Likewise.
10739 * grp/initgroups.c: Likewise.
10740 * hurd/Makefile: Likewise.
10741 * hurd/hurd/signal.h: Likewise.
10742 * hurd/hurdfault.c: Likewise.
10743 * hurd/hurdioctl.c: Likewise.
10744 * hurd/hurdlookup.c: Likewise.
10745 * hurd/intr-msg.c: Likewise.
10746 * iconv/gconv_open.c: Likewise.
10747 * libio/swprintf.c: Likewise.
10748 * locale/lc-ctype.c: Likewise.
10749 * locale/nl_langinfo.c: Likewise.
10750 * mach/Machrules: Likewise.
10751 * mach/Makefile: Likewise.
10752 * malloc/obstack.h: Likewise.
10753 * manual/Makefile: Likewise.
10754 * manual/tsort.awk: Likewise.
10755 * misc/bits/stab.def: Likewise.
10756 * nis/nis_print_group_entry.c: Likewise.
10757 * nis/nis_table.c: Likewise.
10758 * nis/nss_compat/compat-pwd.c: Likewise.
10759 * nis/nss_compat/compat-spwd.c: Likewise.
10760 * po/Makefile: Likewise.
10761 * posix/fnmatch.c: Likewise.
10762 * posix/regex.h: Likewise.
10763 * resolv/Makefile: Likewise.
10764 * resolv/nss_dns/dns-network.c: Likewise.
10765 * resolv/res_hconf.c: Likewise.
10766 * scripts/gen-sorted.awk: Likewise.
10767 * soft-fp/soft-fp.h: Likewise.
10768 * stdio-common/printf.h: Likewise.
10769 * stdlib/monetary.h: Likewise.
10770 * stdlib/random.c: Likewise.
10771 * stdlib/random_r.c: Likewise.
10772 * sysdeps/generic/Makefile: Likewise.
10773 * sysdeps/gnu/Makefile: Likewise.
10774 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10787 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10802 * sysdeps/mach/hurd/errnos.awk: Likewise.
10803 * sysdeps/mach/hurd/fork.c: Likewise.
10804 * sysdeps/mach/hurd/getcwd.c: Likewise.
10805 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10806 * sysdeps/mach/hurd/mmap.c: Likewise.
10807 * sysdeps/mach/hurd/utimes.c: Likewise.
10808 * sysdeps/mach/hurd/xmknod.c: Likewise.
10809 * sysdeps/posix/profil.c: Likewise.
10810 * sysdeps/posix/readdir_r.c: Likewise.
10811 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10812 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10813 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10814 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10816 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10817 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10818 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10820 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10821 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10822 * sysdeps/pthread/lio_listio.c: Likewise.
10823 * sysdeps/sparc/dl-procinfo.h: Likewise.
10824 * sysdeps/unix/i386/sysdep.S: Likewise.
10825 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10826 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10827 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10828 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10830 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10831 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10832 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10833 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10834 * sysdeps/wordsize-32/divdi3.c: Likewise.
10835 * time/sys/time.h: Likewise.
10836 * wcsmbs/Makefile: Likewise.
10838 2013-01-01 David S. Miller <davem@davemloft.net>
10840 * po/fr.po: Update from translation team.
10842 * catgets/gencat.c: Update copyright year.
10843 * csu/version.c: Likewise.
10844 * debug/catchsegv.sh: Likewise.
10845 * debug/pcprofiledump.c: Likewise.
10846 * debug/xtrace.sh: Likewise.
10847 * elf/ldconfig.c: Likewise.
10848 * elf/ldd.bash.in: Likewise.
10849 * elf/pldd.c: Likewise.
10850 * elf/sotruss.ksh: Likewise.
10851 * elf/sprof.c: Likewise.
10852 * iconv/iconv_prog.c: Likewise.
10853 * iconv/iconvconfig.c: Likewise.
10854 * locale/programs/locale.c: Likewise.
10855 * locale/programs/localedef.c: Likewise.
10856 * login/programs/pt_chown.c: Likewise.
10857 * malloc/memusage.sh: Likewise.
10858 * malloc/memusagestat.c: Likewise.
10859 * malloc/mtrace.pl: Likewise.
10860 * nscd/nscd.c: Likewise.
10861 * nss/getent.c: Likewise.
10862 * nss/makedb.c: Likewise.
10863 * posix/getconf.c: Likewise.
10865 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10867 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10870 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10872 * math/bits/mathcalls.h (modf): Use __nonnull.
10874 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10876 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10877 (split): Use macro CN instead of the bare value.
10878 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10881 instead of the bare value.
10882 (power1): Likewise.
10884 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10886 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10888 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10890 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10892 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10893 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10894 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10895 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10897 2012-12-28 Andreas Jaeger <aj@suse.de>
10899 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10900 values are from Linux 3.7.
10902 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10903 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10905 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10907 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10910 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10912 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10913 variables with preprocessor constants.
10914 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10915 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10916 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10918 2012-12-27 Bruno Haible <bruno@clisp.org>
10921 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10924 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10927 and use variable directly.
10928 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10930 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10932 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10933 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10935 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10937 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10938 include directive. Remove local variable MPONE.
10939 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10940 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10941 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10943 2012-12-25 David S. Miller <davem@davemloft.net>
10945 * version.h (RELEASE): Set to "development".
10946 (VERSION): Set to "2.17.90".
10947 * NEWS: Add 2.18 section.
10949 2012-12-21 David S. Miller <davem@davemloft.net>
10951 * po/hr.po: Update from translation team.
10953 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10955 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10957 2012-12-19 Steve Ellcey <sellcey@mips.com>
10959 * NEWS: Mention new memcpy for MIPS.
10961 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10963 * manual/contrib.texi (Contributors): Spelling correction.
10965 2012-12-15 David S. Miller <davem@davemloft.net>
10967 * po/ru.po: Update from translation team.
10969 2012-12-13 David S. Miller <davem@davemloft.net>
10971 * NEWS: Mention IFUNC testsuite enhancements.
10973 * po/pl.po: Update from translation team.
10974 * po/bg.po: Likewise.
10976 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10977 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10979 2012-12-11 David S. Miller <davem@davemloft.net>
10981 * po/sv.po: Update from translation team.
10983 * po/vi.po: Update from translation team.
10985 * po/cs.po: Update from translation team.
10987 * po/de.po: Update from translation team.
10988 * po/eo.po: Likewise.
10989 * po/nl.po: Likewise.
10991 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10994 * manual/argp.texi (Argp Helper Functions): Move node to follow
10995 Argp Parsing State.
10998 * manual/conf.texi (Limits on File System Capacity): Mention if
10999 terminating null is included in the max size.
11001 2012-12-10 Andreas Jaeger <aj@suse.de>
11003 * po/cs.po: Update from translation team.
11005 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11007 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11008 void pointer and cast to uintptr_t.
11009 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11011 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11012 * sysdeps/s390/s390-64/memset.S: Likewise.
11014 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11017 * menual/message.texi (Message Translation): Fix typos.
11018 (Helper programs for gettext): Likewise.
11020 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11023 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11026 2012-12-07 David S. Miller <davem@davemloft.net>
11028 * po/libc.pot: Update.
11030 2012-12-07 Richard Henderson <rth@redhat.com>
11033 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11034 normal/normal case to before the switch.
11035 (_FP_DIV): Likewise.
11037 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11038 Mike Frysinger <vapier@gentoo.org>
11040 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11041 check for __NR_fadvise64_64.
11043 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11045 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11046 0, not just to plain "0" as a statement.
11047 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11050 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11052 * NEWS: Use sourceware.org in Bugzilla URL.
11054 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11057 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11059 * stdio-common/tst-put-error.c (do_test): Add newline to the
11060 padded test to ensure flush.
11062 2012-12-05 Jeff Law <law@redhat.com>
11064 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11066 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11068 * README: Don't refer to ports add-on as distributed separately.
11069 Mention AArch64 in list of systems supported in the ports add-on.
11071 * LICENSES: Add more non-FSF copyright and license notices.
11073 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11076 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11078 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11079 10000 as width of padded output.
11081 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11083 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11085 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11086 variable LX with __attribute__ ((unused)).
11087 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11089 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11092 with __attribute__ ((unused)).
11094 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11096 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11098 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11100 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11101 (CFLAGS-nldbl-acos.c): New variable.
11102 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11103 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11104 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11105 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11106 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11107 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11108 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11109 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11110 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11111 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11112 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11113 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11114 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11115 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11116 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11117 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11118 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11119 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11120 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11121 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11122 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11123 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11124 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11125 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11126 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11127 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11128 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11129 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11130 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11131 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11132 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11133 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11134 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11135 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11136 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11137 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11138 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11139 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11140 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11141 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11142 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11143 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11144 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11145 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11146 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11147 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11148 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11149 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11150 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11151 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11152 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11153 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11154 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11155 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11156 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11157 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11158 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11159 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11160 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11161 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11162 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11163 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11164 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11165 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11166 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11167 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11168 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11169 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11170 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11171 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11172 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11173 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11174 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11175 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11176 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11177 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11178 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11179 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11180 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11181 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11182 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11183 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11184 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11185 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11186 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11187 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11188 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11189 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11190 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11191 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11192 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11193 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11194 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11195 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11196 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11197 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11198 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11201 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11205 whole low double instead of just low 47 bits when splitting values
11208 2012-12-03 Allan McRae <allan@archlinux.org>
11210 * manual/stdio.texi (Predefined Printf Handlers): Remove
11211 @hsep and @vsep usage.
11213 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11215 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11216 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11218 2012-12-03 Jeff Law <law@redhat.com>
11220 * time/sys/time.h (settimeofday): Do not mark TV argument
11223 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11225 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11226 when currently writing and seek to current position when not.
11227 * libio/Makefile (tests): Remove bug-fclose1.
11228 * libio/bug-fclose1.c: Delete.
11230 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11232 * manual/arith.texi (feenableexcept): Fix typo.
11233 (fedisableexcept): Likewise.
11235 2012-11-30 Roland McGrath <roland@hack.frob.com>
11237 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11238 second, differently-typed declaration, rather than a cast.
11240 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11242 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11243 * include/rpc/svc.h: ... here.
11245 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11248 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11249 depending n and resplen2 to catch cases where answer
11252 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11254 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11255 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11257 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11261 2012-11-29 Roland McGrath <roland@hack.frob.com>
11263 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11265 2012-11-28 Jeff Law <law@redhat.com>
11268 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11269 dataset_temporary. Track alloca usage into alloca_used.
11270 If dataset is large allocate and release it via malloc/free.
11272 2012-06-04 Florian Weimer <fweimer@redhat.com>
11275 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11277 2012-11-28 David S. Miller <davem@davemloft.net>
11279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11281 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11284 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11285 of pi/2 rounded to nearest to 64 bits.
11286 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11287 nearest to 64 bits.
11288 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11291 2012-11-28 Jeff Law <law@redhat.com>
11292 Martin Osvald <mosvald@redhat.com>
11295 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11296 * sunrpc/svc.c: Include time.h.
11297 (__svc_accept_failed): New function.
11298 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11299 any reason other than EINTR, call __svc_accept_failed.
11300 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11301 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11303 2012-11-28 Andreas Schwab <schwab@suse.de>
11305 * scripts/abilist.awk: Also handle indirect functions in .opd
11308 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11311 * sysdeps/x86/fpu/powl_helper.c: New file.
11312 * sysdeps/x86/fpu/Makefile: Likewise.
11313 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11315 (__ieee754_powl): Use __powl_helper for finite arguments except
11316 integer exponents below 8.
11317 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11319 (__ieee754_powl): Use __powl_helper for finite arguments except
11320 integer exponents below 8.
11321 * math/libm-test.inc (pow_test): Add more tests and enable some
11322 previously disabled tests.
11323 * sysdeps/i386/fpu/libm-test-ulps: Update.
11324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11326 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11327 Carlos O'Donell <carlos_odonell@mentor.com>
11329 * nss/makedb.c (is_prime): Assert that input is odd and greater
11330 than 4. Note that fact in a comment too.
11331 (next_prime): Add 4 to input.
11333 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11336 * libio/Makefile (tests): Add test case tst-fwrite-error.
11337 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11338 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11339 * libio/tst-fwrite-error.c: New test case.
11341 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11343 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11344 before casting to void *.
11345 * include/libc-internal.h (__pointer_type): New macro.
11346 (__integer_if_pointer_type_sub): Likewise.
11347 (__integer_if_pointer_type): Likewise.
11348 (cast_to_integer): Likewise.
11349 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11350 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11351 before casting to atomic64_t.
11352 (atomic_exchange_acq): Likewise.
11353 (__arch_exchange_and_add_body): Likewise.
11354 (__arch_add_body): Likewise.
11355 (atomic_add_negative): Likewise.
11356 (atomic_add_zero): Likewise.
11358 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11360 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11361 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11362 (add_fdes): Likewise.
11363 (linear_search_fdes): Likewise.
11364 (binary_search_unencoded_fdes): Likewise.
11366 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11368 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11370 2012-11-24 Adam Conrad <adconrad@0c3.net>
11372 * configure.in: Autodetect C++ header directories.
11373 * configure: Regenerated.
11375 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11377 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11379 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11383 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11385 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11386 LDBL_MANT_DIG == 106]: Disable some tests.
11387 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11389 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11393 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11394 input for small inputs. Return +/- pi/2 for large inputs.
11395 * math/libm-test.inc (atan_test): Add more tests.
11397 * sysdeps/generic/unwind-dw2-fde-glibc.c
11398 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11399 __attribute__ ((unused)).
11402 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11403 x * y if x and y are nonzero and z is zero.
11406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11407 nonzero exponents with absolute value below 0x1p-117 to +/-
11411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11412 up arguments below 2**-450, not just those below 2**-500.
11413 * math/libm-test.inc (hypot_test): Add another test.
11416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11417 Return a+b for ratio over 2**120, not 2**60.
11418 * math/libm-test.inc (hypot_test): Add another test.
11420 * math/libm-test.inc (clog_test): Use
11421 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11422 (clog10_test): Likewise.
11425 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11427 2012-11-22 Andreas Schwab <schwab@suse.de>
11429 * sysdeps/i386/fpu/libm-test-ulps: Update.
11431 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11433 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11434 printf output with newline.
11436 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11439 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11440 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11441 -z nodlopen, -z initfirst and -z execstack support.
11442 * configure: Regenerated.
11444 * elf/elf.h (DF_1_NODIRECT): New macro.
11445 (DF_1_IGNMULDEF): Likewise.
11446 (DF_1_NOKSYMS): Likewise.
11447 (DF_1_NOHDR): Likewise.
11448 (DF_1_EDITED): Likewise.
11449 (DF_1_NORELOC): Likewise.
11450 (DF_1_SYMINTPOSE): Likewise.
11451 (DF_1_GLOBAUDIT): Likewise.
11452 (DF_1_SINGLETON): Likewise.
11453 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11454 DT_1_SUPPORTED_MASK bits.
11455 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11457 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11459 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11461 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11463 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11466 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11467 (sendmmsg): Move declarations...
11468 * socket/sys/socket.h: ... here.
11469 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11470 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11472 * socket/recvmmsg.c: ... this new file.
11473 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11474 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11475 definition of __sendmmsg hidden.
11476 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11477 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11478 Move ENOSYS stub into and include it from...
11479 * socket/sendmmsg.c: ... this new file.
11480 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11481 (sysdep_routines): Move recvmmsg and sendmmsg...
11482 * socket/Makefile (routines): ... here.
11483 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11484 (GLIBC_PRIVATE): Add __sendmmsg.
11485 * include/sys/socket.h (__sendmmsg): Add declarations.
11486 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11489 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11491 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11492 variable I1 with __attribute__ ((unused)).
11493 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11495 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11497 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11498 DUMMY variables with __attribute__ ((unused)).
11500 * bits/byteswap.h: Include <bits/types.h>.
11501 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11503 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11505 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11506 string_t. Do not manually set errno.
11507 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11508 length with __strnlen. Make sure to both set errno and return it on
11511 2012-11-19 David S. Miller <davem@davemloft.net>
11513 With help from Joseph Myers.
11514 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11515 very large arguments properly.
11516 * math/libm-test.inc (atan_test): New tests.
11517 (atan2_test): New tests.
11518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11521 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11524 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11527 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11528 [POSIX] (EADDRNOTAVAIL): Likewise.
11529 [POSIX] (EAFNOSUPPORT): Likewise.
11530 [POSIX] (EALREADY): Likewise.
11531 [POSIX] (ECONNABORTED): Likewise.
11532 [POSIX] (ECONNREFUSED): Likewise.
11533 [POSIX] (ECONNRESET): Likewise.
11534 [POSIX] (EDESTADDRREQ): Likewise.
11535 [POSIX] (EDQUOT): Likewise.
11536 [POSIX] (EHOSTUNREACH): Likewise.
11537 [POSIX] (EIDRM): Likewise.
11538 [POSIX] (EISCONN): Likewise.
11539 [POSIX] (ELOOP): Likewise.
11540 [POSIX] (EMULTIHOP): Likewise.
11541 [POSIX] (ENETDOWN): Likewise.
11542 [POSIX] (ENETUNREACH): Likewise.
11543 [POSIX] (ENOBUFS): Likewise.
11544 [POSIX] (ENODATA): Likewise.
11545 [POSIX] (ENOLINK): Likewise.
11546 [POSIX] (ENOMSG): Likewise.
11547 [POSIX] (ENOPROTOOPT): Likewise.
11548 [POSIX] (ENOSR): Likewise.
11549 [POSIX] (ENOSTR): Likewise.
11550 [POSIX] (ENOTCONN): Likewise.
11551 [POSIX] (ENOTSOCK): Likewise.
11552 [POSIX] (EOPNOTSUPP): Likewise.
11553 [POSIX] (EOVERFLOW): Likewise.
11554 [POSIX] (EPROTO): Likewise.
11555 [POSIX] (EPROTONOSUPPORT): Likewise.
11556 [POSIX] (EPROTOTYPE): Likewise.
11557 [POSIX] (ESTALE): Likewise.
11558 [POSIX] (ETIME): Likewise.
11559 [POSIX] (ETXTBSY): Likewise.
11560 [POSIX] (EWOULDBLOCK): Likewise.
11561 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11562 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11563 [POSIX] (SEEK_CUR): Likewise.
11564 [POSIX] (SEEK_END): Likewise.
11565 [POSIX || UNIX98] (mode_t): Do not require.
11566 [POSIX] (off_t): Likewise.
11567 [POSIX] (pid_t): Likewise.
11568 [POSIX] (sys/stat.h): Do not allow header.
11569 [POSIX] (unistd.h): Likewise.
11570 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11571 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11572 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11573 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11575 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11576 sigevent): Specify elements.
11577 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11579 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11580 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11582 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11583 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11584 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11585 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11586 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11587 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11588 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11589 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11590 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11591 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11592 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11593 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11594 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11595 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11597 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11599 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11601 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11603 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11604 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11605 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11606 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11607 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11608 Specify lower bound on value.
11609 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11610 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11611 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11612 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11613 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11614 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11615 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11616 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11618 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11620 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11621 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11622 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11623 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11624 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11625 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11626 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11627 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11628 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11629 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11630 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11631 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11632 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11633 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11634 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11635 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11637 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11639 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11640 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11641 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11642 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11643 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11644 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11646 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11647 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11648 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11649 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11650 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11651 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11652 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11654 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11655 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11656 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11657 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11658 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11659 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11660 specify as optional.
11661 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11662 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11663 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11664 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11665 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11666 [XPG3] (NL_LANGMAX): Likewise.
11667 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11668 [POSIX || XPG3] (NL_NMAX): Likewise.
11669 [POSIX || XPG3] (NL_SETMAX): Likewise.
11670 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11671 [XPG3] (NZERO): Likewise.
11672 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11673 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11674 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11675 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11676 (REG_ERANGE): Expect.
11677 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11679 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11680 Use (void) in prototype.
11681 [POSIX] (*_t): Allow.
11682 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11683 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11684 (WRDE_BADVAL): Expect.
11686 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11688 [XPG3 || XPG4] (O_RSYNC): Likewise.
11689 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11691 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11692 [XPG3 || XPG4] (sigqueue): Likewise.
11693 [XPG3 || XPG4] (sigtimedwait): Likewise.
11694 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11695 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11696 [XPG3 || XPG4] (vsnprintf): Likewise.
11697 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11699 [XPG3 || XPG4] (blksize_t): Likewise.
11700 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11702 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11703 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11704 [XPG3 || XPG4] (struct itimerspec): Likewise.
11705 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11706 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11707 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11708 [XPG3 || XPG4] (clockid_t): Likewise.
11709 [XPG3 || XPG4] (timer_t): Likewise.
11710 [XPG3 || XPG4] (clock_getres): Likewise.
11711 [XPG3 || XPG4] (clock_gettime): Likewise.
11712 [XPG3 || XPG4] (clock_settime): Likewise.
11713 [XPG3 || XPG4] (nanosleep): Likewise.
11714 [XPG3 || XPG4] (timer_create): Likewise.
11715 [XPG3 || XPG4] (timer_delete): Likewise.
11716 [XPG3 || XPG4] (timer_gettime): Likewise.
11717 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11718 [XPG3 || XPG4] (timer_settime): Likewise.
11719 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11720 [XPG3 || XPG4] (getlogin_r): Likewise.
11721 [XPG3 || XPG4] (pread): Likewise.
11722 [XPG3 || XPG4] (pthread_atfork): Likewise.
11723 [XPG3 || XPG4] (pwrite): Likewise.
11726 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11729 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11731 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11732 finalizing MALLSTREAM.
11734 * sysdeps/mach/hurd/syncfs.c: New file.
11736 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11739 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11740 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11741 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11742 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11743 (_nss_dns_gethostbyname4_r): Likewise.
11744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11745 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11747 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11750 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11752 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11754 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11755 * elf/cache.c (print_entry): Print ",AArch64" for
11758 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11759 * elf/cache.c (print_entry): Print ",hard-float" for
11762 2012-11-18 David S. Miller <davem@davemloft.net>
11764 With help from Joseph Myers.
11765 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11767 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11769 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11770 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11772 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11773 * math/libm-test.inc (y0_test): New tests.
11774 (y1_test): New tests.
11775 * sysdeps/i386/fpu/libm-test-ulps: Update.
11776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11779 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11781 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11783 * configure: Regenerated.
11785 2012-11-17 David S. Miller <davem@davemloft.net>
11788 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11789 nonzero exponents with absolute value below 0x1p-128 to +/-
11792 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11794 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11796 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11798 * posix/getconf-speclist.c: New file.
11799 * posix/posix-envs.def: Likewise.
11800 * posix/confstr.c (START_ENV_GROUP): New macro.
11801 (END_ENV_GROUP): Likewise.
11802 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11803 (KNOWN_PRESENT_ENV_STRING): Likewise.
11804 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11805 (UNKNOWN_ENVIRONMENT): Likewise.
11806 (confstr): Include posix-envs.def instead of handling
11807 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11808 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11809 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11810 (END_ENV_GROUP): Likewise.
11811 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11812 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11813 (UNKNOWN_ENVIRONMENT): Likewise.
11814 (__sysconf): Include posix-envs.def instead of handling associated
11815 cases directly here.
11816 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11817 preprocessing getconf-speclist.c rather than running getconf or
11818 generating empty file.
11820 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11822 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11824 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11827 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11829 2012-11-16 David S. Miller <davem@davemloft.net>
11831 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11832 smaller than LDBL_EPSILON/2.0L, just return xm1.
11834 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11836 * elf/tst-array1.c (init): Set constructor priority to 1000.
11837 (fini): Set destructor priority to 1000.
11838 * elf/tst-array2dep.c: Likewise.
11840 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11843 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11844 (_IO_new_file_xsputn): Also return EOF if none of the input
11845 data was written when overflow failed.
11846 * libio/iopadn.c (_IO_padn): Likewise.
11847 * libio/iowpadn.c (_IO_wpadn): Likewise.
11848 * stdio-common/tst-put-error.c: Add copyright notice.
11849 (do_test): Add case for printing padded string.
11850 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11851 _IO_padn returned error.
11852 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11853 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11856 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11858 * libio/libioP.h: Add comment note that the references to C++
11859 bits are now obsolete.
11861 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11863 * math/libm-test.inc (check_complex): Use asprintf.
11865 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11867 * debug/pcprofiledump.c (print_version): Update copyright year.
11868 * malloc/memusagestat.c (print_version): Likewise.
11870 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11873 * elf/Makefile (tests): Add tst-audit8.
11874 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11875 ($(objpfx)tst-audit8.out): New target.
11876 (tst-audit8-ENV): New variable.
11877 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11878 audit if l_reloc_result is NULL.
11879 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11880 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11881 * elf/tst-audit8.c: New file.
11883 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11885 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11886 * misc/Makefile (CFLAGS-select.c): Define.
11887 * posix/Makefile (CFLAGS-pause.c): Define.
11889 2012-11-13 David S. Miller <davem@davemloft.net>
11891 * crypt/Makefile: Move test targets after toplevel Rules
11892 inclusion. Grab any necessary sysdep routines when linking.
11893 * crypt/md5.c (md5_process_block): Remove define, we will always
11894 name it __md5_process_block.
11895 (md5_finish_ctx): Update md5_process_block call.
11896 (md5_stream): Likewise.
11897 (md5_process_bytes): Likewise.
11898 (md5_process_block): Rename to __md5_process_block and move to ...
11899 * crypt/md5-block.c: ... here.
11900 * crypt/sha256.c (sha256_process_block): Move to ...
11901 * crypt/sha256-block.c: ... here.
11902 * crypt/sha512.c (sha512_process_block): Move to ...
11903 * crypt/sha512-block.c: ... here.
11904 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11906 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11907 * sysdeps/sparc/sparc64/multiarch/Makefile
11908 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11910 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11911 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11913 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11914 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11915 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11916 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11917 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11918 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11919 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11920 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11921 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11923 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11924 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11928 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11930 * timezone/tzselect.ksh: Update from tzcode git revision
11931 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11932 * timezone/zdump.c: Likewise.
11933 * timezone/zic.c: Likewise.
11934 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11935 in TZVERSION setting, not $(PKGVERSION).
11936 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11937 REPORT_BUGS_TO settings.
11940 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11943 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11945 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11946 detection to immediately after _FP_ROUND().
11947 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11950 2012-11-11 David S. Miller <davem@davemloft.net>
11952 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11954 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11955 __close rather than their public counterparts.
11957 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11959 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11961 [UNIX98] (sem_timedwait): Do not expect.
11962 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11963 [XPG4 || UNIX98] (sockatmark): Do not expect.
11964 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11965 (clock_getcpuclockid): Do not expect.
11966 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11967 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11969 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11970 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11971 [UNIX98] (vwscanf): Likewise.
11972 [UNIX98] (vswscanf): Likewise.
11974 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11976 * timezone/version.h: Remove file.
11977 * timezone/README: Do not refer to version.h.
11978 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11979 $(objpfx)version.h.
11980 ($(objpfx)zdump.o): Likewise.
11981 ($(objpfx)version.h): New target.
11983 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11985 * timezone/README: Don't mention modification to tzselect.ksh.
11986 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11987 work on unmodified tzselect.ksh. Substitute version numbers in
11990 * Makefile (format-me): Remove.
11991 (INSTALL): Adjust indentation. Use commands directly instead of
11992 using $(format-me).
11994 * aclocal.m4 (ACX_PKGVERSION): New macro.
11995 (ACX_BUGURL): Likewise.
11996 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11997 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11998 (REPORT_BUGS_TO): Likewise.
11999 * configure: Regenerated.
12000 * config.h.in (PKGVERSION): New macro.
12001 (REPORT_BUGS_TO): Likewise.
12002 * config.make.in (PKGVERSION): New variable.
12003 (PKGVERSION_TEXI): Likewise.
12004 (REPORT_BUGS_TO): Likewise.
12005 (REPORT_BUGS_TEXI): Likewise.
12006 * Makefile (format-me): Use -I$(common-objpfx)manual.
12007 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12008 ($(common-objpfx)manual/%): New target.
12009 (manual/%): Remove target.
12010 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12011 (print_version): Use PKGVERSION.
12012 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12013 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12014 and REPORT_BUGS_TO.
12015 ($(objpfx)xtrace): Likewise.
12016 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12017 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12018 (print_version): Use PKGVERSION.
12019 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12020 (do_version): Use PKGVERSION.
12021 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12023 (common-ldd-rewrite): Likewise.
12024 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12025 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12026 (print_version): Use PKGVERSION.
12027 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12028 * elf/pldd.c (argp_program_bug_address): Remove variable.
12029 (more_help): New function.
12030 (argp): Use more_help.
12031 (print_version): Use PKGVERSION.
12032 * elf/sln.c (main): Use PKGVERSION.
12033 (usage): Use REPORT_BUGS_TO.
12034 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12035 (top level): Use PKGVERSION.
12036 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12037 (print_version): Use PKGVERSION.
12038 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12039 (print_version): Use PKGVERSION.
12040 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12041 (print_version): Use PKGVERSION.
12042 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12043 (print_version): Use PKGVERSION.
12044 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12045 (print_version): Use PKGVERSION.
12046 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12047 (print_version): Use PKGVERSION.
12048 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12050 ($(objpfx)memusage): Likewise.
12051 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12052 (do_version): Use PKGVERSION.
12053 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12054 (print_version): Use PKGVERSION.
12055 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12056 ($PKGVERSION): New variable.
12057 ($REPORT_BUGS_TO): Likewise.
12058 (usage): Use $REPORT_BUGS_TO.
12059 (top level): Use $PKGVERSION.
12060 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12061 ($(objpfx)pkgvers.texi): New rule.
12062 ($(objpfx)stamp-pkgvers): Likewise.
12063 * manual/install.texi: Include pkgvers.texi.
12064 (--with-pkgversion): Document new configure option.
12065 (--with-bugurl): Likewise.
12066 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12067 than necessarily for this particular distribution. Use
12068 REPORT_BUGS_TO for where to report bugs.
12069 * INSTALL: Regenerated.
12070 * manual/libc.texinfo: Include pkgvers.texi.
12071 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12072 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12073 (print_version): Use PKGVERSION.
12074 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12075 (print_version): Use PKGVERSION.
12076 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12077 (print_version): Use PKGVERSION.
12078 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12079 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12081 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12082 (print_version): Use PKGVERSION.
12083 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12084 (print_version): Use PKGVERSION.
12085 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12088 * timezone/checktab.awk: Update from tzcode 2012i.
12089 * timezone/ialloc.c: Likewise.
12090 * timezone/private.h: Likewise.
12091 * timezone/scheck.c: Likewise.
12092 * timezone/tzfile.h: Likewise.
12093 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12094 (TZVERSION): Hardcode tzcode version number.
12095 * timezone/zdump.c: Update from tzcode 2012i.
12096 * timezone/zic.c: Likewise.
12097 * timezone/version.h: New file.
12098 * timezone/README: Describe version.h. Update upstream location.
12101 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12102 (mktemp): Enable declaration.
12103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12120 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12121 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12122 for copies of such integer values.
12123 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12124 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12126 2012-11-09 Andreas Jaeger <aj@suse.de>
12128 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12129 definitions and declarations that are provided by
12130 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12132 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12134 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12135 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12136 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12139 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12141 * elf/elf.h: Update comment before AArch64 relocations.
12143 2012-11-07 David S. Miller <davem@davemloft.net>
12145 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12146 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12147 (__start_context): Declare.
12148 (__makecontext_ret): Delete.
12149 (__makecontext): Hook up __start_context instead of
12151 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12152 (sysdep_routines): Add __start_context when in stdlib.
12154 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12156 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12157 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12158 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12160 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12161 (READELF): New variable. Use it instead of hardcoded "readelf".
12163 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12165 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12166 * sysdeps/x86/Makefile: Here.
12167 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12168 * sysdeps/x86/tst-xmmymm.sh: This.
12170 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12172 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12174 [UNIX98] (pthread_barrier_t): Do not expect.
12175 [UNIX98] (pthread_barrierattr_t): Likewise.
12176 [UNIX98] (pthread_spinlock_t): Likewise.
12177 [UNIX98] (pthread_barrier_destroy): Likewise.
12178 [UNIX98] (pthread_barrier_init): Likewise.
12179 [UNIX98] (pthread_barrier_wait): Likewise.
12180 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12181 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12182 [UNIX98] (pthread_barrierattr_init): Likewise.
12183 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12184 [UNIX98] (pthread_getcpuclockid): Likewise.
12185 [UNIX98] (pthread_mutex_timedlock): Likewise.
12186 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12187 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12188 [UNIX98] (pthread_sigmask): Likewise.
12189 [UNIX98] (pthread_spin_destroy): Likewise.
12190 [UNIX98] (pthread_spin_init): Likewise.
12191 [UNIX98] (pthread_spin_lock): Likewise.
12192 [UNIX98] (pthread_spin_trylock): Likewise.
12193 [UNIX98] (pthread_spin_unlock): Likewise.
12194 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12196 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12197 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12198 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12199 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12200 [XPG3 || XPG4] (pthread_key_t): Likewise.
12201 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12202 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12203 [XPG3 || XPG4] (pthread_once_t): Likewise.
12204 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12205 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12206 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12207 [XPG3 || XPG4] (pthread_t): Likewise.
12209 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12211 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12213 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12214 Change function return type to int.
12216 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12217 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12218 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12219 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12220 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12221 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12222 [!POSIX] (posix_madvise): Likewise.
12223 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12225 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12226 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12227 (mode_t): Likewise.
12228 (posix_mem_offset): Likewise.
12229 (posix_typed_mem_get_info): Likewise.
12230 (posix_typed_mem_open): Likewise.
12232 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12233 Change condition to [XOPEN2K8].
12235 * conform/conformtest.pl: Preprocess allow-header data with -x c
12236 instead of from stdin.
12237 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12238 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12239 [C99-based standards] (cerfc): Likewise.
12240 [C99-based standards] (cexp2): Likewise.
12241 [C99-based standards] (cexpm1): Likewise.
12242 [C99-based standards] (clog10): Likewise.
12243 [C99-based standards] (clog1p): Likewise.
12244 [C99-based standards] (clog2): Likewise.
12245 [C99-based standards] (clgamma): Likewise.
12246 [C99-based standards] (ctgamma): Likewise.
12247 [C99-based standards] (cerff): Likewise.
12248 [C99-based standards] (cerfcf): Likewise.
12249 [C99-based standards] (cexp2f): Likewise.
12250 [C99-based standards] (cexpm1f): Likewise.
12251 [C99-based standards] (clog10f): Likewise.
12252 [C99-based standards] (clog1pf): Likewise.
12253 [C99-based standards] (clog2f): Likewise.
12254 [C99-based standards] (clgammaf): Likewise.
12255 [C99-based standards] (ctgammaf): Likewise.
12256 [C99-based standards] (cerfl): Likewise.
12257 [C99-based standards] (cerfcl): Likewise.
12258 [C99-based standards] (cexp2l): Likewise.
12259 [C99-based standards] (cexpm1l): Likewise.
12260 [C99-based standards] (clog10l): Likewise.
12261 [C99-based standards] (clog1pl): Likewise.
12262 [C99-based standards] (clog2l): Likewise.
12263 [C99-based standards] (clgammal): Likewise.
12264 [C99-based standards] (ctgammal): Likewise.
12265 * conform/data/inttypes.h-data [C99-based standards]: Include
12266 stdint.h-data. Remove all expectations for stdint.h contents.
12267 [C99-based standards] (PRI*): Do not allow.
12268 [C99-based standards] (SCN*): Likewise.
12269 [C99-based standards] (*_t): Likewise.
12270 [C99-based-standards] (PRId8): Expect macro.
12271 [C99-based-standards] (PRIi8): Likewise.
12272 [C99-based-standards] (PRIo8): Likewise.
12273 [C99-based-standards] (PRIu8): Likewise.
12274 [C99-based-standards] (PRIx8): Likewise.
12275 [C99-based-standards] (PRIX8): Likewise.
12276 [C99-based-standards] (SCNd8): Likewise.
12277 [C99-based-standards] (SCNi8): Likewise.
12278 [C99-based-standards] (SCNo8): Likewise.
12279 [C99-based-standards] (SCNu8): Likewise.
12280 [C99-based-standards] (SCNx8): Likewise.
12281 [C99-based-standards] (PRIdLEAST8): Likewise.
12282 [C99-based-standards] (PRIiLEAST8): Likewise.
12283 [C99-based-standards] (PRIoLEAST8): Likewise.
12284 [C99-based-standards] (PRIuLEAST8): Likewise.
12285 [C99-based-standards] (PRIxLEAST8): Likewise.
12286 [C99-based-standards] (PRIXLEAST8): Likewise.
12287 [C99-based-standards] (SCNdLEAST8): Likewise.
12288 [C99-based-standards] (SCNiLEAST8): Likewise.
12289 [C99-based-standards] (SCNoLEAST8): Likewise.
12290 [C99-based-standards] (SCNuLEAST8): Likewise.
12291 [C99-based-standards] (SCNxLEAST8): Likewise.
12292 [C99-based-standards] (PRIdFAST8): Likewise.
12293 [C99-based-standards] (PRIiFAST8): Likewise.
12294 [C99-based-standards] (PRIoFAST8): Likewise.
12295 [C99-based-standards] (PRIuFAST8): Likewise.
12296 [C99-based-standards] (PRIxFAST8): Likewise.
12297 [C99-based-standards] (PRIXFAST8): Likewise.
12298 [C99-based-standards] (SCNdFAST8): Likewise.
12299 [C99-based-standards] (SCNiFAST8): Likewise.
12300 [C99-based-standards] (SCNoFAST8): Likewise.
12301 [C99-based-standards] (SCNuFAST8): Likewise.
12302 [C99-based-standards] (SCNxFAST8): Likewise.
12303 [C99-based-standards] (PRId16): Likewise.
12304 [C99-based-standards] (PRIi16): Likewise.
12305 [C99-based-standards] (PRIo16): Likewise.
12306 [C99-based-standards] (PRIu16): Likewise.
12307 [C99-based-standards] (PRIx16): Likewise.
12308 [C99-based-standards] (PRIX16): Likewise.
12309 [C99-based-standards] (SCNd16): Likewise.
12310 [C99-based-standards] (SCNi16): Likewise.
12311 [C99-based-standards] (SCNo16): Likewise.
12312 [C99-based-standards] (SCNu16): Likewise.
12313 [C99-based-standards] (SCNx16): Likewise.
12314 [C99-based-standards] (PRIdLEAST16): Likewise.
12315 [C99-based-standards] (PRIiLEAST16): Likewise.
12316 [C99-based-standards] (PRIoLEAST16): Likewise.
12317 [C99-based-standards] (PRIuLEAST16): Likewise.
12318 [C99-based-standards] (PRIxLEAST16): Likewise.
12319 [C99-based-standards] (PRIXLEAST16): Likewise.
12320 [C99-based-standards] (SCNdLEAST16): Likewise.
12321 [C99-based-standards] (SCNiLEAST16): Likewise.
12322 [C99-based-standards] (SCNoLEAST16): Likewise.
12323 [C99-based-standards] (SCNuLEAST16): Likewise.
12324 [C99-based-standards] (SCNxLEAST16): Likewise.
12325 [C99-based-standards] (PRIdFAST16): Likewise.
12326 [C99-based-standards] (PRIiFAST16): Likewise.
12327 [C99-based-standards] (PRIoFAST16): Likewise.
12328 [C99-based-standards] (PRIuFAST16): Likewise.
12329 [C99-based-standards] (PRIxFAST16): Likewise.
12330 [C99-based-standards] (PRIXFAST16): Likewise.
12331 [C99-based-standards] (SCNdFAST16): Likewise.
12332 [C99-based-standards] (SCNiFAST16): Likewise.
12333 [C99-based-standards] (SCNoFAST16): Likewise.
12334 [C99-based-standards] (SCNuFAST16): Likewise.
12335 [C99-based-standards] (SCNxFAST16): Likewise.
12336 [C99-based-standards] (PRId32): Likewise.
12337 [C99-based-standards] (PRIi32): Likewise.
12338 [C99-based-standards] (PRIo32): Likewise.
12339 [C99-based-standards] (PRIu32): Likewise.
12340 [C99-based-standards] (PRIx32): Likewise.
12341 [C99-based-standards] (PRIX32): Likewise.
12342 [C99-based-standards] (SCNd32): Likewise.
12343 [C99-based-standards] (SCNi32): Likewise.
12344 [C99-based-standards] (SCNo32): Likewise.
12345 [C99-based-standards] (SCNu32): Likewise.
12346 [C99-based-standards] (SCNx32): Likewise.
12347 [C99-based-standards] (PRIdLEAST32): Likewise.
12348 [C99-based-standards] (PRIiLEAST32): Likewise.
12349 [C99-based-standards] (PRIoLEAST32): Likewise.
12350 [C99-based-standards] (PRIuLEAST32): Likewise.
12351 [C99-based-standards] (PRIxLEAST32): Likewise.
12352 [C99-based-standards] (PRIXLEAST32): Likewise.
12353 [C99-based-standards] (SCNdLEAST32): Likewise.
12354 [C99-based-standards] (SCNiLEAST32): Likewise.
12355 [C99-based-standards] (SCNoLEAST32): Likewise.
12356 [C99-based-standards] (SCNuLEAST32): Likewise.
12357 [C99-based-standards] (SCNxLEAST32): Likewise.
12358 [C99-based-standards] (PRIdFAST32): Likewise.
12359 [C99-based-standards] (PRIiFAST32): Likewise.
12360 [C99-based-standards] (PRIoFAST32): Likewise.
12361 [C99-based-standards] (PRIuFAST32): Likewise.
12362 [C99-based-standards] (PRIxFAST32): Likewise.
12363 [C99-based-standards] (PRIXFAST32): Likewise.
12364 [C99-based-standards] (SCNdFAST32): Likewise.
12365 [C99-based-standards] (SCNiFAST32): Likewise.
12366 [C99-based-standards] (SCNoFAST32): Likewise.
12367 [C99-based-standards] (SCNuFAST32): Likewise.
12368 [C99-based-standards] (SCNxFAST32): Likewise.
12369 [C99-based-standards] (PRId64): Likewise.
12370 [C99-based-standards] (PRIi64): Likewise.
12371 [C99-based-standards] (PRIo64): Likewise.
12372 [C99-based-standards] (PRIu64): Likewise.
12373 [C99-based-standards] (PRIx64): Likewise.
12374 [C99-based-standards] (PRIX64): Likewise.
12375 [C99-based-standards] (SCNd64): Likewise.
12376 [C99-based-standards] (SCNi64): Likewise.
12377 [C99-based-standards] (SCNo64): Likewise.
12378 [C99-based-standards] (SCNu64): Likewise.
12379 [C99-based-standards] (SCNx64): Likewise.
12380 [C99-based-standards] (PRIdLEAST64): Likewise.
12381 [C99-based-standards] (PRIiLEAST64): Likewise.
12382 [C99-based-standards] (PRIoLEAST64): Likewise.
12383 [C99-based-standards] (PRIuLEAST64): Likewise.
12384 [C99-based-standards] (PRIxLEAST64): Likewise.
12385 [C99-based-standards] (PRIXLEAST64): Likewise.
12386 [C99-based-standards] (SCNdLEAST64): Likewise.
12387 [C99-based-standards] (SCNiLEAST64): Likewise.
12388 [C99-based-standards] (SCNoLEAST64): Likewise.
12389 [C99-based-standards] (SCNuLEAST64): Likewise.
12390 [C99-based-standards] (SCNxLEAST64): Likewise.
12391 [C99-based-standards] (PRIdFAST64): Likewise.
12392 [C99-based-standards] (PRIiFAST64): Likewise.
12393 [C99-based-standards] (PRIoFAST64): Likewise.
12394 [C99-based-standards] (PRIuFAST64): Likewise.
12395 [C99-based-standards] (PRIxFAST64): Likewise.
12396 [C99-based-standards] (PRIXFAST64): Likewise.
12397 [C99-based-standards] (SCNdFAST64): Likewise.
12398 [C99-based-standards] (SCNiFAST64): Likewise.
12399 [C99-based-standards] (SCNoFAST64): Likewise.
12400 [C99-based-standards] (SCNuFAST64): Likewise.
12401 [C99-based-standards] (SCNxFAST64): Likewise.
12402 [C99-based-standards] (PRIdMAX): Likewise.
12403 [C99-based-standards] (PRIiMAX): Likewise.
12404 [C99-based-standards] (PRIoMAX): Likewise.
12405 [C99-based-standards] (PRIuMAX): Likewise.
12406 [C99-based-standards] (PRIxMAX): Likewise.
12407 [C99-based-standards] (PRIXMAX): Likewise.
12408 [C99-based-standards] (SCNdMAX): Likewise.
12409 [C99-based-standards] (SCNiMAX): Likewise.
12410 [C99-based-standards] (SCNoMAX): Likewise.
12411 [C99-based-standards] (SCNuMAX): Likewise.
12412 [C99-based-standards] (SCNxMAX): Likewise.
12413 [C99-based-standards] (PRIdPTR): Likewise.
12414 [C99-based-standards] (PRIiPTR): Likewise.
12415 [C99-based-standards] (PRIoPTR): Likewise.
12416 [C99-based-standards] (PRIuPTR): Likewise.
12417 [C99-based-standards] (PRIxPTR): Likewise.
12418 [C99-based-standards] (PRIXPTR): Likewise.
12419 [C99-based-standards] (SCNdPTR): Likewise.
12420 [C99-based-standards] (SCNiPTR): Likewise.
12421 [C99-based-standards] (SCNoPTR): Likewise.
12422 [C99-based-standards] (SCNuPTR): Likewise.
12423 [C99-based-standards] (SCNxPTR): Likewise.
12424 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12426 * conform/data/stdint.h-data: Update comments to clarify
12428 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12430 [C99-based standards] (INT8_MAX): Likewise.
12431 [C99-based standards] (INT16_MIN): Likewise.
12432 [C99-based standards] (INT16_MAX): Likewise.
12433 [C99-based standards] (INT32_MIN): Likewise.
12434 [C99-based standards] (INT32_MAX): Likewise.
12435 [C99-based standards] (INT64_MIN): Likewise.
12436 [C99-based standards] (INT64_MAX): Likewise.
12437 [C99-based standards] (UINT8_MAX): Likewise.
12438 [C99-based standards] (UINT16_MAX): Likewise.
12439 [C99-based standards] (UINT32_MAX): Likewise.
12440 [C99-based standards] (UINT64_MAX): Likewise.
12441 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12442 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12443 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12444 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12445 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12446 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12447 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12448 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12449 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12450 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12451 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12452 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12453 [C99-based standards] (INT_FAST8_MIN): Likewise.
12454 [C99-based standards] (INT_FAST8_MAX): Likewise.
12455 [C99-based standards] (INT_FAST16_MIN): Likewise.
12456 [C99-based standards] (INT_FAST16_MAX): Likewise.
12457 [C99-based standards] (INT_FAST32_MIN): Likewise.
12458 [C99-based standards] (INT_FAST32_MAX): Likewise.
12459 [C99-based standards] (INT_FAST64_MIN): Likewise.
12460 [C99-based standards] (INT_FAST64_MAX): Likewise.
12461 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12462 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12463 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12464 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12465 [C99-based standards] (INTPTR_MIN): Likewise.
12466 [C99-based standards] (INTPTR_MAX): Likewise.
12467 [C99-based standards] (UINTPTR_MAX): Likewise.
12468 [C99-based standards] (INTMAX_MIN): Likewise.
12469 [C99-based standards] (INTMAX_MAX): Likewise.
12470 [C99-based standards] (UINTMAX_MAX): Likewise.
12471 [C99-based standards] (PTRDIFF_MIN): Likewise.
12472 [C99-based standards] (PTRDIFF_MAX): Likewise.
12473 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12474 [C99-based standards] (SIZE_MAX): Likewise.
12475 [C99-based standards] (WCHAR_MAX): Likewise.
12476 [C99-based standards] (WINT_MAX): Likewise.
12477 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12478 constraint on value.
12479 [C99-based standards] (WCHAR_MIN): Likewise.
12480 [C99-based standards] (WINT_MIN): Likewise.
12481 [C99-based standards] (*_t): Allow.
12482 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12483 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12484 Include math.h-data and complex.h-data. Remove all expectations
12485 of math.h and complex.h contents.
12486 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12488 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12489 (struct tm): Expect tag.
12490 [C99-based-standards] (wcstof): Expect function.
12491 [C99-based-standards] (wcstold): Likewise.
12492 [C99-based-standards] (wcstoll): Likewise.
12493 [C99-based-standards] (wcstoull): Likewise.
12494 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12495 macro-int-constant. Specify type.
12496 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12497 constraint on value.
12498 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12500 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12502 [ISO C standards]: Do not allow headers.
12503 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12504 wcs[abcdefghijklmnopqrstuvwxyz]*.
12505 [ISO C standards] (*_t): Do not allow.
12506 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12508 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12509 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12511 [ISO C standards]: Do not allow headers.
12512 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12513 is[abcdefghijklmnopqrstuvwxyz]*.
12514 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12515 to[abcdefghijklmnopqrstuvwxyz]*.
12516 [ISO C standards] (*_t): Do not allow.
12517 * conform/data/stdalign.h-data: New file.
12518 * conform/data/stdbool.h-data: Likewise.
12519 * conform/data/stdnoreturn.h-data: Likewise.
12521 2012-11-07 Roland McGrath <roland@hack.frob.com>
12524 * manual/filesys.texi (Directory Entries): Typo fix.
12525 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12527 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12529 * elf/elf.h (EM_AARCH64): New macro.
12530 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12531 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12532 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12533 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12534 (R_AARCH64_TLSDESC): Likewise.
12535 (NT_ARM_TLS): Likewise.
12536 (NT_ARM_HW_BREAK): Likewise.
12537 (NT_ARM_HW_WATCH): Likewise.
12539 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12542 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12543 (__ieee754_powl): Saturate nonzero exponents with absolute value
12544 below 0x1p-79 to +/- 0x1p-79.
12545 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12546 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12547 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12548 nonzero exponents with absolute value below 0x1p-32 to +/-
12550 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12551 (__ieee754_powl): Saturate nonzero exponents with absolute value
12552 below 0x1p-79 to +/- 0x1p-79.
12553 * math/libm-test.inc (pow_test): Add more tests.
12555 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12557 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12558 _dl_s390_cap_flags with kernel. Increase string length.
12559 (_dl_s390_platforms): Add z196 and zEC12.
12561 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12563 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12564 Change XOPEN21K to XOPEN2K.
12566 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12568 * string/memmove.c: Use memcpy when possible.
12570 2012-11-06 Andreas Jaeger <aj@suse.de>
12572 * po/eo.po: Update from translation team.
12574 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12578 exponent and small x and y exponents, scale x or y up. Increase
12579 by 2 the exponent used in scaling up.
12580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12582 * math/libm-test.inc (fma_test): Add more tests.
12583 (fma_test_towardzero): Likewise.
12584 (fma_test_downward): Likewise.
12585 (fma_test_upward): Likewise.
12587 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12590 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12594 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12595 namespace for names of struct fields.
12596 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12598 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12599 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12601 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12604 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12606 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12608 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12612 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12615 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12619 definitely overflow as x * y not x * y + z.
12620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12621 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12622 * math/libm-test.inc (fma_test): Add more tests.
12623 (fma_test_towardzero): Likewise.
12624 (fma_test_downward): Likewise.
12625 (fma_test_upward): Likewise.
12627 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12631 * include/stub-tag.h: Remove file.
12632 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12634 * manual/maint.texi (Porting): Don't reference it.
12635 * Makerules ($(objpfx)stubs): Likewise.
12636 * dirent/closedir.c: Don't include <stub-tag.h>.
12637 * dirent/dirfd.c: Likewise.
12638 * dirent/fdopendir.c: Likewise.
12639 * dirent/getdents.c: Likewise.
12640 * dirent/getdents64.c: Likewise.
12641 * dirent/opendir.c: Likewise.
12642 * dirent/readdir.c: Likewise.
12643 * dirent/readdir64.c: Likewise.
12644 * dirent/readdir64_r.c: Likewise.
12645 * dirent/readdir_r.c: Likewise.
12646 * dirent/rewinddir.c: Likewise.
12647 * dirent/seekdir.c: Likewise.
12648 * dirent/telldir.c: Likewise.
12649 * gmon/profil.c: Likewise.
12650 * grp/setgroups.c: Likewise.
12651 * inet/if_index.c: Likewise.
12652 * io/access.c: Likewise.
12653 * io/chdir.c: Likewise.
12654 * io/chmod.c: Likewise.
12655 * io/chown.c: Likewise.
12656 * io/close.c: Likewise.
12657 * io/dup.c: Likewise.
12658 * io/dup2.c: Likewise.
12659 * io/dup3.c: Likewise.
12660 * io/euidaccess.c: Likewise.
12661 * io/faccessat.c: Likewise.
12662 * io/fchdir.c: Likewise.
12663 * io/fchmod.c: Likewise.
12664 * io/fchmodat.c: Likewise.
12665 * io/fchown.c: Likewise.
12666 * io/fchownat.c: Likewise.
12667 * io/fcntl.c: Likewise.
12668 * io/flock.c: Likewise.
12669 * io/fstatfs.c: Likewise.
12670 * io/fstatfs64.c: Likewise.
12671 * io/fstatvfs.c: Likewise.
12672 * io/fstatvfs64.c: Likewise.
12673 * io/futimens.c: Likewise.
12674 * io/fxstat.c: Likewise.
12675 * io/fxstat64.c: Likewise.
12676 * io/fxstatat.c: Likewise.
12677 * io/fxstatat64.c: Likewise.
12678 * io/getcwd.c: Likewise.
12679 * io/isatty.c: Likewise.
12680 * io/lchmod.c: Likewise.
12681 * io/lchown.c: Likewise.
12682 * io/link.c: Likewise.
12683 * io/linkat.c: Likewise.
12684 * io/lseek.c: Likewise.
12685 * io/lseek64.c: Likewise.
12686 * io/lxstat64.c: Likewise.
12687 * io/mkdir.c: Likewise.
12688 * io/mkdirat.c: Likewise.
12689 * io/mkfifo.c: Likewise.
12690 * io/mkfifoat.c: Likewise.
12691 * io/open.c: Likewise.
12692 * io/open64.c: Likewise.
12693 * io/openat.c: Likewise.
12694 * io/openat64.c: Likewise.
12695 * io/pipe.c: Likewise.
12696 * io/pipe2.c: Likewise.
12697 * io/poll.c: Likewise.
12698 * io/posix_fadvise.c: Likewise.
12699 * io/posix_fadvise64.c: Likewise.
12700 * io/posix_fallocate.c: Likewise.
12701 * io/posix_fallocate64.c: Likewise.
12702 * io/read.c: Likewise.
12703 * io/readlink.c: Likewise.
12704 * io/readlinkat.c: Likewise.
12705 * io/rmdir.c: Likewise.
12706 * io/sendfile.c: Likewise.
12707 * io/sendfile64.c: Likewise.
12708 * io/statfs.c: Likewise.
12709 * io/statfs64.c: Likewise.
12710 * io/statvfs.c: Likewise.
12711 * io/statvfs64.c: Likewise.
12712 * io/symlink.c: Likewise.
12713 * io/symlinkat.c: Likewise.
12714 * io/ttyname.c: Likewise.
12715 * io/ttyname_r.c: Likewise.
12716 * io/umask.c: Likewise.
12717 * io/unlink.c: Likewise.
12718 * io/unlinkat.c: Likewise.
12719 * io/utime.c: Likewise.
12720 * io/utimensat.c: Likewise.
12721 * io/write.c: Likewise.
12722 * io/xmknod.c: Likewise.
12723 * io/xmknodat.c: Likewise.
12724 * io/xstat.c: Likewise.
12725 * io/xstat64.c: Likewise.
12726 * login/getpt.c: Likewise.
12727 * login/grantpt.c: Likewise.
12728 * login/unlockpt.c: Likewise.
12729 * math/e_acoshl.c: Likewise.
12730 * math/e_acosl.c: Likewise.
12731 * math/e_asinl.c: Likewise.
12732 * math/e_atan2l.c: Likewise.
12733 * math/e_atanhl.c: Likewise.
12734 * math/e_coshl.c: Likewise.
12735 * math/e_expl.c: Likewise.
12736 * math/e_fmodl.c: Likewise.
12737 * math/e_gammal_r.c: Likewise.
12738 * math/e_hypotl.c: Likewise.
12739 * math/e_j0l.c: Likewise.
12740 * math/e_j1l.c: Likewise.
12741 * math/e_jnl.c: Likewise.
12742 * math/e_lgammal_r.c: Likewise.
12743 * math/e_log10l.c: Likewise.
12744 * math/e_log2l.c: Likewise.
12745 * math/e_logl.c: Likewise.
12746 * math/e_powl.c: Likewise.
12747 * math/e_rem_pio2l.c: Likewise.
12748 * math/e_sinhl.c: Likewise.
12749 * math/e_sqrtl.c: Likewise.
12750 * math/fclrexcpt.c: Likewise.
12751 * math/fedisblxcpt.c: Likewise.
12752 * math/feenablxcpt.c: Likewise.
12753 * math/fegetenv.c: Likewise.
12754 * math/fegetexcept.c: Likewise.
12755 * math/fegetround.c: Likewise.
12756 * math/feholdexcpt.c: Likewise.
12757 * math/fesetenv.c: Likewise.
12758 * math/fesetround.c: Likewise.
12759 * math/feupdateenv.c: Likewise.
12760 * math/fgetexcptflg.c: Likewise.
12761 * math/fraiseexcpt.c: Likewise.
12762 * math/fsetexcptflg.c: Likewise.
12763 * math/ftestexcept.c: Likewise.
12764 * math/k_cosl.c: Likewise.
12765 * math/k_rem_pio2l.c: Likewise.
12766 * math/k_sinl.c: Likewise.
12767 * math/k_tanl.c: Likewise.
12768 * math/s_asinhl.c: Likewise.
12769 * math/s_atanl.c: Likewise.
12770 * math/s_cbrtl.c: Likewise.
12771 * math/s_erfl.c: Likewise.
12772 * math/s_expm1l.c: Likewise.
12773 * math/s_log1pl.c: Likewise.
12774 * math/s_tanhl.c: Likewise.
12775 * misc/acct.c: Likewise.
12776 * misc/brk.c: Likewise.
12777 * misc/chflags.c: Likewise.
12778 * misc/chroot.c: Likewise.
12779 * misc/fchflags.c: Likewise.
12780 * misc/fgetxattr.c: Likewise.
12781 * misc/flistxattr.c: Likewise.
12782 * misc/fremovexattr.c: Likewise.
12783 * misc/fsetxattr.c: Likewise.
12784 * misc/fsync.c: Likewise.
12785 * misc/ftruncate.c: Likewise.
12786 * misc/futimes.c: Likewise.
12787 * misc/futimesat.c: Likewise.
12788 * misc/getdomain.c: Likewise.
12789 * misc/getdtsz.c: Likewise.
12790 * misc/gethostid.c: Likewise.
12791 * misc/gethostname.c: Likewise.
12792 * misc/getloadavg.c: Likewise.
12793 * misc/getpagesize.c: Likewise.
12794 * misc/getsysstats.c: Likewise.
12795 * misc/getxattr.c: Likewise.
12796 * misc/gtty.c: Likewise.
12797 * misc/ioctl.c: Likewise.
12798 * misc/lgetxattr.c: Likewise.
12799 * misc/listxattr.c: Likewise.
12800 * misc/llistxattr.c: Likewise.
12801 * misc/lremovexattr.c: Likewise.
12802 * misc/lsetxattr.c: Likewise.
12803 * misc/lutimes.c: Likewise.
12804 * misc/madvise.c: Likewise.
12805 * misc/mincore.c: Likewise.
12806 * misc/mlock.c: Likewise.
12807 * misc/mlockall.c: Likewise.
12808 * misc/mmap.c: Likewise.
12809 * misc/mprotect.c: Likewise.
12810 * misc/msync.c: Likewise.
12811 * misc/munlock.c: Likewise.
12812 * misc/munlockall.c: Likewise.
12813 * misc/munmap.c: Likewise.
12814 * misc/preadv.c: Likewise.
12815 * misc/preadv64.c: Likewise.
12816 * misc/ptrace.c: Likewise.
12817 * misc/pwritev.c: Likewise.
12818 * misc/pwritev64.c: Likewise.
12819 * misc/readv.c: Likewise.
12820 * misc/reboot.c: Likewise.
12821 * misc/remap_file_pages.c: Likewise.
12822 * misc/removexattr.c: Likewise.
12823 * misc/revoke.c: Likewise.
12824 * misc/select.c: Likewise.
12825 * misc/setdomain.c: Likewise.
12826 * misc/setegid.c: Likewise.
12827 * misc/seteuid.c: Likewise.
12828 * misc/sethostid.c: Likewise.
12829 * misc/sethostname.c: Likewise.
12830 * misc/setregid.c: Likewise.
12831 * misc/setreuid.c: Likewise.
12832 * misc/setxattr.c: Likewise.
12833 * misc/sstk.c: Likewise.
12834 * misc/stty.c: Likewise.
12835 * misc/swapoff.c: Likewise.
12836 * misc/swapon.c: Likewise.
12837 * misc/sync.c: Likewise.
12838 * misc/syncfs.c: Likewise.
12839 * misc/syscall.c: Likewise.
12840 * misc/truncate.c: Likewise.
12841 * misc/ualarm.c: Likewise.
12842 * misc/usleep.c: Likewise.
12843 * misc/ustat.c: Likewise.
12844 * misc/utimes.c: Likewise.
12845 * misc/vhangup.c: Likewise.
12846 * misc/writev.c: Likewise.
12847 * posix/_exit.c: Likewise.
12848 * posix/alarm.c: Likewise.
12849 * posix/execve.c: Likewise.
12850 * posix/fexecve.c: Likewise.
12851 * posix/fork.c: Likewise.
12852 * posix/fpathconf.c: Likewise.
12853 * posix/getaddrinfo.c: Likewise.
12854 * posix/getegid.c: Likewise.
12855 * posix/geteuid.c: Likewise.
12856 * posix/getgid.c: Likewise.
12857 * posix/getgroups.c: Likewise.
12858 * posix/getlogin.c: Likewise.
12859 * posix/getlogin_r.c: Likewise.
12860 * posix/getpgid.c: Likewise.
12861 * posix/getpid.c: Likewise.
12862 * posix/getppid.c: Likewise.
12863 * posix/getresgid.c: Likewise.
12864 * posix/getresuid.c: Likewise.
12865 * posix/getsid.c: Likewise.
12866 * posix/getuid.c: Likewise.
12867 * posix/glob64.c: Likewise.
12868 * posix/nanosleep.c: Likewise.
12869 * posix/pathconf.c: Likewise.
12870 * posix/pause.c: Likewise.
12871 * posix/posix_madvise.c: Likewise.
12872 * posix/pread.c: Likewise.
12873 * posix/pread64.c: Likewise.
12874 * posix/pwrite.c: Likewise.
12875 * posix/pwrite64.c: Likewise.
12876 * posix/sched_getaffinity.c: Likewise.
12877 * posix/sched_getp.c: Likewise.
12878 * posix/sched_gets.c: Likewise.
12879 * posix/sched_primax.c: Likewise.
12880 * posix/sched_primin.c: Likewise.
12881 * posix/sched_rr_gi.c: Likewise.
12882 * posix/sched_setaffinity.c: Likewise.
12883 * posix/sched_setp.c: Likewise.
12884 * posix/sched_sets.c: Likewise.
12885 * posix/sched_yield.c: Likewise.
12886 * posix/setgid.c: Likewise.
12887 * posix/setlogin.c: Likewise.
12888 * posix/setpgid.c: Likewise.
12889 * posix/setresgid.c: Likewise.
12890 * posix/setresuid.c: Likewise.
12891 * posix/setsid.c: Likewise.
12892 * posix/setuid.c: Likewise.
12893 * posix/sleep.c: Likewise.
12894 * posix/spawni.c: Likewise.
12895 * posix/sysconf.c: Likewise.
12896 * posix/times.c: Likewise.
12897 * posix/wait.c: Likewise.
12898 * posix/wait3.c: Likewise.
12899 * posix/wait4.c: Likewise.
12900 * posix/waitpid.c: Likewise.
12901 * resolv/gai_sigqueue.c: Likewise.
12902 * resource/getpriority.c: Likewise.
12903 * resource/getrlimit.c: Likewise.
12904 * resource/getrusage.c: Likewise.
12905 * resource/nice.c: Likewise.
12906 * resource/setpriority.c: Likewise.
12907 * resource/setrlimit.c: Likewise.
12908 * resource/ulimit.c: Likewise.
12909 * rt/aio_cancel.c: Likewise.
12910 * rt/aio_fsync.c: Likewise.
12911 * rt/aio_read.c: Likewise.
12912 * rt/aio_sigqueue.c: Likewise.
12913 * rt/aio_suspend.c: Likewise.
12914 * rt/aio_write.c: Likewise.
12915 * rt/clock_getres.c: Likewise.
12916 * rt/clock_gettime.c: Likewise.
12917 * rt/clock_nanosleep.c: Likewise.
12918 * rt/clock_settime.c: Likewise.
12919 * rt/lio_listio.c: Likewise.
12920 * rt/mq_close.c: Likewise.
12921 * rt/mq_getattr.c: Likewise.
12922 * rt/mq_notify.c: Likewise.
12923 * rt/mq_open.c: Likewise.
12924 * rt/mq_receive.c: Likewise.
12925 * rt/mq_send.c: Likewise.
12926 * rt/mq_setattr.c: Likewise.
12927 * rt/mq_timedreceive.c: Likewise.
12928 * rt/mq_timedsend.c: Likewise.
12929 * rt/mq_unlink.c: Likewise.
12930 * rt/shm_open.c: Likewise.
12931 * rt/shm_unlink.c: Likewise.
12932 * rt/timer_create.c: Likewise.
12933 * rt/timer_delete.c: Likewise.
12934 * rt/timer_getoverr.c: Likewise.
12935 * rt/timer_gettime.c: Likewise.
12936 * rt/timer_settime.c: Likewise.
12937 * setjmp/__longjmp.c: Likewise.
12938 * setjmp/setjmp.c: Likewise.
12939 * signal/kill.c: Likewise.
12940 * signal/killpg.c: Likewise.
12941 * signal/raise.c: Likewise.
12942 * signal/sigaction.c: Likewise.
12943 * signal/sigaltstack.c: Likewise.
12944 * signal/sigblock.c: Likewise.
12945 * signal/sigignore.c: Likewise.
12946 * signal/sigintr.c: Likewise.
12947 * signal/signal.c: Likewise.
12948 * signal/sigpause.c: Likewise.
12949 * signal/sigpending.c: Likewise.
12950 * signal/sigqueue.c: Likewise.
12951 * signal/sigreturn.c: Likewise.
12952 * signal/sigset.c: Likewise.
12953 * signal/sigsetmask.c: Likewise.
12954 * signal/sigstack.c: Likewise.
12955 * signal/sigsuspend.c: Likewise.
12956 * signal/sigtimedwait.c: Likewise.
12957 * signal/sigvec.c: Likewise.
12958 * signal/sigwait.c: Likewise.
12959 * signal/sigwaitinfo.c: Likewise.
12960 * signal/sysv_signal.c: Likewise.
12961 * socket/accept.c: Likewise.
12962 * socket/accept4.c: Likewise.
12963 * socket/bind.c: Likewise.
12964 * socket/connect.c: Likewise.
12965 * socket/getpeername.c: Likewise.
12966 * socket/getsockname.c: Likewise.
12967 * socket/getsockopt.c: Likewise.
12968 * socket/isfdtype.c: Likewise.
12969 * socket/listen.c: Likewise.
12970 * socket/recv.c: Likewise.
12971 * socket/recvfrom.c: Likewise.
12972 * socket/recvmsg.c: Likewise.
12973 * socket/send.c: Likewise.
12974 * socket/sendmsg.c: Likewise.
12975 * socket/sendto.c: Likewise.
12976 * socket/setsockopt.c: Likewise.
12977 * socket/shutdown.c: Likewise.
12978 * socket/sockatmark.c: Likewise.
12979 * socket/socket.c: Likewise.
12980 * socket/socketpair.c: Likewise.
12981 * stdio-common/ctermid.c: Likewise.
12982 * stdio-common/cuserid.c: Likewise.
12983 * stdio-common/remove.c: Likewise.
12984 * stdio-common/rename.c: Likewise.
12985 * stdio-common/renameat.c: Likewise.
12986 * stdio-common/tempname.c: Likewise.
12987 * stdlib/getcontext.c: Likewise.
12988 * stdlib/makecontext.c: Likewise.
12989 * stdlib/setcontext.c: Likewise.
12990 * stdlib/swapcontext.c: Likewise.
12991 * stdlib/system.c: Likewise.
12992 * streams/fattach.c: Likewise.
12993 * streams/fdetach.c: Likewise.
12994 * streams/getmsg.c: Likewise.
12995 * streams/getpmsg.c: Likewise.
12996 * streams/putmsg.c: Likewise.
12997 * streams/putpmsg.c: Likewise.
12998 * sysdeps/unix/bsd/getpt.c: Likewise.
12999 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13000 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13001 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13004 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13005 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13006 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13007 * sysvipc/msgctl.c: Likewise.
13008 * sysvipc/msgget.c: Likewise.
13009 * sysvipc/msgrcv.c: Likewise.
13010 * sysvipc/msgsnd.c: Likewise.
13011 * sysvipc/semctl.c: Likewise.
13012 * sysvipc/semget.c: Likewise.
13013 * sysvipc/semop.c: Likewise.
13014 * sysvipc/semtimedop.c: Likewise.
13015 * sysvipc/shmat.c: Likewise.
13016 * sysvipc/shmctl.c: Likewise.
13017 * sysvipc/shmdt.c: Likewise.
13018 * sysvipc/shmget.c: Likewise.
13019 * termios/tcdrain.c: Likewise.
13020 * termios/tcflow.c: Likewise.
13021 * termios/tcflush.c: Likewise.
13022 * termios/tcgetattr.c: Likewise.
13023 * termios/tcgetpgrp.c: Likewise.
13024 * termios/tcsendbrk.c: Likewise.
13025 * termios/tcsetattr.c: Likewise.
13026 * termios/tcsetpgrp.c: Likewise.
13027 * time/adjtime.c: Likewise.
13028 * time/clock.c: Likewise.
13029 * time/getitimer.c: Likewise.
13030 * time/gettimeofday.c: Likewise.
13031 * time/setitimer.c: Likewise.
13032 * time/settimeofday.c: Likewise.
13033 * time/stime.c: Likewise.
13034 * time/time.c: Likewise.
13036 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13038 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13041 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13043 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13045 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13049 FE_TONEAREST before applying Dekker multiplication and Knuth
13050 addition. Clear inexact exceptions and check for exact zero
13051 results afterwards.
13052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13053 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13055 * math/libm-test.inc (fma_test): Add more tests.
13056 (fma_test_towardzero): Likewise.
13057 (fma_test_downward): Likewise.
13058 (fma_test_upward): Likewise.
13059 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13061 (libc_fesetround): New macro.
13062 (libc_fesetroundf): Likewise.
13063 (libc_fesetroundl): Likewise.
13064 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13066 (libc_fesetround_387): Likewise.
13067 (libc_fesetroundf): New macro.
13068 (libc_fesetround): Likewise.
13069 (libc_fesetroundl): Likewise.
13070 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13072 (libc_fesetroundf): New macro.
13073 (libc_fesetround): Likewise.
13074 (libc_fesetroundl): Likewise.
13075 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13076 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13077 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13079 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13080 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13082 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13083 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13085 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13089 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13090 integer constant usable in #if and use that to give value to enum
13092 (FE_DIVBYZERO): Likewise.
13093 (FE_UNDERFLOW): Likewise.
13094 (FE_OVERFLOW): Likewise.
13095 (FE_INVALID): Likewise.
13096 (FE_INVALID_SNAN): Likewise.
13097 (FE_INVALID_ISI): Likewise.
13098 (FE_INVALID_IDI): Likewise.
13099 (FE_INVALID_ZDZ): Likewise.
13100 (FE_INVALID_IMZ): Likewise.
13101 (FE_INVALID_COMPARE): Likewise.
13102 (FE_INVALID_SOFTWARE): Likewise.
13103 (FE_INVALID_SQRT): Likewise.
13104 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13105 (FE_TONEAREST): Likewise.
13106 (FE_TOWARDZERO): Likewise.
13107 (FE_UPWARD): Likewise.
13108 (FE_DOWNWARD): Likewise.
13109 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13110 (FE_DIVBYZERO): Likewise.
13111 (FE_OVERFLOW): Likewise.
13112 (FE_UNDERFLOW): Likewise.
13113 (FE_INEXACT): Likewise.
13114 (FE_TONEAREST): Likewise.
13115 (FE_DOWNWARD): Likewise.
13116 (FE_UPWARD): Likewise.
13117 (FE_TOWARDZERO): Likewise.
13118 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13119 (FE_UNDERFLOW): Likewise.
13120 (FE_OVERFLOW): Likewise.
13121 (FE_DIVBYZERO): Likewise.
13122 (FE_INVALID): Likewise.
13123 (FE_TONEAREST): Likewise.
13124 (FE_TOWARDZERO): Likewise.
13125 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13126 (FE_OVERFLOW): Likewise.
13127 (FE_UNDERFLOW): Likewise.
13128 (FE_DIVBYZERO): Likewise.
13129 (FE_INEXACT): Likewise.
13130 (FE_TONEAREST): Likewise.
13131 (FE_TOWARDZERO): Likewise.
13132 (FE_UPWARD): Likewise.
13133 (FE_DOWNWARD): Likewise.
13134 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13135 (FE_DIVBYZERO): Likewise.
13136 (FE_OVERFLOW): Likewise.
13137 (FE_UNDERFLOW): Likewise.
13138 (FE_INEXACT): Likewise.
13139 (FE_TONEAREST): Likewise.
13140 (FE_DOWNWARD): Likewise.
13141 (FE_UPWARD): Likewise.
13142 (FE_TOWARDZERO): Likewise.
13144 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13146 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13148 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13150 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13151 commands. Quote $PWD.
13152 (blacklist_exports): Don't use remove_newlines. Replace "declare
13154 (remove_newlines): Remove.
13156 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13158 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13159 * stdlib/stdlib.h (atof): Moved to ...
13160 * include/bits/stdlib-float.h: Here. New file.
13161 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13162 * stdlib/bits/stdlib-float.h: New file.
13163 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13165 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13168 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13170 * conform/conformtest.pl (@headers): Add fenv.h.
13171 * conform/data/fenv.h-data: New file.
13172 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13173 include of <math/fenv.h>.
13175 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13176 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13177 && !UNIX98]. Enables tests for XOPEN2K8.
13178 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13179 POSIX2008]: Likewise.
13181 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13182 (struct rusage): Do not expect type or its members.
13185 * math/math.h (FP_NAN): Define macro to integer constant usable in
13186 #if and use that to give value to enum constant.
13187 (FP_INFINITE): Likewise.
13188 (FP_ZERO): Likewise.
13189 (FP_SUBNORMAL): Likewise.
13190 (FP_NORMAL): Likewise.
13192 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13194 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13195 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13198 2012-11-02 Roland McGrath <roland@hack.frob.com>
13200 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13201 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13202 autoconf-time if not.
13203 * configure.in: Remove AC_PREREQ.
13205 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13207 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13208 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13209 of the internal implementation.
13211 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13213 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13214 except include of <misc/sys/syslog.h>.
13216 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13219 function returns with a NULL context exit with zero.
13221 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13223 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13225 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13227 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13228 (run_program_cmd): This.
13229 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13230 (tst_langinfo): New variable. Use it.
13232 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13234 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13235 floating point opcodes.
13237 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13239 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13242 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13244 * sysdeps/mach/hurd/powerpc: Remove directory.
13245 * sysdeps/mach/powerpc: Likewise.
13247 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13249 * scripts/check-local-headers.sh: Ignore c++ headers.
13251 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13253 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13254 __libc_cleanup_region_start argument.
13256 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13261 x * y using scaling, not as x * y + z.
13262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13264 * math/libm-test.inc (fma_test): Add more tests.
13265 (fma_test_towardzero): Likewise.
13266 (fma_test_downward): Likewise.
13267 (fma_test_upward): Likewise.
13269 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13271 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13273 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13275 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13278 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13280 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13282 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13289 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13292 Fix the order of the list for glibc 2.17.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13296 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13300 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13303 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13304 for low part of x being zero before using __atanl (y).
13305 * math/libm-test.inc (atan2_test): Add another test.
13307 * manual/install.texi (Configuring and compiling): Document
13308 general use of test-wrapper and test-wrapper-env.
13309 * INSTALL: Regenerated.
13311 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13312 (__fma): Do not extract and scale down low bits on after-rounding
13313 systems when result rounded to normal precision would have normal
13315 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13316 (__fmal): Do not extract and scale down low bits on after-rounding
13317 systems when result rounded to normal precision would have normal
13319 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13320 (__fmal): Do not extract and scale down low bits on after-rounding
13321 systems when result rounded to normal precision would have normal
13323 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13325 (fma_test): Add more tests.
13326 (fma_test_towardzero): Likewise.
13327 (fma_test_downward): Likewise.
13328 (fma_test_upward): Likewise.
13330 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13332 * sysdeps/i386/tininess.h: Renamed to ...
13333 * sysdeps/x86/tininess.h: This.
13334 * sysdeps/x86_64/tininess.h: Removed.
13336 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13338 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13339 input. Use $(build-program-cmd).
13340 ($(objpfx)tst-array1-static.out): Likewise.
13341 ($(objpfx)tst-array2.out): Likewise.
13342 ($(objpfx)tst-array3.out): Likewise.
13343 ($(objpfx)tst-array4.out): Likewise.
13344 ($(objpfx)tst-array5.out): Likewise.
13345 ($(objpfx)tst-array5-static.out): Likewise.
13347 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13349 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13352 * nss/nsswitch.h (nss_interface_function): Provide new
13353 macro for use with NSS functions.
13354 * grp/initgroups.c: Use new macro.
13355 * nss/getXXbyYY.c: Likewise.
13356 * nss/getXXbyYY_r.c: Likewise.
13357 * nss/getXXent.c: Likewise.
13358 * nss/getXXent_r.c: Likewise.
13359 * sysdeps/posix/getaddrinfo.c: Likewise.
13361 2012-10-30 Andreas Jaeger <aj@suse.de>
13363 * po/ru.po: Update Russion translation from translation project.
13365 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13370 result and shift together with sticky bit instead of replicating
13371 round-to-nearest rounding.
13372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13373 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13374 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13375 missing underflow exceptions.
13376 (fma_test_towardzero): Add more tests.
13377 (fma_test_downward): Likewise.
13378 (fma_test_upward): Likewise.
13381 * sysdeps/generic/tininess.h: New file.
13382 * sysdeps/i386/tininess.h: Likewise.
13383 * sysdeps/sh/tininess.h: Likewise.
13384 * sysdeps/x86_64/tininess.h: Likewise.
13385 * stdlib/tst-strtod-underflow.c: Likewise.
13386 * stdlib/tst-tininess.c: Likewise.
13387 * stdlib/strtod_l.c: Include <tininess.h>.
13388 (round_and_return): Do not set errno for exact underflow cases.
13389 Force an underflow exception when setting errno for underflow.
13390 Determine underflow based on rounding to normal precision if
13391 TININESS_AFTER_ROUNDING.
13392 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13393 ERANGE for exact underflow cases.
13394 * stdlib/Makefile (tests): Add tst-tininess and
13395 tst-strtod-underflow.
13396 ($(objpfx)tst-tininess): Use $(link-libm).
13397 ($(objpfx)tst-strtod-underflow): Likewise.
13399 2012-10-30 Andreas Jaeger <aj@suse.de>
13402 * elf/Makefile (tests): Remove conditional for have-initfini-array
13403 since this is now always required and the variable does not exist
13405 (tests-static): Likewise.
13406 (modules-names): Likewise.
13408 * po/eo.po: Add Esperanto translation from translation project.
13410 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13411 merged with constructor/destructor.
13412 (init_array): Likewise.
13413 * elf/tst-array2dep.c (fini_array): Likewise.
13414 (init_array): Likewise.
13416 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13418 * manual/message.texi: Delete @cartouche tags.
13420 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13422 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13424 * sysdeps/mach/hurd/fsync.c: Likewise.
13426 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13427 [_POSIX_REALTIME_SIGNALS]: Change condition to
13428 [_POSIX_REALTIME_SIGNALS > 0].
13430 2012-10-27 Andreas Jaeger <aj@suse.de>
13432 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13433 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13435 [__WORDSIZE != 64]: Likewise.
13437 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13439 * iconvdata/tst-table.sh: Remove ${SHELL}.
13440 * iconvdata/tst-tables.sh: Likewise.
13442 2012-10-25 David S. Miller <davem@davemloft.net>
13444 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13445 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13450 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13451 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13452 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13455 2012-10-25 Roland McGrath <roland@hack.frob.com>
13457 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13458 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13461 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13462 Jim Blandy <jimb@codesourcery.com>
13464 * scripts/cross-test-ssh.sh: New file.
13465 * manual/install.texi (Configuring and compiling): Document use of
13467 * INSTALL: Regenerated.
13469 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13471 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13474 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13476 * Makeconfig (run-program-prefix): Fix comment.
13478 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13479 Jim Blandy <jimb@codesourcery.com>
13481 * Makeconfig (test-wrapper): New variable,
13482 (test-wrapper-env): Likewise.
13483 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13484 (run-built-tests): Define to yes.
13485 (run-program-prefix): Use $(test-wrapper).
13486 (built-program-cmd): Likewise.
13487 * Rules (make-test-out): Use $(test-wrapper-env) and
13488 $(host-built-program-cmd).
13489 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13490 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13492 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13493 $(test-wrapper-env) to tst-rtld-load-self.sh.
13494 ($(objpfx)order2.out): Use $(test-wrapper).
13495 ($(objpfx)tst-initorder.out): Likewise.
13496 ($(objpfx)tst-initorder2.out): Likewise.
13497 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13498 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13499 (test_wrapper_env): New variable. Use it to run ld.so.
13500 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13501 Use it to run ld.so.
13502 (test_wrapper_env): Likewise.
13503 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13504 $(test-wrapper) to run-iconv-test.sh.
13505 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13506 (ICONV): Use $test_wrapper.
13507 * posix/Makefile ($(objpfx)globtest.out): Pass
13508 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13509 globtest.sh, not $(run-program-prefix).
13510 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13511 (test_wrapper): Likewise.
13512 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13513 set together with run_via_rtld_prefix.
13514 (run_program_prefix): Define in terms of test_wrapper and
13515 run_via_rtld_prefix.
13517 2012-10-24 Roland McGrath <roland@hack.frob.com>
13519 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13520 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13524 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13525 Declare __clock_getres, __clock_gettime, __clock_settime,
13526 __clock_nanosleep, and __clock_getcpuclockid.
13527 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13528 Remove librt_hidden_def (clock_gettime).
13529 * sysdeps/unix/clock_gettime.c: Likewise.
13530 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13531 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13532 * rt/clock_getres.c: Define __clock_getres as an alias.
13533 * sysdeps/posix/clock_getres.c: Likewise.
13534 * rt/clock_settime.c: Define __clock_settime as an alias.
13535 * sysdeps/unix/clock_settime.c: Likewise.
13536 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13537 * sysdeps/unix/clock_nanosleep.c: Likewise.
13538 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13539 * rt/clock-compat.c: New file.
13540 * rt/Makefile (librt-routines): Add clock-compat and move
13541 $(clock-routines) to ...
13542 (routines): ... here, new variable.
13543 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13544 Don't add get_clockfreq here.
13545 * rt/Versions (libc: GLIBC_2.17): New version set.
13546 Add clock_* symbols here.
13547 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13548 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13549 (GLIBC_2.17): Add clock_* symbols.
13550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13561 * NEWS: Mention the move.
13563 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13564 Use __open, __read, __close rather than their public counterparts.
13565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13566 (__get_clockfreq_via_cpuinfo): Likewise.
13567 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13568 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13570 * config.h.in (HAVE_IFUNC): New #undef.
13571 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13573 * configure: Regenerated.
13575 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13577 * configure.in: Move READELF check to start of file.
13578 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13579 libc_cv_asm_gnu_indirect_function in the process.
13580 * configure: Regenerated.
13582 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13584 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13585 send the output to /dev/null.
13586 (libc_cv_cc_with_libunwind): Likewise.
13587 (libc_cv_as_noexecstack): Likewise.
13588 * configure: Regenerate.
13590 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13592 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13594 * posix/globtest.sh (TMPDIR): Do not set.
13595 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13596 (testout): Likewise.
13598 2012-10-24 Andreas Jaeger <aj@suse.de>
13600 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13601 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13602 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13603 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13604 posix_fadvise64, posix_fallocate64.
13606 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13607 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13608 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13610 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13612 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13615 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13616 <bits/fcntl-linux.h>.
13617 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13620 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13621 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13622 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13623 [__WORDSIZE != 64]: Likewise.
13625 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13627 * Makeconfig (run-built-tests): New variable.
13628 * Rules [$(cross-compiling) = yes]: Change condition to
13629 [$(run-built-tests) = no].
13630 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13631 to [$(run-built-tests) = yes].
13632 * elf/Makefile [$(cross-compiling) = no]: Likewise
13633 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13634 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13635 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13636 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13637 * io/Makefile [$(cross-compiling) = no]: Likewise.
13638 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13639 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13640 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13641 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13642 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13643 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13644 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13645 * string/Makefile [$(cross-compiling) = no]: Likewise.
13647 * posix/Makefile ($(objpfx)globtest.out): Pass
13648 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13649 $(rtld-installed-name).
13650 * posix/globtest.sh (elf_objpfx): Remove variable.
13651 (rtld_installed_name): Likewise.
13652 (library_path): Likewise.
13653 (run_program_prefix): New variable. Use for running globtest
13656 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13657 Joseph Myers <joseph@codesourcery.com>
13659 * Makeconfig (host-built-program-cmd): New variable.
13660 * elf/Makefile (tst-stackguard1-ARGS): Use
13661 $(host-built-program-cmd).
13662 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13663 (tst-spawn-ARGS): Likewise.
13664 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13666 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13667 Jim Blandy <jimb@codesourcery.com>
13669 * Makeconfig (run-via-rtld-prefix): New variable.
13670 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13671 (built-program-cmd): Likewise.
13673 2012-10-22 Andreas Jaeger <aj@suse.de>
13675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13676 __O_RSYNC if it exists, otherwise to O_SYNC.
13678 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13679 Joseph Myers <joseph@codesourcery.com>
13681 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13683 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13685 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13688 2012-10-22 Andreas Jaeger <aj@suse.de>
13690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13695 bits/fcntl-linux.h.
13697 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13698 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13705 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13706 Joseph Myers <joseph@codesourcery.com>
13708 * config.make.in (NM): New variable.
13710 2012-10-21 Andreas Jaeger <aj@suse.de>
13712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13713 definitions and declarations that are provided by
13714 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13716 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13719 * elf/Makefile (tests-static): Add tst-leaks1-static.
13720 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13721 ($(objpfx)tst-leaks1-static): New rule.
13722 ($(objpfx)tst-leaks1-static-mem): Likewise.
13723 (tst-leaks1-static-ENV): New macro.
13724 * elf/dl-open.c (dl_open_worker): Check the main application
13725 only if SHARED is defined.
13726 * elf/tst-leaks1-static.c: New file.
13728 2012-10-20 Andreas Jaeger <aj@suse.de>
13730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13731 generic values for Linux.
13732 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13733 and declarations that are provided by <bits/fcntl-linux.h> and
13734 include <bits/fcntl-linux.h>.
13735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13738 2012-10-20 Roland McGrath <roland@hack.frob.com>
13740 * io/fcntl.h: Move include of <bits/types.h> to the top and
13741 include it unconditionally.
13743 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13745 * wcsmbs/Makefile (tests-ifunc): New variable.
13746 (tests): Add $(tests-ifunc).
13747 * wcsmbs/test-wcschr-ifunc.c: New file.
13748 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13749 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13750 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13751 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13752 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13754 * string/Makefile (tests-ifunc): New variable.
13755 (tests): Add $(tests-ifunc).
13756 * string/test-memccpy.c (TEST_NAME): New macro.
13757 * string/test-memchr.c (TEST_NAME): Likewise.
13758 * string/test-memcmp.c (TEST_NAME): Likewise.
13759 * string/test-memcpy.c (TEST_NAME): Likewise.
13760 * string/test-memmem.c (TEST_NAME): Likewise.
13761 * string/test-memmove.c (TEST_NAME): Likewise.
13762 * string/test-memset.c (TEST_NAME): Likewise.
13763 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13764 * string/test-stpcpy.c (TEST_NAME): Likewise.
13765 * string/test-stpncpy.c (TEST_NAME): Likewise.
13766 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13767 * string/test-strcasestr.c (TEST_NAME): Likewise.
13768 * string/test-strcat.c (TEST_NAME): Likewise.
13769 * string/test-strchr.c (TEST_NAME): Likewise.
13770 * string/test-strcmp.c(TEST_NAME): Likewise.
13771 * string/test-strcpy.c (TEST_NAME): Likewise.
13772 * string/test-strcspn.c (TEST_NAME): Likewise.
13773 * string/test-strlen.c (TEST_NAME): Likewise.
13774 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13775 * string/test-strncmp.c (TEST_NAME): Likewise.
13776 * string/test-strncpy.c (TEST_NAME): Likewise.
13777 * string/test-strnlen.c (TEST_NAME): Likewise.
13778 * string/test-strpbrk.c (TEST_NAME): Likewise.
13779 * string/test-strrchr.c (TEST_NAME): Likewise.
13780 * string/test-strspn.c (TEST_NAME): Likewise.
13781 * string/test-strstr.c (TEST_NAME): Likewise.
13782 * string/test-bcopy-ifunc.c: New file.
13783 * string/test-bzero-ifunc.c: Likewise.
13784 * string/test-memccpy-ifunc.c: Likewise.
13785 * string/test-memchr-ifunc.c: Likewise.
13786 * string/test-memcmp-ifunc.c: Likewise.
13787 * string/test-memcpy-ifunc.c: Likewise.
13788 * string/test-memmem-ifunc.c: Likewise.
13789 * string/test-memmove-ifunc.c: Likewise.
13790 * string/test-mempcpy-ifunc.c: Likewise.
13791 * string/test-memset-ifunc.c: Likewise.
13792 * string/test-rawmemchr-ifunc.c: Likewise.
13793 * string/test-stpcpy-ifunc.c: Likewise.
13794 * string/test-stpncpy-ifunc.c: Likewise.
13795 * string/test-strcasecmp-ifunc.c: Likewise.
13796 * string/test-strcasestr-ifunc.c: Likewise.
13797 * string/test-strcat-ifunc.c: Likewise.
13798 * string/test-strchr-ifunc.c: Likewise.
13799 * string/test-strchrnul-ifunc.c: Likewise.
13800 * string/test-strcmp-ifunc.c: Likewise.
13801 * string/test-strcpy-ifunc.c: Likewise.
13802 * string/test-strcspn-ifunc.c: Likewise.
13803 * string/test-strlen-ifunc.c: Likewise.
13804 * string/test-strncasecmp-ifunc.c: Likewise.
13805 * string/test-strncat-ifunc.c: Likewise.
13806 * string/test-strncmp-ifunc.c: Likewise.
13807 * string/test-strncpy-ifunc.c: Likewise.
13808 * string/test-strnlen-ifunc.c: Likewise.
13809 * string/test-strpbrk-ifunc.c: Likewise.
13810 * string/test-strrchr-ifunc.c: Likewise.
13811 * string/test-strspn-ifunc.c: Likewise.
13812 * string/test-strstr-ifunc.c: Likewise.
13814 * debug/Makefile (tests-ifunc): New variable.
13815 (tests): Add $(tests-ifunc).
13816 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13817 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13818 * debug/test-stpcpy_chk-ifunc.c: New file.
13819 * debug/test-strcpy_chk-ifunc.c: Likewise.
13821 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13824 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13825 header is not read in.
13827 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13829 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13830 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13831 directly. Pass built executable to script as
13832 $(built-program-cmd).
13833 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13834 $testprogram without using LD_LIBRARY_PATH and $ldso.
13836 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13837 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13838 $(rtld-installed-name).
13839 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13840 (rtld_installed_name): Likewise.
13841 (library_path): Likewise.
13842 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13843 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13844 $(run-program-prefix) to tst-tables.sh.
13845 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13846 it to run tst-table-from and tst-table-to.
13847 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13848 Pass it to tst-table.sh.
13849 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13850 $(run-program-prefix) to tst-gettext.sh.
13851 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13853 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13855 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13856 to run tst-gettext.
13857 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13858 to run tst-gettext2.
13859 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13860 to run tst-translit.
13861 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13862 $(run-program-prefix) to tst-mtrace.sh.
13863 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13865 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13866 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13867 $(rtld-installed-name).
13868 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13869 (rtld_installed_name): Likewise.
13870 (run_program_prefix): New variable. Use it to run wordexp-test.
13872 * Makeconfig (ARCH): Remove all definitions.
13873 (machine): Likewise.
13874 [ARCH]: Remove conditional code.
13875 [!objdir]: Give error.
13876 [!objdir] (objpfx): Remove.
13877 [!objdir] (common-objpfx): Likewise.
13878 [!objdir] (common-objdir): Likewise.
13879 * configure.in (config_makefile): Remove. Hardcode Makefile in
13880 AC_CONFIG_FILES call.
13881 * configure: Regenerated.
13884 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13886 (testout): Likewise.
13888 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13889 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13890 $(rtld-installed-name).
13891 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13892 (rtld_installed_name): Likwise.
13893 (runit): Remove function.
13894 (run_getconf): New variable, Use it for running getconf binary.
13896 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13899 * string/test-memmem.c (check_result): New function.
13900 (do_one_test): Use it.
13901 (check1): New function.
13902 (test_main): Use it.
13904 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13906 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13908 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13910 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13911 (_G_LSEEK64): Likewise.
13912 (_G_MMAP64): Likewise.
13913 (_G_FSTAT64): Likewise.
13914 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13915 (_G_LSEEK64): Likewise.
13916 (_G_MMAP64): Likewise.
13917 (_G_FSTAT64): Likewise.
13918 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13919 unconditional. Call __mmap64 directly.
13920 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13921 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13922 __lseek64 directly.
13923 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13924 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13926 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13927 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13928 __lseek64 directly.
13929 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13930 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13931 __lseek64 directly.
13932 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13933 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13934 __lseek64 directly.
13935 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13936 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13937 __fxstat64 directly.
13938 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13939 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13941 (freopen64) [!_G_OPEN64]: Remove conditional code.
13942 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13944 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13945 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13947 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13948 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13950 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13951 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13953 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13954 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13956 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13957 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13959 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13960 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13962 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13964 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13967 * manual/memory.texi (Malloc Tunable Parameters): Add note
13968 about free list pointers overwriting some perturb bytes.
13969 Wording suggested by Roland McGrath.
13971 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13973 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13974 (lgamma_test): Likewise.
13975 (tgamma_test): Likewise.
13977 2012-10-16 Florian Weimer <fweimer@redhat.com>
13980 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13981 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13983 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13985 * NEWS: Mention BZ #14716.
13986 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13987 when removing AVAILABLE1_USES_J macro.
13989 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13991 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13992 (__bswap_64): __uint64_t for unsigned 64-bit int.
13994 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13996 * include/string.h (memmem): Declare libc hidden alias.
13997 * string/memmem.c (memmem): Define libc hidden alias.
13998 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13999 __read, __close instead of open, read, close.
14001 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14004 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14006 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14007 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14008 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14010 (__rawmemchr_sse2): Likewise.
14011 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14012 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14013 (__strchr_sse2): Likewise.
14014 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14015 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14016 (__strcasecmp_sse2): Likewise.
14017 (__strncasecmp_sse2): Likewise.
14018 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14019 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14020 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14021 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14022 (__strrchr_sse2): Likewise.
14023 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14025 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14026 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14027 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14028 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14029 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14030 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14031 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14032 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14033 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14034 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14035 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14036 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14037 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14038 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14039 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14040 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14041 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14042 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14043 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14044 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14045 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14046 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14047 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14048 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14049 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14050 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14051 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14052 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14053 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14054 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14056 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14058 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14059 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14060 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14061 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14063 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14065 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14066 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14067 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14068 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14070 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14071 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14072 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14073 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14074 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14075 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14076 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14077 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14078 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14079 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14080 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14081 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14082 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14083 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14084 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14085 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14086 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14087 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14088 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14090 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14091 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14092 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14093 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14094 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14095 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14096 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14097 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14098 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14099 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14100 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14101 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14102 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14103 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14104 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14106 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14107 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14108 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14110 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14112 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14113 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14114 * include/ifunc-impl-list.h: New file.
14115 * misc/ifunc-impl-list.c: Likewise.
14116 * misc/Makefile (routines): Add ifunc-impl-list.
14117 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14118 * string/test-string.h: Include <ifunc-impl-list.h>.
14119 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14120 impl_array): New variables.
14121 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14123 (test_init): Call __libc_ifunc_impl_list to initialize
14124 func_list if TEST_IFUNC and TEST_NAME are defined.
14126 * string/Makefile (strop-tests): Add bcopy and bzero.
14127 * string/test-bcopy.c: New file.
14128 * string/test-bzero.c: Likewise.
14129 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14131 * string/test-memset.c: Support bzero test if TEST_BZERO is
14133 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14135 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14137 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14140 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14142 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14143 * configure: Regenerated.
14145 * Makeconfig (+link-static-before-libc): Don't include
14146 $(link-static-libc).
14148 * libio/libio.h (_IO_pos_t): Remove.
14150 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14152 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14155 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14157 * crypt/crypt-entry.c: Include fips-private.h.
14158 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14159 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14160 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14161 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14163 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14165 * crypt/crypt-private.h: Include stdbool.h.
14166 (_ufc_setup_salt_r): Return bool.
14167 * crypt/crypt-entry.c: Include errno.h.
14168 (__crypt_r): Return NULL with EINVAL for bad salt.
14169 * crypt/crypt_util.c (bad_for_salt): New.
14170 (_ufc_setup_salt_r): Check that salt is long enough and within
14171 the specified alphabet.
14172 * crypt/badsalttest.c: New file.
14173 * crypt/Makefile (tests): Add it.
14174 ($(objpfx)badsalttest): New.
14176 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14178 * NEWS: Add entry for BZ #14602.
14180 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14182 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14184 * math/libm-test.inc: Update comment listing what functions and
14186 (isgreater_test): New function.
14187 (isgreaterequal_test): Likewise.
14188 (isless_test): Likewise.
14189 (islessequal_test): Likewise.
14190 (islessgreater_test): Likewise.
14191 (isunordered_test): Likewise.
14192 (main): Call the new functions.
14194 2012-10-09 Roland McGrath <roland@hack.frob.com>
14196 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14197 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14198 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14199 * sysdeps/i386/configure: Regenerated.
14200 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14201 * sysdeps/mach/configure: Regenerated.
14202 * sysdeps/mach/hurd/configure: Regenerated.
14203 * sysdeps/powerpc/configure: Regenerated.
14204 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14205 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14206 * sysdeps/s390/s390-32/configure: Regenerated.
14207 * sysdeps/s390/s390-64/configure: Regenerated.
14208 * sysdeps/sh/configure: Regenerated.
14209 * sysdeps/sparc/configure: Regenerated.
14210 * sysdeps/unix/sysv/linux/configure: Regenerated.
14211 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14212 * sysdeps/x86_64/configure: Regenerated.
14214 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14215 defined. Don't check if MAP is NULL.
14217 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14219 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14220 (_G_stat64): Likewise.
14221 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14222 (_G_stat64): Likewise.
14223 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14224 instead of struct _G_stat64.
14225 * libio/fileops.c (mmap_remap_check): Likewise.
14226 (decide_maybe_mmap): Likewise.
14227 (_IO_new_file_seekoff): Likewise.
14228 (_IO_file_stat): Likewise.
14229 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14231 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14232 instead of struct _G_stat64.
14233 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14235 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14238 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14240 (CHECK_EOL): New macro.
14241 (two_way_short_needle): Check beginning of haystack for EOL. Use
14243 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14244 Replace with CHECK_EOL.
14245 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14246 Replace with CHECK_EOL.
14248 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14250 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14252 * math/libm-test.inc: Update comment listing what functions and
14254 (finite_test): New function.
14255 (isinf_test): Likewise.
14256 (isnan_test): Likewise.
14257 (fpclassify_test): Test subnormal input.
14258 (isfinite_test): Likewise.
14259 (isnormal_test): Likewise.
14260 (main): Call the new functions.
14262 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14265 * Makerules (%.dynsym): Force C locale when running
14266 $(OBJDUMP) --dynamic-syms.
14268 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14270 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14273 2012-10-06 David S. Miller <davem@davemloft.net>
14275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14276 upper 32-bits of the length value in %o2 since we use branch-on-register
14277 tests which consider the entire 64-bit register.
14279 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14281 * string/test-strstr.c (check2): Add a test for page boundary.
14283 2012-10-05 David S. Miller <davem@davemloft.net>
14285 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14286 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14288 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14290 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14291 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14292 and bzero when HWCAP_SPARC_CRYPTO is present.
14294 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14297 * string/test-strstr.c (check2): New function.
14298 (test_main): Call check2.
14300 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14302 * string/bug-strcasestr1.c (do_test): Moved to ...
14303 * string/test-strcasestr.c (check1): Here. New function.
14304 (do_one_test): Break out result checking code into ...
14305 (check_result): This. New function.
14306 (do_one_test): Call check_result.
14307 (test_main): Call check1.
14308 * string/bug-strchr1.c (do_test): Moved to ...
14309 * string/test-strchr.c (check1): Here. New function.
14310 (do_one_test): Break out result checking code into ...
14311 (check_result): This. New function.
14312 (do_one_test): Call check_result.
14313 (test_main): Call check1.
14314 * string/bug-strstr1.c (main): Moved to ...
14315 * string/test-strstr.c (check1): Here. New function.
14316 (do_one_test): Break out result checking code into ...
14317 (check_result): This. New function.
14318 (do_one_test): Call check_result.
14319 (test_main): Call check1.
14320 * string/bug-strcasestr1.c: Removed.
14321 * string/bug-strchr1.c: Likewise.
14322 * string/bug-strstr1.c: Likewise.
14324 * elf/Makefile (dl-routines): Add hwcaps.
14325 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14326 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14327 (_dl_important_hwcaps): Moved to ...
14328 * elf/dl-hwcaps.c: Here. New file.
14329 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14332 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14333 if IS_IN_rtld isn't defined.
14335 * elf/dl-support.c (_dl_sysinfo_map): New.
14336 Include "get-dynamic-info.h" and "setup-vdso.h".
14337 (_dl_non_dynamic_init): Call setup_vdso.
14338 * elf/dynamic-link.h: Don't include <assert.h>.
14339 (elf_get_dynamic_info): Moved to ...
14340 * elf/get-dynamic-info.h: Here. New file.
14341 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14342 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14343 * elf/setup-vdso.h: Here. New file.
14344 * elf/rtld.c: Include "setup-vdso.h".
14345 (dl_main): Call setup_vdso.
14347 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14349 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14350 creal in comment listing functions tested. List finite, isinf,
14351 isnan, isless, islessequal, isgreater, isgreaterequal,
14352 islessgreater, isunordered, lgamma_r and pow10 as functions and
14353 macros not tested. Mention which functions not tested are aliases
14354 for other functions. Fix typo. Note that signs of NaNs are not
14357 * scripts/config.guess: Update from config.git.
14358 * scripts/config.sub: Likewise.
14360 2012-10-04 Roland McGrath <roland@hack.frob.com>
14362 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14363 * misc/madvise.c (madvise): Renamed to __madvise.
14364 Make madvise a weak alias.
14365 * include/sys/mman.h: Declare __madvise.
14366 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14367 * sysdeps/unix/syscalls.list
14368 (madvise): Make __madvise the strong name, and madvise a weak alias.
14369 * sysdeps/unix/sysv/linux/syscalls.list
14370 (madvise, mmap): Remove redundant entries.
14371 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14372 * malloc/malloc.c (mtrim): Likewise.
14373 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14375 2012-10-03 Roland McGrath <roland@hack.frob.com>
14377 * sysdeps/mach/hurd/dl-cache.c: File removed.
14378 * config.h.in (USE_LDCONFIG): New #undef.
14379 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14380 * configure: Regenerated.
14381 * elf/Makefile (dl-routines): Add dl-cache only under
14382 [$(use-ldconfig) = yes].
14383 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14384 cache on [USE_LDCONFIG].
14385 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14387 * elf/rtld.c (dl_main): Likewise.
14389 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14391 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14392 _SC_LEVEL4_CACHE_LINESIZE.
14394 2012-10-03 Roland McGrath <roland@hack.frob.com>
14396 * sysdeps/unix/bsd/confstr.h: File removed.
14398 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14400 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14403 2012-10-02 Roland McGrath <roland@hack.frob.com>
14405 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14406 Make 'mapoff' field ElfW(Off) rather than off_t.
14408 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14410 * nscd/Makefile: Remove nscd-cflags and all its users.
14411 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14412 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14415 * malloc.c (malloc_printerr): Clarify error message.
14417 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14421 Set bit_FMA_Usable if FMA is supported.
14422 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14424 (bit_FMA4_Usable): Updated.
14425 (index_FMA_Usable): New macro.
14426 (CPUID_FMA): Likewise
14427 (HAS_FMA): Defined with bit_FMA_Usable.
14429 2012-10-01 Roland McGrath <roland@hack.frob.com>
14431 * bits/types.h (__swblk_t): Type removed.
14432 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14433 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14435 (__SWBLK_T_TYPE): Likewise.
14436 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14437 (__SWBLK_T_TYPE): Likewise.
14438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14439 (__SWBLK_T_TYPE): Likewise.
14440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14441 (__SWBLK_T_TYPE): Likewise.
14443 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14444 Honza Horak <hhorak@redhat.com>
14446 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14447 (xdr_mapname): Use YPMAXMAP as maxsize.
14448 (xdr_peername): Use YPMAXPEER as maxsize.
14449 (xdr_keydat): Use YPAXRECORD as maxsize.
14450 (xdr_valdat): Use YPMAXRECORD as maxsize.
14452 2012-10-01 Roland McGrath <roland@hack.frob.com>
14454 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14456 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14457 * csu/init-first.c: ... here.
14458 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14459 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14460 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14461 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14462 * sysdeps/i386/init-first.c: File removed.
14463 * sysdeps/sh/init-first.c: File removed.
14465 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14469 if x * y might underflow to zero and z is zero.
14470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14471 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14472 * math/libm-test.inc (min_subnorm_value): New variable.
14473 (fma_test): Add more tests.
14474 (fma_test_towardzero): Likewise.
14475 (fma_test_downward): Likewise
14476 (fma_test_upward): Likewise.
14477 (initialize): Set min_subnorm_value.
14479 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14484 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14485 mode for addition resulting in exact zero.
14486 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14489 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14491 * math/libm-test.inc (fma_test): Add more tests.
14492 (fma_test_towardzero): New function.
14493 (fma_test_downward): Likewise.
14494 (fma_test_upward): Likewise.
14495 (main): Call the new functions.
14497 2012-09-28 David S. Miller <davem@davemloft.net>
14499 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14501 2012-09-28 Roland McGrath <roland@hack.frob.com>
14503 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14504 instead of SIGALRM.
14506 * sysdeps/gnu/_G_config.h: Moved to ...
14507 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14508 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14509 * sysdeps/generic/_G_config.h: ... here.
14511 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14513 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14515 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14516 Conditionalize target on [libnss_test1.so-version].
14518 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14520 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14521 (elfobjdir): Move out of conditionals.
14523 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14524 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14525 (__nss_lookup_function): Conditionalize label remove_from_tree on
14526 [!DO_STATIC_NSS || SHARED], matching its only use.
14528 2012-09-28 David S. Miller <davem@davemloft.net>
14530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14531 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14533 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14535 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14537 when HWCAP_SPARC_CRYPTO is present.
14539 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14541 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14543 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14546 * stdio-common/vfprintf.c (process_string_arg): Revert
14549 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14551 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14553 * stdio-common/tst-sprintf.c: Include <locale.h>
14554 (main): Test sprintf's handling of incomplete multibyte
14557 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14559 * elf/dl-runtime.c (VERSYMIDX): Removed.
14560 * elf/dl-version.c (VERSYMIDX): Likewise.
14561 * elf/do-rel.h (VERSYMIDX): Likewise.
14562 (VALIDX): Likewise.
14563 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14564 * elf/rtld.c (VALIDX): Likewise.
14565 (ADDRIDX): Likewise.
14566 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14567 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14568 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14569 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14570 (VALIDX): Likewise.
14571 (ADDRIDX): Likewise.
14573 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14575 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14577 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14580 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14582 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14583 addresses are in the same scope as 192.0.2/24.
14584 * posix/gai.conf: Document new scope table defaults.
14586 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14589 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14590 for ftell. Compute offsets from write pointers instead.
14591 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14593 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14596 * libio/Makefile (tests): New test case tst-fseek.
14597 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14598 combination works in wide mode.
14599 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14600 state when the external buffer state changes.
14602 2012-09-27 David S. Miller <davem@davemloft.net>
14605 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14606 pass reloc->r_addend in as the 'high' argument to
14607 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14611 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14613 * rt/tst-aio2.c: Include <pthread.h>.
14614 * rt/tst-aio3.c: Likewise.
14616 2012-09-27 Steve Ellcey <sellcey@mips.com>
14618 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14620 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14622 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14623 contents on [SHARED].
14625 2012-09-26 Marek Polacek <polacek@redhat.com>
14629 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14630 for C++ and GCC <4.3 as well as for non GCC compilers.
14632 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14636 2012-09-25 Roland McGrath <roland@hack.frob.com>
14638 * Makefile.in (all, install): Declare with .PHONY.
14639 Reported by Michael Hope <michael.hope@linaro.org>.
14641 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14643 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14644 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14646 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14648 (sydep_routines): Add the new and the internal functions.
14649 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14650 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14652 (GLIBC_2.17): Add the new function.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14654 (GLIBC_2.17): Likewise.
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14656 (GLIBC_2.17): Likewise.
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14658 (GLIBC_2.17): Likewise.
14659 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14661 2012-09-25 Alan Modra <amodra@gmail.com>
14663 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14664 Add release barrier before setting once_control to say
14665 initialisation is done. Add hints on lwarx. Use macro in
14667 (clear_once_control): Add release barrier.
14669 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14672 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14674 * math/s_clog10.c (__clog10): Likewise.
14675 * math/s_clog10f.c (__clog10f): Likewise.
14676 * math/s_clog10l.c (__clog10l): Likewise.
14677 * math/s_clogf.c (__clogf): Likewise.
14678 * math/s_clogl.c (__clogl): Likewise.
14679 * math/Makefile (libm-calls): Add x2y2m1.
14680 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14681 (__x2y2m1): Likewise.
14682 (__x2y2m1l): Likewise.
14683 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14684 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14687 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14688 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14689 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14690 * sysdeps/i386/fpu/libm-test-ulps: Update.
14691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14694 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14695 int as type of variable DEPTH.
14696 (glob): Use size_t instead of int as type of variables NEWCOUNT
14699 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14701 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14702 Add s_sincosf-sse2.
14703 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14704 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14705 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14706 macros for using routine as __sincosf_ia32.
14707 Use macro for function declaration and weak_alias.
14708 * sysdeps/i386/fpu/libm-test-ulps: Update.
14710 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14713 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14714 subnormal argument.
14715 * math/s_cexpf.c (__cexpf): Likewise.
14716 * math/s_csinf.c (__csinf): Likewise.
14717 * math/s_csinhf.c (__csinhf): Likewise.
14718 * math/s_ctanf.c (__ctanf): Likewise.
14719 * math/s_ctanhf.c (__ctanhf): Likewise.
14720 * math/s_ccosh.c (__ccoshf): Likewise.
14721 * math/s_cexp.c (__cexpl): Likewise.
14722 * math/s_csin.c (__csin): Likewise.
14723 * math/s_csinh.c (__csinh): Likewise.
14724 * math/s_ctan.c (__ctan): Likewise.
14725 * math/s_ctanh.c (ctanh): Likewise.
14726 * math/s_ccoshl.c (__ccoshl): Likewise.
14727 * math/s_cexpl.c (__cexpl): Likewise.
14728 * math/s_csinl.c (__csinl): Likewise.
14729 * math/s_csinhl.c (__csinhl): Likewise.
14730 * math/s_ctanl.c (__ctanl): Likewise.
14731 * math/s_ctanhl.c (__ctanhl): Likewise.
14733 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14735 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14736 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14737 (_IO_off_t): Define to __off_t, not _G_off_t.
14738 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14739 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14740 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14741 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14742 type of __dummy and __dummy2 fields.
14743 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14744 (_G_ssize_t): Likewise.
14745 (_G_off_t): Likewise.
14746 (_G_pid_t): Likewise.
14747 (_G_uid_t): Likewise.
14748 (_G_wchar_t): Likewise.
14749 (_G_wint_t): Likewise.
14750 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14751 (_G_ssize_t): Likewise.
14752 (_G_off_t): Likewise.
14753 (_G_pid_t): Likewise.
14754 (_G_uid_t): Likewise.
14755 (_G_wchar_t): Likewise.
14756 (_G_wint_t): Likewise.
14757 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14758 (_G_ssize_t): Likewise.
14759 (_G_off_t): Likewise.
14760 (_G_pid_t): Likewise.
14761 (_G_uid_t): Likewise.
14762 (_G_wchar_t): Likewise.
14763 (_G_wint_t): Likewise.
14765 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14767 * malloc/arena.c: Include malloc-sysdep.h.
14768 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14769 is sufficient to shrink the heap or an unmap is needed.
14770 * sysdeps/generic/malloc-sysdep.h: New file. Define
14771 new function check_may_shrink_heap.
14772 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14773 new function check_may_shrink_heap.
14775 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14777 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14780 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14782 * catgets/test-gencat.sh: Add "set -e".
14783 * elf/tst-pathopt.sh: Likewise.
14784 * grp/tst_fgetgrent.sh: Likewise.
14785 * iconvdata/run-iconv-test.sh: Likewise.
14786 * intl/tst-gettext.sh: Likewise.
14787 * intl/tst-gettext2.sh: Likewise.
14788 * intl/tst-gettext4.sh: Likewise.
14789 * intl/tst-gettext6.sh: Likewise.
14790 * intl/tst-translit.sh: Likewise.
14791 * io/ftwtest-sh: Likewise.
14792 * libio/test-freopen.sh: Likewise.
14793 * malloc/tst-mtrace.sh: Likewise.
14794 * posix/globtest.sh: Likewise.
14795 * posix/tst-getconf.sh: Likewise.
14796 * posix/wordexp-tst.sh: Likewise.
14797 * stdio-common/tst-printf.sh: Likewise.
14798 * stdio-common/tst-unbputc.sh: Likewise.
14799 * stdlib/tst-fmtmsg.sh: Likewise.
14800 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14801 * catgets/Makefile: Do not specify -e option when running
14802 testsuite shell scripts.
14803 * elf/Makefile: Likewise.
14804 * grp/Makefile: Likewise.
14805 * iconvdata/Makefile: Likewise.
14806 * intl/Makefile: Likewise.
14807 * io/Makefile: Likewise.
14808 * libio/Makefile: Likewise.
14809 * malloc/Makefile: Likewise.
14810 * posix/Makefile: Likewise.
14811 * stdio-common/Makefile: Likewise.
14812 * stdlib/Makefile: Likewise.
14813 * sysdeps/x86_64/Makefile: Likewise.
14815 * io/ftwtest-sh: Add copyright header.
14816 * posix/globtest.sh: Likewise.
14817 * posix/tst-getconf.sh: Likewise.
14818 * posix/wordexp-tst.sh: Likewise.
14819 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14821 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14824 * Makeconfig (+link): Defined as $(+link-static) if
14825 $(build-shared) isn't yes.
14826 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14828 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14830 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14833 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14834 new chunk size with MALLOC_ALIGN_MASK.
14836 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14839 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14841 (__printf_fphex): Determine rounding using get_rounding_mode and
14843 * stdio-common/tst-printf-round.c (struct hex_test): New
14845 (hex_tests): New variable.
14846 (test_hex_in_one_mode): New function.
14847 (do_test): Also run tests for hex float output.
14849 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14851 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14852 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14853 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14854 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14855 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14856 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14857 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14858 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14860 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14862 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14863 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14864 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14865 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14867 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14870 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14872 * elf/tst-rtld-load-self.sh: New test.
14873 * elf/Makefile: Run it.
14875 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14877 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14878 (tst-writev-ENV): Remove.
14879 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14881 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14883 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14885 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14887 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14889 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14891 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14892 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14893 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14896 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14899 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14900 * config.make.in (have-cpp-asm-debuginfo): Removed.
14901 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14902 * configure: Regenerated.
14904 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14907 * stdio-common/printf_fp.c: Include <stdbool.h> and
14909 (___printf_fp): Determine rounding using get_rounding_mode and
14911 * stdio-common/tst-printf-round.c: New file.
14912 * stdio-common/Makefile (tests): Add tst-printf-round.
14913 (link-libm): New variable.
14914 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14916 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14919 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14920 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14922 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14925 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14927 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14928 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14929 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14930 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14932 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14935 * include/rounding-mode.h: New file.
14936 * sysdeps/generic/get-rounding-mode.h: Likewise.
14937 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14938 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14939 (MAX_VALUE): New macro.
14940 (MIN_VALUE): Likewise.
14941 (overflow_value): New function.
14942 (underflow_value): Likewise.
14943 (round_and_return): Use overflow_value and underflow_value to
14944 determine return values in overflow and underflow cases. Use
14945 round_away to determine rounding depending on rounding mode.
14946 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14947 determine return values in overflow and underflow cases.
14948 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14949 (struct test_results): New structure.
14950 (struct test): Use struct test_results to store expected results
14951 for all rounding modes.
14952 (TEST): Include expected results for all rounding modes.
14953 (test_in_one_mode): New function.
14954 (do_test): Use test_in_one_mode to compute and check results.
14955 Check results for all rounding modes.
14956 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14959 2012-12-09 Allan McRae <allan@archlinux.org>
14961 * sysdeps/i386/fpu/libm-test-ulps: Update
14963 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14965 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14966 (_G_int32_t): Likewise.
14967 (_G_uint16_t): Likewise.
14968 (_G_uint32_t): Likewise.
14969 (_G_HAVE_BOOL): Likewise.
14970 (_G_HAVE_ATEXIT): Likewise.
14971 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14972 (_G_HAVE_IO_FILE_OPEN): Likewise.
14973 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14974 (_G_int32_t): Likewise.
14975 (_G_uint16_t): Likewise.
14976 (_G_uint32_t): Likewise.
14977 (_G_HAVE_BOOL): Likewise.
14978 (_G_HAVE_ATEXIT): Likewise.
14979 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14980 (_G_HAVE_IO_FILE_OPEN): Likewise.
14981 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14982 (_G_int32_t): Likewise.
14983 (_G_uint16_t): Likewise.
14984 (_G_uint32_t): Likewise.
14985 (_G_HAVE_BOOL): Likewise.
14986 (_G_HAVE_ATEXIT): Likewise.
14987 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14988 (_G_HAVE_IO_FILE_OPEN): Likewise.
14990 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14992 * csu/libc-tls.c: Update copyright years.
14994 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14996 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14997 [!_G_USING_THUNKS]: Remove conditional code.
14998 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14999 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15001 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15002 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15003 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15004 (_G_VTABLE_LABEL_PREFIX): Likewise.
15005 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15006 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15007 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15008 (_G_VTABLE_LABEL_PREFIX): Likewise.
15009 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15010 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15011 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15012 (_G_VTABLE_LABEL_PREFIX): Likewise.
15013 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15015 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15017 * libio/Makefile: Include ../Makeconfig before tests.
15018 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15019 only if $(build-shared) is yes.
15021 * iconv/gconv_db.c: Update copyright years.
15023 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15025 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15026 unwind info if defined PIC. Fix special cases description.
15027 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15029 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15031 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15033 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15035 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15037 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15040 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15041 (LDLIBS-tst-chk4): This.
15042 (LDFLAGS-tst-chk5): Renamed to ...
15043 (LDLIBS-tst-chk5): This.
15044 (LDFLAGS-tst-chk6): Renamed to ...
15045 (LDLIBS-tst-chk6): This.
15046 (LDFLAGS-tst-lfschk4): Renamed to ...
15047 (LDLIBS-tst-lfschk4): This.
15048 (LDFLAGS-tst-lfschk5): Renamed to ...
15049 (LDLIBS-tst-lfschk5): This.
15050 (LDFLAGS-tst-lfschk6): Renamed to ...
15051 (LDLIBS-tst-lfschk6): This.
15053 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15054 on $(common-objpfx)soversions.mk.
15056 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15059 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15062 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15064 * malloc/arena.c (arena_get_retry): New function that gets
15065 another arena for the caller to try its request on.
15066 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15067 current arena cannot fulfill the request.
15068 (__libc_memalign): Likewise.
15069 (__libc_memalign): Likewise.
15070 (__libc_pvalloc): Likewise.
15071 (__libc_calloc): Likewise.
15073 2012-09-05 John Tobey <john.tobey@gmail.com>
15076 * manual/arith.texi (Operations on Complex): Fix description
15077 of carg branch cut.
15079 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15082 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15086 * manual/memory.texi (Memory): Make order of menu items match
15089 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15091 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15092 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15093 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15095 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15097 * csu/libc-tls.c (static_dtv): Renamed to ...
15098 (_dl_static_dtv): This. Make it global.
15099 (_dl_initial_dtv): Removed.
15100 (__libc_setup_tls): Updated.
15101 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15102 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15105 2012-09-06 Petr Machata <pmachata@redhat.com>
15107 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15108 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15109 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15110 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15112 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15115 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15116 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15119 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15122 * Makeconfig (link-static-before-libc): Replace $(+prector)
15124 (link-static-after-libc): Replace $(+postctor) with
15126 (link-bounded): Replace $(+prector)/$(+postctor) with
15127 $(+prectorT)/$(+postctorT).
15128 (+prectorT): New macro.
15129 (+postctorT): Likewise.
15131 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15133 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15134 (round_str): Handle values above the maximum for IBM long double
15136 * stdlib/tst-strtod-round.c (tests): Regenerated.
15138 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15140 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15142 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15143 zarch_nohighgprs around the zarch optimized routines.
15144 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15145 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15146 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15149 2012-09-05 David S. Miller <davem@davemloft.net>
15151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15153 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15154 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15155 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15156 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15159 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15161 * malloc/arena.c: Fold copyright years.
15162 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15164 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15166 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15168 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15170 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15172 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15174 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15175 change internal state upon failure.
15177 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15179 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15180 * malloc/memusage.c (mmap): Likewise.
15181 (mmap64, mremap): Likewise. Adjust name in comment.
15183 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15185 * libio/fileops.c: Fix typos in comments.
15186 * libio/oldfileops.c: Likewise.
15187 * libio/wfileops.c: Likewise.
15189 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15192 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15193 (tst-malloc-usable-ENV): Set environment for test case.
15194 * malloc/hooks.c (malloc_check_get_size): New function to get
15196 * malloc/malloc.c (musable): Use malloc_check_get_size.
15197 * malloc/tst-malloc-usable.c: New test case.
15199 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15201 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15203 2012-09-05 Allan McRae <allan@archlinux.org>
15206 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15207 determine header location.
15208 * configure: Regenerated.
15210 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15212 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15214 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15215 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15217 (test): Regenerate.
15219 2012-09-04 David S. Miller <davem@davemloft.net>
15221 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15222 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15223 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15225 2012-09-04 Florian Weimer <fweimer@redhat.com>
15227 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15230 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15232 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15235 * libio/iogetdelim.c: Include <limits.h>.
15236 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15237 + len + 1 would overflow.
15239 2012-09-03 Andreas Jaeger <aj@suse.de>
15241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15242 * sysdeps/i386/fpu/libm-test-ulps: Update.
15244 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15246 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15247 Add s_sinf-sse2, s_conf-sse2.
15249 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15250 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15251 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15252 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15254 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15255 for using routine as __sinf_ia32.
15256 Use macro for function declaration and weak_alias.
15257 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15258 for using routine as __cosf_ia32.
15259 Use macro for function declaration and weak_alias.
15261 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15262 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15264 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15265 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15268 * math/libm-test.inc (cos_test): Add more test cases.
15269 (sin_test): Likewise.
15270 (sincos_test): Likewise.
15272 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15274 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15275 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15279 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15282 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15283 first element of the GOT.
15284 (elf_machine_load_address): Return the difference between
15285 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15287 2012-09-01 Allan McRae <allan@archlinux.org>
15290 * configure.in (AWK): Require gawk version 3.0 or later.
15291 * configure: Regenerated.
15293 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15295 * sysdeps/unix/sysv/linux/kernel-features.h
15296 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15298 [__NR_clock_getres]: Make code unconditional.
15299 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15300 (clock_getcpuclockid): Remove code left unreachable by removal of
15302 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15303 code unconditional.
15304 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15305 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15306 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15307 Make code unconditional.
15308 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15309 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15310 * sysdeps/unix/sysv/linux/clock_settime.c
15311 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15313 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15314 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15316 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15319 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15320 scripts/test-installation.pl.
15322 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15323 and $ld_so_version if it is set.
15325 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15329 failure if reading from procfs failed.
15330 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15332 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15334 * sysdeps/unix/sysv/linux/kernel-features.h
15335 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15336 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15337 Remove conditional code.
15338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15339 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15340 Remove conditional code.
15341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15342 * sysdeps/unix/sysv/linux/i386/fxstat.c
15343 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15345 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15346 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15348 * sysdeps/unix/sysv/linux/i386/lxstat.c
15349 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15351 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15352 Remove conditional code.
15353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15354 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15355 Remove conditional code.
15356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15357 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15358 <kernel-features.h>.
15359 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15361 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15362 Remove conditional code.
15363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15364 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15365 Remove conditional.
15367 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15370 * NEWS: Add fixed bug number.
15372 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15375 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15376 underflowing exponent in case of negative sign.
15377 * stdlib/tst-strtod-round-data: Add more tests.
15378 * stdlib/tst-strtod-round.c (tests): Regenerated.
15381 * stdlib/strtod_l.c (NDIG): Remove.
15382 (HEXNDIG): Likewise.
15383 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15384 smallest representable value.
15385 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15386 lie within an exact representation of 1/2 ulp of the result.
15387 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15389 (TENS_P9_IDX): Define unconditionally.
15390 (TENS_P9_SIZE): Likewise.
15391 (TENS_P10_IDX): Likewise.
15392 (TENS_P10_SIZE): Likewise.
15393 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15394 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15395 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15396 entries for 10^2^13 and 10^2^14.
15397 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15398 (TENS_P13_IDX): Define.
15399 (TENS_P13_SIZE): Likewise.
15400 (TENS_P14_IDX): Likewise.
15401 (TENS_P14_SIZE): Likewise.
15402 (_fpioconst_pow10): Change array size to
15403 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15405 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15406 1024]: Add entries for 10^2^13 and 10^2^14.
15407 [LAST_POW10 > _LAST_POW10]: Remove #error.
15408 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15409 (_fpioconst_pow10): Change array size to
15410 FPIOCONST_POW10_ARRAY_SIZE.
15411 * stdlib/gen-fpioconst.c: New file.
15412 * stdlib/gen-tst-strtod-round.c: Likewise.
15413 * stdlib/tst-strtod-round-data: Likewise.
15414 * stdlib/tst-strtod-round.c: Likewise.
15415 * stdlib/Makefile (tests): Add tst-strtod-round.
15418 * stdlib/strtod_l.c: Include <stdint.h>.
15419 (NDEBUG): Do not define.
15420 (round_and_return): Change EXPONENT parameter to type intmax_t.
15421 Rearrange calculations to avoid internal overflow possibilities.
15422 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15423 Rearrange calculations to avoid internal overflow possibilities.
15424 Assert that number fits inside MPNSIZE limbs.
15425 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15426 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15427 calculations and add assertions to avoid internal overflow
15428 possibilities. Add casts to avoid signed/unsigned operations.
15429 * stdlib/tst-strtod-overflow.c: New file.
15430 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15432 2012-08-25 Marek Polacek <polacek@redhat.com>
15434 * time/time.h: Fix some typos in comments.
15436 2012-08-23 Roland McGrath <roland@hack.frob.com>
15438 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15439 * posix/tst-rfc3484-2.c: Likewise.
15440 * posix/tst-rfc3484-3.c: Likewise.
15442 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15444 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15445 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15447 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15449 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15450 #include of fxstatat64.c.
15452 2012-08-22 Roland McGrath <roland@hack.frob.com>
15454 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15455 * shadow/getspent_r.c: Likewise.
15456 * shadow/getspnam.c: Likewise.
15457 * shadow/getspnam_r.c: Likewise.
15458 * gshadow/getsgent.c: Likewise.
15459 * gshadow/getsgent_r.c: Likewise.
15460 * gshadow/getsgnam.c: Likewise.
15461 * gshadow/getsgnam_r.c: Likewise.
15462 * inet/getnetbyad.c: Likewise.
15463 * inet/getnetbyad_r.c: Likewise.
15464 * inet/getnetbynm.c: Likewise.
15465 * inet/getnetbynm_r.c: Likewise.
15466 * inet/getnetent.c: Likewise.
15467 * inet/getnetent_r.c: Likewise.
15468 * inet/getproto.c: Likewise.
15469 * inet/getproto_r.c: Likewise.
15470 * inet/getprtent.c: Likewise.
15471 * inet/getprtent_r.c: Likewise.
15472 * inet/getprtname.c: Likewise.
15473 * inet/getprtname_r.c: Likewise.
15474 * inet/getrpcbyname.c: Likewise.
15475 * inet/getrpcbyname_r.c: Likewise.
15476 * inet/getrpcbynumber.c: Likewise.
15477 * inet/getrpcbynumber_r.c: Likewise.
15478 * inet/getrpcent.c: Likewise.
15479 * inet/getrpcent_r.c: Likewise.
15480 * inet/getaliasent.c: Likewise.
15481 * inet/getaliasent_r.c: Likewise.
15482 * inet/getaliasname.c: Likewise.
15483 * inet/getaliasname_r.c: Likewise.
15484 * nscd/getgrgid_r.c: Likewise.
15485 * nscd/getgrnam_r.c: Likewise.
15486 * nscd/gethstbyad_r.c: Likewise.
15487 * nscd/gethstbynm3_r.c: Likewise.
15488 * nscd/getpwnam_r.c: Likewise.
15489 * nscd/getpwuid_r.c: Likewise.
15490 * nscd/getsrvbynm_r.c: Likewise.
15491 * nscd/getsrvbypt_r.c: Likewise.
15492 * nscd/gai.c: Likewise.
15494 * configure.in (build_nscd): New substituted variable, set
15495 by --disable-build-nscd and defaults to $use_nscd.
15496 * configure: Regenerated.
15497 * config.make.in (build-nscd): New substituted variable.
15498 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15499 Change conditional to require [$(build-nscd) = yes] as well.
15500 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15503 * configure.in (use_nscd): New substituted variable, set by
15504 --disable-nscd. If enabled, define USE_NSCD.
15505 * configure: Regenerated.
15506 * config.h.in: Add USE_NSCD.
15507 * config.make.in (use-nscd): New substituted variable.
15508 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15509 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15510 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15511 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15512 (CFLAGS-getgrnam_r.c): Likewise.
15513 (CFLAGS-initgroups.c): Likewise.
15514 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15515 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15517 * inet/getnetgrent_r.c
15518 (nscd_setnetgrent): New function, broken out of ...
15519 (setnetgrent): ... here. Call it.
15520 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15521 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15522 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15523 * nscd/Makefile (routines, aux): Move definitions after include of
15524 Makeconfig. Conditionalize on [$(use-nscd) != no].
15525 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15526 Conditionalize on [USE_NSCD].
15527 (is_nscd, nscd_init_cb): Likewise.
15528 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15529 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15530 * nss/nss_db/db-init.c: Likewise.
15531 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15533 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15534 (make_request): Use it.
15535 (cache_valid_p): New function.
15536 (__check_pf): Use it.
15537 * NEWS: Add item for --disable-nscd.
15539 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15541 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15542 to support sed >= 4.2.1-20-ga9bf076.
15543 * configure: Regenerated.
15545 2012-08-22 Roland McGrath <roland@hack.frob.com>
15547 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15548 Conditionalize whole body on [IREL].
15550 2012-08-22 Jeff Law <law@redhat.com>
15553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15554 if the family is PF_UNSPEC.
15556 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15558 * Makerules (lib-version): Rename from V.
15559 (install-lib-nosubdir): Change V to lib-version.
15561 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15564 * powerpc32/power6/wcschr.c: New file.
15565 * powerpc32/power6/wcscpy.c: New file.
15566 * powerpc32/power6/wcsrchr.c: New file.
15567 * powerpc64/power6/wcschr.c: New file.
15568 * powerpc64/power6/wcscpy.c: New file.
15569 * powerpc64/power6/wcsrchr.c: New file.
15571 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15573 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15574 (two_way_short_needle): Use it.
15575 * string/strstr.c (AVAILABLE1_USES_J): Define.
15576 * string/strcasestr.c: Likewise.
15578 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15580 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15583 * NEWS: Add an entry.
15584 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15585 define their defaults.
15586 (two_way_short_needle): Detect end-of-string on-the-fly.
15587 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15588 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15589 * string/bug-strcasestr1.c: New test.
15590 * string/Makefile: Run it.
15592 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15595 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15596 the first character.
15598 2012-08-21 Roland McGrath <roland@hack.frob.com>
15600 * csu/elf-init.c (__libc_csu_irel): Function removed.
15601 * csu/libc-start.c (apply_irel): New function.
15602 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15604 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15606 * sysdeps/unix/sysv/linux/kernel-features.h
15607 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15608 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15609 <kernel-features.h>.
15610 [__NR_fadvise64_64]: Make code unconditional.
15611 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15612 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15613 !__NR_fadvise64_64)]: Likewise.
15614 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15615 !__NR_fadvise64_64))]: Likewise.
15616 [__NR_fadvise64]: Make code unconditional.
15617 [!__NR_fadvise64]: Remove conditional code.
15618 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15619 <kernel-features.h>.
15620 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15622 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15625 not include <kernel-features.h>.
15626 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15628 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15630 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15631 include <kernel-features.h>.
15632 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15634 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15637 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15640 slight instruction rearrangements per scrollpipe analysis.
15641 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15643 2012-08-20 Roland McGrath <roland@hack.frob.com>
15645 * manual/syslog.texi (syslog; vsyslog, closelog):
15646 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15647 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15649 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15650 DSOCAPS to match condition on defining it.
15652 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15654 * sysdeps/unix/sysv/linux/kernel-features.h
15655 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15657 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15658 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15660 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15661 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15663 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15664 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15666 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15667 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15669 * sysdeps/unix/sysv/linux/kernel-features.h
15670 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15671 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15673 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15674 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15675 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15676 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15677 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15678 Make code unconditional.
15679 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15680 (__mmap64) [!__NR_mmap2]: Likewise.
15681 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15682 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15683 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15685 [__NR_mmap2]: Make code unconditional.
15686 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15687 (__mmap64) [!__NR_mmap2]: Likewise.
15689 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15691 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15693 2012-08-18 Andreas Jaeger <aj@suse.de>
15695 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15697 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15699 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15700 * include/unistd.h (__have_sock_cloexec): Likewise.
15701 (__have_pipe2): Likewise.
15702 (__have_dup3): Likewise.
15704 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15707 * include/unistd.h (__have_pipe2): Change define into an extern int.
15708 (__have_dup3): Likewise.
15709 * socket/have_sock_cloexec.c: Include fcntl.h.
15710 (__have_pipe2): New variable.
15711 (__have_dup3): Likewise.
15713 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15715 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15717 2012-08-17 Marek Polacek <polacek@redhat.com>
15719 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15720 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15722 2012-08-17 Roland McGrath <roland@hack.frob.com>
15724 * configure.in: Add AC_SUBST for sysheaders.
15725 * configure: Regenerated.
15726 * config.make.in (sysheaders): New substituted variable.
15728 * sysdeps/unix/mkfifo.c: Moved ...
15729 * sysdeps/posix/mkfifo.c: ... here.
15730 * sysdeps/unix/mkfifoat.c: Moved ...
15731 * sysdeps/posix/mkfifoat.c: ... here.
15733 * sysdeps/unix/utime.c: Moved ...
15734 * sysdeps/posix/utime.c: ... here.
15736 * sysdeps/unix/time.c: Moved ...
15737 * sysdeps/posix/time.c: ... here.
15738 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15739 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15741 * sysdeps/unix/nice.c: Moved ...
15742 * sysdeps/posix/nice.c: ... here.
15744 * sysdeps/unix/alarm.c: Moved ...
15745 * sysdeps/posix/alarm.c: ... here.
15747 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15749 2012-08-17 Jeff Law <law@redhat.com>
15751 * intl/Makefile (codeset_mo): New variable.
15752 ($(codeset_mo)): New target.
15753 (tst-codeset.out): Depend on that. Remove explicit rule.
15754 (tst-gettext3.out, tst-gettext5.out): Likewise.
15755 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15756 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15757 * intl/tst-codeset.sh: Remove.
15758 * intl/tst-gettext3.sh: Likewise.
15759 * intl/tst-gettext5.sh: Likewise.
15761 2012-08-17 Roland McGrath <roland@hack.frob.com>
15763 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15764 * sysdeps/unix/syscalls.list: ... here.
15766 * sysdeps/posix/getaddrinfo.c
15767 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15768 (gaiconf_init, gaiconf_reload): Use them.
15769 [!_STATBUF_ST_NSEC]
15770 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15771 Define using time_t rather than struct timespec.
15773 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15774 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15776 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15778 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15779 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15782 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15783 __libc_cleanup_push argument.
15785 * bits/param.h: New file.
15786 * misc/sys/param.h: New file.
15787 * include/sys/param.h: New file.
15788 * misc/Makefile (headers): Add bits/param.h.
15789 * sysdeps/generic/sys/param.h: File removed.
15790 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15791 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15792 * sysdeps/mach/hurd/bits/param.h: New file.
15793 * sysdeps/mach/hurd/sys/param.h: File removed.
15795 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15798 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15800 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15801 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15804 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15805 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15806 rather than -D_IO_MTSAFE_IO conditionally.
15807 * stdio-common/Makefile (CPPFLAGS): Likewise.
15808 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15809 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15810 Use $(libio-mtsafe).
15811 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15812 of -D_IO_MTSAFE_IO.
15813 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15814 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15815 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15816 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15817 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15818 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15819 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15820 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15821 (CFLAGS-fread_u_chk.c): Likewise.
15822 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15823 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15824 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15825 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15826 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15827 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15828 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15829 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15830 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15832 * libio/Makefile: Test [$(libc-reentrant) = yes]
15833 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15836 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15837 * sysdeps/pthread/configure: File removed.
15838 * sysdeps/pthread/Makeconfig: New file.
15839 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15840 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15842 2012-08-16 Gary Benson <gbenson@redhat.com>
15844 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15845 unmapping the first object in a namespace.
15847 2012-08-16 Roland McGrath <roland@hack.frob.com>
15849 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15850 (__internal_setnetgrent): ... this. Add internal_function to
15851 definition. Add libc_hidden_def.
15852 (setnetgrent): Update caller.
15853 (internal_endnetgrent): Renamed to ...
15854 (__internal_endnetgrent): ... this. Add internal_function to
15855 definition. Add libc_hidden_def.
15856 (endnetgrent): Update caller.
15857 (internal_getnetgrent_r): Renamed to ...
15858 (__internal_getnetgrent_r): ... this. Add internal_function to
15859 definition. Add libc_hidden_def.
15860 (__getnetgrent_r): Update caller.
15861 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15863 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15865 * stdlib/longlong.h: Update from GCC.
15867 2012-08-16 Roland McGrath <roland@hack.frob.com>
15869 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15870 on _QL, which is set by umul_ppmm but never used.
15871 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15872 variables, which are set by GMP macros but never used.
15873 * stdio-common/_itowa.c (_itowa): Likewise.
15874 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15875 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15877 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15879 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15880 struct La_sh_regs is not constant.
15881 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15882 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15883 and struct La_sparc64_regs are not constant.
15885 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15887 * sysdeps/unix/sysv/linux/kernel-features.h
15888 (__ASSUME_POSIX_TIMERS): Remove.
15889 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15890 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15891 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15892 Make code unconditional.
15893 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15894 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15895 Make code unconditional.
15896 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15897 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15898 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15899 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15900 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15901 Make code unconditional.
15902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15903 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15904 (__libc_missing_posix_timers): Remove.
15906 2012-08-15 Roland McGrath <roland@hack.frob.com>
15908 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15909 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15911 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15913 * elf/dl-sym.c: Include <stdlib.h>.
15915 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15916 constants, which avoids warnings in 32-bit builds.
15918 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15919 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15921 * misc/lseek.c: File moved to ...
15922 * io/lseek.c: ... here.
15924 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15926 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15927 shifting LEN more than 31 bits at once.
15929 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15932 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15933 segmentation fault for a case of two empty input strings.
15934 * string/test-strncasecmp.c (check1): Renamed to...
15935 (bz12205): ...this.
15936 (bz14195): Add new testcase for two empty input strings and N > 0.
15937 (test_main): Call new testcase, adapt for renamed function.
15939 2012-08-15 Andreas Jaeger <aj@suse.de>
15942 * crypt/md5test2.c: New test, based on test supplied by Serge
15943 Belyshev <belyshev@depni.sinp.msu.ru>.
15944 * crypt/Makefile (xtests): Add md5test-giant..
15945 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15947 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15950 * crypt/md5.c (md5_process_block): Don't assume the buffer
15951 length is less than 2**32.
15952 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15953 length is less than 2**64.
15955 2012-08-15 Roland McGrath <roland@hack.frob.com>
15957 * string/str-two-way.h: Include <sys/param.h>.
15958 (MAX): Macro removed.
15960 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15961 Move #define and #undef of memmove to just before and after
15962 including <string.h>.
15964 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15965 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15966 and after including <string.h>. Move declarations of
15967 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15968 to before #include "string/memmove.c".
15970 * include/dirent.h: Declare __getdirentries.
15972 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15973 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15975 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15977 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15978 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15979 * sysdeps/i386/configure: Regenerated.
15980 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15981 STABS_CURRENT_FILE, and STABS_FUN.
15982 (END): Remove call to STABS_FUN_END.
15983 (STABS_CURRENT_FILE1): Delete.
15984 (STABS_CURRENT_FILE): Likewise.
15985 (STABS_FUN): Likewise.
15986 (STABS_FUN_END): Likewise.
15987 (STABS_FUN2): Likewise.
15988 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15989 * sysdeps/x86_64/configure: Regenerated.
15991 2012-08-14 Roland McGrath <roland@hack.frob.com>
15993 * elf/dl-open.c: Include <atomic.h>.
15994 * elf/dl-lookup.c: Likewise.
15996 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15998 * sysdeps/unix/sysv/linux/kernel-features.h
15999 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16000 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16002 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16004 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16005 condition on __ASSUME_CLONE_THREAD_FLAGS.
16007 2012-08-14 Andreas Jaeger <aj@suse.de>
16009 * sysdeps/i386/fpu/libm-test-ulps: Update.
16011 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16013 * include/atomic.h (atomic_exchange_and_add): Split into ...
16014 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16017 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16021 2012-08-13 Jeff Law <law@redhat.com>
16023 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16024 null byte in the output string.
16026 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16028 * sysdeps/unix/sysv/linux/kernel-features.h
16029 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16030 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16031 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16032 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16033 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16034 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16035 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16037 2012-08-09 Jeff Law <law@redhat.com>
16040 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16041 When avoid_arena is set, don't retry in the that arena. Pick the
16042 next one, whatever it might be.
16043 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16044 (arena_lock): Pass in new parameter to arena_get2.
16045 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16047 (__libc_malloc): Unify retrying after main arena failure with
16048 __libc_memalign version.
16049 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16051 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16054 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16055 to __redirect_strstr.
16056 (__strstr_sse42): Use typeof __redirect_strstr.
16057 (__strstr_ia32): Likewise.
16058 (__libc_strstr): New prototype.
16059 (strstr): Renamed to ...
16060 (__libc_strstr): This.
16061 (strstr): New strong alias of __libc_strstr.
16062 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16066 (__libc_time): New prototype.
16067 (time_ifunc): Replace time with __libc_time.
16068 (time): New strong alias and hidden definition of __libc_time.
16069 (__GI_time): Remove strong alias.
16070 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16071 Include <stddef.h>.
16072 (memmove): Redefined to __redirect_memmove.
16073 (__memmove_sse2): Use typeof __redirect_memmove.
16074 (__memmove_ssse3): Likewise.
16075 (__memmove_ssse3_back): Likewise.
16076 (__libc_memmove): New prototype.
16077 (memmove): Renamed to ...
16078 (__libc_memmove): This.
16079 (memmove): New strong alias of __libc_memmove.
16081 2012-08-08 Mark Salter <msalter@redhat.com>
16084 (R_MN10300_TLS_GD): Define.
16085 (R_MN10300_TLS_LD): Likewise.
16086 (R_MN10300_TLS_LDO): Likewise.
16087 (R_MN10300_TLS_GOTIE): Likewise.
16088 (R_MN10300_TLS_IE): Likewise.
16089 (R_MN10300_TLS_LE): Likewise.
16090 (R_MN10300_TLS_DTPMOD): Likewise.
16091 (R_MN10300_TLS_DTPOFF): Likewise.
16092 (R_MN10300_TLS_TPOFF): Likewise.
16093 (R_MN10300_SYM_DIFF): Likewise.
16094 (R_MN10300_ALIGN): Likewise.
16095 (R_MN10300_NUM): Update.
16097 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16102 2012-08-08 Roland McGrath <roland@hack.frob.com>
16104 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16106 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16107 sysdeps/unix -> sysdeps/posix move.
16108 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16110 2012-08-07 Allan McRae <allan@archlinux.org>
16113 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16114 (SUNOS_CPP): Likewise.
16115 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16117 (open_input): Call CPP using execvp.
16119 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16121 * sysdeps/unix/sysv/linux/kernel-features.h
16122 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16123 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16124 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16125 (__ASSUME_WAITID_SYSCALL): Likewise.
16126 * sysdeps/unix/sysv/linux/dl-execstack.c
16127 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16128 code unconditional.
16129 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16131 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16132 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16133 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16135 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16137 [__ASSUME_WAITID_SYSCALL]: Likewise.
16138 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16140 2012-08-07 Roland McGrath <roland@hack.frob.com>
16142 * sysdeps/unix/closedir.c: Renamed to ...
16143 * sysdeps/posix/closedir.c: ... here.
16144 * sysdeps/unix/dirfd.c: Renamed to ...
16145 * sysdeps/posix/dirfd.c: ... here.
16146 * sysdeps/unix/dirstream.h: Renamed to ...
16147 * sysdeps/posix/dirstream.h: ... here.
16148 * sysdeps/unix/fdopendir.c: Renamed to ...
16149 * sysdeps/posix/fdopendir.c: ... here.
16150 * sysdeps/unix/opendir.c: Renamed to ...
16151 * sysdeps/posix/opendir.c: ... here.
16152 * sysdeps/unix/readdir.c: Renamed to ...
16153 * sysdeps/posix/readdir.c: ... here.
16154 * sysdeps/unix/readdir_r.c: Renamed to ...
16155 * sysdeps/posix/readdir_r.c: ... here.
16156 * sysdeps/unix/rewinddir.c: Renamed to ...
16157 * sysdeps/posix/rewinddir.c: ... here.
16158 * sysdeps/unix/seekdir.c: Renamed to ...
16159 * sysdeps/posix/seekdir.c: ... here.
16160 * sysdeps/unix/telldir.c: Renamed to ...
16161 * sysdeps/posix/telldir.c: ... here.
16162 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16163 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16164 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16165 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16167 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16168 * bits/fcntl.h: ... here.
16170 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16172 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16173 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16174 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16175 (struct flock): Move l_start, l_len to the beginning.
16176 Use __pid_t for l_pid.
16177 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16178 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16179 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16180 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16181 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16182 [__USE_LARGEFILE64] (struct flock64): New type.
16183 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16185 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16186 * bits/dirent.h: ... here.
16188 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16189 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16191 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16194 Change from 2.6.0 to 2.6.16.
16195 * sysdeps/unix/sysv/linux/configure: Regenerated.
16196 * sysdeps/unix/sysv/linux/kernel-features.h
16197 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16198 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16200 (__ASSUME_UTIMES): Likewise.
16201 (__ASSUME_CLONE_STOPPED): Remove.
16202 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16203 architectures, not kernel version.
16204 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16205 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16206 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16207 (__ASSUME_WAITID_SYSCALL): Likewise.
16208 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16209 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16210 * README: State 2.6.16 as minimum Linux kernel version. Do not
16211 refer to older versions.
16213 2012-08-06 Roland McGrath <roland@hack.frob.com>
16215 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16216 Define alphasort64 as an alias.
16217 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16218 Define versionsort64 as an alias.
16219 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16220 Define scandir64 as an alias.
16221 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16222 Define scandirat64 as an alias.
16223 * dirent/alphasort64.c (alphasort64):
16224 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16225 * dirent/versionsort64.c: Likewise.
16226 * dirent/scandir64.c: Likewise.
16227 * dirent/scandirat64.c: Likewise.
16228 * sysdeps/wordsize-64/alphasort.c: File removed.
16229 * sysdeps/wordsize-64/alphasort64.c: File removed.
16230 * sysdeps/wordsize-64/scandir.c: File removed.
16231 * sysdeps/wordsize-64/scandir64.c: File removed.
16232 * sysdeps/wordsize-64/scandirat.c: File removed.
16233 * sysdeps/wordsize-64/scandirat64.c: File removed.
16234 * sysdeps/wordsize-64/versionsort.c: File removed.
16235 * sysdeps/wordsize-64/versionsort64.c: File removed.
16236 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16237 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16238 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16239 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16240 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16241 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16242 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16243 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16245 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16247 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16249 [defined __arch64__ || defined __sparcv9]
16250 (__INO_T_MATCHES_INO64_T): New macro.
16251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16252 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16253 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16254 * sysdeps/unix/sysv/linux/bits/dirent.h
16255 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16256 (_DIRENT_MATCHES_DIRENT64): New macro.
16258 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16259 Define lockf64 as an alias.
16260 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16261 Define fseeko64 as an alias.
16262 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16263 Define ftello64 as an alias.
16264 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16265 Define _IO_fgetpos64 and fgetpos64 as aliases.
16266 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16267 Define _IO_fsetpos64 and fsetpos64 as aliases.
16268 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16269 Conditionalize body on this.
16270 * libio/fseeko64.c: Likewise.
16271 * libio/ftello64.c: Likewise.
16272 * libio/iofgetpos64.c: Likewise.
16273 * libio/iofsetpos64.c: Likewise.
16274 * sysdeps/wordsize-64/lockf.c: File removed.
16275 * sysdeps/wordsize-64/lockf64.c: File removed.
16276 * sysdeps/wordsize-64/fseeko.c: File removed.
16277 * sysdeps/wordsize-64/fseeko64.c: File removed.
16278 * sysdeps/wordsize-64/ftello.c: File removed.
16279 * sysdeps/wordsize-64/ftello64.c: File removed.
16280 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16281 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16282 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16283 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16284 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16285 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16286 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16287 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16288 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16289 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16290 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16291 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16292 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16293 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16295 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16297 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16299 [defined __arch64__ || defined __sparcv9]
16300 (__OFF_T_MATCHES_OFF64_T): New macro.
16301 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16302 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16304 (__OFF_T_MATCHES_OFF64_T): New macro.
16306 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16308 * stdlib/secure-getenv.c (__secure_getenv): Replace
16309 GLIBC_2_16 with GLIBC_2_17.
16311 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16313 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16314 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16316 2012-08-03 David S. Miller <davem@davemloft.net>
16318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16320 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16324 (__ASSUME_CORRECT_SI_PID): Likewise.
16325 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16326 (__ASSUME_TMPFS_NAME): Likewise.
16327 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16328 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16329 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16330 (HAVE_AUX_SECURE): Make definition unconditional.
16331 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16332 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16334 2012-08-03 Roland McGrath <roland@hack.frob.com>
16336 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16337 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16338 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16339 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16340 __eloop_threshold instead of SYMLOOP_MAX.
16342 * sysdeps/generic/eloop-threshold.h: New file.
16343 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16345 * elf/chroot_canon.c (chroot_canon): Likewise.
16347 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16351 Change to 2.6.0 everywhere.
16352 * sysdeps/unix/sysv/linux/configure: Regenerated.
16353 * sysdeps/unix/sysv/linux/kernel-features.h
16354 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16355 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16357 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16358 (__ASSUME_FUTEX_REQUEUE): Remove.
16359 (__ASSUME_STATFS64): Define unconditionally.
16360 (__ASSUME_AT_SECURE): Likewise.
16361 (__ASSUME_CORRECT_SI_PID): Likewise.
16362 (__ASSUME_TGKILL): Define without depending on kernel version for
16364 (__ASSUME_UTIMES): Likewise.
16365 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16367 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16368 (__ASSUME_TMPFS_NAME): Likewise.
16369 * README: Update reference to Linux kernel versions.
16371 2012-08-02 Marek Polacek <polacek@redhat.com>
16374 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16375 libc_cv_asm_type_prefix with %.
16376 * configure: Regenerated.
16377 * include/libc-symbols.h: Remove comment about
16378 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16379 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16380 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16381 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16382 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16383 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16384 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16385 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16386 * elf/tst-unique2mod1.c: Likewise.
16387 * elf/tst-unique1mod2.c: Likewise.
16388 * elf/tst-unique1mod1.c: Likewise.
16389 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16390 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16391 Replace ASM_TYPE_DIRECTIVE with .type.
16392 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16393 * sysdeps/i386/sysdep.h: Likewise.
16394 * sysdeps/x86_64/sysdep.h: Likewise.
16395 * sysdeps/sh/sysdep.h: Likewise.
16396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16397 Do not define ASM_TYPE_DIRECTIVE.
16398 * sysdeps/powerpc/sysdep.h: Likewise.
16399 * sysdeps/powerpc/powerpc32/sysdep.h:
16400 Replace ASM_TYPE_DIRECTIVE with .type.
16401 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16402 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16403 * sysdeps/i386/fpu/e_powf.S: Likewise.
16404 * sysdeps/i386/fpu/e_expl.S: Likewise.
16405 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16406 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16407 * sysdeps/i386/fpu/e_pow.S: Likewise.
16408 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16409 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16410 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16411 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16412 * sysdeps/i386/fpu/e_log2.S: Likewise.
16413 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16414 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16415 * sysdeps/i386/fpu/e_powl.S: Likewise.
16416 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16417 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16418 * sysdeps/i386/fpu/e_logl.S: Likewise.
16419 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16420 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16421 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16422 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16423 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16424 * sysdeps/i386/fpu/e_log.S: Likewise.
16425 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16426 * sysdeps/i386/fpu/e_logf.S: Likewise.
16427 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16428 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16430 * sysdeps/i386/fpu/e_log10.S: Likewise.
16431 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16432 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16433 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16434 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16435 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16436 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16438 * sysdeps/i386/i686/strtok.S: Likewise.
16439 * sysdeps/i386/i386-mcount.S: Likewise.
16440 * sysdeps/i386/strtok.S: Likewise.
16441 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16442 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16443 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16444 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16445 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16446 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16447 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16448 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16449 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16450 * sysdeps/x86_64/_mcount.S: Likewise.
16451 * sysdeps/x86_64/strtok.S: Likewise.
16452 * sysdeps/sh/_mcount.S: Likewise.
16454 2012-08-01 Roland McGrath <roland@hack.frob.com>
16456 * libio/iofopen.c: Include <fcntl.h>.
16457 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16458 (_IO_fopen64, fopen64): Define as aliases.
16459 * libio/iofopen64.c: Include <fcntl.h>.
16460 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16461 Conditionalize body on this.
16462 * sysdeps/wordsize-64/iofopen.c: File removed.
16463 * sysdeps/wordsize-64/iofopen64.c: File removed.
16465 2012-08-01 Marek Polacek <polacek@redhat.com>
16467 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16468 Use dlfcn directly instead of a variable.
16469 (binfmt-subdir): Do not define.
16472 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16474 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16475 Remove all definitions.
16476 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16477 <kernel-features.h>.
16478 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16479 (miss_F_GETOWN_EX): Remove all definitions.
16480 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16482 [!__ASSUME_FCNTL64]: Remove conditional code.
16483 [__ASSUME_FCNTL64]: Make code unconditional.
16484 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16485 <kernel-features.h>.
16486 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16487 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16488 (lockf64) [__NR_fcntl64]: Make code unconditional.
16489 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16491 * sysdeps/unix/sysv/linux/kernel-features.h
16492 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16493 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16494 Make code unconditional.
16495 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16496 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16498 [__NR_vfork]: Make code unconditional.
16499 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16500 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16502 [__NR_vfork]: Make code unconditional.
16503 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16504 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16506 2012-08-01 Roland McGrath <roland@hack.frob.com>
16508 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16509 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16511 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16512 Define mkstemp64 as an alias.
16513 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16514 Define mkstemps64 as an alias.
16515 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16516 Define mkostemp64 as an alias.
16517 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16518 Define mkostemps64 as an alias.
16519 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16520 Conditionalize body on this.
16521 * misc/mkostemp64.c: Likewise.
16522 * misc/mkostemps64.c: Likewise.
16523 * misc/mkstemps64.c: Likewise.
16524 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16525 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16526 * sysdeps/wordsize-64/mkostemp.c: File removed.
16527 * sysdeps/wordsize-64/mkstemp.c: File removed.
16528 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16529 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16530 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16534 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16535 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16536 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16537 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16539 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16540 compat_symbol macros from <shlib-compat.h> rather than the underlying
16541 default_symbol_version and symbol_version macros, so that DEFAULT
16542 lines in shlib-versions are respected.
16543 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16545 2012-08-01 Florian Weimer <fweimer@redhat.com>
16547 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16548 Declare with warn_unused_result.
16549 (setgid, setregid, setegid, setresgid): Likewise.
16550 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16552 * WUR-REPORT: Remove set*id functions.
16554 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16556 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16558 2012-07-31 Roland McGrath <roland@hack.frob.com>
16561 * include/sys/socket.h (__libc_accept, __libc_accept4):
16562 Add attribute_hidden.
16563 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16565 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16567 * inet/getnetgrent_r.c (setup): Likewise.
16569 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16571 2012-07-31 David S. Miller <davem@davemloft.net>
16573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16575 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16578 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16579 value between 1.0 and 2.0 and smaller part has absolute value less
16581 * math/s_clog10.c (__clog10): Likewise.
16582 * math/s_clog10f.c (__clog10f): Likewise.
16583 * math/s_clog10l.c (__clog10l): Likewise.
16584 * math/s_clogf.c (__clogf): Likewise.
16585 * math/s_clogl.c (__clogl): Likewise.
16586 * math/libm-test.inc (clog_test): Add more tests.
16587 (clog10_test): Likewise.
16588 * sysdeps/i386/fpu/libm-test-ulps: Update.
16589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16591 2012-07-31 Florian Weimer <fweimer@redhat.com>
16593 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16594 Exit with zero in case no suitable GID is found, and write a
16595 message to standard error.
16597 2012-07-30 Roland McGrath <roland@hack.frob.com>
16599 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16601 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16602 (MAXPATHLEN): Removed.
16603 (NOGROUP, NODEV): New macros.
16604 (setbit, clrbit, isset, isclr): New macros.
16605 (howmany, roundup, powerof2): New macros.
16606 (DEV_BSIZE): New macro.
16608 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16609 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16611 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16612 definition on [!__NO_LONG_DOUBLE_MATH].
16614 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16615 PTR_MANGLE and PTR_DEMANGLE.
16617 * socket/accept4.c (accept4): Rename to __libc_accept4.
16618 Define accept4 as a weak alias.
16620 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16621 on [_DIRENT_HAVE_D_TYPE].
16622 * io/ftw.c (ftw_dir): Likewise.
16624 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16626 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16628 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16629 Use the BSD numbers rather than the arbitrary ones we had.
16630 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16631 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16632 (SIGXCPU, SIGXFSZ): New macros.
16635 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16636 initializer on [_LIBC_REENTRANT].
16638 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16639 definitions inside [_POSIX_MAPPED_FILES].
16641 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16643 * dirent/opendir.c: Include <fcntl.h>.
16645 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16646 (__libc_getspecific): Likewise.
16647 (__libc_key_create): Likewise.
16649 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16650 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16651 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16652 (tmpfile64): Define as alias.
16653 * sysdeps/wordsize-64/tmpfile.c: File removed.
16654 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16655 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16656 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16658 * stdio-common/vfscanf.c: Include <stdbool.h>.
16659 * nss/makedb.c: Likewise.
16660 * stdio-common/_i18n_number.h: Likewise.
16661 * argp/argp-help.c: Likewise.
16662 * posix/wordexp.c: Likewise.
16663 * sysdeps/posix/spawni.c: Likewise.
16664 * nss/nss_files/files-initgroups.c: Likewise.
16665 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16666 * nss/nss_files/files-initgroups.c: Likewise.
16667 * nss/nss_db/db-netgrp.c: Likewise.
16668 * nss/nss_db/db-initgroups.c: Likewise.
16669 * io/fchmodat.c: Include <sys/stat.h>.
16671 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16672 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16674 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16677 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16678 Add multiple inclusion protection.
16680 2012-07-27 David S. Miller <davem@davemloft.net>
16682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16684 2012-07-27 Gary Benson <gbenson@redhat.com>
16687 * elf/rtld.c: Include <stap-probe.h>.
16688 (dl_main): Added static probes "init_start" and "init_complete".
16689 * elf/dl-load.c: Include <stap-probe.h>.
16690 (lose): Take new parameter "nsid".
16691 Added static probe "map_failed".
16692 (_dl_map_object_from_fd): Pass namespace id to lose.
16693 Added static probe "map_start".
16694 (open_verify): Pass namespace id to lose.
16695 * elf/dl-open.c: Include <stap-probe.h>.
16696 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16697 and "reloc_complete".
16698 * elf/dl-close.c: Include <stap-probe.h>.
16699 (_dl_close_worker): Added static probes "unmap_start" and
16701 * elf/rtld-debugger-interface.txt: New file documenting the above.
16703 2012-07-26 Roland McGrath <roland@hack.frob.com>
16705 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16706 rather than a string variable.
16707 * sunrpc/rpc_main.c (h_output): Likewise.
16708 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16710 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16712 * inet/check_native.c: New file.
16714 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16717 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16718 if larger part has absolute value 1.0.
16719 * math/s_clog10.c (__clog10): Likewise.
16720 * math/s_clog10f.c (__clog10f): Likewise.
16721 * math/s_clog10l.c (__clog10l): Likewise.
16722 * math/s_clogf.c (__clogf): Likewise.
16723 * math/s_clogl.c (__clogl): Likewise.
16724 * math/libm-test.inc (clog_test): Add more tests.
16725 (clog10_test): Likewise.
16726 * sysdeps/i386/fpu/libm-test-ulps: Update.
16727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16729 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16730 (pltexit): Likewise.
16731 (La_regs): Likewise.
16732 (La_retval): Likewise.
16733 (int_retval): Likewise.
16734 Update #error for removed macros to refer only to definitions in
16736 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16738 (pltexit): Likewise.
16739 (La_regs): Likewise.
16740 (La_retval): Likewise.
16741 (int_retval): Likewise.
16742 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16744 (pltexit): Likewise.
16745 (La_regs): Likewise.
16746 (La_retval): Likewise.
16747 (int_retval): Likewise.
16748 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16750 (pltexit): Likewise.
16751 (La_regs): Likewise.
16752 (La_retval): Likewise.
16753 (int_retval): Likewise.
16754 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16756 (pltexit): Likewise.
16757 (La_regs): Likewise.
16758 (La_retval): Likewise.
16759 (int_retval): Likewise.
16760 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16762 (pltexit): Likewise.
16763 (La_regs): Likewise.
16764 (La_retval): Likewise.
16765 (int_retval): Likewise.
16766 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16768 (pltexit): Likewise.
16769 (La_regs): Likewise.
16770 (La_retval): Likewise.
16771 (int_retval): Likewise.
16772 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16773 macro definitions in tst-audit.h.
16774 * sysdeps/i386/tst-audit.h: New file.
16775 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16776 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16777 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16778 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16779 * sysdeps/sh/tst-audit.h: Likewise.
16780 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16781 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16782 * sysdeps/x86_64/tst-audit.h: Likewise.
16784 2012-07-26 Andreas Jaeger <aj@suse.de>
16786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16789 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16790 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16791 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16793 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16794 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16795 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16797 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16800 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16802 (si_call_addr, si_syscall, si_arch): Define new macro.
16803 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16805 (si_call_addr, si_syscall, si_arch): Define new marcro.
16806 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16808 (si_call_addr, si_syscall, si_arch): Define new macro.
16809 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16811 (si_call_addr, si_syscall, si_arch): Define new macro.
16813 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16816 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16817 Change to 2.4.21 where previously 2.4.1.
16818 * sysdeps/unix/sysv/linux/configure: Regenerated.
16819 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16820 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16821 Linux kernel version.
16822 (__ASSUME_STD_AUXV): Remove.
16823 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16825 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16826 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16827 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16828 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16829 (__ASSUME_NETLINK_SUPPORT): Likewise.
16830 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16831 (__no_netlink_support): Remove conditional definition.
16832 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16834 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16835 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16836 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16837 (if_nameindex_ioctl): Remove.
16838 (if_nameindex_netlink): Do not handle __no_netlink_support.
16839 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16841 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16842 Remove conditional code.
16843 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16845 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16847 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16848 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16849 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16851 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16852 [!__ASSUME_STD_AUXV]: Remove conditional code.
16853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16854 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16855 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16857 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16858 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16860 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16862 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16863 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16865 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16867 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16870 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16873 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16874 code unconditional.
16875 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16877 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16879 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16882 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16884 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16887 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16888 code unconditional.
16889 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16891 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16893 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16896 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16897 code unconditional.
16898 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16900 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16902 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16905 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16907 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16908 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16909 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16910 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16911 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16912 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16913 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16914 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16915 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16916 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16917 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16918 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16919 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16920 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16921 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16922 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16923 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16924 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16925 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16927 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16928 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16929 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16931 2012-07-25 Florian Weimer <fweimer@redhat.com>
16933 * Versions.def: Add GLIBC_2.17.
16934 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16935 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16936 Introduce __libc_secure_getenv.
16937 * stdlib/Versions (2.17): Add secure_getenv
16938 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16939 * stdlib/secure-getenv.c: Rename __secure_getenv to
16940 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16941 symbol __secure_getenv for GLIBC_2.0.
16942 * stdlib/tst-secure-getenv.c: New.
16943 * stdlib/Makefile (tests): Add testcase.
16944 * manual/startup.texi (Environment Access): Document
16946 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16947 __libc_secure_getenv.
16948 * inet/ruserpass.c (ruserpass): Likewise.
16949 * malloc/mtrace.c (mtrace): Likewise.
16950 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16951 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16952 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16953 * sysdeps/posix/tempname.c: Likewise. Evaluate
16954 HAVE_SECURE_GETENV.
16955 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16956 __secure_getenv to __libc_secure_getenv.
16957 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16970 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16972 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16973 (struct La_i86_retval): Likewise.
16974 (struct La_x86_64_regs): Likewise.
16975 (struct La_x86_64_retval): Likewise.
16976 (struct La_x32_regs): Likewise.
16977 (struct La_x32_retval): Likewise.
16978 (struct La_ppc32_regs): Likewise.
16979 (struct La_ppc32_retval): Likewise.
16980 (struct La_ppc64_regs): Likewise.
16981 (struct La_ppc64_retval): Likewise.
16982 (struct La_sh_regs): Likewise.
16983 (struct La_sh_retval): Likewise.
16984 (struct La_s390_32_regs): Likewise.
16985 (struct La_s390_32_retval): Likewise.
16986 (struct La_s390_64_regs): Likewise.
16987 (struct La_s390_64_retval): Likewise.
16988 (struct La_sparc32_regs): Likewise.
16989 (struct La_sparc32_retval): Likewise.
16990 (struct La_sparc64_regs): Likewise.
16991 (struct La_sparc64_retval): Likewise.
16992 (struct audit_ifaces): Remove architecture-specific pltenter and
16994 * sysdeps/i386/ldsodefs.h: New file.
16995 * sysdeps/powerpc/ldsodefs.h: Likewise.
16996 * sysdeps/s390/ldsodefs.h: Likewise.
16997 * sysdeps/sh/ldsodefs.h: Likewise.
16998 * sysdeps/sparc/ldsodefs.h: Likewise.
16999 * sysdeps/x86_64/ldsodefs.h: Likewise.
17001 2012-07-25 Marek Polacek <polacek@redhat.com>
17004 * math/libm-test.inc (yn_test): Add another test.
17005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17006 to ERANGE when the result is +-Inf.
17007 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17008 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17009 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17010 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17012 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17014 * conform/data/time.h-data (NULL): Use macro-constant. Require
17016 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17018 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17020 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17022 * configure.in <sysdeps resolving>: Correct printing
17024 * configure: Regenerate.
17026 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17028 * math/w_ilogb.c: Include <limits.h>.
17029 * math/w_ilogbl.c: Likewise.
17031 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17033 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17034 va_copy. Document allowing for unavailable va_copy only as
17035 pre-C99 compatibility.
17036 * manual/string.texi (Copying and Concatenation): Use va_copy
17037 instead of __va_copy in concat example.
17039 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17041 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17042 (__sendto): Use create_address_port. Initialize APORT and deallocate
17045 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17046 with O_NOLINK passed to __file_name_lookup.
17048 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17049 with O_NOLINK passed to __file_name_lookup.
17051 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17052 negative N or less than NGIDS.
17054 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17055 type to string_t. Set ERANGE as errno and return it if NAME is not big
17056 enough. Use memcpy instead of strncpy.
17058 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17060 * elf/Makefile (check-data): Remove.
17061 (localplt.data): New vpath directive.
17062 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17063 instead of $(check-data).
17064 * scripts/data/localplt-generic.data: Move to ...
17065 * sysdeps/generic/localplt.data: ... here.
17066 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17067 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17068 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17071 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17074 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17077 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17080 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17083 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17087 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17089 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17090 PPC32 and PPC64 files.
17091 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17092 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17094 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17096 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17097 __makecontext_ret to ...
17098 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17099 ... here and call exit if uc_link is NULL. New file.
17100 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17101 __makecontext_ret.S.
17102 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17103 __makecontext_ret to ...
17104 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17105 ... here and call exit if uc_link is NULL. New file.
17106 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17107 __makecontext_ret.S.
17109 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17111 * elf/elf.h (R_390_IRELATIVE): New definition.
17112 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17113 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17114 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17116 (elf_machine_lazy_rel): Likewise.
17117 * sysdeps/s390/dl-irel.h: New file.
17118 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17119 * sysdeps/s390/s390-64/memset.S: New asm code.
17120 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17121 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17122 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17123 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17124 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17125 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17126 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17127 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17128 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17129 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17130 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17131 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17132 * sysdeps/s390/s390-32/memset.S: New asm code.
17133 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17135 2012-07-17 Marek Polacek <polacek@redhat.com>
17138 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17139 * sysdeps/s390/s390-64/configure.in: Likewise.
17140 * sysdeps/sparc/configure.in: Likewise.
17141 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17142 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17143 * sysdeps/i386/configure.in: Likewise.
17144 * sysdeps/x86_64/configure.in: Likewise.
17145 * sysdeps/sh/configure.in: Likewise.
17146 * sysdeps/s390/s390-32/configure: Regenerated.
17147 * sysdeps/s390/s390-64/configure: Likewise.
17148 * sysdeps/x86_64/configure: Likewise.
17149 * sysdeps/sh/configure: Likewise.
17150 * sysdeps/powerpc/powerpc64/configure: Likewise.
17151 * sysdeps/powerpc/powerpc32/configure: Likewise.
17152 * sysdeps/sparc/configure: Likwise.
17153 * sysdeps/i386/configure: Likewise.
17155 * elf/dl-open.c: Comment fixes.
17157 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17159 * Makefile [CXX] (check-data): Remove.
17160 [CXX] (c++-types.data): New vpath directive.
17161 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17162 vpath. Do not allow for C++ type data being missing.
17163 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17164 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17165 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17166 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17167 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17168 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17169 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17172 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17175 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17178 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17181 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17184 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17187 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17190 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17193 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17194 definitions to architecture-specific files.
17195 (TLS_IE): Likewise.
17196 (TLS_LD): Likewise.
17197 (TLS_GD): Likewise.
17198 * sysdeps/i386/tls-macros.h: New file.
17199 * sysdeps/powerpc/tls-macros.h: Likewise.
17200 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17201 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17202 * sysdeps/sh/tls-macros.h: Likewise.
17203 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17204 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17205 * sysdeps/x86_64/tls-macros.h: Likewise.
17207 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17210 zero value for regular exit case.
17212 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17213 (__start_context): Preserve zero value for regular exit case.
17215 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17216 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17218 * manual/setjmp.texi (setcontext): Clarify normal process
17219 termination when uc_link is the null pointer.
17220 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17223 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17225 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17226 preprocessor. Test for each exception mask separately.
17228 2012-07-16 Andreas Jaeger <aj@suse.de>
17230 * po/ru.po: Update from translation team.
17232 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17234 * conform/data/string.h-data (NULL): Use macro-constant. Require
17236 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17237 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17238 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17239 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17242 2012-07-13 Andreas Jaeger <aj@suse.de>
17244 * po/fr.po: Update from translation team.
17246 2012-07-12 Marek Polacek <polacek@redhat.com>
17249 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17250 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17253 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17257 Change to 2.4.1 where previously 2.4.0.
17258 * sysdeps/unix/sysv/linux/configure: Regenerated.
17259 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17260 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17262 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17263 (__ASSUME_AT_CLKTCK): Remove.
17264 (__ASSUME_AT_PAGESIZE): Likewise.
17265 (__ASSUME_AT_XID): Likewise.
17266 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17267 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17268 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17270 (HAVE_AUX_PAGESIZE): Likewise.
17271 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17272 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17273 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17275 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17279 the temporary buffer used to invoke __gethostbyname2_r,
17280 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17281 host_data / struct gaih_addrtuple.
17282 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17283 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17284 header file nss/nsswitch.h.
17285 * nss/nsswitch.h (global scope): Add definition of implementation
17286 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17287 resolv/nss_dns/dns-host.c).
17289 2012-07-11 Andreas Jaeger <aj@suse.de>
17291 * po/fr.po: Update from translation team.
17293 * po/sv.po: Update from translation team
17294 * po/fr.po: Another update from translation team.
17296 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17298 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17299 for subnormals or multiply small sinh result by itself.
17300 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17303 2012-07-11 David S. Miller <davem@davemloft.net>
17305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17307 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17310 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17311 (INTERNAL_MARK): Shift it here.
17313 2012-07-10 Marek Polacek <polacek@redhat.com>
17316 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17317 libc_cv_asm_global_directive with .globl.
17318 * configure: Regenerated.
17319 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17321 * sysdeps/i386/configure: Regenerated.
17322 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17324 * sysdeps/x86_64/configure: Regenerated.
17325 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17326 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17327 * elf/tst-unique2mod2.c: Likewise.
17328 * elf/tst-unique2mod1.c: Likewise.
17329 * elf/tst-unique1mod2.c: Likewise.
17330 * elf/tst-unique1mod1.c: Likewise.
17331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17332 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17333 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17334 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17335 * sysdeps/mach/sysdep.h: Likewise.
17336 * sysdeps/i386/sysdep.h: Likewise.
17337 * sysdeps/i386/i386-mcount.S: Likewise.
17338 * sysdeps/x86_64/_mcount.S: Likewise.
17339 * sysdeps/x86_64/sysdep.h: Likewise.
17340 * sysdeps/sh/_mcount.S: Likewise.
17341 * sysdeps/sh/sysdep.h: Likewise.
17342 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17343 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17344 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17345 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17346 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17347 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17348 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17349 * locale/localeinfo.h: Likewise.
17350 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17351 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17353 2012-07-09 Roland McGrath <roland@hack.frob.com>
17356 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17358 * manual/message.texi (The Uniforum approach): Likewise.
17359 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17360 (glibc iconv Implementation): Likewise.
17362 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17365 * math/s_clog.c (__clog): Avoid scaling a value down where that
17366 could result in underflow.
17367 * math/s_clog10.c (__clog10): Likewise.
17368 * math/s_clog10f.c (__clog10f): Likewise.
17369 * math/s_clog10l.c (__clog10l): Likewise.
17370 * math/s_clogf.c (__clogf): Likewise.
17371 * math/s_clogl.c (__clogl): Likewise.
17372 * math/libm-test.inc (clog_test): Add more tests.
17373 (clog10_test): Likewise.
17374 * sysdeps/i386/fpu/libm-test-ulps: Update.
17375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17377 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17380 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17381 by 7 not 8 to examine high bit of fractional part.
17384 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17385 for call to __mcount_internal.
17386 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17387 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17388 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17390 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17393 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17394 approximation for values within 0x1p-13f of an odd multiple of
17396 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17397 exception. Add more tests.
17398 * sysdeps/i386/fpu/libm-test-ulps: Update.
17401 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17402 inputs and return -1 for them. Do not check for +Inf in case not
17403 reachable for +Inf.
17404 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17405 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17406 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17407 and return -1 for them. Do not check for +Inf in case not
17408 reachable for +Inf.
17409 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17411 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17412 and return -1 for them. Do not check for +Inf in case not
17413 reachable for +Inf.
17414 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17415 spurious underflow.
17416 * sysdeps/i386/fpu/libm-test-ulps: Update.
17417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17419 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17421 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17423 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17427 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17428 could result in spurious underflow. Scale down values above
17429 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17430 * math/s_csqrtf.c (__csqrtf): Likewise.
17431 * math/s_csqrtl.c (__csqrtl): Likewise.
17432 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17433 spurious underflow.
17434 * sysdeps/i386/fpu/libm-test-ulps: Update.
17435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17437 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17439 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17441 * catgets/xopen-msg.awk: New file.
17442 * catgets/xopen-msg.sed: Removed.
17444 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17446 * intl/po2test.awk: New file.
17447 * intl/po2test.sed: Removed.
17449 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17452 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17453 or multiply small sinh result by itself.
17454 * math/s_ctanf.c (__ctanf): Likewise.
17455 * math/s_ctanh.c (__ctanh): Likewise.
17456 * math/s_ctanhf.c (__ctanhf): Likewise.
17457 * math/s_ctanhl.c (__ctanhl): Likewise.
17458 * math/s_ctanl.c (__ctanl): Likewise.
17459 * math/libm-test.inc (ctan_test_tonearest): New function.
17460 (ctan_test_towardzero): Likewise.
17461 (ctan_test_downward): Likewise.
17462 (ctan_test_upward): Likewise.
17463 (ctanh_test_tonearest): Likewise.
17464 (ctanh_test_towardzero): Likewise.
17465 (ctanh_test_downward): Likewise.
17466 (ctanh_test_upward): Likewise.
17467 (main): Call these new functions.
17468 * sysdeps/i386/fpu/libm-test-ulps: Update.
17469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17471 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17473 * .gitignore: Delete /ports entry.
17475 2012-07-03 Andreas Jaeger <aj@suse.de>
17477 * po/bg.po: Update from translation team.
17478 * po/cs.po: Likewise.
17479 * po/de.po: Likewise.
17480 * po/hr.po: Likewise.
17481 * po/nl.pl: Likewise.
17482 * po/pl.po: Likewise.
17483 * po/vi.po: Likewise.
17485 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17487 * Makeconfig [!+link] (+link-before-libc): New variable.
17488 [!+link] (+link-after-libc): Likewise.
17489 [!+link] (+link-tests): Likewise.
17490 [!+link] (+link): Define in terms of $(+link-before-libc) and
17491 $(+link-after-libc).
17492 [!+link-static] (+link-static-before-libc): New variable.
17493 [!+link-static] (+link-static-after-libc): Likewise.
17494 [!+link-static] (+link-static-tests): Likewise.
17495 [!+link-static] (+link-static): Define in terms of
17496 $(+link-static-before-libc) and $(+link-static-after-libc).
17497 [build-shared] (link-libc-before-gnulib): New variable.
17498 [build-shared] (link-libc-tests): Likewise.
17499 [build-shared] (link-libc): Define in terms of
17500 $(link-libc-before-gnulib).
17501 [!build-shared] (link-libc-tests): New variable.
17502 (link-libc-static-tests): New variable.
17503 [!gnulib] (gnulib-arch): New variable.
17504 [!gnulib] (gnulib-tests): Likewise.
17505 [!gnulib] (static-gnulib-arch): Likewise.
17506 [!gnulib] (static-gnulib-tests): Likewise.
17507 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17508 Define with "=" instead of ":=".
17509 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17510 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17511 * Rules (binaries-all-notests): New variable.
17512 (binaries-all-tests): Likewise.
17513 (binaries-static-notests): Likewise.
17514 (binaries-static-tests): Likewise.
17515 (binaries-all): Define using $(binaries-all-notests) and
17516 $(binaries-all-tests).
17517 (binaries-static): Define using $(binaries-static-notests) and
17518 $(binaries-static-tests).
17519 (binaries-shared-tests): New variable.
17520 (binaries-shared-notests): Likewise.
17521 (binaries-shared): Remove variable.
17522 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17523 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17524 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17525 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17526 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17527 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17528 * elf/Makefile (sln-modules): New variable.
17529 (extra-objs): Add $(sln-modules:=.o).
17530 (ldconfig-modules): Add static-stubs.
17531 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17532 * elf/static-stubs.c: New file.
17535 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17536 by 7 not 8 to examine high bit of fractional part. Use volatile
17537 variables when splitting into final array of floats if
17538 __FLT_EVAL_METHOD__ != 0.
17539 * math/libm-test.inc (cos_test): Add another test.
17540 (sin_test): Likewise.
17541 * sysdeps/i386/fpu/libm-test-ulps: Update.
17544 * math/libm-test.inc (cosh_test): Add more tests.
17546 * version.h (RELEASE): Set to "development".
17547 (VERSION): Set to "2.16.90".
17549 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17551 * NEWS: Update copyright. Remove last-updated date.
17552 Mention math library bug fixes and timezone data changes.
17553 * README: Mention GNU/Hurd, x32, and HPPA support status.
17555 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17557 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17559 2012-06-27 Andreas Jaeger <aj@suse.de>
17561 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17563 2012-06-25 Andreas Jaeger <aj@suse.de>
17565 * sysdeps/s390/fpu/libm-test-ulps: Update.
17567 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17568 Thomas Schwinge <thomas@codesourcery.com>
17570 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17571 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17575 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17577 * sysdeps/mach/start.c: Remove file.
17578 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17579 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17580 * sysdeps/sh/init-first.c: Likewise.
17582 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17583 registers for frame unwinding purposes, add CFI directives.
17584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17586 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17589 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17590 __fortify_fail returning.
17591 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17593 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17594 sysdeps/sh/____longjmp_chk.S.
17595 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17596 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17597 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17598 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17600 * sysdeps/sh/abort-instr.h: New file.
17601 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17602 process in case exit returns.
17604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17605 initialize the GOT register before use.
17607 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17608 calculation of ARGC > 4.
17610 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17611 meaningful names to some local labels.
17613 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17614 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17616 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17617 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17618 (__arch_compare_and_exchange_val_16_acq): Likewise.
17619 (__arch_compare_and_exchange_val_32_acq): Likewise.
17620 (atomic_exchange_and_add): Fix gUSA sequence.
17621 (atomic_add): Likewise.
17622 (atomic_add_negative): Likewise.
17623 (atomic_add_zero): Likewise.
17624 (atomic_bit_test_set): Likewise.
17626 2012-06-22 Andreas Schwab <schwab@redhat.com>
17629 * include/link.h (struct link_map): Add l_free_initfini.
17630 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17632 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17633 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17634 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17637 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17639 * configure.in: Use AC_LANG_SOURCE.
17640 * configure: Regenerate.
17642 2012-06-22 Roland McGrath <roland@hack.frob.com>
17644 * configure.in (libc_cv_localstatedir): New substituted variable.
17645 * configure: Regenerated.
17646 * config.make.in (localstatedir): New variable, substituted from
17647 libc_cv_localstatedir.
17648 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17649 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17650 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17651 * sysdeps/gnu/configure: Regenerated.
17653 2012-06-21 Jeff Law <law@redhat.com>
17656 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17657 free. Simplify list management for _LIBC case.
17659 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17662 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17663 Clear sign bit of 64-bit integer value before comparing against
17666 * sysdeps/mach/configure: Regenerated.
17668 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17671 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17673 2012-06-21 Jeff Law <law@redhat.com>
17676 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17677 uint16_t for elements in the "seen" array to avoid char overflows.
17678 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17679 * elf/dl-open.c (dl_open_worker): Likewise.
17681 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17683 * scripts/list-sources.sh: Scan PORTS for translations.
17684 * po/libc.pot: Regenerated.
17686 2012-06-21 Andreas Jaeger <aj@suse.de>
17689 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17691 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17692 * bits/byteswap-16.h (__bswap_16): Likewise.
17693 * bits/byteswap.h (__bswap_constant_16): Likewise.
17695 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17698 * sysdeps/i386/fpu_control.h: Removed.
17699 * sysdeps/x86_64/fpu_control.h: Moved to ...
17700 * sysdeps/x86/fpu_control.h: Here.
17702 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17703 (_FPU_SETCW): Likewise.
17705 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17708 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17709 * sysdeps/x86/fpu/bits/mathinline.h: This.
17710 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17714 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17715 functions if __x86_64__ is defined.
17717 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17719 * string/endian.h: Add !__ASSEMBLER__ condition for including
17720 conversion interfaces.
17722 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17726 of ABS(x) in calculating zero to negative powers other than odd
17728 * math/libm-test.inc (pow_test): Add more tests.
17730 2012-06-15 Andreas Jaeger <aj@suse.de>
17732 * manual/contrib.texi (Contributors): Update entry of Liubov
17733 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17736 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17738 * string/string.h: Add __wur to GNU version of strerror_r.
17740 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17743 * string/Makefile (tests): Add tst-strtok_r.
17744 * string/tst-strtok_r.c: New file.
17745 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17746 RAX_LP/RDX_LP on SAVE_PTR.
17748 2012-06-14 Roland McGrath <roland@hack.frob.com>
17750 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17752 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17754 * libm_test.inc (csqrt_test): Allow more spurious underflow
17756 (j0_test): Likewise.
17757 (j1_test): Likewise.
17758 (y0_test): Likewise.
17759 (y1_test): Likewise.
17761 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17763 * po/Makefile (libc.pot): Use UTF-8 charset.
17765 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17768 Suppress sign-conversion warning from FD_SET.
17769 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17770 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17771 not unsigned long int.
17772 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17774 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17778 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17779 __extern_always_inline instead of __extern_inline.
17780 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17781 (__signbit): Likewise.
17782 (__signbitl): Support C++ namespace.
17783 (lrintf): New inline function.
17785 (llrintf): Likewise.
17786 (llrint): Likewise.
17796 (floorf): Likewise.
17797 (nearbyint): Likewise.
17798 (nearbyintf): Likewise.
17800 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17802 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17803 non-default versions.
17805 2012-06-11 Roland McGrath <roland@hack.frob.com>
17808 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17810 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17812 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17813 (FE_UPWARD, FE_DOWNWARD): Don't define.
17814 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17817 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17819 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17820 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17822 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17824 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17825 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17826 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17827 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17829 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17832 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17833 * sysdeps/i386/fpu/Implies: New file.
17834 * sysdeps/x86_64/fpu/Implies: Likewise.
17835 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17836 * sysdeps/x86/fpu/bits/fenv.h: This.
17838 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17841 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17844 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17845 character 0xffff that matches the last element of the
17848 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17853 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17856 values higher than 25.6283.
17858 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17861 subnormal exponent extraction and add some __builtin_expect.
17862 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17863 Fix for subnormal mantissa calculation.
17865 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17867 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17868 cpu2 is -1 and errno is not ENOSYS.
17870 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17873 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17874 * sysdeps/x86/bits/string.h: This.
17875 * sysdeps/x86_64/bits/string.h: Removed.
17877 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17878 if not compiling for x86-64, but compiling for >= i486.
17880 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17881 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17883 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17884 New macro from Linux kernel 3.4.0.
17885 (FP_XSTATE_MAGIC2): Likewise.
17886 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17887 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17888 (struct _fpx_sw_bytes): New struct.
17889 (struct _xsave_hdr): Likewise.
17890 (struct _ymmh_state): Likewise.
17891 (struct _xstate): Likewise.
17893 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17894 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17895 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17896 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17897 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17898 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17900 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17901 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17902 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17903 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17904 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17905 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17907 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17910 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17911 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17912 (sysdep_headers): Include sys/platform/ppc.h.
17913 * sysdeps/powerpc/test-gettimebase.c: Test for
17914 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17915 * manual/Makefile (appendices): Include platform.texi.
17916 * manual/contrib.texi (Contributors): Update @node pointers.
17917 * manual/maint.texi (Maintenance): Likewise.
17918 (Platform): New node.
17919 * manual/platform.texi: New file. Document the new features.
17921 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17922 Jakub Jelinek <jakub@redhat.com>
17925 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17926 where __builtin_expect is unavailable.
17928 2012-06-03 David S. Miller <davem@davemloft.net>
17930 * stdlib/longlong.h: Updated from GCC.
17932 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17935 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17936 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17939 (GLIBC_2.16): Likewise.
17941 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17943 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17945 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17948 (default-abi): New variable.
17949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17950 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17952 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17954 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17956 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17959 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17960 definition. Document in comment.
17962 2012-06-01 David S. Miller <davem@davemloft.net>
17964 * stdlib/longlong.h: Updated from GCC.
17966 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17969 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17970 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17971 sys/debugreg.h sys/io.h here.
17972 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17973 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17975 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17976 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17977 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17978 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17979 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17980 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17982 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17983 Define only if __x86_64__ is defined.
17985 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17988 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17989 Use int64_t for variable i.
17990 * math/libm-test.inc (fmod_test): Add more tests.
17992 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17993 z computation is not scheduled after fetestexcept.
17994 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17995 Use math_force_eval instead of asm to ensure calculation scheduled
17996 before exception test.
17997 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17998 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18000 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18003 computation is not scheduled after fetestexcept.
18005 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18008 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18009 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18011 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18013 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18014 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18016 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18019 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18021 (__WCHAR_MIN): Support __WORDSIZE == 64.
18022 (__WCHAR_MAX): Likewise.
18024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18025 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18028 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18029 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18032 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18033 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18035 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18036 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18038 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18039 Defined to 1 if __x86_64__ isn't defined.
18040 (_STAT_VER_LINUX_OLD): New.
18041 (st_atime): Remove duplicate.
18042 (st_mtime): Likewise.
18043 (st_ctime): Likewise.
18045 2012-05-31 David S. Miller <davem@davemloft.net>
18047 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18050 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18052 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18056 * elf/dl-reloc.c: Include <_itoa.h>.
18057 (_dl_reloc_bad_type): Remove use of INTUSE.
18058 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18059 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18060 * stdio-common/psiginfo.c (psiginfo): Likewise.
18061 * stdio-common/psignal.c (psignal): Likewise.
18062 * string/strsignal.c (strsignal): Likewise.
18063 * include/signal.h (_sys_siglist): Declare hidden proto.
18064 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18065 INTVARDEF with libc_hidden_data_def.
18066 * stdio-common/itoa-udigits.c: Likewise.
18067 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18068 (_itoa_lower_digits_internal): Remove declaration.
18069 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18070 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18071 (_sys_sigabbrev_internal): Remove aliases.
18072 (_sys_siglist): Define hidden alias.
18074 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18079 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18082 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18083 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18085 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18086 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18087 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18088 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18090 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18092 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18093 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18094 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18096 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18106 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18108 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18109 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18110 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18111 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18112 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18113 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18115 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18116 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18118 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18119 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18121 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18123 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18125 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18126 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18128 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18130 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18131 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18132 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18134 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18136 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18138 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18140 * math/math.h (M_El): Use two more decimal places.
18141 (M_LOG2El): Likewise.
18142 (M_LOG10El): Likewise.
18143 (M_LN2l): Likewise.
18144 (M_LN10l): Likewise.
18146 (M_PI_2l): Likewise.
18147 (M_PI_4l): Likewise.
18148 (M_1_PIl): Likewise.
18149 (M_2_PIl): Likewise.
18150 (M_2_SQRTPIl): Likewise.
18151 (M_SQRT2l): Likewise.
18152 (M_SQRT1_2l): Likewise.
18154 2012-05-31 David S. Miller <davem@davemloft.net>
18156 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18157 values between float registers.
18158 * sysdeps/sparc/sparc64/memset.S: Likewise.
18159 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18161 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18163 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18164 -D_FORTIFY_SOURCE=1.
18165 (CPPFLAGS-tst-longjmp_chk.c): Define.
18166 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18167 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18168 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18169 CFLAGS-tst-wchar-h.c.
18171 2012-05-31 Marek Polacek <polacek@redhat.com>
18174 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18175 __endmntent_internal): Remove declaration.
18176 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18177 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18178 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18180 2012-05-30 David S. Miller <davem@davemloft.net>
18182 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18183 (___Q_simulate_exceptions): Use real FP ops rather than writing
18185 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18188 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18191 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18192 * sysdeps/x86/bits/xtitypes.h: This.
18194 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18195 * sysdeps/x86/bits/wordsize.h: This.
18197 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18198 * sysdeps/x86/bits/huge_vall.h: This.
18200 * sysdeps/i386/bits/select.h: Removed.
18201 * sysdeps/x86_64/bits/select.h: Renamed to ...
18202 * sysdeps/x86/bits/select.h: This.
18204 * sysdeps/i386/bits/setjmp.h: Removed.
18205 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18206 * sysdeps/x86/bits/setjmp.h: This.
18208 * sysdeps/i386/bits/mathdef.h: Removed.
18209 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18210 * sysdeps/x86/bits/mathdef.h: This.
18212 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18215 * include/sys/socket.h (__connect_internal)
18216 (__libc_sa_len_internal): Remove declaration.
18217 (__connect, __libc_sa_len): Declare hidden_proto.
18218 (SA_LEN): Remove use of INTUSE.
18219 * socket/connect.c: Add libc_hidden_def.
18220 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18221 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18222 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18224 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18225 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18226 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18227 of adding _internal alias.
18229 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18232 * sysdeps/i386/bits/link.h: Removed.
18233 * sysdeps/i386/bits/linkmap.h: Likewise.
18234 * sysdeps/x86_64/bits/link.h: Renamed to ...
18235 * sysdeps/x86/bits/link.h: This.
18236 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18237 * sysdeps/x86/bits/linkmap.h: This.
18239 * sysdeps/i386/bits/endian.h: Removed.
18240 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18241 * sysdeps/x86/bits/endian.h: This.
18243 * sysdeps/i386/bits/byteswap.h: Removed.
18244 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18245 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18246 * sysdeps/x86/bits/byteswap.h: This.
18247 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18248 * sysdeps/x86/bits/byteswap-16.h: This.
18249 * sysdeps/i386/Implies: Add x86.
18250 * sysdeps/x86_64/Implies: Likewise.
18252 2012-05-30 David S. Miller <davem@davemloft.net>
18254 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18255 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18256 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18257 (FP_TRAPPING_EXCEPTIONS): Define.
18258 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18259 (FP_TRAPPING_EXCEPTIONS): Define.
18260 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18261 subnormals only when inexact has been signalled or underflow
18262 exceptions are enabled.
18263 (_FP_PACK_CANONICAL): Likewise.
18265 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18269 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18271 2012-05-30 Richard Henderson <rth@twiddle.net>
18273 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18274 with #ifndef NOT_IN_libc.
18276 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18277 marked to avoid plt entry.
18279 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18282 * Makeconfig (default-abi): New macro.
18283 (abi-includes): Likewise.
18284 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18285 $(abi-$(default-abi)-lib-soname) for soname if defined.
18286 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18288 * Makefile (installed-stubs): Likewise.
18289 * include/stubs-biarch.h: Removed.
18290 * scripts/lib-names.awk: Only handle one library at a time.
18291 * scripts/soversions.awk: Remove WORDSIZE support.
18292 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18294 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18296 (syscall-list-default-condition): Likewise.
18297 (syscall-list-default-condition): Likewise.
18298 (syscall-list-includes): Likewise.
18299 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18300 syscall-list-* with abi-*. Handle undefined abi-variants.
18301 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18302 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18303 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18304 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18305 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18306 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18308 (syscall-list-32-options): Likewise.
18309 (syscall-list-32-condition): Likewise.
18310 (syscall-list-64-options): Likewise.
18311 (syscall-list-64-condition): Likewise.
18312 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18314 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18317 (abi-64-ld-soname): New macro.
18318 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18319 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18322 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18323 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18325 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18327 * sysdeps/unix/sysv/linux/kernel-features.h
18328 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18329 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18330 include <kernel-features.h>.
18331 [!__NR_ftruncate64]: Remove conditional code.
18332 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18333 [__NR_ftruncate64]: Make code unconditional.
18334 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18335 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18336 include <kernel-features.h>.
18337 [!__NR_ftruncate64]: Remove conditional code.
18338 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18339 [__NR_ftruncate64]: Make code unconditional.
18340 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18342 include <kernel-features.h>.
18343 [!__NR_ftruncate64]: Remove conditional code.
18344 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18345 [__NR_ftruncate64]: Make code unconditional.
18346 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18348 include <kernel-features.h>.
18349 [!__NR_ftruncate64]: Remove conditional code.
18350 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18351 [__NR_ftruncate64]: Make code unconditional.
18352 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18354 * configure.in (libc_cv_fpie): Weaken to a compile test using
18355 LIBC_TRY_CC_OPTION.
18356 * configure: Regenerated.
18358 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18373 2012-05-27 David S. Miller <davem@davemloft.net>
18375 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18377 (__Q_simulate_exceptions): Return void. Change to simulate
18378 exceptions by writing into the %fsr.
18379 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18380 (__Qp_handle_exceptions): Likewise.
18382 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18383 __Qp_handle_exceptions.
18384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18385 __Qp_handle_exceptions.
18386 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18387 as unused and give dummy FP_RND_NEAREST initializer.
18388 (FP_INHIBIT_RESULTS): Define.
18389 (___Q_simulate_exceptions): Update declaration.
18390 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18392 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18393 as unused and give dummy FP_RND_NEAREST initializer.
18394 (__Qp_handle_exceptions): Update declaration.
18395 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18398 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18400 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18401 the temporary FPU control word.
18402 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18403 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18404 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18405 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18406 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18407 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18408 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18409 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18410 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18411 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18412 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18414 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18416 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18419 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18421 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18422 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18423 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18424 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18426 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18427 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18430 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18432 * po/h.po: Update from translation team.
18434 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18436 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18438 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18439 handling of denormals.
18440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18441 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18442 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18443 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18449 2012-05-26 Marek Polacek <polacek@redhat.com>
18452 * math/libm-test.inc (fma_test): Don't always expect underflow
18455 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18458 * elf/tst-execstack.c: Include stackinfo.h.
18459 (do_test): Adjust test case to ensure that pthread_getattr_np
18460 behaviour remains the same after marking stack executable.
18462 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18464 * sysdeps/unix/sysv/linux/kernel-features.h
18465 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18466 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18468 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18469 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18470 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18472 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18473 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18475 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18477 * configure.in: Define the default includes to being none.
18478 * configure: Regenerated.
18480 2012-05-25 Roland McGrath <roland@hack.frob.com>
18482 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18483 * sysdeps/x86_64/setjmp.S: Likewise.
18484 * sysdeps/i386/bsd-setjmp.S: Likewise.
18485 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18486 * sysdeps/i386/setjmp.S: Likewise.
18487 * sysdeps/i386/__longjmp.S: Likewise.
18488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18489 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18491 * include/stap-probe.h: New file.
18492 * configure.in: Handle --enable-systemtap.
18493 * configure: Regenerated.
18494 * config.h.in (USE_STAP_PROBE): New #undef.
18495 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18496 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18497 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18499 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18503 to 2.4.0 where earlier.
18504 * sysdeps/unix/sysv/linux/configure: Regenerated.
18505 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18506 <kernel-features.h>.
18507 [__ASSUME_32BITUIDS]: Make code unconditional.
18508 [!__ASSUME_32BITUIDS]: Remove conditional code.
18509 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18510 <kernel-features.h>.
18511 [__ASSUME_32BITUIDS]: Make code unconditional.
18512 [!__ASSUME_32BITUIDS]: Remove conditional code.
18513 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18514 [__ASSUME_32BITUIDS]: Make code unconditional.
18515 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18516 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18517 <kernel-features.h>.
18518 [__ASSUME_32BITUIDS]: Make code unconditional.
18519 [!__ASSUME_32BITUIDS]: Remove conditional code.
18520 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18521 <kernel-features.h>.
18522 [__ASSUME_32BITUIDS]: Make code unconditional.
18523 [!__ASSUME_32BITUIDS]: Remove conditional code.
18524 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18525 <kernel-features.h>.
18526 [__ASSUME_32BITUIDS]: Make code unconditional.
18527 [!__ASSUME_32BITUIDS]: Remove conditional code.
18528 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18529 <kernel-features.h>.
18530 [__ASSUME_32BITUIDS]: Make code unconditional.
18531 [!__ASSUME_32BITUIDS]: Remove conditional code.
18532 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18533 <kernel-features.h>.
18534 [__ASSUME_32BITUIDS]: Make code unconditional.
18535 [!__ASSUME_32BITUIDS]: Remove conditional code.
18536 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18537 <kernel-features.h>.
18538 [__ASSUME_32BITUIDS]: Make code unconditional.
18539 [!__ASSUME_32BITUIDS]: Remove conditional code.
18540 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18541 <kernel-features.h>.
18542 [__ASSUME_32BITUIDS]: Make code unconditional.
18543 [!__ASSUME_32BITUIDS]: Remove conditional code.
18544 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18545 <kernel-features.h>.
18546 [__ASSUME_32BITUIDS]: Make code unconditional.
18547 [!__ASSUME_32BITUIDS]: Remove conditional code.
18548 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18549 <kernel-features.h>.
18550 [__ASSUME_32BITUIDS]: Make code unconditional.
18551 [!__ASSUME_32BITUIDS]: Remove conditional code.
18552 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18553 <kernel-features.h>.
18554 [__ASSUME_32BITUIDS]: Make code unconditional.
18555 [!__ASSUME_32BITUIDS]: Remove conditional code.
18556 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18557 <kernel-features.h>.
18558 [__NR_setresgid] (__setresgid): Do not declare.
18559 [__ASSUME_32BITUIDS]: Make code unconditional.
18560 [!__ASSUME_32BITUIDS]: Remove conditional code.
18561 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18562 <kernel-features.h>.
18563 [__NR_setresuid] (__setresuid): Do not declare.
18564 [__ASSUME_32BITUIDS]: Make code unconditional.
18565 [!__ASSUME_32BITUIDS]: Remove conditional code.
18566 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18567 <kernel-features.h>.
18568 [__ASSUME_32BITUIDS]: Make code unconditional.
18569 [!__ASSUME_32BITUIDS]: Remove conditional code.
18570 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18571 <kernel-features.h>.
18572 [__ASSUME_32BITUIDS]: Make code unconditional.
18573 [!__ASSUME_32BITUIDS]: Remove conditional code.
18574 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18575 <kernel-features.h>.
18576 [__ASSUME_32BITUIDS]: Make code unconditional.
18577 [!__ASSUME_32BITUIDS]: Remove conditional code.
18578 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18579 <kernel-features.h>.
18580 [__ASSUME_32BITUIDS]: Make code unconditional.
18581 [!__ASSUME_32BITUIDS]: Remove conditional code.
18582 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18583 <kernel-features.h>.
18584 [__ASSUME_32BITUIDS]: Make code unconditional.
18585 [!__ASSUME_32BITUIDS]: Remove conditional code.
18586 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18587 <kernel-features.h>.
18588 [__ASSUME_32BITUIDS]: Make code unconditional.
18589 [!__ASSUME_32BITUIDS]: Remove conditional code.
18590 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18591 <kernel-features.h>.
18592 [__ASSUME_32BITUIDS]: Make code unconditional.
18593 [!__ASSUME_32BITUIDS]: Remove conditional code.
18594 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18595 <kernel-features.h>.
18596 [__ASSUME_32BITUIDS]: Make code unconditional.
18597 [!__ASSUME_32BITUIDS]: Remove conditional code.
18598 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18599 <kernel-features.h>.
18600 [__ASSUME_32BITUIDS]: Make code unconditional.
18601 [!__ASSUME_32BITUIDS]: Remove conditional code.
18602 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18603 <kernel-features.h>.
18604 [__ASSUME_32BITUIDS]: Make code unconditional.
18605 [!__ASSUME_32BITUIDS]: Remove conditional code.
18606 * sysdeps/unix/sysv/linux/kernel-features.h
18607 (__ASSUME_SETRESUID_SYSCALL): Remove.
18608 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18609 (__ASSUME_32BITUIDS): Likewise.
18610 (__ASSUME_LDT_WORKS): Likewise.
18611 (__ASSUME_O_DIRECTORY): Likewise.
18612 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18613 architecture but not kernel version.
18614 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18615 (__ASSUME_MMAP2_SYSCALL): Likewise.
18616 (__ASSUME_STAT64_SYSCALL): Likewise.
18617 (__ASSUME_IPC64): Likewise.
18618 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18619 <kernel-features.h>.
18620 [__ASSUME_32BITUIDS]: Make code unconditional.
18621 [!__ASSUME_32BITUIDS]: Remove conditional code.
18622 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18623 <kernel-features.h>.
18624 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18625 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18626 132096]: Remove conditional code.
18627 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18628 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18629 <kernel-features.h>.
18630 [__ASSUME_32BITUIDS]: Make code unconditional.
18631 [!__ASSUME_32BITUIDS]: Remove conditional code.
18632 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18633 <kernel-features.h>.
18634 [__ASSUME_32BITUIDS]: Make code unconditional.
18635 [!__ASSUME_32BITUIDS]: Remove conditional code.
18636 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18637 <kernel-features.h>.
18638 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18640 (__setresgid): Do not declare.
18641 [__ASSUME_32BITUIDS]: Make code unconditional.
18642 [!__ASSUME_32BITUIDS]: Remove conditional code.
18643 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18644 <kernel-features.h>.
18645 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18647 (__setresuid): Do not declare.
18648 [__ASSUME_32BITUIDS]: Make code unconditional.
18649 [!__ASSUME_32BITUIDS]: Remove conditional code.
18650 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18651 <kernel-features.h>.
18652 [__ASSUME_32BITUIDS]: Make code unconditional.
18653 [!__ASSUME_32BITUIDS]: Remove conditional code.
18654 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18655 <kernel-features.h>.
18656 [__ASSUME_32BITUIDS]: Make code unconditional.
18657 [!__ASSUME_32BITUIDS]: Remove conditional code.
18659 2012-05-25 Richard Henderson <rth@twiddle.net>
18661 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18662 dl_hwcap to ifunc resolver.
18663 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18665 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18666 dl_hwcap to ifunc resolver.
18667 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18669 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18672 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18673 for |x| <= 2**-26, not 2**-57.
18674 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18677 2012-05-24 Jeff Law <law@redhat.com>
18679 * stdio-common/Makefile (tests): Add bug25.
18680 * stdio-common/bug25.c: New test.
18682 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18685 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18686 multiple of MALLOC_ALIGNMENT in size.
18687 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18689 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18691 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18693 (FILENAME_MAX): Use macro-int-constant.
18694 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18695 (_IOFBF): Use macro-int-constant.
18696 (_IOLBF): Likewise.
18697 (_IONBF): Likewise.
18698 (SEEK_CUR): Likewise.
18699 (SEEK_END): Likewise.
18700 (SEEK_SET): Likewise.
18701 (TMP_MAX): Likewise.
18702 (EOF): Use macro-int-constant. Require < 0.
18703 (NULL): Use macro-constant. Require == 0.
18704 (stdin): Require type to be FILE *.
18705 (stdout): Likewise.
18706 (stderr): Likewise.
18707 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18708 macro-int-constant.
18709 (EXIT_SUCCESS): Likewise.
18710 (NULL): Use macro-constant. Require == 0.
18711 (RAND_MAX): Use macro-int-constant.
18712 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18713 [C99-based standards] (strtof): Require function.
18714 [C99-based standards] (strtold): Likewise.
18715 [C99-based standards] (strtoll): Likewise.
18716 [C99-based standards] (strtoull): Likewise.
18717 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18718 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18719 [ISO || ISO99 || ISO11] (math.h): Likewise.
18720 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18721 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18724 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18727 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18728 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18729 * intl/dgettext.c (DCGETTEXT): Likewise.
18730 * intl/gettext.c (DCGETTEXT): Likewise.
18731 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18732 * posix/regex_internal.h (gettext): Likewise.
18733 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18734 Remove declaration.
18735 * include/argz.h (__argz_count_internal)
18736 (__argz_stringify_internal): Remove declaration.
18737 (__argz_count, __argz_stringify): Declare hidden proto.
18738 * intl/dcgettext.c: Remove use of INTDEF.
18739 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18740 * string/argz-stringify.c: Likewise.
18741 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18742 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18743 Declare hidden proto.
18744 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18745 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18746 Declare hidden proto.
18747 * include/stdio.h (__asprintf_internal): Don't declare.
18748 (__asprintf): Don't define as macro. Declare hidden proto.
18749 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18750 (__fsetlocking): Declare hidden proto.
18751 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18752 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18754 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18755 (_IO_setlinebuf): Remove use of INTUSE.
18756 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18757 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18758 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18759 Remove declaration.
18760 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18761 (_IO_do_flush): Remove use of INTUSE.
18762 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18763 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18764 (_IO_adjust_column, _IO_least_wmarker)
18765 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18766 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18767 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18768 (_IO_default_doallocate, _IO_wdefault_doallocate)
18769 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18770 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18771 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18772 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18773 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18774 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18775 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18776 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18777 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18778 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18779 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18780 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18781 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18783 (_IO_flush_all_internal, _IO_adjust_column_internal)
18784 (_IO_default_uflow_internal, _IO_default_finish_internal)
18785 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18786 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18787 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18788 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18789 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18790 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18791 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18792 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18793 (_IO_file_close_internal, _IO_file_close_it_internal)
18794 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18795 (_IO_file_init_internal, _IO_file_attach_internal)
18796 (_IO_file_fopen_internal, _IO_file_read_internal)
18797 (_IO_file_sync_internal, _IO_file_seek_internal)
18798 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18799 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18800 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18801 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18802 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18803 (_IO_list_all_internal, _IO_link_in_internal)
18804 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18805 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18806 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18807 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18808 (_IO_do_write_internal, _IO_padn_internal)
18809 (_IO_getline_info_internal, _IO_getline_internal)
18810 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18811 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18812 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18813 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18814 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18815 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18816 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18817 with libc_hidden_ver, remove use of INTUSE.
18818 * libio/genops.c: Likewise.
18819 * libio/freopen.c: Likewise.
18820 * libio/freopen64.c: Likewise.
18821 * libio/iofclose.c: Likewise.
18822 * libio/iofdopen.c: Likewise.
18823 * libio/iofflush.c: Likewise.
18824 * libio/iofflush_u.c: Likewise.
18825 * libio/iofgets.c: Likewise.
18826 * libio/iofgets_u.c: Likewise.
18827 * libio/iofopen.c: Likewise.
18828 * libio/iofopncook.c: Likewise.
18829 * libio/iofread.c: Likewise.
18830 * libio/iofread_u.c: Likewise.
18831 * libio/ioftell.c: Likewise.
18832 * libio/iofwrite.c: Likewise.
18833 * libio/iogetline.c: Likewise.
18834 * libio/iogets.c: Likewise.
18835 * libio/iogetwline.c: Likewise.
18836 * libio/iopadn.c: Likewise.
18837 * libio/iopopen.c: Likewise.
18838 * libio/ioseekoff.c: Likewise.
18839 * libio/ioseekpos.c: Likewise.
18840 * libio/iosetbuffer.c: Likewise.
18841 * libio/iosetvbuf.c: Likewise.
18842 * libio/ioungetc.c: Likewise.
18843 * libio/ioungetwc.c: Likewise.
18844 * libio/iovdprintf.c: Likewise.
18845 * libio/iovsprintf.c: Likewise.
18846 * libio/iovsscanf.c: Likewise.
18847 * libio/memstream.c: Likewise.
18848 * libio/obprintf.c: Likewise.
18849 * libio/oldfileops.c: Likewise.
18850 * libio/oldiofclose.c: Likewise.
18851 * libio/oldiofdopen.c: Likewise.
18852 * libio/oldiofopen.c: Likewise.
18853 * libio/oldiopopen.c: Likewise.
18854 * libio/oldstdfiles.c: Likewise.
18855 * libio/putc.c: Likewise.
18856 * libio/setbuf.c: Likewise.
18857 * libio/setlinebuf.c: Likewise.
18858 * libio/stdfiles.c: Likewise.
18859 * libio/strops.c: Likewise.
18860 * libio/vasprintf.c: Likewise.
18861 * libio/vscanf.c: Likewise.
18862 * libio/vsnprintf.c: Likewise.
18863 * libio/vswprintf.c: Likewise.
18864 * libio/wfiledoalloc.c: Likewise.
18865 * libio/wfileops.c: Likewise.
18866 * libio/wgenops.c: Likewise.
18867 * libio/wmemstream.c: Likewise.
18868 * libio/wstrops.c: Likewise.
18869 * libio/__fpurge.c: Likewise.
18870 * libio/__fsetlocking.c: Likewise.
18871 * assert/assert.c: Likewise.
18872 * debug/fgets_chk.c: Likewise.
18873 * debug/fgets_u_chk.c: Likewise.
18874 * debug/fread_chk.c: Likewise.
18875 * debug/fread_u_chk.c: Likewise.
18876 * debug/gets_chk.c: Likewise.
18877 * debug/obprintf_chk.c: Likewise.
18878 * debug/vasprintf_chk.c: Likewise.
18879 * debug/vdprintf_chk.c: Likewise.
18880 * debug/vsnprintf_chk.c: Likewise.
18881 * debug/vsprintf_chk.c: Likewise.
18882 * malloc/mtrace.c: Likewise.
18883 * misc/error.c: Likewise.
18884 * misc/syslog.c: Likewise.
18885 * stdio-common/asprintf.c: Likewise.
18886 * stdio-common/fxprintf.c: Likewise.
18887 * stdio-common/getw.c: Likewise.
18888 * stdio-common/isoc99_fscanf.c: Likewise.
18889 * stdio-common/isoc99_scanf.c: Likewise.
18890 * stdio-common/isoc99_vfscanf.c: Likewise.
18891 * stdio-common/isoc99_vscanf.c: Likewise.
18892 * stdio-common/isoc99_vsscanf.c: Likewise.
18893 * stdio-common/printf-prs.c: Likewise.
18894 * stdio-common/printf_fp.c: Likewise.
18895 * stdio-common/printf_fphex.c: Likewise.
18896 * stdio-common/printf_size.c: Likewise.
18897 * stdio-common/putw.c: Likewise.
18898 * stdio-common/scanf.c: Likewise.
18899 * stdio-common/sprintf.c: Likewise.
18900 * stdio-common/tmpfile.c: Likewise.
18901 * stdio-common/vfprintf.c: Likewise.
18902 * stdio-common/vfscanf.c: Likewise.
18903 * stdlib/strfmon_l.c: Likewise.
18904 * sunrpc/openchild.c: Likewise.
18905 * sunrpc/xdr_stdio.c: Likewise.
18906 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18907 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18909 2012-05-24 Roland McGrath <roland@hack.frob.com>
18911 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18913 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18914 in the third column, to generate for the shared library an IFUNC
18915 that uses _dl_vdso_vsym.
18916 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18917 * Makeconfig (object-suffixes-noshared): New variable.
18919 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18920 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18921 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18922 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18925 * include/sys/time.h (__gettimeofday): Remove macro.
18926 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18927 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18929 (__gettimeofday): Add libc_hidden_def.
18930 (gettimeofday): Add libc_hidden_weak.
18931 * sysdeps/mach/gettimeofday.c: Likewise.
18932 * sysdeps/posix/gettimeofday.c: Likewise.
18933 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18934 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18936 (__gettimeofday_internal): Remove strong_alias.
18937 (__gettimeofday): Add libc_hidden_def.
18938 (gettimeofday): Add libc_hidden_weak.
18939 * sysdeps/unix/syscalls.list (gettimeofday):
18940 Remove __gettimeofday_internal alias.
18942 2012-05-24 Daniel Jacobowitz <drow@false.org>
18943 H.J. Lu <hongjiu.lu@intel.com>
18946 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18947 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18948 (largebin_index_32_big): New.
18949 (largebin_index): Use it for 16-byte alignment.
18950 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18951 correction with front_misalign.
18953 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18981 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18982 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18984 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18988 * math/libm-test.inc (exp_test): Add test from bug 14036.
18989 (pow_test): Add test from bug 10846.
18991 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18993 (special_function): Do not include flags in test name.
18994 (parse_args): Likewise.
18995 * sysdeps/i386/fpu/libm-test-ulps: Update.
18996 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18997 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18998 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19001 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19003 * math/libm-test.inc ("Philosophy"): Update comment about
19005 (UNDERFLOW_EXCEPTION): New macro.
19006 (UNDERFLOW_EXCEPTION_OK): Likewise.
19007 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19008 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19009 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19010 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19011 (INVALID_EXCEPTION_OK): Update value.
19012 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19013 (OVERFLOW_EXCEPTION_OK): Likewise.
19014 (IGNORE_ZERO_INF_SIGN): Likewise.
19015 (test_exceptions): Handle underflow exceptions.
19016 (acos_test): Update for underflow exception expectations.
19017 (cexp_test): Likewise.
19018 (clog_test): Likewise.
19019 (clog10_test): Likewise.
19020 (csqrt_test): Likewise.
19021 (ctan_test): Likewise.
19022 (ctanh_test): Likewise.
19023 (exp_test): Likewise.
19024 (exp10_test): Likewise.
19025 (exp2_test): Likewise.
19026 (expm1_test): Likewise.
19027 (fma_test): Likewise.
19028 (j0_test): Likewise.
19029 (jn_test): Likewise.
19030 (nexttoward_test): Likewise.
19031 (pow_test): Likewise.
19032 (scalbn_test): Likewise.
19033 (scalbln_test): Likewise.
19034 (tan_test): Likewise.
19035 (y1_test): Likewise.
19036 * sysdeps/i386/fpu/libm-test-ulps: Update.
19037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19039 2012-05-23 David S. Miller <davem@davemloft.net>
19041 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19042 (__libc_sigaction): Remove unused local variables.
19044 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19046 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19048 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19050 mktime: avoid signed integer overflow
19051 * time/mktime.c (__mktime_internal): Do not mishandle the case
19052 where diff == INT_MIN.
19054 mktime: simplify computation of average
19055 * time/mktime.c (ranged_convert): Use new time_t_avg function
19056 instead of rolling our own (probably-slower) code.
19058 mktime: do not assume signed right shift propagates sign bit
19059 * time/mktime.c (isdst_differ): New static function.
19060 (__mktime_internal): No need to normalize tm_isdst now.
19061 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19064 mktime: merge another wrapv change from gnulib
19065 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19066 from some compilers.
19068 mktime: remove incorrect attempt at unusual arithmetics
19069 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19070 The code didn't really work on such machines anyway.
19071 (TYPE_MINIMUM): Assume two's complement.
19072 (twos_complement_arithmetic): Verify that long_int and time_t
19073 are two's complement (or unsigned, in the latter case).
19075 mktime: check signed shifts on long_int and time_t, too
19076 * time/mktime.c (SHR): Check that shifts work as desired
19077 on the types long_int and time_t too, as SHR is used on
19080 mktime: do not assume 'long' is wide enough
19081 * time/mktime.c (verify): Move decl up.
19082 (long_int): New type.
19083 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19084 to remove assumption in the code that 'long' is wide enough to
19085 store year values. This assumption is not true on x32 and on
19086 some non-glibc platforms.
19088 mktime: merge wrapv change from gnulib
19089 * time/mktime.c (WRAPV): New macro.
19090 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19091 (guess_time_tm, __mktime_internal): Do not assume that signed
19092 integer overflow wraps around; modern compilers generate code
19093 where this assumption is no longer valid.
19095 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19097 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19098 Replace "jmp L(pseudo_end)" with "ret".
19099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19102 2012-05-23 Andreas Jaeger <aj@suse.de>
19104 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19105 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19107 2012-05-23 Andreas Jaeger <aj@suse.de>
19108 Maximilian Attems <max@stro.at>
19110 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19113 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19116 code so that pseudo_end is just ret and the stack pointer is
19117 correct also for static library in error case.
19119 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19121 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19122 move to syscalls.list.
19123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19128 * manual/install.texi (Running make install): Do not mention Linux
19129 kernel version for which pt_chown is not needed.
19130 (Linux): Do not mention problems with nscd with 2.0 kernels.
19131 * INSTALL: Regenerated.
19133 2012-05-23 Andreas Jaeger <aj@suse.de>
19135 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19136 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19138 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19140 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19142 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19144 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19145 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19146 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19147 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19148 * sysdeps/unix/sysv/linux/bits/in.h
19149 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19151 2012-05-22 Roland McGrath <roland@hack.frob.com>
19153 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19154 (PREPARE_VERSION): Just use assert instead, it will be elided
19155 under [NDEBUG] anyway.
19157 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19159 * sysdeps/unix/sysv/linux/Makefile: Include
19160 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19161 (sysdep_routines): Remove sysctl.
19162 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19163 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19164 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19165 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19166 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19168 2012-05-22 Andreas Jaeger <aj@suse.de>
19170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19171 that pseudo_end is just ret and the stack pointer is correct also
19172 for static library in error case.
19174 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19177 * nss/nsswitch.c (defconfig_entries): New variable.
19178 (__nss_database_lookup): Don't leak defconfig entries.
19179 (nss_parse_service_list): Don't leak on error paths.
19180 (free_database_entries): New function.
19181 (free_defconfig): New function.
19182 (free_mem): Move common code to free_database_entries.
19184 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19186 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19188 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19190 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19191 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19194 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19195 (INTERNAL_SYSCALL_TYPES): Likewise.
19196 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19197 (LOAD_REGS_TYPES_[1-6]): Likewise.
19198 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19199 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19201 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19203 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19204 copysignl for GLIBC_2_0.
19205 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19206 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19208 logbl for GLIBC_2_0.
19209 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19210 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19212 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19215 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19217 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19220 * time/mktime.c: Update copyright years.
19222 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19224 mktime: merge comment-quoting-style change from gnulib
19225 * time/mktime.c: Quote 'like this' in comments.
19226 The GNU coding standards suggest that we no longer quote `like this',
19227 as "`" and "'" are typically rendered asymmetrically nowadays.
19228 The typical gnulib style is to quote 'like this' when quoting
19229 code, and "like this" when quoting English.
19231 * time/mktime.c (compile-command): Add "-I.".
19233 mktime: merge mktime-internal.h change from gnulib
19234 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19236 mktime: merge time_r change from gnulib
19237 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19239 mktime: merge DEBUG change from gnulib
19240 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19241 case system <time.h> has a #define.
19243 mktime: merge <sys/types.h> change from gnulib
19244 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19245 since <time.t> is now guaranteed to define time_t.
19247 mktime: merge HAVE_CONFIG_H change from gnulib
19248 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19250 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19255 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19257 (struct rusage): Use anonymous union to pad each field to
19260 2012-05-21 David S. Miller <davem@davemloft.net>
19262 * Makefules (o-iterator): Remove .s cases.
19263 (compile-command.s): Delete.
19264 (COMPILE.s): Delete.
19265 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19267 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19269 * configure.in (libc_cv_predef_stack_protector): Only consider
19270 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19271 * configure: Regenerated.
19273 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19276 New macro. Use R*LP on int and pointer.
19277 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19278 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19279 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19280 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19282 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19283 [__WORDSIZE_TIME64_COMPAT32] instead of
19284 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19285 (struct utmp): Likewise.
19286 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19287 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19289 (__WORDSIZE_TIME64_COMPAT32): This.
19290 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19291 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19292 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19293 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19294 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19295 (__WORDSIZE_TIME64_COMPAT32): New macro.
19297 2012-05-21 Andreas Jaeger <aj@suse.de>
19299 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19300 only if [SHARED]. Add prototype for __wcschr_ia32.
19302 2012-05-21 Roland McGrath <roland@hack.frob.com>
19304 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19305 of %rbp unmolested in the jmp_buf while mangling the low bits.
19306 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19307 unmolested high bits of %rbp while demangling the low bits.
19308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19310 2012-05-21 Andreas Jaeger <aj@suse.de>
19312 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19313 * sunrpc/svc_simple.c: Use it for registerrpc.
19314 * sunrpc/xcrypt.c: Use it for passwd2des.
19316 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19318 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19320 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19321 Don't define if [__SYSCALL_WORDSIZE != 32].
19322 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19325 2012-05-21 Bruno Haible <bruno@clisp.org>
19326 Andreas Jaeger <aj@suse.de>
19328 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19329 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19330 inptr and inend for must_buffer_ch.
19331 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19332 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19333 * stdio-common/Makefile (tests): Remove bug15.
19334 (bug15-ENV): Remove macro.
19335 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19338 2012-05-19 Andreas Jaeger <aj@suse.de>
19339 Roland McGrath <roland@hack.frob.com>
19341 * manual/contrib.texi: Completely rewritten. It contains now an
19342 alphabetical list of contributors and their contributions.
19344 2012-05-21 Richard Henderson <rth@twiddle.net>
19346 * misc/getauxval.c (__getauxval): Use unsigned long int.
19347 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19348 (getauxval): Use unsigned long int.
19350 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19352 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19354 2012-05-21 Roland McGrath <roland@hack.frob.com>
19356 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19357 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19358 __alignof__ (long double).
19360 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19364 2012-05-20 Richard Henderson <rth@twiddle.net>
19366 * misc/getauxval.c: New file.
19367 * misc/sys/auxv.h: New file.
19368 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19369 (routines): Add getauxval.
19370 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19371 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19372 * elf/dl-sysdep.c (_dl_auxv): Remove.
19373 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19374 * elf/dl-support.c (_dl_auxv): New variable.
19375 (_dl_aux_init): Initialize it.
19376 * manual/startup.texi (Auxiliary Vector): New node.
19377 * sysdeps/generic/bits/hwcap.h: New file.
19378 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19379 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19380 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19381 * sysdeps/sparc/sysdep.h: ... here. Include it.
19382 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19395 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19399 2012-05-19 David S. Miller <davem@davemloft.net>
19401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19403 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19406 * math/s_ccosh.c: Include <float.h>
19407 (__ccosh): Avoid internal overflow calculating sinh and cosh
19408 values before multiplying by sin and cos values.
19409 * math/s_ccoshf.c: Likewise.
19410 * math/s_ccoshl.c: Likewise.
19411 * math/s_csin.c: Likewise.
19412 * math/s_csinf.c: Likewise.
19413 * math/s_csinl.c: Likewise.
19414 * math/s_csinh.c: Likewise.
19415 * math/s_csinhf.c: Likewise.
19416 * math/s_csinhl.c: Likewise.
19417 * math/libm-test.inc (ccos_test): Add more tests.
19418 (ccosh_test): Likewise.
19419 (csin_test): Likewise.
19420 (csinh_test): Likewise.
19421 * sysdeps/i386/fpu/libm-test-ulps: Update.
19422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19424 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19426 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19427 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19429 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19431 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19433 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19434 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19435 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19436 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19437 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19438 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19439 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19440 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19441 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19442 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19443 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19444 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19445 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19446 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19447 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19448 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19449 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19450 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19451 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19452 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19453 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19454 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19455 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19456 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19457 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19458 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19459 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19460 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19461 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19462 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19463 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19465 2012-05-18 Andreas Jaeger <aj@suse.de>
19467 * csu/.gitignore: Delete.
19469 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19471 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19472 (timex): Use __syscall_slong_t.
19474 2012-05-18 Andreas Jaeger <aj@suse.de>
19475 Carlos O'Donell <carlos_odonell@mentor.com>
19477 * manual/install.texi (Configuring and compiling): Update
19478 description about files modified in the source directory.
19479 * INSTALL: Regenerated.
19481 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19483 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19484 value. Use "or" to set return value to -1.
19485 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19486 negate return value.
19488 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19490 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19491 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19492 failure if the compiler has Graphite support disabled.
19493 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19495 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19496 CFLAGS-memmove.c): Likewise.
19497 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19500 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19502 * sysdeps/x86_64/x32/_itoa.h: New file.
19504 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19505 getdents system call only if kernel and user dirents have the
19506 same d_ino and d_off.
19508 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19509 LLONG_MAX != LONG_MAX.
19510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19511 (_fitoa_word): Likewise.
19513 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19515 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19516 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19517 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19519 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19520 include <bits/wordsize.h>. Check __x86_64__ instead of
19522 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19523 if __x86_64__ is defined. Use anonymous union on fpstate.
19525 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19528 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19530 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19531 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19532 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19533 Refer to _rtld_local_ro instead of _rtld_global_ro.
19534 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19536 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19538 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19540 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19541 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19542 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19544 * sysdeps/powerpc/powerpc32/dl-machine.c
19545 (__elf_machine_runtime_setup) [PROF]: Don't reference
19548 2012-05-18 Andreas Jaeger <aj@suse.de>
19550 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19551 function only available for GCCs before 3.4 since GCC 3.4
19552 introduced a builtin.
19554 (llrintf): Likewise.
19555 (llrint): Likewise.
19562 (nearbyint): Likewise.
19563 (nearbyintf): Likewise.
19567 (floorf): Likewise.
19569 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19571 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19572 on both fields and cast pointer to __syscall_ulong_t.
19574 * bits/types.h (__fsword_t): New type.
19575 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19576 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19578 (__FSWORD_T_TYPE): Likewise.
19579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19580 (__FSWORD_T_TYPE): Likewise.
19581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19582 (__FSWORD_T_TYPE): Likewise.
19583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19584 (__FSWORD_T_TYPE): Likewise.
19585 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19586 __SWORD_TYPE with __fsword_t.
19587 (statfs64): Likewise.
19589 2012-05-17 David S. Miller <davem@davemloft.net>
19591 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19593 2012-05-17 Andreas Jaeger <aj@suse.de>
19595 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19598 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19600 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19602 2012-05-17 Andreas Jaeger <aj@suse.de>
19604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19607 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19609 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19611 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19613 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19614 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19616 2012-05-17 Andreas Jaeger <aj@suse.de>
19617 Carlos O'Donell <carlos_odonell@mentor.com>
19620 * sysdeps/x86_64/multiarch/init-arch.h
19621 (bit_YMM_Usable): Rename to...
19622 (bit_AVX_Usable): ... this.
19623 (bit_FMA4_Usable): New macro.
19624 (bit_XMM_state): New macro.
19625 (bit_YMM_state): New macro.
19626 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19627 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19628 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19629 (CPUID_OSXSAVE): New macro.
19630 (CPUID_AVX): New macro.
19631 (CPUID_FMA4): New macro.
19632 (index_YMM_Usable): Rename to...
19633 (index_AVX_Usable): ... this.
19634 (HAS_AVX): Use HAS_ARCH_FEATURE.
19635 (HAS_FMA4): Likewise.
19636 (HAS_YMM_USABLE): Remove.
19637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19638 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19640 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19641 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19642 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19643 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19644 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19646 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19648 * math/libm-test.c: Support platforms without multiple rounding modes.
19649 * math/bug-nextafter.c: Support platforms without FP exceptions.
19650 * math/bug-nexttoward.c: Likewise.
19651 * math/test-fenv.c: Likewise.
19652 * math/test-misc.c: Likewise.
19653 * stdlib/bug-getcontext.c: Likewise.
19655 2012-05-17 Andreas Jaeger <aj@suse.de>
19657 * manual/examples/search.c (critter_cmp): Change signature to
19659 * manual/string.texi (Collation Functions): Likewise.
19661 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19663 * bits/types.h: Fold copyright years.
19664 * bits/typesizes.h: Likewise.
19665 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19666 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19669 * time/time.h: Likewise.
19671 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19674 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19675 in instead of returning them. Return void.
19676 (__libc_mallinfo): Accumulate over all arenas.
19677 (__malloc_stats): Adjust for change in int_mallinfo interface.
19679 2012-05-16 Roland McGrath <roland@hack.frob.com>
19682 * configure.in (NM): Add AC_CHECK_TOOL for it.
19683 (libc_extra_cflags): New substituted variable.
19684 Check for -fstack-protector being used implicitly.
19685 * configure: Regenerated.
19686 * config.make.in (config-extra-cflags): New variable,
19687 gets @libc_extra_cflags@.
19688 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19691 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19692 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19693 * configure: Regenerated.
19694 * config.make.in (CPPUNDEFS): New substituted variable.
19695 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19696 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19697 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19699 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19701 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19702 (mq_attr): Use __syscall_slong_t.
19704 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19706 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19707 Check __x86_64__ instead of __WORDSIZE.
19708 (_STAT_VER_LINUX): Likewise.
19709 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19710 __syscall_ulong_t and __syscall_slong_t.
19711 (stat64): Likewise.
19713 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19715 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19717 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19719 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19723 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19726 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19727 include <bits/wordsize.h>. Check __x86_64__ instead of
19729 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19731 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19734 include <bits/wordsize.h>. Check __x86_64__ instead of
19736 (user_regs_struct): Use "__extension__ unsigned long long"
19737 instead of "unsigned long" if __x86_64__ is defined.
19738 (user): Likewise. Pad after pointer field if __ILP32__ is
19741 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19743 * configure.in (makeinfo): Require version 4.5 or later. Allow
19745 * configure: Regenerated.
19746 * manual/install.texi (texinfo): Increase version requirement to
19748 * INSTALL: Regenerated.
19750 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19752 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19754 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19756 * sysdeps/x86_64/x32/ffs.c: New file.
19758 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19760 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19761 defined. Use __syscall_ulong_t.
19762 (shminfo): Use __syscall_ulong_t.
19763 (shm_info): Likewise.
19765 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19768 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19770 (msgqnum_t): Use __syscall_ulong_t.
19771 (msglen_t): Likewise.
19772 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19775 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19776 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19778 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19780 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19781 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19783 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19786 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19787 include <bits/wordsize.h>. Check __x86_64__ instead of
19790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19791 "unsigned long long int" if __x86_64__ is defined.
19792 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19794 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19795 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19796 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19798 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19800 (GET_PC): Cast to uintptr_t first.
19801 (GET_FRAME): Likewise.
19802 (GET_STACK): Likewise.
19804 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19805 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19806 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19807 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19808 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19809 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19810 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19811 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19812 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19813 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19814 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19815 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19816 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19817 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19818 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19819 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19820 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19821 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19822 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19823 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19824 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19825 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19826 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19827 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19828 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19829 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19830 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19831 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19832 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19834 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19836 * Makerules (+depfiles): Also collect depfiles from .oS in
19838 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19839 .oS, $(libnldbl-routines)).
19841 * Makerules (native-compile-mkdep-flags): Define.
19842 * sunrpc/Makefile (extra-objs): Add $(addprefix
19843 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19844 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19845 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19846 calling $(make-target-directory).
19848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19850 * bits/types.h (__snseconds_t): Removed.
19851 * time/time.h (struct timespec): Replace __snseconds_t with
19853 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19854 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19857 (__SNSECONDS_T_TYPE): Likewise.
19858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19859 (__SNSECONDS_T_TYPE): Likewise.
19860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19861 (__SNSECONDS_T_TYPE): Likewise.
19863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19865 * sysdeps/mach/hurd/bits/typesizes.h
19866 (__SYSCALL_SLONG_TYPE): New macro.
19867 (__SYSCALL_ULONG_TYPE): Likewise.
19869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19871 * bits/types.h (__syscall_slong_t): New type.
19872 (__syscall_ulong_t): Likewise.
19874 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19875 (__SYSCALL_ULONG_TYPE): Likewise.
19876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19877 (__SYSCALL_SLONG_TYPE): Likewise.
19878 (__SYSCALL_ULONG_TYPE): Likewise.
19879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19880 (__SYSCALL_SLONG_TYPE): Likewise.
19881 (__SYSCALL_ULONG_TYPE): Likewise.
19882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19883 (__SYSCALL_SLONG_TYPE): Likewise.
19884 (__SYSCALL_ULONG_TYPE): Likewise.
19886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19888 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19889 Add sigaltstack-offsets.sym.
19890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19891 <sigaltstack-offsets.h>.
19892 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19893 longjmp_msg pointer.
19894 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19895 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19897 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19899 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19901 * elf/stackguard-macros.h: Remove file.
19902 * sysdeps/generic/stackguard-macros.h: New file.
19903 * sysdeps/i386/stackguard-macros.h: Likewise.
19904 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19905 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19906 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19907 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19908 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19909 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19910 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19911 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19912 <elf/stackguard-macros.h>.
19915 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19916 __aligned__ in attribute.
19917 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19918 (gregset_t): Likewise.
19920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19922 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19923 * sysdeps/x86_64/64/Implies-after: Here. New file.
19924 * sysdeps/x86_64/x32/Implies-after: New file.
19926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19928 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19929 and access return value for _dl_profile_fixup. Use R10_LP to
19932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19934 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19938 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19939 * sysdeps/x86_64/x32/sysdep.h: New file.
19941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19943 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19944 * sysdeps/x86_64/setjmp.S: Likewise.
19946 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19948 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19950 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19951 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19952 remove unused global constant.
19954 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19956 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19957 include of <not-cancel.h>.
19959 2012-05-15 Roland McGrath <roland@hack.frob.com>
19961 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19963 2012-05-15 Jeff Law <law@redhat.com>
19964 Andreas Jaeger <aj@suse.de>
19967 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19969 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19970 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19971 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19972 code changing __hst_map_handle.map.
19974 2012-05-15 Roland McGrath <roland@hack.frob.com>
19976 * configure.in (sysnames): Look for Implies-before and Implies-after
19978 * configure: Regenerated.
19980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19982 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19983 8-byte data alignment with LP_SIZE alignment.
19985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19987 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19992 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19996 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19997 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19998 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20000 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20004 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20005 (stackinfo_sub_sp): Likewise.
20007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20009 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20019 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20024 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20028 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20029 into R11_LP and load __x86_64_shared_cache_size_half into
20032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20034 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20037 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20045 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20046 powerpc32/power7/fpu/s_logb.c via #include.
20047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20048 powerpc32/power7/fpu/s_logbf.c via #include.
20049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20050 powerpc32/power7/fpu/s_logbl.c via #include.
20052 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20054 * README.libm: Remove file.
20056 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20058 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20059 count for x32. Use R*_LP and omit operand-size suffix.
20061 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20063 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20064 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20065 * sysdeps/x86_64/x32/shlib-versions: New file.
20067 2012-05-14 Roland McGrath <roland@hack.frob.com>
20069 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20070 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20071 Use _dl_fatal_printf instead.
20073 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20075 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20076 set if not set by the user. Do not allow for being unset.
20077 * sysdeps/unix/sysv/linux/configure: Regenerated.
20079 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20081 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20082 the `q' suffix from lea and replace .quad with ASM_ADDR.
20084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20087 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20089 (PTR_DEMANGLE): Likewise.
20091 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20093 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20095 (ASM_ADDR): Likewise.
20096 (RAX_LP): Likewise.
20097 (RBP_LP): Likewise.
20098 (RBX_LP): Likewise.
20099 (RCX_LP): Likewise.
20100 (RDI_LP): Likewise.
20101 (RSI_LP): Likewise.
20102 (RSP_LP): Likewise.
20105 (R10_LP): Likewise.
20106 (R10_LP): Likewise.
20107 (R11_LP): Likewise.
20108 (R12_LP): Likewise.
20109 (R13_LP): Likewise.
20110 (R14_LP): Likewise.
20111 (R15_LP): Likewise.
20113 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20115 * sysdeps/x86_64/x32/dl-machine.h: New file.
20117 2012-05-14 Andreas Jaeger <aj@suse.de>
20119 * manual/Makefile (subdir): Remove export of subdir.
20120 (all): Remove target.
20121 (.PHONY): Remove all from list.
20122 (mkinstalldirs): Remove.
20123 (.PHONY): Remove installdirs from list.
20124 ($(inst_infodir)/libc.info): Use make-target-directory.
20125 (installdirs): Remove.
20126 (subdir_%): Remove.
20127 (glibc-targets): Remove.
20130 ($(objpfx)stubs ../po/manual.pot): Remove.
20131 ($(objpfx)stamp%): Remove.
20132 (make-target-directory): Remove.
20133 (subdir_install): Remove.
20134 (routines): Remove.
20141 * manual/.gitignore: Remove, it's not needed anymore.
20142 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20144 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20146 (texis): Renamed to $(objpfx)texis.
20147 (texis-path): New, contains path to generated files.
20148 (chapters.%): Use texis-path for complete path, add extra argument
20150 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20151 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20152 (summary,texi, stamp-summary): Use complete path of
20153 files. Generate files in build dir.
20154 (dir-add.texi): Build in build dir.
20155 (libm-err.texi,stamp-libm-err): Likewise.
20156 (version.texi, stamp-version): Likewise.
20157 (.%c.texi): Likewise.
20158 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20159 (mostlyclean): Remove target.
20160 (realclean): Remove target.
20161 (generated): Add new variable with contents from mostlyclean and
20162 realclean, remove entries duplicated in common-mostlyclean, add
20163 stamp-libm-err and stamp-version.
20164 (generated-dirs): Add libc directory.
20165 ($(inst_infodir)/libc.info): Install files from build dir.
20167 * manual/install.texi (Configuring and compiling): Adjust since
20168 the info files are not part of the tar ball anymore.
20170 2012-05-14 Andreas Jaeger <aj@suse.de>
20172 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20175 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20179 to 2.2.0 where earlier.
20180 * sysdeps/unix/sysv/linux/configure: Regenerated.
20181 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20182 Remove conditional code.
20183 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20184 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20185 Remove conditional code.
20186 [!__NR_lchown]: Likewise.
20187 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20188 [__NR_lchown]: Likewise.
20189 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20190 comment referencing __ASSUME_LCHOWN_SYSCALL.
20191 * sysdeps/unix/sysv/linux/i386/sigaction.c
20192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20194 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20195 Remove conditional code.
20196 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20197 (__protocol_available): Remove #if 0 code.
20198 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20200 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20201 * sysdeps/unix/sysv/linux/kernel-features.h
20202 (__ASSUME_GETCWD_SYSCALL): Don't define.
20203 (__ASSUME_REALTIME_SIGNALS): Likewise.
20204 (__ASSUME_PREAD_SYSCALL): Likewise.
20205 (__ASSUME_PWRITE_SYSCALL): Likewise.
20206 (__ASSUME_POLL_SYSCALL): Likewise.
20207 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20208 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20210 (__ASSUME_SIOCGIFNAME): Don't define.
20211 (__ASSUME_MSG_NOSIGNAL): Likewise.
20212 (__ASSUME_SENDFILE): Define unconditionally.
20213 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20214 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20216 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20217 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20218 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20219 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20220 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20221 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20222 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20227 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20236 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20239 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20242 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20247 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20248 Remove conditional code.
20249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20250 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20251 Remove conditional code.
20252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20253 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20254 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20255 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20256 Remove conditional code.
20257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20258 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20259 Remove conditional code.
20260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20261 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20262 Remove conditional code.
20263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20264 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20265 Remove conditional code.
20266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20267 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20268 Remove conditional code.
20269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20270 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20271 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20273 * sysdeps/unix/sysv/linux/sigaction.c
20274 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20275 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20276 * sysdeps/unix/sysv/linux/sigpending.c
20277 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20278 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20279 * sysdeps/unix/sysv/linux/sigprocmask.c
20280 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20281 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20282 * sysdeps/unix/sysv/linux/sigsuspend.c
20283 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20284 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20285 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20286 (__libc_missing_rt_sigs): Remove.
20287 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20288 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20289 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20290 Remove conditional code.
20291 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20292 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20295 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20297 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20299 2012-05-14 Andreas Jaeger <aj@suse.de>
20301 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20302 it's not used in glibc.
20303 (__coshm1): Likewise.
20304 (__acosh1p): Likewise.
20307 * manual/string.texi (Copying and Concatenation): Add missing
20308 variable in concat example.
20309 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20311 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20315 __builtin_clzl with __builtin_clzll.
20317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20320 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20323 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20325 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20326 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20327 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20328 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20330 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20332 * NEWS: Update ia64 info.
20334 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20336 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20339 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20341 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20342 * sysdeps/unix/syscalls.list (dup3): Likewise.
20343 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20344 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20346 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20348 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20349 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20351 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20353 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20355 (TLS_IE): Use mov/add instead of movq/addq to load thread
20357 (TLS_GD_PREFIX): New.
20360 2012-05-11 David S. Miller <davem@davemloft.net>
20362 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20363 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20364 (_FPU_SETCW): Likewise.
20366 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20368 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20369 is 32-byte aligned.
20371 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20374 * iconvdata/gb18030.c: Update tables.
20375 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20376 characters specially.
20377 (BODY for TO_LOOP): Add encoding of missing ranges.
20379 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20382 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20383 * sysdeps/mach/hurd/dup3.c: Likewise.
20384 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20385 * sysdeps/powerpc/memmove.c:: Likewise.
20387 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20390 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20392 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20394 * elf/elf.h (R_X86_64_RELATIVE64): New.
20395 (R_X86_64_NUM): Updated.
20396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20397 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20398 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20399 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20400 tst-quad1pie tst-quad2pie
20401 (modules-names): Add tst-quadmod1 tst-quadmod2.
20402 ($(objpfx)tst-quad1): New dependency.
20403 ($(objpfx)tst-quad2): Likewise.
20404 ($(objpfx)tst-quad1pie): Likewise.
20405 ($(objpfx)tst-quad2pie): Likewise.
20406 * sysdeps/x86_64/tst-quad1.c: New file.
20407 * sysdeps/x86_64/tst-quad1pie.c: New file.
20408 * sysdeps/x86_64/tst-quad2.c: Likewise.
20409 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20410 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20411 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20412 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20413 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20415 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20417 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20418 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20419 * streams/stropts.h (t_scalar_t): Define type.
20421 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20422 (_PATH_PRESERVE): Set to "/var/lib".
20423 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20425 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20428 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20429 if __dir_mkfile succeeded.
20431 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20432 checking for _hurd_dtablesize. Unlock it right after having
20433 finished _hurd_dtable allocation.
20435 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20437 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20438 * sysdeps/mach/hurd/configure: Regenerated.
20439 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20440 special-casing to...
20441 * sysdeps/gnu/configure.in: ... this new file.
20442 * sysdeps/unix/sysv/linux/configure: Regenerated.
20443 * sysdeps/gnu/configure: New generated file.
20445 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20446 for Linux: use nsec instead of usec, as well as:
20447 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20448 members of type struct timespec.
20449 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20451 (struct stat64): Likewise.
20452 (_STATBUF_ST_NSEC): New macro.
20453 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20455 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20456 __strtoul_internal rather than strtoul.
20458 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20460 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20463 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20465 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20466 which preserves existing values.
20467 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20469 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20471 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20472 TIMEOUT values. Return EINVAL for NFDS values either negative or
20473 greater than FD_SETSIZE.
20475 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20477 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20478 allocated, call __vm_protect to finish enabling the existing space, and
20479 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20480 allocate the remainder.
20482 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20484 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20485 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20487 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20489 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20490 sysdeps/mach/hurd/readlink.c.
20492 * posix/tst-sysconf.c (posix_options): Only use
20493 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20494 _POSIX_SYNCHRONIZED_IO when they are defined
20495 * sysdeps/mach/hurd/bits/posix_opt.h:
20496 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20497 (_XOPEN_REALTIME): Undefine macro.
20498 (_XOPEN_REALTIME_THREADS): Undefine macro.
20499 (_XOPEN_SHM): Undefine macro.
20500 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20502 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20504 (_POSIX_ASYNC_IO): Undefine macro.
20505 (_POSIX_PRIORITIZED_IO): Undefine macro.
20506 (_POSIX_SPIN_LOCKS): Define macro to -1.
20508 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20509 SA_NODEFER, SA_RESETHAND.
20510 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20511 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20514 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20516 * elf/Makefile (pldd-modules): Define unconditionally.
20518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20520 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20522 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20524 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20525 Return ENOENT when name is empty.
20526 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20530 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20532 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20534 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20536 Fix mlock in all cases except non-readable pages.
20537 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20538 instead of VM_PROT_ALL as parameter to __vm_wire function.
20540 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20541 (__mkdir): When path is `/', just fail with EEXIST.
20542 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20546 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20547 <sys/uio.h> (for writev).
20548 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20549 and <sys/param.h> (for MIN).
20551 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20553 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20554 REQUESTED_TIME. Properly set the remaining time and return EINTR
20557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20559 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20560 Depend on against $(link-rpcuserlibs).
20562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20564 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20565 (__libc_stack_end): Do not use attribute_relro.
20566 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20567 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20568 to libthread-provided value.
20569 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20575 * bits/libc-lock.h (__libc_once_get): New macro.
20576 * sysdeps/mach/bits/libc-lock.h: Likewise.
20577 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20579 instead of using implementation details.
20581 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20582 * libio/freopen.c: Likewise.
20583 * libio/freopen64.c: Likewise.
20584 * misc/syslog.c: Likewise.
20585 * nscd/connections.c: Likewise.
20586 * nscd/netgroupcache.c: Likewise.
20587 * sysdeps/posix/getcwd.c: Likewise.
20589 2012-05-10 Roland McGrath <roland@hack.frob.com>
20591 * math/w_ilogbf.c: Add #include <limits.h>.
20593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20595 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20596 path instead of returning without unlocking.
20598 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20599 immediate-write ioctls.
20600 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20604 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20605 __builtin_frame_address instead of making assumptions about the
20606 location of the return address relative to DATA. Force early load of
20607 the return address.
20608 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20609 __builtin_frame_address.
20612 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20613 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20614 implement dup3 and do some further code clean-ups.
20615 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20616 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20620 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20622 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20623 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20624 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20625 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20626 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20629 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20630 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20631 when handler == SIG_ERR, not when handler != SIG_ERR.
20633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20635 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20636 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20639 accept4 for GNU Hurd.
20640 * include/sys/socket.h (__libc_accept4): New prototype.
20641 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20642 to implement __libc_accept4.
20643 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20645 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20647 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20648 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20649 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20650 signal-defines.sym.
20652 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20654 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20656 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20658 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20659 assertion on O_CLOEXEC flag.
20660 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20661 * hurd/intern-fd.c: Likewise.
20662 * hurd/port2fd.c: Likewise.
20664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20667 * bits/in.h (IPV6_PKTINFO): Define new macro.
20668 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20670 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20675 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20677 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20678 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20679 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20680 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20681 * math/libm-test.inc (logb_test) : Additional logb tests.
20683 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20684 Andreas Jaeger <aj@suse.de>
20686 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20687 * configure: Regenerated.
20688 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20689 * config.make.in (link-obsolete-rpc): New substituted variable.
20690 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20691 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20692 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20693 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20694 so that libc.a contains the symbols.
20695 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20696 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20697 * sunrpc/auth_none.c: Likewise.
20698 * sunrpc/auth_unix.c: Likewise.
20699 * sunrpc/authdes_prot.c: Likewise.
20700 * sunrpc/authuxprot.c: Likewise.
20701 * sunrpc/clnt_gen.c: Likewise.
20702 * sunrpc/clnt_perr.c: Likewise.
20703 * sunrpc/clnt_raw.c: Likewise.
20704 * sunrpc/clnt_simp.c: Likewise.
20705 * sunrpc/clnt_tcp.c: Likewise.
20706 * sunrpc/clnt_udp.c: Likewise.
20707 * sunrpc/clnt_unix.c: Likewise.
20708 * sunrpc/des_crypt.c: Likewise.
20709 * sunrpc/des_soft.c: Likewise.
20710 * sunrpc/get_myaddr.c: Likewise.
20711 * sunrpc/key_call.c: Likewise.
20712 * sunrpc/key_prot.c: Likewise.
20713 * sunrpc/netname.c: Likewise.
20714 * sunrpc/pm_getmaps.c: Likewise.
20715 * sunrpc/pm_getport.c: Likewise.
20716 * sunrpc/pmap_clnt.c: Likewise.
20717 * sunrpc/pmap_prot.c: Likewise.
20718 * sunrpc/pmap_prot2.c: Likewise.
20719 * sunrpc/pmap_rmt.c: Likewise.
20720 * sunrpc/publickey.c: Likewise.
20721 * sunrpc/rpc_cmsg.c: Likewise.
20722 * sunrpc/rpc_common.c: Likewise.
20723 * sunrpc/rpc_dtable.c: Likewise.
20724 * sunrpc/rpc_prot.c: Likewise.
20725 * sunrpc/rpc_thread.c: Likewise.
20726 * sunrpc/rtime.c: Likewise.
20727 * sunrpc/svc.c: Likewise.
20728 * sunrpc/svc_auth.c: Likewise.
20729 * sunrpc/svc_raw.c: Likewise.
20730 * sunrpc/svc_run.c: Likewise.
20731 * sunrpc/svc_tcp.c: Likewise.
20732 * sunrpc/svc_udp.c: Likewise.
20733 * sunrpc/svc_unix.c: Likewise.
20734 * sunrpc/svcauth_des.c: Likewise.
20735 * sunrpc/xcrypt.c: Likewise.
20736 * sunrpc/xdr.c: Likewise.
20737 * sunrpc/xdr_array.c: Likewise.
20738 * sunrpc/xdr_float.c: Likewise.
20739 * sunrpc/xdr_intXX_t.c: Likewise.
20740 * sunrpc/xdr_mem.c: Likewise.
20741 * sunrpc/xdr_rec.c: Likewise.
20742 * sunrpc/xdr_ref.c: Likewise.
20743 * sunrpc/xdr_sizeof.c: Likewise.
20744 * sunrpc/xdr_stdio.c: Likewise.
20746 2012-05-10 Roland McGrath <roland@hack.frob.com>
20748 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20749 change. Update copyright years.
20751 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20753 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20755 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20756 Joseph Myers <joseph@codesourcery.com>
20757 Paul Pluzhnikov <ppluzhnikov@google.com>
20760 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20762 [cross-compiling] (extra-libs): Likewise.
20763 [cross-compiling] (extra-libs-others): Likewise.
20764 [cross-compiling] (librpcsvc-routines): Likewise.
20765 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20766 [cross-compiling] (omit-deps): Likewise.
20767 (sunrpc-CPPFLAGS): New variable.
20768 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20769 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20770 (cross-rpcgen-objs): New variable.
20771 (extra-objs): Append $(cross-rpcgen-objs).
20772 ($(cross-rpcgen-objs)): New rule.
20773 ($(objpfx)cross-rpcgen): Likewise.
20774 (rpcgen-cmd): Define to use $(built-program-file). Expand
20776 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20777 ($(objpfx)x%.stmp): Likewise.
20778 * sunrpc/proto.h [IS_IN_build] (_): Define.
20779 [IS_IN_build] (_libc_intl_domainname): Likewise.
20781 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20784 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20785 and R_X86_64_TPOFF64.
20787 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20789 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20790 sysdeps/unix/sysv/syscalls.list.
20793 * sysdeps/unix/sysv/syscalls.list: Remove file.
20795 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20798 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20799 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20800 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20801 (__LC_IDENTIFICATION): Make these macros useful in #if
20802 expressions, as required by C99.
20804 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20806 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20807 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20810 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20812 * stdlib/longlong.h: Updated from GCC.
20814 2012-05-09 Andreas Jaeger <aj@suse.de>
20816 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20817 default is first entry.
20818 (run_mode): Set type.
20819 (main): Remove informal message about syslog.
20820 (options): Fix typo.
20823 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20826 (llrintf): Likewise.
20827 (llrint): Likewise.
20830 (nearbyint): Likewise.
20831 (nearbyintf): Likewise.
20833 2012-05-09 Andreas Jaeger <aj@suse.de>
20834 Pedro Alves <palves@redhat.com>
20836 * nscd/nscd.c (run_mode): Use enum.
20837 (main): Cleanup coding style issue.
20839 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20840 Andreas Jaeger <aj@suse.de>
20842 * nscd/nscd.c (go_background): Replaced with...
20843 (run_mode): ... this.
20844 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20845 (options): Add -F --foreground.
20846 (main): Implement it.
20847 (parse_opt): Parse it.
20849 2012-05-09 Andreas Jaeger <aj@suse.de>
20852 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20853 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20854 -Wconversion warning.
20855 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20858 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20860 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20862 (LC_ALL): Use macro-int-constant.
20863 (LC_COLLATE): Likewise.
20864 (LC_CTYPE): Likewise.
20865 (LC_MESSAGES): Likewise.
20866 (LC_MONETARY): Likewise.
20867 (LC_NUMERIC): Likewise.
20868 (LC_TIME): Likewise.
20869 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20870 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20872 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20874 [C99-based standards] (float_t): Expect type.
20875 [C99-based standards] (double_t): Expect type.
20876 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20878 [C99-based standards] (HUGE_VALL): Likewise.
20879 [C99-based standards] (INFINITY): Likewise.
20880 [C99-based standards] (NAN): Likewise.
20881 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20882 [C99-based standards] (FP_NAN): Likewise.
20883 [C99-based standards] (FP_NORMAL): Likewise.
20884 [C99-based standards] (FP_SUBNORMAL): Likewise.
20885 [C99-based standards] (FP_ZERO): Likewise.
20886 [C99-based standards] (FP_FAST_FMA): Use
20887 optional-macro-int-constant. Specify type. Require == 1.
20888 [C99-based standards] (FP_FAST_FMAF): Likewise.
20889 [C99-based standards] (FP_FAST_FMAL): Likewise.
20890 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20891 [C99-based standards] (FP_ILOGBNAN): Likewise.
20892 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20894 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20895 [C99-based standards] (math_errhandling): Specify type.
20896 [ISO99 || ISO11] (signgam): Do not allow.
20897 [non-C99-based standards] (copysignf): Do not allow.
20898 [non-C99-based standards] (exp2f): Likewise.
20899 [non-C99-based standards] (log2f): Likewise.
20900 [non-C99-based standards] (modff): Allow.
20901 [non-C99-based standards] (erff): Do not allow.
20902 [non-C99-based standards] (erfcf): Likewise.
20903 [non-C99-based standards] (gammaf): Likewise.
20904 [non-C99-based standards] (hypotf): Likewise.
20905 [non-C99-based standards] (j0f): Likewise.
20906 [non-C99-based standards] (j1f): Likewise.
20907 [non-C99-based standards] (jnf): Likewise.
20908 [non-C99-based standards] (lgammaf): Likewise.
20909 [non-C99-based standards] (tgammaf): Likewise.
20910 [non-C99-based standards] (y0f): Likewise.
20911 [non-C99-based standards] (y1f): Likewise.
20912 [non-C99-based standards] (ynf): Likewise.
20913 [non-C99-based standards] (isnanf): Likewise.
20914 [non-C99-based standards] (acoshf): Likewise.
20915 [non-C99-based standards] (asinhf): Likewise.
20916 [non-C99-based standards] (atanhf): Likewise.
20917 [non-C99-based standards] (cbrtf): Likewise.
20918 [non-C99-based standards] (expm1f): Likewise.
20919 [non-C99-based standards] (ilogbf): Likewise.
20920 [non-C99-based standards] (log1pf): Likewise.
20921 [non-C99-based standards] (logbf): Likewise.
20922 [non-C99-based standards] (nextafterf): Likewise.
20923 [non-C99-based standards] (remainderf): Likewise.
20924 [non-C99-based standards] (rintf): Likewise.
20925 [non-C99-based standards] (scalbf): Likewise.
20926 [non-C99-based standards] (copysignl): Likewise.
20927 [non-C99-based standards] (exp2l): Likewise.
20928 [non-C99-based standards] (log2l): Likewise.
20929 [non-C99-based standards] (modfl): Allow.
20930 [non-C99-based standards] (erfl): Do not allow.
20931 [non-C99-based standards] (erfcl): Likewise.
20932 [non-C99-based standards] (gammal): Likewise.
20933 [non-C99-based standards] (hypotl): Likewise.
20934 [non-C99-based standards] (j0l): Likewise.
20935 [non-C99-based standards] (j1l): Likewise.
20936 [non-C99-based standards] (jnl): Likewise.
20937 [non-C99-based standards] (lgammal): Likewise.
20938 [non-C99-based standards] (tgammal): Likewise.
20939 [non-C99-based standards] (y0l): Likewise.
20940 [non-C99-based standards] (y1l): Likewise.
20941 [non-C99-based standards] (ynl): Likewise.
20942 [non-C99-based standards] (isnanl): Likewise.
20943 [non-C99-based standards] (acoshl): Likewise.
20944 [non-C99-based standards] (asinhl): Likewise.
20945 [non-C99-based standards] (atanhl): Likewise.
20946 [non-C99-based standards] (cbrtl): Likewise.
20947 [non-C99-based standards] (expm1l): Likewise.
20948 [non-C99-based standards] (ilogbl): Likewise.
20949 [non-C99-based standards] (log1pl): Likewise.
20950 [non-C99-based standards] (logbl): Likewise.
20951 [non-C99-based standards] (nextafterl): Likewise.
20952 [non-C99-based standards] (remainderl): Likewise.
20953 [non-C99-based standards] (rintl): Likewise.
20954 [non-C99-based standards] (scalbl): Likewise.
20955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20956 [non-C99-based standards] (FP_*): Do not allow.
20957 [C99-based standards] (FP_*): Change to
20958 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20959 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20961 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20962 (SIG_ERR): Likewise.
20963 [X/Open-based standards] (SIG_HOLD): Likewise.
20964 (SIG_IGN): Likewise.
20965 (SIGABRT): Use macro-int-constant. Specify type. Require
20967 (SIGFPE): Likewise.
20968 (SIGILL): Likewise.
20969 (SIGINT): Likewise.
20970 (SIGSEGV): Likewise.
20971 (SIGTER): Likewise.
20972 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20973 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20974 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20975 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20976 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20977 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20978 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20979 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20980 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20981 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20982 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20983 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20984 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20985 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20986 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20987 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20988 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20989 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20990 [X/Open-based standards] (SIGTRAP): Likewise.
20991 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20992 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20993 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20994 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20995 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20998 2012-05-08 Ian Wienand <ianw@vmware.com>
21001 * time/tzset.c (__tzset_parse_tz): Update default rules for
21002 daylight time changes in the Energy Policy Act of 2005.
21004 2012-05-09 Andreas Jaeger <aj@suse.de>
21007 * elf/ldconfig.c (parse_conf): Change string to make clear that
21008 ldconfig only issued a warning if ld.so.conf does not exist.
21010 2012-05-08 David S. Miller <davem@davemloft.net>
21012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21013 movxtod instead of popping the value on the stack.
21015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21017 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21019 * config.h.in: Add HAVE_ARM_PCS_VFP.
21021 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21024 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21025 checking but the checks are disabled for any reason.
21027 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21029 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21030 and ELF64_R_TYPE with ELFW(R_TYPE).
21032 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21034 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21035 (ulimit): Likewise.
21037 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21038 (settimeofday): Likewise.
21040 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21042 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21043 a struct th_u2 inside the union, and move tu_block/tu_code into
21044 a new th_u3 union of tu_block/tu_code inside of that. Move
21045 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21046 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21047 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21048 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21049 (th_stuff): Change to th_u1.tu_stuff.
21051 (th_msg): Change to th_u1.th_u2.tu_data.
21053 2012-05-07 David S. Miller <davem@davemloft.net>
21055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21058 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21059 (SETUP_PIC_REG): Use it.
21060 (SETUP_PIC_REG_LEAF): Use it.
21062 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21068 (EXPL_FINITE): Likewise.
21069 (FLDLOG): Likewise.
21070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21071 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21073 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21075 (EXPL_FINITE): Likewise.
21076 (FLDLOG): Likewise.
21077 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21078 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21080 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21081 test of -max_value argument for long double.
21082 * sysdeps/i386/fpu/libm-test-ulps: Update.
21083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21085 2012-05-06 David S. Miller <davem@davemloft.net>
21087 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21088 quad soft-float symbols whose references which are compiler
21090 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21092 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21096 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21098 (EXPL_FINITE): Likewise.
21099 (FLDLOG): Likewise.
21102 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21103 Adjust comments for base varying.
21104 (__expl_finite): Change alias to EXPL_FINITE.
21105 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21107 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21108 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21109 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21110 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21111 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21113 (EXPL_FINITE): Likewise.
21114 (FLDLOG): Likewise.
21117 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21118 Adjust comments for base varying.
21119 (__expl_finite): Change alias to EXPL_FINITE.
21120 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21125 * math/libm-test.inc (check_float_internal): Correct ulp
21126 calculation for subnormal expected results.
21128 2012-05-06 Andreas Jaeger <aj@suse.de>
21130 * Makeconfig (+math-flags): New, set to -frounding-math.
21131 (+cflags): Add +math-flags so that all of glibc gets compiled with
21134 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21136 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21138 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21144 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21145 (__ieee754_expl): Allow for and saturate large arguments.
21146 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21147 (u_threshold): Likewise.
21148 (__exp): Call __ieee754_exp before checking for overflow and
21150 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21151 (u_threshold): Likewise.
21152 (__expf): Call __ieee754_expf before checking for overflow and
21154 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21155 (u_threshold): Likewise.
21156 (__expl): Call __ieee754_expl before checking for overflow and
21158 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21159 (__ieee754_expl): Allow for and saturate large arguments.
21160 * math/libm-test.inc (exp_test): Add another test. Do not allow
21161 missing overflow exception on overflow.
21162 (expm1_test): Do not allow missing overflow exception on overflow.
21164 * sysdeps/i386/fpu/e_expl.c: Move to ...
21165 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21166 rather than using inline asm.
21167 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21168 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21169 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21171 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21174 (signal): Likewise.
21178 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21180 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21181 sysdeps/unix/common/syscalls.list.
21182 (fchmod): Likewise.
21183 (fchown): Likewise.
21184 (ftruncate): Likewise.
21185 (getrusage): Likewise.
21186 (gettimeofday): Likewise.
21187 (setpgid): Likewise.
21188 (setregid): Likewise.
21189 (setreuid): Likewise.
21190 (sigaction): Likewise.
21191 (truncate): Likewise.
21192 (vhangup): Likewise.
21193 * sysdeps/unix/common/syscalls.list: Remove file.
21194 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21195 * sysdeps/unix/sysv/linux/Implies: Likewise.
21197 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21199 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21201 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21205 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21208 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21211 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21214 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21217 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21220 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21223 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21227 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21231 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21234 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21238 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21242 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21244 * sysdeps/unix/common/bits/dirent.h: Remove file.
21245 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21247 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21248 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21249 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21250 * sysdeps/unix/bsd/isatty.c: Likewise.
21251 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21252 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21253 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21255 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21258 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21259 long double comparison inaccuracies.
21260 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21263 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21265 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21268 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21271 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21272 nonzero digits before rounding a hex value.
21273 * stdlib/tst-strtod.c (tests): Add another test.
21275 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21277 * sysdeps/s390/fpu/libm-test-ulps: Update.
21279 2012-05-03 Andreas Jaeger <aj@suse.de>
21281 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21282 does not get optimized out.
21283 (malloc_opt_barrier): New.
21285 2012-05-03 Andreas Jaeger <aj@suse.de>
21286 Roland McGrath <roland@hack.frob.com>
21288 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21289 intermediate file deletion.
21290 (generated): Add .symlist files.
21292 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21295 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21296 Redirect under this condition.
21297 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21298 [__USE_GNU] (__dprintf_chk): Not under this condition.
21299 [__USE_GNU] (__vdprintf_chk): Likewise.
21300 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21301 under this condition.
21302 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21303 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21304 [__USE_XOPEN2K8] (vdprintf): Likewise.
21305 [__USE_GNU] (__dprintf_chk): Not under this condition.
21306 [__USE_GNU] (__vdprintf_chk): Likewise.
21307 [__USE_GNU] (dprintf): Likewise.
21308 [__USE_GNU] (vdprintf): Likewise.
21310 2012-05-03 Roland McGrath <roland@hack.frob.com>
21312 * elf/Makefile (common-generated): Set this instead of generated for
21313 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21314 $(all-built-dso)-derived lists.
21316 2012-05-03 Andreas Jaeger <aj@suse.de>
21318 * sysdeps/i386/fpu/libm-test-ulps: Update.
21321 * FAQ.in: Likewise.
21322 * scripts/gen-FAQ.pl: Likewise.
21323 * manual/install.texi (Installation): Point to online location of
21325 * Makefile (files-for-dist): Remove FAQ.
21328 2012-05-02 Allan McRae <allan@archlinux.org>
21330 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21331 (LDFLAGS-reldepmod5.so): Likewise.
21332 (LDFLAGS-reldep6mod1.so): Likewise.
21333 (LDFLAGS-reldep6mod4.so): Likewise.
21334 (LDFLAGS-reldep8mod3.so): Likewise.
21335 (LDFLAGS-unload4mod1.so): Likewise.
21336 (LDFLAGS-unload4mod2.so): Likewise.
21337 (LDFLAGS-tst-initorder): Likewise.
21338 (LDFLAGS-tst-initordera2.so): Likewise.
21339 (LDFLAGS-tst-initordera3.so): Likewise.
21340 (LDFLAGS-tst-initordera4.so): Likewise.
21341 (LDFLAGS-tst-initorderb2.so): Likewise.
21342 (LDFLAGS-noload): Likewise.
21343 (LDFLAGS-next): Likewise.
21344 (LDFLAGS-order2mod1.so): Likewise.
21345 (LDFLAGS-order2mod2.so): Likewise.
21346 (LDFLAGS-tst-initorder2): Likewise.
21347 (LDFLAGS-tst-initorder2a.so): Likewise.
21348 (LDFLAGS-tst-initorder2b.so): Likewise.
21349 (LDFLAGS-tst-initorder2c.so): Likewise.
21350 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21352 2012-05-02 David S. Miller <davem@davemloft.net>
21354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21356 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21359 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21361 2012-05-02 Andreas Jaeger <aj@suse.de>
21363 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21364 since we manipulate rounding mode.
21365 (CPPFLAGS-test-idouble.c): Likewise.
21366 (CPPFLAGS-test-ifloat.c): Likewise.
21367 (CFLAGS-test-ldouble.c): Likewise.
21368 (CFLAGS-test-double.c): Likewise.
21369 (CFLAGS-test-float.c): Likewise.
21370 (CFLAGS-test-misc.c): Likewise.
21371 (CFLAGS-test-test-fenv.c): Likewise.
21373 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21377 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21378 comparisons to determine direction to adjust input.
21380 2012-05-01 Roland McGrath <roland@hack.frob.com>
21382 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21383 output to the target.
21385 * scripts/localplt.awk: New file.
21386 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21387 (check-localplt-CFLAGS): Variable removed.
21388 ($(all-built-dso:=.jmprel)): New static pattern rule.
21389 (generated): Add those targets.
21390 (localplt-built-dso): New variable.
21391 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21393 * elf/check-localplt.c: File removed.
21395 * scripts/check-execstack.awk: New file.
21396 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21397 (check-execstack-CFLAGS): Variable removed.
21398 ($(objpfx)check-execstack.h): Target removed.
21399 ($(objpfx)execstack-default): New target.
21400 (generated): Add that instead of check-execstack.h.
21401 ($(all-built-dso:=.phdr)): New static pattern rule.
21402 (generated): Add those targets.
21403 * elf/check-execstack.c: File removed.
21405 * scripts/check-textrel.awk: New file.
21406 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21407 (check-textrel-CFLAGS): Variable removed.
21408 (all-built-dso): Use := to define.o
21409 ($(all-built-dso:=.dyn)): New static pattern rule.
21410 (generated): Add those targets.
21411 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21412 * config.make.in (READELF): New substituted variable.
21413 * elf/check-textrel.c: File removed.
21415 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21417 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21419 * conform/data/ctype.h-data [C99-based standards] (isblank):
21421 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21422 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21424 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21425 Specify type. Require positive value.
21426 (EILSEQ): Likewise.
21427 (ERANGE): Likewise.
21428 [ISO || POSIX] (EILSEQ): Do not expect.
21429 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21430 Specify type. Require positive value.
21431 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21432 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21433 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21434 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21435 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21436 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21437 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21438 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21439 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21440 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21441 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21442 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21443 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21444 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21445 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21446 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21447 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21448 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21449 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21450 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21451 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21452 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21453 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21454 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21455 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21456 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21457 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21458 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21459 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21460 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21461 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21462 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21463 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21464 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21465 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21466 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21467 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21468 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21469 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21470 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21471 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21472 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21473 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21474 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21475 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21476 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21477 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21478 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21479 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21480 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21481 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21482 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21483 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21484 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21485 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21486 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21487 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21488 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21489 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21490 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21491 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21492 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21493 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21494 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21495 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21496 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21497 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21498 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21499 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21500 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21501 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21502 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21503 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21504 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21505 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21506 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21507 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21509 (FLT_ROUNDS): Expect as macro, not constant.
21510 (FLT_MANT_DIG): Use macro-int-constant.
21511 (DBL_MANT_DIG): Likewise.
21512 (LDBL_MANT_DIG): Likewise.
21513 (FLT_DIG): Likewise.
21514 (DBL_DIG): Likewise.
21515 (LDBL_DIG): Likewise.
21516 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21517 (DBL_MIN_EXP): Likewise.
21518 (LDBL_MIN_EXP): Likewise.
21519 (FLT_MAX_EXP): Use macro-int-constant.
21520 (DBL_MAX_EXP): Likewise.
21521 (LDBL_MAX_EXP): Likewise.
21522 (FLT_MAX_10_EXP): Likewise.
21523 (DBL_MAX_10_EXP): Likewise.
21524 (LDBL_MAX_10_EXP): Likewise.
21525 (FLT_MAX): Use macro-constant.
21526 (DBL_MAX): Likewise.
21527 (LDBL_MAX): Likewise.
21528 (FLT_EPSILON): Use macro-constant. Give upper bound.
21529 (DBL_EPSILON): Likewise.
21530 (LDBL_EPSILON): Likewise.
21531 (FLT_MIN): Likewise.
21532 (DBL_MIN): Likewise.
21533 (LDBL_MIN): Likewise.
21534 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21535 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21536 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21537 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21538 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21539 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21540 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21541 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21542 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21543 [ISO11] (FLT_TRUE_MIN): Likewise.
21544 [ISO11] (LDBL_TRUE_MIN): Likewise.
21545 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21546 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21547 (SCHAR_MIN): Use macro-int-constant. Specify type.
21548 (SCHAR_MAX): Likewise.
21549 (UCHAR_MAX): Likewise.
21550 (CHAR_MIN): Likewise.
21551 (CHAR_MAX): Likewise.
21552 (MB_LEN_MAX): Use macro-int-constant.
21553 (SHRT_MIN): Use macro-int-constant. Specify type.
21554 (SHRT_MAX): Likewise.
21555 (USHRT_MAX): Likewise.
21556 (INT_MAX): Likewise.
21557 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21559 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21561 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21563 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21564 bound negative. Suffix upper bound with "L".
21565 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21567 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21569 [C99-based standards] (LLONG_MAX): Likewise.
21570 [C99-based standards] (ULLONG_MAX): Likewise.
21571 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21573 [ISO11] (max_align_t): Require type.
21574 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21576 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21577 from $CFLAGS, without defining away __attribute__ calls.
21578 (checknamespace): Use $CFLAGS_namespace.
21580 * conform/conformtest.pl (@keywords): Only include C99 keywords
21581 for standards based on C99 or C11.
21583 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21585 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21588 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21589 usability of symbols in #if.
21591 * conform/conformtest.pl: If macro or constant types start
21592 "promoted:", expect the symbol to be of the following type
21593 promoted by the integer promotions.
21595 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21596 in one place. Also handle "macro-constant".
21598 * conform/conformtest.pl: Only accept expected macro values with
21599 "==". Parse all "macro" lines in one place.
21600 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21602 * conform/conformtest.pl: Handle braced types on "constant" lines
21603 instead of handling "typed-constant".
21604 * conform/data/signal.h-data: Use "constant" instead of
21607 * conform/conformtest.pl: Handle "optional-" at start of lines in
21608 one place rather than duplicating several cases. Handle each
21609 format of "macro" line with initial "optional-".
21611 * conform/conformtest.pl: Only accept expected constant or
21612 optional-constant values with "==". Parse all "constant" lines in
21613 one place. Parse all "optional-constant" lines in one place.
21614 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21615 * conform/data/fmtmsg.h-data: Likewise.
21616 * conform/data/netinet/in.h-data: Likewise.
21617 * conform/data/tar.h-data: Likewise.
21618 * conform/data/limits.h-data: Use "==" form on "constant" and
21619 "optional-constant" lines.
21621 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21622 Use -std=c99 for XOPEN2K.
21623 (@knownproblems): Remove.
21624 (newtoken): Don't check %isknown.
21626 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21627 Do not expect macro.
21628 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21629 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21630 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21631 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21632 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21633 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21634 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21635 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21636 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21637 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21638 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21639 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21640 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21641 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21642 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21643 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21644 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21645 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21646 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21647 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21648 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21649 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21650 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21651 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21652 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21653 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21654 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21655 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21656 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21657 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21658 [XPG3] (acosh): Likewise.
21659 [XPG3] (asinh): Likewise.
21660 [XPG3] (atanh): Likewise.
21661 [XPG3] (cbrt): Likewise.
21662 [XPG3] (expm1): Likewise.
21663 [XPG3] (ilogb): Likewise.
21664 [XPG3] (log1p): Likewise.
21665 [XPG3] (logb): Likewise.
21666 [XPG3] (nextafter): Likewise.
21667 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21668 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21669 [XPG3] (remainder): Likewise.
21670 [XPG3] (rint): Likewise.
21671 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21672 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21673 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21674 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21675 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21676 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21677 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21678 [UNIX98 || XOPEN2K] (scalb): Expect.
21679 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21680 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21681 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21682 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21683 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21684 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21685 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21686 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21687 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21688 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21689 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21690 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21691 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21692 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21693 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21694 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21695 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21696 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21697 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21698 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21699 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21700 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21701 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21702 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21703 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21704 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21705 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21706 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21707 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21708 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21709 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21710 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21711 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21712 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21713 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21714 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21715 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21716 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21717 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21718 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21719 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21720 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21721 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21722 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21723 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21724 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21725 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21726 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21727 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21728 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21729 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21730 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21731 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21732 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21733 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21734 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21735 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21736 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21737 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21738 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21739 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21740 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21741 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21742 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21743 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21744 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21745 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21746 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21747 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21748 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21749 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21750 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21751 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21752 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21753 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21754 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21755 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21756 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21757 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21758 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21759 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21760 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21761 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21762 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21763 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21764 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21765 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21766 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21767 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21768 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21769 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21770 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21771 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21772 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21773 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21774 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21775 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21776 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21777 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21778 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21779 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21780 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21781 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21782 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21783 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21784 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21785 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21786 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21787 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21788 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21789 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21790 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21791 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21792 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21793 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21794 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21795 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21796 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21797 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21798 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21799 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21800 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21801 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21802 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21803 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21804 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21805 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21806 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21807 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21808 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21809 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21810 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21811 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21812 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21813 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21814 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21815 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21817 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21818 _XOPEN_SOURCE_EXTENDED for XPG4.
21820 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21822 * Makeconfig (localtime): Remove variable.
21823 (inst_localtime-file): Likewise.
21825 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21846 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21850 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21851 comparisons to determine direction to adjust input.
21852 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21853 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21854 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21856 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21858 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21860 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21861 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21863 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21865 * math/libm-test.inc (nexttoward_test): Add more tests.
21867 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21870 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21871 in version GLIBC_2.1, not GLIBC_2.0.
21872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21875 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21878 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21880 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21881 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21882 * math/libm-test.inc (acos_test): Add more tests.
21883 (asin_test): Likewise.
21884 * sysdeps/i386/fpu/libm-test-ulps: Update.
21885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21888 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21890 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21891 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21892 * math/libm-test.inc (acos_test_tonearest): New function.
21893 (acos_test_towardzero): Likewise.
21894 (acos_test_downward): Likewise.
21895 (acos_test_upward): Likewise.
21896 (asin_test_tonearest): Likewise.
21897 (asin_test_towardzero): Likewise.
21898 (asin_test_downward): Likewise.
21899 (asin_test_upward): Likewise.
21900 (main): Call the new functions.
21901 * sysdeps/i386/fpu/libm-test-ulps: Update.
21902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21906 * math/e_exp10.c: Include <float.h>.
21907 (__ieee754_exp10): Handle underflow here rather than multiplying
21908 large negative argument by M_LN10.
21909 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21911 * math/e_exp10l.c: Include <float.h>.
21912 (__ieee754_exp10l): Handle underflow here rather than multiplying
21913 large negative argument by M_LN10l.
21914 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21915 spurious overflow exception on underflow.
21917 2012-04-29 Marek Polacek <polacek@redhat.com>
21919 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21920 (__fortify_function): New macro.
21921 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21922 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21923 __extern_always_inline.
21924 * libio/bits/stdio2.h: Likewise.
21925 * libio/bits/stdio.h: Likewise.
21926 * string/string.h: Likewise.
21927 * string/bits/string3.h: Likewise.
21928 * include/stdio.h: Likewise.
21929 * stdlib/bits/stdlib.h: Likewise.
21930 * stdlib/stdlib.h: Likewise.
21931 * rt/bits/mqueue2.h: Likewise.
21932 * rt/mqueue.h: Likewise.
21933 * posix/bits/unistd.h: Likewise.
21934 * posix/unistd.h: Likewise.
21935 * io/bits/poll2.h: Likewise.
21936 * io/bits/fcntl2.h: Likewise.
21937 * io/fcntl.h: Likewise.
21938 * io/sys/poll.h: Likewise.
21939 * misc/bits/syslog.h: Likewise.
21940 * misc/bits/syslog-ldbl.h: Likewise.
21941 * misc/sys/syslog.h: Likewise.
21942 * socket/bits/socket2.h: Likewise.
21943 * socket/sys/socket.h: Likewise.
21944 * debug/tst-chk1.c: Likewise.
21945 * wcsmbs/bits/wchar2.h: Likewise.
21946 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21947 * wcsmbs/wchar.h: Likewise.
21949 2012-04-29 Andreas Jaeger <aj@suse.de>
21951 * Makerules (tests): Remove enable-check-abi protection.
21952 (check-abi-warn): Remove.
21953 (check-abi-%): Remove check-abi-warn usage.
21955 * configure.in: Remove check-abi configure option.
21956 * configure: Regenerated.
21957 * config.make.in (enable-check-abi): Remove.
21959 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21962 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21963 double functions to double *_finite functions.
21966 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21967 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21969 * stdio-common/Makefile (tests): Add tst-sprintf3.
21970 * stdio-common/tst-sprintf3.c: New file.
21972 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21973 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21975 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21977 * conform/conformtest.pl: Remove duplicate typed-constant
21980 2012-04-28 David S. Miller <davem@davemloft.net>
21982 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21983 (check-abi-%): Remove AWK script prerequisite and explicit
21985 (check-abi): Rewrite to just diff the symlist with the abilist.
21986 (config-tls, config-abi-config): Delete, no longer used.
21987 (update-abi-%): Remove AWK script and explicit abilist directory.
21988 (update-abi): Rewrite to simply compare and conditionally copy the
21989 symlist and the sysdep abilist file. Remove update-abi-config
21991 * abilist/ld.abilist: Remove.
21992 * abilist/libBrokenLocale.abilist: Remove.
21993 * abilist/libanl.abilist: Remove.
21994 * abilist/libcrypt.abilist: Remove.
21995 * abilist/libdl.abilist: Remove.
21996 * abilist/librt.abilist: Remove.
21997 * abilist/libthread_db.abilist: Remove.
21998 * abilist/libutil.abilist: Remove.
21999 * scripts/extract-abilist.awk: Remove.
22000 * scripts/merge-abilist.awk: Remove.
22001 * sysdeps/generic/libcidn.abilist: New file.
22002 * sysdeps/generic/libnss_compat.abilist: New file.
22003 * sysdeps/generic/libnss_db.abilist: New file.
22004 * sysdeps/generic/libnss_dns.abilist: New file.
22005 * sysdeps/generic/libnss_files.abilist: New file.
22006 * sysdeps/generic/libnss_hesiod.abilist: New file.
22007 * sysdeps/generic/libnss_nis.abilist: New file.
22008 * sysdeps/generic/libnss_nisplus.abilist: New file.
22009 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22010 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22011 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22014 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22015 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22016 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22017 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22018 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22019 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22020 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22021 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22023 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22024 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22025 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22026 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22028 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22029 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22030 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22031 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22032 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22033 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22035 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22036 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22037 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22039 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22142 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22143 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22144 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22147 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22148 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22149 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22150 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22151 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22152 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22153 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22154 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22155 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22207 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22209 * conform/conformtest.pl: Fix typo in handling typed-constant from
22212 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22214 * README: Cut down references to pre-2.6 Linux kernels and
22215 Linuxthreads. Update lists of configurations in libc and ports
22216 and sort alphabetically. Say "or newer" with Linux kernel version
22219 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22221 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22224 * math/libm-test.inc (logb_test_downward): New test to expose
22225 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22228 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22231 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22233 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22234 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22236 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22238 * sysdeps/unix/i386/brk.S: Remove file.
22239 * sysdeps/unix/i386/dl-brk.S: Likewise.
22240 * sysdeps/unix/i386/pipe.S: Likewise.
22241 * sysdeps/unix/i386/sigreturn.S: Likewise.
22242 * sysdeps/unix/i386/syscall.S: Likewise.
22243 * sysdeps/unix/i386/vfork.S: Likewise.
22244 * sysdeps/unix/i386/wait.S: Likewise.
22246 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22247 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22249 * configure.in (arm*-none*): Do not allow without
22250 --enable-hacker-mode.
22251 (netbsd*): Remove case setting base_os.
22252 (386bsd*): Likewise.
22253 (freebsd*): Likewise.
22256 (sunos*): Likewise.
22257 (ultrix*): Likewise.
22258 (newsos*): Likewise.
22259 (dynix*): Likewise.
22265 (minix*): Likewise.
22266 (irix4*): Likewise.
22267 (irix6*): Likewise.
22268 (solaris[2-9]*): Likewise.
22270 * configure: Regenerated.
22272 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22275 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22276 overflow or cancellation in calculating denominator.
22277 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22279 down expression to avoid unexpected rounding in newer GCCs.
22280 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22282 2012-04-26 David S. Miller <davem@davemloft.net>
22284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22285 long-double compat symbols.
22286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22300 2012-04-25 David S. Miller <davem@davemloft.net>
22302 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22303 HWCAP_* values only after the memory barriers have been defined.
22304 (atomic_full_barrier): Define.
22305 (atomic_read_barrier): Define.
22306 (atomic_write_barrier): Define.
22308 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22310 * shlib-versions: Add libgcc_s version information.
22311 * sysdeps/generic/libgcc_s.h: Remove.
22312 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22314 * sysdeps/gnu/unwind-resume.c: Likewise.
22315 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22317 2012-04-25 David S. Miller <davem@davemloft.net>
22319 * sysdeps/unix/sparc/brk.S: Delete.
22320 * sysdeps/unix/sparc/dl-brk.S: Delete.
22321 * sysdeps/unix/sparc/pipe.S: Delete.
22322 * sysdeps/unix/sparc/sysdep.S: Delete.
22323 * sysdeps/unix/sparc/sysdep.h: Delete.
22324 * sysdeps/unix/sparc/vfork.S: Delete.
22325 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22326 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22327 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22328 ret_ERRVAL, r0, r1, MOVE): Define.
22329 (JUMPTARGET): Remove.
22330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22331 sysdeps/unix/sparc/sysdep.h
22332 (ENTRY, END): Remove.
22333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22335 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22337 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22338 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22341 * timezone/README: Update upstream location and email address for
22343 * timezone/zdump.c: Update from tzcode 2012b.
22344 * timezone/zic.c: Likewise.
22346 * configure.in (libc_cv_as_needed): Remove test.
22347 * configure: Regenerated.
22348 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22349 conditional definition.
22350 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22351 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22352 * config.make.in (have-as-needed): Remove variable.
22354 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22355 Paul Pluzhnikov <ppluzhnikov@google.com>
22357 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22360 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22362 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22363 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22364 * sysdeps/sh/strlen.S: Likewise.
22366 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22368 * sysdeps/unix/fork.S: Remove file.
22369 * sysdeps/unix/i386/fork.S: Likewise.
22370 * sysdeps/unix/sparc/fork.S: Likewise.
22372 * sysdeps/unix/system.c: Remove file.
22373 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22375 * sysdeps/unix/getegid.S: Remove file.
22376 * sysdeps/unix/geteuid.S: Likewise.
22378 2012-04-24 Roland McGrath <roland@hack.frob.com>
22380 * scripts/check-localplt.awk: New file.
22381 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22383 * scripts/data/localplt-generic.data: Add a comment.
22385 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22386 NODE when __dir_mkfile failed.
22387 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22388 Reported by Ludovic Courtès <ludo@gnu.org>.
22390 2012-04-24 Andreas Jaeger <aj@suse.de>
22392 * Makerules (common-clean): Also remove gen-as-const-headers
22395 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22397 * Makerules (native-compile): Do not change working directory for
22398 build. Use $(OUTPUT_OPTION) in command.
22399 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22401 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22404 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22405 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22406 * math/libm-test.inc (floor_test): Add more tests.
22407 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22409 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22411 * sysdeps/unix/getdents.c: Remove file.
22412 * sysdeps/unix/sysv/getdents.c: Likewise.
22413 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22415 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22416 sysdeps/unix/mman/syscalls.list.
22418 (mprotect): Likewise.
22420 (munmap): Likewise.
22421 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22422 * sysdeps/unix/mman/syscalls.list: Remove.
22423 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22425 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22426 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22427 * configure: Regenerated.
22428 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22429 $(libgcc_s_suffix).
22430 * config.make.in (libgcc_s_suffix): Remove variable.
22432 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22434 * sysdeps/unix/sysv/gethostname.c: Move to ...
22435 * sysdeps/posix/gethostname.c: ... here.
22437 * sysdeps/unix/execve.S: Remove file.
22439 * sysdeps/unix/_exit.S: Remove file.
22441 2012-04-23 Andreas Jaeger <aj@suse.de>
22444 * manual/Makefile: Remove make dist support, there's no
22445 need for a stand-alone documentation tar ball.
22446 (TEXI2DVI): Define always, it's not in Makeconfig.
22449 (edition): Removed.
22450 (glibc-doc-$(edition).tar): Removed
22454 (ETAGS): Remove, it's in Makeconfig.
22455 (move-if-change): Remove, it's in Makeconfig.
22457 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22460 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22461 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22462 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22463 (strtod_l, strtof_l, strtold_l): Remove __wur.
22464 It is not necessarily an error to ignore strtol's return value.
22465 One can reliably look at the stored endptr to decide whether
22466 the number had valid syntax.
22468 2012-04-21 Andreas Jaeger <aj@suse.de>
22471 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22473 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22475 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22476 * sysdeps/unix/sysv/Versions: Remove file.
22478 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22483 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22486 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22487 version from __vm86.
22489 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22491 * sysdeps/unix/common/lxstat.c: Remove file.
22492 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22494 * sysdeps/unix/sysv/Makefile: Remove file.
22496 * sysdeps/unix/sysv/direct.h: Remove file.
22498 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22499 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22500 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22501 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22502 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22503 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22504 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22506 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22508 * sysdeps/unix/xmknod.c: Remove file.
22509 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22511 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22513 * sysdeps/unix/sysv/i386/time.S: Remove file.
22515 * sysdeps/unix/fxstat.c: Remove file.
22516 * sysdeps/unix/xstat.c: Likewise.
22517 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22519 * sysdeps/unix/sysv/sigaction.c: Remove file.
22521 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22522 (sysdep_headers): Remove variable.
22523 [termio.h not in sysdep_headers] (generated): Likewise.
22524 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22525 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22526 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22527 * sysdeps/unix/sysv/tcflow.c: Likewise.
22528 * sysdeps/unix/sysv/tcflush.c: Likewise.
22529 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22530 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22531 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22532 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22533 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22535 * sysdeps/unix/siglist.c: Remove file.
22537 * sysdeps/unix/getppid.S: Remove file.
22539 * sysdeps/unix/mkdir.c: Remove file.
22540 * sysdeps/unix/rmdir.c: Likewise.
22542 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22544 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22546 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22547 errlist-compat value.
22549 2012-04-18 David S. Miller <davem@davemloft.net>
22551 * sysdeps/generic/memcopy.h (reg_char): Delete.
22552 * debug/strcat_chk.c: Use char, not reg_char.
22553 * debug/strcpy_chk.c: Likewise.
22554 * debug/strncat_chk.c: Likewise.
22555 * debug/strncpy_chk.c: Likewise.
22556 * string/memchr.c: Likewise.
22557 * string/memrchr.c: Likewise.
22558 * string/rawmemchr.c: Likewise.
22559 * string/strcat.c: Likewise.
22560 * string/strchr.c: Likewise.
22561 * string/strchrnul.c: Likewise.
22562 * string/strcmp.c: Likewise.
22563 * string/strcpy.c: Likewise.
22564 * string/strncat.c: Likewise.
22565 * string/strncmp.c: Likewise.
22566 * string/strncpy.c: Likewise.
22568 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22570 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22571 __builtin_memcopy is called when src and dest ranges are known to not
22574 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22576 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22577 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22578 fwd_align_merge macro call.
22579 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22580 bwd_align_merge macro call.
22581 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22583 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22585 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22586 bwd_align_merge macros.
22587 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22588 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22589 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22591 2012-04-18 David S. Miller <davem@davemloft.net>
22593 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22595 2012-04-18 Andreas Jaeger <aj@suse.de>
22598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22599 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22600 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22602 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22603 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22604 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22606 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22607 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22608 Adjust for changed ldbl-128 files.
22610 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22611 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22612 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22614 2012-04-17 David S. Miller <davem@davemloft.net>
22616 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22618 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22620 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22621 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22622 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22623 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22625 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22627 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22630 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22631 * math/libm-test.inc: Add ilogb errno and exception tests.
22632 * math/w_ilogb.c: New file: ilogb wrapper.
22633 * math/w_ilogbf.c: New file: ilogbf wrapper.
22634 * math/w_ilogbl.c: New file: ilogbl wrapper.
22635 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22636 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22637 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22638 exception being thrown with 0.0 as argument.
22639 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22640 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22641 exception being thrown with 0.0 as argument.
22642 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22643 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22644 exception being thrown with 0.0 as argument.
22645 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22646 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22647 exception being thrown with 0.0 as argument.
22648 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22649 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22650 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22651 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22653 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22654 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22655 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22656 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22658 2012-04-17 Petr Baudis <pasky@ucw.cz>
22660 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22663 2012-04-16 Marek Polacek <polacek@redhat.com>
22665 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22667 2012-04-16 Marek Polacek <polacek@redhat.com>
22669 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22670 operands of fdivp instruction.
22672 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22674 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22675 * elf/tst-auditmod3b.c: Likewise.
22676 * elf/tst-auditmod4b.c: Likewise.
22677 * elf/tst-auditmod5b.c: Likewise.
22678 * elf/tst-auditmod6b.c: Likewise.
22679 * elf/tst-auditmod6c.c: Likewise.
22680 * elf/tst-auditmod7b.c: Likewise.
22681 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22682 * sysdeps/x86_64/preconfigure.in: Likewise.
22683 * sysdeps/x86_64/preconfigure: Regenerated.
22685 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22687 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22690 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22692 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22693 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22695 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22698 * locale/iso-639.def: Fix gl language name. Spotted by
22701 2012-04-12 Roland McGrath <roland@hack.frob.com>
22704 * libio/libio.h (__io_write_fn): Update comment.
22706 2012-04-12 Petr Baudis <pasky@ucw.cz>
22709 * stdio.texi (Hook Functions): The user provided writer function
22710 is not allowed to return -1.
22712 2012-04-11 David S. Miller <davem@davemloft.net>
22714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22716 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22718 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22719 Add a leading slash to rtkaio.
22721 2012-04-11 Jim Meyering <meyering@redhat.com>
22724 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22725 It is not necessarily an error to ignore fwrite's return
22726 value. One can reliably use ferror to test for errors after
22729 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22731 * bits/types.h (__snseconds_t): New type.
22732 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22734 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22736 (__SNSECONDS_T_TYPE): Likewise.
22737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22738 (__SNSECONDS_T_TYPE): Likewise.
22739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22740 (__SNSECONDS_T_TYPE): Likewise.
22742 2012-04-10 Andreas Jaeger <aj@suse.de>
22745 * manual/time.texi (Processor Time): Return type of times is
22746 elapsed real time since an arbitrary point in the past.
22747 (CPU Time): Move CLK_TCK from here...
22748 (Processor Time): ...to here. Correct description.
22749 * manual/conf.texi (Constants for Sysconf): Correct description of
22752 2012-04-10 David S. Miller <davem@davemloft.net>
22755 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22756 where the is a gap between DT_REL(A) and DT_JMPREL.
22758 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22760 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22761 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22762 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22764 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22766 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22767 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22768 (dl_main): Handle --inhibit-cache.
22769 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22771 * elf/dl-load.c (_dl_map_object): Use it.
22772 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22774 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22777 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22778 (__ieee754_powl): Saturate large exponents rather than testing for
22779 overflow of y*log2(x).
22780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22781 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22785 * math/s_ctan.c: Include <float.h>.
22786 (__ctan): Avoid internal overflow or cancellation in calculating
22788 * math/s_ctanf.c: Likewise.
22789 * math/s_ctanl.c: Likewise.
22790 * math/s_ctanh.c: Likewise.
22791 * math/s_ctanhf.c: Likewise.
22792 * math/s_ctanhl.c: Likewise.
22793 * math/libm-test.inc (ctan_test): Add more tests.
22794 (ctanh_test): Likewise.
22795 * sysdeps/i386/fpu/libm-test-ulps: Update.
22796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22798 2012-04-09 Andreas Jaeger <aj@suse.de>
22801 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22802 is an optional BSD extension.
22805 * manual/stdio.texi (Opening Streams): Document additional fopen
22808 2012-04-09 Roland McGrath <roland@hack.frob.com>
22810 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22811 %eax without telling the compiler.
22813 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22816 * manual/install.texi: Use sourceware.org.
22818 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22821 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22822 (__ieee754_pow): Generate overflow and underflow using huge*huge
22823 and tiny*tiny rather than just returning constant infinity or zero
22824 for large exponents.
22825 * math/libm-test.inc (pow_test): Require overflow exceptions for
22826 applicable cases of large exponents.
22829 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22830 (__ieee754_pow): Use iterative multiplication algorithm only for
22831 integer exponents with absolute value below 1024. Check for odd
22832 integer exponents when using algorithm for real exponents.
22833 * math/libm-test.inc (pow_test): Add more tests.
22834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22836 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22839 * math/libm-test.inc (exp_test): Do not allow overflow exception
22842 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22845 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22846 instead of __kernel_standard_f.
22848 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22850 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22851 * sysdeps/x86_64/memset_chk.S: Likewise.
22853 2012-04-08 Andreas Jaeger <aj@suse.de>
22856 * manual/startup.texi (Environment Access): Describe return value
22857 for putenv and setenv.
22860 * manual/filesys.texi (Directory Entries): Add description for
22864 * manual/filesys.texi (Directory Entries): Clarify that it's file
22865 system not operating system in the description of DT_UNKNOWN.
22868 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22870 2012-04-08 Stephen Compall <s11@member.fsf.org>
22873 * manual/llio.texi (Opening and Closing Files): Add cross
22874 reference to explain mode argument.
22876 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22878 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22879 * sysdeps/x86_64/memset_chk.S: Likewise.
22881 2012-04-07 David S. Miller <davem@davemloft.net>
22883 * elf/elf.h (R_SPARC_WDISP10): Define.
22884 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22886 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22887 R_SPARC_SIZE64 and R_SPARC_H34.
22889 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22891 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22892 conditions and remove no longer applicable assertion.
22894 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22896 * bits/byteswap.h: Include <features.h>.
22897 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22898 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22900 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22902 * bits/byteswap.h (__bswap_16): Removed.
22903 Include <bits/byteswap-16.h> to get __bswap_16.
22904 * sysdeps/i386/bits/byteswap.h: Likewise.
22905 * sysdeps/s390/bits/byteswap.h: Likewise.
22906 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22907 * bits/byteswap-16.h: New file.
22908 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22909 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22910 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22911 * string/Makefile (headers): Add bits/byteswap-16.h.
22913 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22916 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22918 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22919 * nss/tst-nss-static.c: New.
22921 2012-04-06 Robert Millan <rmh@gnu.org>
22924 * manual/llio.texi (File Position Primitive): lseek
22925 refers to WHENCE when it really means OFFSET.
22927 2012-04-06 Andreas Jaeger <aj@suse.de>
22929 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22930 strncmp declarations.
22932 * abilist/libc.abilist: Add __poll and __ppoll.
22934 2012-04-05 David S. Miller <davem@davemloft.net>
22936 * scripts/check-local-headers.sh: Accept a host triplet in the
22937 path matched by the exclude regexp.
22939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22941 * sysdeps/powerpc/powerpc32/dl-machine.h
22942 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22943 * sysdeps/s390/s390-32/dl-machine.h
22944 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22945 * sysdeps/sparc/sparc32/dl-machine.h
22946 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22947 * sysdeps/sparc/sparc64/dl-machine.h
22948 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22950 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22952 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22953 undefined symbol errors.
22955 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22958 2012-04-05 Michael Matz <matz@suse.de>
22961 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22963 2012-04-05 Andreas Jaeger <aj@suse.de>
22966 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22969 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22971 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22972 which ROUND is no valid rounding mode.
22974 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22976 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22978 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22980 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22982 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22983 an exception using FPU order intentionally.
22985 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22987 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22988 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22989 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22990 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22992 2012-04-05 Simon Josefsson <simon@josefsson.org>
22995 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22996 EINVAL when BUFLEN is too smal.
22998 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23001 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23002 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23004 2012-04-03 Andreas Jaeger <aj@suse.de>
23007 * manual/setjmp.texi (System V contexts): Fix sentence.
23010 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23011 New macro for this case.
23012 [!__GNUC__] (__bswap_64): New inline function for this case.
23013 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23014 * bits/byteswap.h: Likewise.
23015 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23016 ull, guard with __GLIBC_HAVE_LONG_LONG.
23018 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23019 __GLIBC_HAVE_LONG_LONG.
23021 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23022 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23024 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23027 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23028 inptr and inend, rather than using last_ch.
23030 2012-04-02 David S. Miller <davem@davemloft.net>
23032 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23033 * stdio-common/printf-parse.h (read_int): Change return type to
23034 'int', return -1 on INT_MAX overflow.
23035 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23036 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23037 overflows INT_MAX. Check for overflow of in-format-string precision
23038 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23039 SIZE_MAX not INT_MAX for integer overflow test.
23040 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23041 skip the construct in the format string but do not record anything.
23042 * stdio-common/bug22.c: Adjust to test both width/prevision
23043 INT_MAX overflow as well as total length INT_MAX overflow. Check
23044 explicitly for proper errno values.
23046 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23048 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23050 * string/test-strcmp.c [! WIDE]: Likewise.
23051 * time/tst-mktime2.c: Likewise for INT_MAX.
23052 * string/test-string.h: #include <sys/param.h> for MIN.
23054 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23055 * sysdeps/i386/init-first.c (init): Likewise.
23056 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23057 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23058 * sysdeps/sh/init-first.c (init): Likewise.
23060 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23062 * po/ru.po: Update from translation team.
23063 * po/vi.po: Likewise.
23065 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23067 * resolv/nss_dns/dns-host.c: Merge copyright years.
23069 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23072 Optimize memcpy with prefetch if
23073 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23074 src, dst pointers have unequal 16 byte alignments.
23076 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23079 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23080 from a CNAME entry and return the minimum ttl for the query.
23081 (gaih_getanswer_slice): Likewise.
23083 2012-03-30 Jeff Law <law@redhat.com>
23085 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23087 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23088 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23090 * resolv/nss_dns/dns-host.c: Update copyright year.
23092 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23094 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23095 requests to save a system call. Fix check that all bytes are sent.
23097 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23098 comments for sendmmsg.
23100 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23103 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23104 with only 1 character between 0x0041 and 0x01b0.
23105 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23106 * wcsmbs/tst-mbsnrtowcs.c: New file.
23108 2012-03-29 David S. Miller <davem@davemloft.net>
23110 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23111 small copies by hand.
23113 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23116 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23117 _nss_compat_initgroups_dyn): Fall back to malloc/free
23118 for large group memberships.
23120 2012-03-28 David S. Miller <davem@davemloft.net>
23122 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23123 that branches into memcpy.
23124 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23125 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23127 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23130 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23131 implementation too.
23132 * sysdeps/sparc/mempcpy.S: New file.
23134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23135 the IFUNC routine in the libc case.
23136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23138 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23139 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23140 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23141 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23142 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23143 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23144 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23145 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23147 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23148 loop to 256 bytes instead of 64 bytes and fix test signedness.
23150 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23151 * sysdeps/sparc/sparc32/Makefile: rather than here...
23152 * sysdeps/sparc/sparc64/Makefile: and here.
23154 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23156 * malloc/mallocbug.c: Avoid warnings about unused variables.
23158 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23161 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23162 in the right place. Discard and retry query if response is
23163 larger than input buffer size.
23165 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23170 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23171 x for large integer exponent.
23172 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23173 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23174 sign of result as needed afterwards.
23175 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23176 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23177 result for underflowing pow the same as for overflow.
23178 (__kernel_standard_l): Handle powl overflow and underflow here
23179 rather than calling __kernel_standard.
23180 * math/libm-test.inc (pow_test): Add more tests.
23195 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23196 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23197 (__kernel_standard_l): New function.
23198 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23200 * math/w_acosl.c (__acosl): Likewise.
23201 * math/w_asinl.c (__asinl): Likewise.
23202 * math/w_atan2l.c (__atan2l): Likewise.
23203 * math/w_atanhl.c (__atanhl): Likewise.
23204 * math/w_coshl.c (__coshl): Likewise.
23205 * math/w_exp10l.c (__exp10l): Likewise.
23206 * math/w_exp2l.c (__exp2l): Likewise.
23207 * math/w_fmodl.c (__fmodl): Likewise.
23208 * math/w_hypotl.c (__hypotl): Likewise.
23209 * math/w_j0l.c (__j0l, __y0l): Likewise.
23210 * math/w_j1l.c (__j1l, __y1l): Likewise.
23211 * math/w_jnl.c (__jnl, __ynl): Likewise.
23212 * math/w_lgammal.c (__lgammal): Likewise.
23213 * math/w_log10l.c (__log10l): Likewise.
23214 * math/w_log2l.c (__log2l): Likewise.
23215 * math/w_logl.c (__logl): Likewise.
23216 * math/w_powl.c (__powl): Likewise.
23217 * math/w_remainderl.c (__remainderl): Likewise.
23218 * math/w_scalbl.c (sysv_scalbl): Likewise.
23219 * math/w_sinhl.c (__sinhl): Likewise.
23220 * math/w_sqrtl.c (__sqrtl): Likewise.
23221 * math/w_tgammal.c (__tgammal): Likewise.
23222 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23223 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23224 * math/libm-test.inc (acos_test): Add more tests.
23225 (acosh_test): Likewise.
23226 (asin_test): Likewise.
23227 (atanh_test): Likewise.
23228 (exp_test): Likewise.
23229 (exp10_test): Likewise.
23230 (exp2_test): Likewise.
23231 (expm1_test): Likewise.
23232 (lgamma_test): Likewise.
23233 (log_test): Likewise.
23234 (log10_test): Likewise.
23235 (log1p_test): Likewise.
23236 (log2_test): Likewise.
23237 (pow_test): Do not allow some spurious overflow exceptions.
23238 (sqrt_test): Add more tests.
23239 (tgamma_test): Likewise.
23240 (y0_test): Likewise.
23241 (y1_test): Likewise.
23242 (yn_test): Likewise.
23244 2012-03-27 Anton Blanchard <anton@samba.org>
23246 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23248 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23249 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23250 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23252 2012-03-27 David S. Miller <davem@davemloft.net>
23254 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23256 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23257 have-as-vis3 check.
23259 2012-03-27 Andreas Jaeger <aj@suse.de>
23261 * sysdeps/x86_64/elf/configure.in: Moved to ...
23262 * sysdeps/x86_64/configure.in: ... here.
23263 * sysdeps/x86_64/elf/start.S: Moved to ...
23264 * sysdeps/x86_64/start.S: ... here.
23265 * sysdeps/x86_64/elf/configure: Delete.
23267 * sysdeps/x86_64/configure.in: Merge contents from
23268 sysdeps/i386/configure.in (without i686 check).
23270 * sysdeps/i386/elf/Versions: Merge into ...
23271 * sysdeps/i386/Versions: ... this.
23272 * sysdeps/i386/elf/Versions: Delete file.
23273 * sysdeps/i386/elf/start.S: Moved to ...
23274 * sysdeps/i386/start.S: ...here.
23275 * sysdeps/i386/elf/configure.in: Merge into...
23276 * sysdeps/i386/configure.in: ...here.
23277 * sysdeps/i386/elf/configure.in: Delete file.
23278 * sysdeps/i386/elf/configure: Delete file.
23280 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23281 * debug/backtracesyms.c: ... here.
23282 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23283 * debug/backtracesymsfd.c: ... here.
23284 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23285 * sysdeps/generic/ifunc-sel.h: ... here.
23287 * sysdeps/unix/i386/start.c: Delete file.
23288 * sysdeps/unix/sparc/start.c: Delete file.
23289 * sysdeps/unix/start.c: Delete file.
23291 * sysdeps/sh/elf/configure.in: Moved to ...
23292 * sysdeps/sh/configure.in: ... here.
23293 * sysdeps/sh/elf/start.S: Moved to ...
23294 * sysdeps/sh/start.S: ... here.
23295 * sysdeps/sh/elf/configure: Delete file.
23297 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23298 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23299 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23300 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23301 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23302 * sysdeps/powerpc/powerpc64/start.S: here.
23303 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23304 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23305 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23306 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23307 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23309 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23310 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23311 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23312 * sysdeps/powerpc/powerpc32/start.S: ... here.
23313 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23314 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23315 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23317 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23318 * sysdeps/powerpc/ifunc-sel.h: ... here.
23319 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23320 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23322 * sysdeps/sparc/elf/configure.in: Moved to ...
23323 * sysdeps/sparc/configure.in: ... here.
23324 * sysdeps/sparc/elf/configure: Delete file.
23325 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23326 * sysdeps/sparc/sparc32/start.S: ... here.
23327 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23328 * sysdeps/sparc/sparc64/start.S: ... here.
23329 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23330 * sysdeps/sparc/sparc32/Makefile: ... this.
23331 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23332 * sysdeps/sparc/sparc64/Makefile: ... this.
23334 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23335 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23336 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23337 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23338 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23339 * sysdeps/s390/s390-32/setjmp.S: ... here.
23340 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23341 * sysdeps/s390/s390-32/configure.in: ... here.
23342 * sysdeps/s390/s390-32/elf/configure: Delete file.
23343 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23344 * sysdeps/s390/s390-32/start.S: ... here.
23346 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23347 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23348 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23349 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23350 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23351 * sysdeps/s390/s390-64/setjmp.S: ... here.
23352 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23353 * sysdeps/s390/s390-64/configure.in: ... here
23354 * sysdeps/s390/s390-64/elf/configure: Delete file.
23355 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23356 * sysdeps/s390/s390-64/start.S: ... here.
23357 * sysdeps/s390/s390-64/elf/configure: Delete.
23359 * configure.in: Remove support for elf directories in sysdeps.
23361 * configure: Regenerated.
23362 * sysdeps/i386/configure: Regenerated.
23363 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23364 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23365 * sysdeps/s390/s390-32/configure: Regenerated.
23366 * sysdeps/s390/s390-64/configure: Regenerated.
23367 * sysdeps/sh/configure: Regenerated.
23368 * sysdeps/sparc/configure: Regenerated.
23369 * sysdeps/x86_64/configure: Regenerated.
23371 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23375 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23376 denormal result into account.
23378 2012-03-25 Roland McGrath <roland@hack.frob.com>
23380 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23381 Reported by Allan McRae <allan@archlinux.org>.
23383 2012-03-23 Jeff Law <law@redhat.com>
23385 * nss/getnssent.c (__nss_getent): Fix typo.
23387 2012-03-23 David S. Miller <davem@davemloft.net>
23389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23391 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23393 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23394 to pad to uint64_t for each field.
23395 (dl_tls_index): Replace unsigned long with uint64_t.
23397 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23398 Paul Pluzhnikov <ppluzhnikov@google.com>
23401 * grp/Makefile (otherlibs): Don't set it.
23402 * inet/Makefile (otherlibs): Likewise.
23403 * login/Makefile (otherlibs): Likewise.
23404 * nscd/Makefile (otherlibs): Likewise.
23405 * posix/Makefile (otherlibs): Likewise.
23406 * pwd/Makefile (otherlibs): Likewise.
23407 * rt/Makefile (otherlibs): Likewise.
23408 * sunrpc/Makefile (otherlibs): Likewise.
23409 * nss/Makefile (otherlibs): Likewise.
23410 Add libnss_files to routines and static-only-routines.
23411 ($(objpfx)getent): Remove rule.
23412 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23413 static-only-routines.
23415 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23418 * math/s_cexp.c: Include <float.h>.
23419 (__cexp): Handle exp result overflowing not necessarily
23420 overflowing both real and imaginary parts of result.
23421 * math/s_cexpf.c: Likewise.
23422 * math/s_cexpl.c: Likewise.
23423 * math/libm-test.inc (cexp_test): Add more tests.
23424 * sysdeps/i386/fpu/libm-test-ulps: Update.
23425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23427 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23429 * include/link.h (ELFW): New macro.
23430 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23431 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23433 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23435 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23438 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23440 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23442 (struct La_x32_retval): Likewise.
23444 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23446 * sysdeps/x86_64/preconfigure.in: New file.
23447 * sysdeps/x86_64/preconfigure: New generated file.
23449 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23452 * math/e_exp2l.c: Include <float.h>.
23453 (__ieee754_exp2l): Handle overflow and underflow cases
23454 separately. Only pass fractional part of argument to
23456 * math/libm-test.inc (exp2_test): Add more tests.
23458 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23459 negating x to take absolute value.
23460 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23462 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23463 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23465 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23466 computing low part if x was negated.
23467 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23469 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23471 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23472 la_x32_gnu_pltexit.
23473 (pltexit): Cast int_retval to ptrdiff_t.
23474 * elf/tst-auditmod3b.c: Likewise.
23475 * elf/tst-auditmod4b.c: Likewise.
23476 * elf/tst-auditmod5b.c: Likewise.
23477 * elf/tst-auditmod6b.c: Likewise.
23478 * elf/tst-auditmod6c.c: Likewise.
23479 * elf/tst-auditmod7b.c: Likewise.
23481 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23482 and x32_gnu_pltexit.
23484 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23485 __ELF_NATIVE_CLASS.
23486 (La_x32_regs): New macro.
23487 (La_x32_retval): Likewise.
23488 (la_x32_gnu_pltenter): New function prototype.
23489 (la_x32_gnu_pltexit): Likewise.
23491 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23493 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23498 * configure.in (libc_cv_cc_nofma): Check for option to disable
23499 generation of FMA instructions.
23500 * configure: Regenerate.
23501 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23502 * sysdeps/ieee754/dbl-64/Makefile: New file.
23503 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23504 Remove brandred-fma4.
23505 (CFLAGS-brandred-fma4.c): Remove.
23506 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23507 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23509 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23512 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23514 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23515 LLONG_MAX != LONG_MAX.
23516 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23517 (_fitoa_word): Likewise.
23518 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23519 LLONG_MAX != LONG_MAX.
23520 * stdio-common/_itowa.h: Include <_itoa.h>.
23521 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23522 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23523 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23524 only if not defined.
23525 (_ITOA_WORD_TYPE): Likewise.
23526 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23527 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23529 2012-03-21 David S. Miller <davem@davemloft.net>
23531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23533 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23535 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23536 of x86_64 when setting libc_cv_slibdir, libdir and
23538 * sysdeps/unix/sysv/linux/configure: Regenerated.
23540 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23542 * manual/lang.texi (Old Varargs): Remove section.
23543 (How Variadic): Update menu.
23544 (va_start): Do not mention varargs.h.
23546 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23547 Joseph Myers <joseph@codesourcery.com>
23549 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23551 * configure: Regenerated.
23553 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23555 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23556 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23559 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23562 * Makefile (files-for-dist): Remove NOTES.
23563 (NOTES): Remove rule.
23564 * README: Don't refer to NOTES.
23565 * manual/creature.texi: Don't include macros.texi.
23566 * manual/intro.texi (creature.texi): Remove comment referring to
23569 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23570 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23571 * configure: Regenerated.
23572 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23573 LIBC_TRY_CC_OPTION.
23574 (libc_cv_as_i686): Likewise.
23575 (libc_cv_cc_avx): Likewise.
23576 (libc_cv_cc_sse2avx): Likewise.
23577 (libc_cv_cc_fma4): Likewise.
23578 (libc_cv_cc_novzeroupper): Likewise.
23579 * sysdeps/i386/configure: Regenerated.
23582 * sysdeps/i386/fpu/s_cexp.S: Remove.
23583 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23584 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23585 * math/libm-test.inc (cexp_test): Add more tests.
23586 * sysdeps/i386/fpu/libm-test-ulps: Update.
23587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23589 2012-03-21 Allan McRae <allan@archlinux.org>
23591 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23593 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23596 * math/w_exp2.c: Do not include <float.h>.
23597 (o_threshold, u_threshold): Remove.
23598 (__exp2): Calculate result before checking finiteness and calling
23600 * math/w_exp2f.c: Likewise.
23601 * math/w_exp2l.c: Likewise.
23602 * math/libm-test.inc (exp2_test): Require overflow exception for
23606 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23607 range of signed 64-bit integers before using fistpll. Remove
23608 checks for whether integers fit in mantissa bits.
23609 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23610 the range of signed 32-bit integers before using fistpl. Remove
23611 checks for whether integers fit in mantissa bits.
23612 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23613 (__ieee754_powl): Test for y outside the range of signed 64-bit
23614 integers before using fistpll. Reduce 64-bit values to 63-bit
23616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23617 divide-by-zero is raised for zero to large negative powers.
23618 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23619 (__ieee754_powl): Test for y outside the range of signed 64-bit
23620 integers before using fistpll. Reduce 64-bit values to 63-bit
23622 * math/libm-test.inc (pow_test): Add more tests.
23624 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23626 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23627 <stdio-common/_itoa.h>.
23628 * debug/segfault.c: Likewise.
23629 * elf/dl-cache.c: Likewise.
23630 * elf/dl-minimal.c: Likewise.
23631 * elf/dl-misc.c: Likewise.
23632 * elf/dl-sysdep.c: Likewise.
23633 * elf/dl-version.c: Likewise.
23634 * elf/rtld.c: Likewise.
23635 * hurd/hurdsock.c: Likewise.
23636 * hurd/lookup-retry.c: Likewise.
23637 * malloc/malloc.c: Likewise.
23638 * malloc/mtrace.c: Likewise.
23639 * nscd/nscd_getgr_r.c: Likewise.
23640 * nscd/nscd_getpw_r.c: Likewise.
23641 * nscd/nscd_getserv_r.c: Likewise.
23642 * posix/getopt_init.c: Likewise.
23643 * posix/wordexp.c: Likewise.
23644 * stdio-common/_itoa.c: Likewise.
23645 * stdio-common/printf_fphex.c: Likewise.
23646 * stdio-common/vfprintf.c: Likewise.
23647 * string/_strerror.c: Likewise.
23648 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23649 * sysdeps/i386/i686/hp-timing.h: Likewise.
23650 * sysdeps/mach/_strerror.c: Likewise.
23651 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23652 * sysdeps/mach/hurd/sethostid.c: Likewise.
23653 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23654 * sysdeps/mach/xpg-strerror.c: Likewise.
23655 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23657 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23658 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23659 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23660 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23661 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23662 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23663 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23664 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23665 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23666 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23667 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23668 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23669 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23670 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23671 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23672 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23673 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23674 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23675 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23677 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23679 * stdio-common/_itoa.h: Moved to ...
23680 * sysdeps/generic/_itoa.h: Here.
23682 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23684 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23685 instead of "_itoa.h" and "_itowa.h".
23686 * stdio-common/vfprintf.: Likewise.
23688 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23690 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23692 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23693 (__signbit): Likwise.
23694 (llrintf): Likwise.
23697 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23699 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23702 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23704 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23705 OVERFLOW_EXCEPTION_OK.
23706 * math/libm-test.inc ("Philosophy"): Update comment about
23708 (OVERFLOW_EXCEPTION): Define.
23709 (OVERFLOW_EXCEPTION_OK): Likewise.
23710 (INVALID_EXCEPTION_OK): Renumber.
23711 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23712 (IGNORE_ZERO_INF_SIGN): Likewise.
23713 (test_exceptions): Handle FE_OVERFLOW.
23714 (exp10_test): Expect overflow exceptions.
23715 (exp2_test): Likewise.
23716 (expm1_test): Likewise.
23717 (nextafter_test): Likewise.
23718 (pow_test): Likewise.
23719 (scalbn_test): Likewise.
23720 (scalbln_test): Likewise.
23722 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23724 * sysdeps/x86_64/bits/atomic.h
23725 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23727 (atomic_exchange_acq): Likewise.
23728 (__arch_exchange_and_add_body): Likewise.
23729 (__arch_add_body): Likewise.
23730 (atomic_add_negative): Likewise.
23731 (atomic_add_zero): Likewise.
23733 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23735 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23736 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23738 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23740 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23741 Check __x86_64__ instead of __WORDSIZE.
23743 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23745 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23747 2012-03-19 David S. Miller <davem@davemloft.net>
23749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23751 * sysdeps/sparc/fpu/fenv_private.h: New file.
23752 * sysdeps/sparc/fpu/math_private.h: Use it.
23753 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23755 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23756 (libc_feholdexcept_setroundl): Remove.
23757 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23759 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23760 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23762 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23764 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23765 int64_t instead of long int.
23766 (INSERT_WORDS64): Likwise.
23768 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23770 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23771 _Unwind_GetCFA return to _Unwind_Ptr first.
23773 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23776 * math/s_clog.c: Include <float.h>.
23777 (__clog): Scale large or subnormal inputs.
23778 * math/s_clogf.c: Likewise.
23779 * math/s_clogl.c: Likewise.
23780 * math/s_clog10.c: Include <float.h>.
23781 (M_LOG10_2): Define.
23782 (__clog10): Scale large or subnormal inputs.
23783 * math/s_clog10f.c: Likewise.
23784 * math/s_clog10l.c: Likewise.
23785 * math/libm-test.inc (clog_test): Add more tests.
23786 (clog10_test): Likewise.
23787 * sysdeps/i386/fpu/libm-test-ulps: Update.
23788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23791 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23793 * math/libm-test.inc (atan2_test): Add another test.
23795 * Makerules (common-objdir-compile): Remove.
23796 * sysdeps/unix/Makefile (config-generated): Do not add
23797 $(unix-generated) to variable.
23798 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23799 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23801 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23803 [generic bits/local_lim.h] (before-compile): Do not append to
23805 [generic bits/local_lim.h] (common-generated): Likewise.
23806 [generic sys/param.h] (before-compile): Do not append to variable.
23807 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23808 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23809 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23810 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23812 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23813 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23814 [generic sys/param.h] ($(addprefix
23815 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23816 [generic sys/param.h] (common-generated): Do not append to
23818 [generic sys/param.h] (sysdep_headers): Likewise.
23819 [generic bits/errno.h] (before-compile): Do not append to
23821 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23823 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23824 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23825 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23826 [generic bits/errno.h] (common-generated): Do not append to
23828 [generic bits/ioctls.h] (before-compile): Do not append to
23830 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23832 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23833 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23834 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23836 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23837 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23838 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23839 [generic bits/ioctls.h] (common-generated): Do not append to
23841 [generic sys/syscall.h] (syscall.h): Remove variable.
23842 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23844 [generic sys/syscall.h] (before-compile): Do not append to
23846 [generic sys/syscall.h] (common-generated): Likewise.
23847 * sysdeps/unix/errnos-tmpl.c: Remove file.
23848 * sysdeps/unix/errnos.awk: Likewise.
23849 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23850 * sysdeps/unix/ioctls.awk: Likewise.
23851 * sysdeps/unix/mk-local_lim.c: Likewise.
23852 * sysdeps/unix/snarf-ioctls: Likewise.
23854 2012-03-19 Richard Henderson <rth@twiddle.net>
23856 * sysdeps/i386/fpu/fenv_private.h: New file.
23857 * sysdeps/i386/fpu/math_private.h: Use it.
23858 (math_opt_barrier, math_force_eval): Remove.
23859 (libc_feholdexcept_setround_53bit): Remove.
23860 (libc_feupdateenv_53bit): Remove.
23861 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23862 (math_opt_barrier, math_force_eval): Remove.
23863 (libc_feholdexcept): Remove.
23864 (libc_feholdexcept_setround): Remove.
23865 (libc_fetestexcept, libc_fesetenv): Remove.
23866 (libc_feupdateenv_test): Remove.
23867 (libc_feupdateenv, libc_feholdsetround): Remove.
23868 (libc_feresetround): Remove.
23870 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23871 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23873 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23874 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23875 (libc_feupdateenv_testl): New.
23876 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23877 (libc_feupdateenv_testf): New.
23878 (libc_feupdateenv): Use libc_feupdateenv_test.
23879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23882 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23883 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23884 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23885 (libc_feresetround_noex): New.
23886 (libc_feresetround_noexf): New.
23887 (libc_feresetround_noexl): New.
23888 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23889 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23890 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23891 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23894 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23896 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23897 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23898 SET_RESTORE_ROUND_NOEX.
23899 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23900 SET_RESTORE_ROUND_NOEXF.
23901 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23902 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23903 (libc_feholdsetroundf): New.
23904 (libc_feresetround, libc_feresetroundf): New.
23906 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23907 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23908 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23910 * sysdeps/generic/math_private.h: Include <fenv.h>.
23911 (default_libc_feholdexcept): New.
23912 (default_libc_feholdexcept_setround): New.
23913 (default_libc_fesetenv, default_libc_feupdateenv): New.
23914 (libc_feholdexcept): Only define if undefined.
23915 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23916 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23917 (libc_feholdexcept_setroundl): Likewise.
23918 (libc_feholdexcept_setround_53bit): Likewise.
23919 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23920 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23921 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23922 (libc_feupdateenv_53bit): Likewise.
23923 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23924 (libc_feholdexcept): Convert from macro to inline function.
23925 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23926 (libc_fesetenv, libc_feupdateenv): Likewise.
23928 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23929 not previously defined.
23930 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23931 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23932 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23933 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23934 * sysdeps/ieee754/flt-32/math_private.h: New file.
23935 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23936 math_private.h below SET_FLOAT_WORD.
23937 (__isnan, __isinf_ns, __finite): Remove.
23938 (__isnanf, __isinf_nsf, __finitef): Remove.
23940 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23944 2012-03-17 David S. Miller <davem@davemloft.net>
23947 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23950 2012-03-16 David S. Miller <davem@davemloft.net>
23952 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23956 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23958 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23959 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23960 sysdep_routines when subdir is sysvipc.
23961 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23962 __getshmlba helper.
23964 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23966 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23968 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23971 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23973 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23974 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23975 (__lround): Renamed to ...
23976 (__llround): This. Replace long int with long long int.
23977 Define lround functions as aliases of llround functions.
23978 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23980 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23982 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23983 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23984 adresses to uintptr_t. Replace "long int" and "unsigned long
23985 int" with "greg_t" on va_arg.
23987 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23989 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23990 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23992 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23993 Move e_machine check before EI_CLASS check. Handle x32
23994 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23995 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23996 SKIP_EM_IA_64 and include
23997 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23999 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24000 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24001 (add_system_dir): New macro.
24003 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24004 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24006 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24017 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24019 * math/w_j0f.c (j0f): Likewise.
24021 * math/w_j0l.c (__j0l): Likewise.
24023 * math/w_j1.c (j1): Likewise.
24025 * math/w_j1f.c (j1f): Likewise.
24027 * math/w_j1l.c (__j1l): Likewise.
24029 * math/w_jn.c (jn): Likewise.
24031 * math/w_jnf.c (jnf): Likewise.
24033 * math/w_jnl.c (__jnl): Likewise.
24035 * math/libm-test.inc (j0_test): Add more tests.
24036 (j1_test): Likewise.
24037 (jn_test): Likewise. Add trailing semicolon to existing test.
24038 (y0_test): Likewise.
24039 (y1_test): Likewise.
24040 * sysdeps/i386/fpu/libm-test-ulps: Update.
24041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24045 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24046 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24047 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24048 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24049 (__tanl): Set errno for infinite argument.
24050 * sysdeps/i386/fpu/mptan.c: Remove.
24051 * sysdeps/i386/fpu/s_tan.S: Likewise.
24052 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24053 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24054 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24055 * math/libm-test.inc (tan_test): Add more tests and enable more
24056 tests for double and long double.
24057 * sysdeps/i386/fpu/libm-test-ulps: Update.
24058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24060 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24062 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24063 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24065 2012-03-16 Roland McGrath <roland@hack.frob.com>
24067 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24068 * configure.in: Use it for both main tree and add-ons.
24069 * configure: Regenerated.
24071 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24073 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24075 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24077 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24081 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24082 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24083 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24084 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24085 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24087 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24089 != 0 for prec == 2.
24090 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24091 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24092 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24093 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24094 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24095 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24096 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24097 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24098 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24099 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24100 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24101 * math/libm-test.inc (cos_test): Add more tests and enable more
24102 tests for long double.
24103 (sin_test): Likewise.
24104 (sincos_test): Likewise.
24105 * sysdeps/i386/fpu/libm-test-ulps: Update.
24106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24108 2012-03-16 David S. Miller <davem@davemloft.net>
24110 * sysdeps/sparc/fpu/math_private.h: New file.
24112 2012-03-15 David S. Miller <davem@davemloft.net>
24114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24124 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24128 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24129 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24131 * sysdeps/sparc/sparc-ifunc.h: New file.
24132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24171 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24177 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24179 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24183 2012-03-15 Andreas Jaeger <aj@suse.de>
24186 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24187 ieee754/flt-32 implementation for sin, cos and sincos.
24188 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24189 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24190 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24191 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24192 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24193 ieee754/flt-32 implementation for tan.
24195 * math/libm-test.inc (cos_test): Enable some large input tests for
24197 (sin_test): Likewise.
24198 (sincos_test): Likewise.
24199 (tan_test): Add tests for large input.
24201 * sysdeps/i386/fpu/libm-test-ulps: Update.
24203 2012-03-15 Andreas Jaeger <aj@suse.de>
24206 * math/libm-test.inc (cos_test): Add more test cases.
24207 (sin_test): Likewise.
24208 (sincos_test): Likewise.
24210 2012-03-15 Andreas Jaeger <aj@suse.de>
24213 * math/libm-test.inc (cos_test): Add a test case for large input
24215 (sin_test): Likewise.
24216 (sincos_test): Likewise.
24218 2012-03-15 Andreas Jaeger <aj@suse.de>,
24219 Joseph Myers <joseph@codesourcery.com>
24222 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24223 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24224 * sysdeps/i386/fpu/branred.c: Likewise.
24225 * sysdeps/i386/fpu/dosincos.c: Likewise.
24226 * sysdeps/i386/fpu/mpa.c: Likewise.
24227 * sysdeps/i386/fpu/s_cos.S: Likewise.
24228 * sysdeps/i386/fpu/s_sin.S: Likewise.
24229 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24230 * sysdeps/i386/fpu/sincos32.c: Likewise.
24232 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24234 (libc_feupdateenv_53bit): Define.
24235 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24237 (libc_feupdateenv_53bit): Define.
24239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24240 53 bit (without extend i386 double precision).
24242 * math/libm-test.inc (sincos_test): Add tests for large input.
24246 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24248 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24252 2012-03-15 David S. Miller <davem@davemloft.net>
24254 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24255 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24256 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24257 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24282 fmin/fmax sysdep routines.
24283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24285 2012-03-14 David S. Miller <davem@davemloft.net>
24287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24310 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24312 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24313 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24315 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24364 * sysdeps/sparc/configure.in: New file.
24365 * sysdeps/sparc/configure: Generate.
24366 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24367 * configure: Regenerate.
24368 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24369 * config.make.in (have-as-vis3): New.
24370 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24371 available use -Av9d instead of -Av9a.
24372 * sysdeps/sparc/sparc64/Makefile: Likewise.
24373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24386 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24388 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24389 fzeros/fnegs to load 0x80000000 into a float register instead of
24391 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24393 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24397 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24398 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24399 ($(inst_includedir)/bits/syscall.h): Remove rule.
24400 ($(objpfx)bits/syscall.d): Include instead of
24401 $(objpfx)syscall-list.d.
24402 (generated): Change syscall-list.h and syscall-list.d to
24403 bits/syscall.h and bits/syscall.d.
24405 2012-03-14 Roland McGrath <roland@hack.frob.com>
24408 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24410 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24413 * math/s_csqrt.c: Include <float.h>.
24414 (__csqrt): Scale large or subnormal inputs.
24415 * math/s_csqrtf.c: Likewise.
24416 * math/s_csqrtl.c: Likewise.
24417 * math/libm-test.inc (csqrt_test): Add more tests.
24418 * sysdeps/i386/fpu/libm-test-ulps: Update.
24419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24422 * math/libm-test.inc (hypot_test): Add more tests.
24424 2012-03-13 David S. Miller <davem@davemloft.net>
24427 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24428 double-precision for the calculation instead of scaling.
24430 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24432 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24433 manipulate bits before adding and subtracting TWO52[sx].
24434 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24435 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24437 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24439 2012-03-13 David S. Miller <davem@davemloft.net>
24441 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24442 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24444 rtld-global-offsets.h
24445 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24447 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24450 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24452 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24453 'err' in the ifdef scope in which it is actually used.
24455 * nss/nss_db/db-init.c: Include string.h
24457 2012-03-12 David S. Miller <davem@davemloft.net>
24459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24460 masking out of the most significant byte of random value used.
24461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24462 Fix coding style in previous change.
24464 * sysdeps/unix/sysv/linux/kernel-features.h
24465 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24466 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24468 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24471 2012-03-11 David S. Miller <davem@davemloft.net>
24473 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24474 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24476 for 'resultvar' otherwise things get truncated on 64-bit.
24478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24479 Fix masking out of the most significant byte of random value used.
24481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24483 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24487 2012-03-09 David S. Miller <davem@davemloft.net>
24489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24490 variables with appropriate CPP guards.
24491 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24492 frame pointer, not the stack pointer. Correct layout comments. Fix test
24493 on resulting framesize and the management of the outregs buffer for pltexit.
24494 Preserve floating point return values across _dl_call_pltexit call.
24495 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24496 framesize and the management of the outregs buffer for pltexit.
24497 Preserve floating point return values across _dl_call_pltexit
24499 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24500 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24501 (print_exit): Fix format string for return register value.
24503 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24505 * sunrpc/Makefile (others): Add rpcgen.
24506 ($(objpfx)rpcgen): Remove special build rule and dependency on
24508 * sunrpc/rpcgen.c: New file.
24510 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24513 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24514 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24515 * sysdeps/i386/crti.S: Likewise.
24516 * sysdeps/i386/crtn.S: Likewise.
24517 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24518 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24519 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24520 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24521 * sysdeps/sh/crti.S: Likewise.
24522 * sysdeps/sh/crtn.S: Likewise.
24523 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24526 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24528 * locale/programs/locfile-kw.gperf: Likewise.
24529 * locale/programs/charmap-kw.h: Regenerated.
24530 * locale/programs/locfile-kw.h: Likewise.
24533 * intl/plural.y: Replace FSF snail mail address with URL.
24534 * intl/plural.c: Regenerated.
24536 2012-03-09 Richard Henderson <rth@twiddle.net>
24538 * include/math_private.h: Remove file.
24539 * math/math_private.h: Move file ...
24540 * sysdeps/generic/math_private.h: ... here.
24542 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24543 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24544 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24546 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24547 and <math_private.h>.
24548 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24549 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24550 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24551 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24552 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24553 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24554 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24556 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24557 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24559 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24560 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24561 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24562 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24563 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24564 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24565 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24566 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24567 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24569 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24577 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24579 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24580 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24581 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24582 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24583 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24584 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24585 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24586 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24587 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24588 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24589 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24590 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24591 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24592 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24593 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24594 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24595 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24596 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24597 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24598 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24599 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24600 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24601 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24602 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24603 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24604 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24605 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24606 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24607 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24608 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24609 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24611 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24613 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24614 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24615 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24616 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24618 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24620 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24625 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24626 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24627 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24628 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24630 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24631 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24632 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24635 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24636 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24637 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24638 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24639 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24641 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24642 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24643 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24644 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24645 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24646 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24647 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24648 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24649 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24650 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24651 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24652 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24653 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24654 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24655 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24656 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24658 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24659 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24660 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24661 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24662 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24663 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24664 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24665 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24666 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24667 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24668 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24669 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24670 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24671 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24672 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24673 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24674 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24675 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24676 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24677 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24678 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24679 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24680 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24681 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24682 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24683 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24684 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24685 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24686 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24687 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24688 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24689 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24690 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24691 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24692 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24693 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24694 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24695 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24696 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24697 * sysdeps/ieee754/k_standard.c: Likewise.
24698 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24702 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24706 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24707 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24708 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24710 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24711 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24712 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24723 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24729 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24731 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24733 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24735 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24736 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24737 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24738 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24739 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24740 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24741 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24742 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24743 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24744 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24745 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24748 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24749 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24750 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24753 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24754 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24755 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24756 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24757 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24758 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24760 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24761 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24764 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24765 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24766 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24770 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24771 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24772 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24774 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24775 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24777 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24778 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24780 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24781 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24782 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24783 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24784 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24785 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24786 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24788 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24789 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24790 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24791 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24792 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24793 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24794 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24795 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24798 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24799 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24813 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24817 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24818 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24819 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24820 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24825 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24830 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24847 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24848 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24850 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24858 * sysdeps/ieee754/s_lib_version.c: Likewise.
24859 * sysdeps/ieee754/s_matherr.c: Likewise.
24860 * sysdeps/ieee754/s_signgam.c: Likewise.
24861 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24862 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24863 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24864 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24865 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24866 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24867 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24868 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24869 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24870 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24871 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24872 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24873 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24874 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24875 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24876 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24877 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24878 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24879 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24883 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24885 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24886 * sunrpc/rpc_main.c: Likewise.
24887 * sunrpc/rpc_svcout.c: Likewise.
24889 2012-03-09 David S. Miller <davem@davemloft.net>
24891 * include/math_private.h: New file.
24893 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24895 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24896 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24897 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24898 from <bits/socket_type.h>.
24899 (enum __socket_type): Don't define here.
24900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24902 bits/socket_type.h.
24905 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24906 checking __USE_GNU.
24908 * Makerules ($(inst_includedir)/%.h): New rule.
24909 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24910 (install-others): Remove variable setting.
24911 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24913 2012-03-08 Richard Henderson <rth@twiddle.net>
24915 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24916 from macro to inline function; merge with the
24917 !__LIBC_INTERNAL_MATH_INLINES version.
24918 (__ieee754_sqrtf): Likewise.
24920 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24921 to inline function.
24922 (__rintf, __floor, __floorf): Likewise.
24924 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24925 macro to inline function.
24926 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24928 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24929 not <math/math_private.h>.
24931 2012-03-08 David S. Miller <davem@davemloft.net>
24933 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24935 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24937 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24939 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24941 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24942 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24944 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24946 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24947 be defined individually, they must be defined as a block. Define
24948 S for printing a string instead of hidint the different by using a
24949 macro for adding the 'l'.
24950 * stdio-common/tst-fphex-wide.c: Adjust.
24952 2012-03-07 Marek Polacek <polacek@redhat.com>
24954 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24956 2012-03-08 Marek Polacek <polacek@redhat.com>
24959 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24960 * stdio-common/tst-fphex.c: Define a few macros to make the
24961 test reusable. Use them.
24962 * stdio-common/tst-fphex-wide.c: New file.
24964 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24967 * manual/macros.texi (gnusystems): New macro.
24968 (nongnusystems): Likewise.
24969 (gnulinuxhurdsystems): Likewise.
24970 (gnuhurdsystems): Likewise..
24971 (gnulinuxsystems): Likewise.
24972 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24973 variants of the GNU system, not "GNU system".
24974 * manual/conf.texi: Likewise.
24975 * manual/errno.texi: Likewise. Update example of errno macro
24977 * manual/filesys.texi: Likewise.
24978 (getumask): Document as specific to GNU/Hurd.
24979 * manual/install.texi: Likewise. Reword some references to
24981 * manual/intro.texi: Likewise.
24982 * manual/io.texi: Likewise.
24983 (File Name Portability): Detail which constraints are inapplicable
24984 to all GNU systems and which are only inapplicable to GNU/Hurd.
24985 * manual/job.texi: Likewise.
24986 * manual/llio.texi: Likewise.
24987 (O_NOCTTY): Document as present on GNU/Linux.
24988 * manual/maint.texi: Likewise.
24989 * manual/memory.texi: Likewise.
24990 * manual/pattern.texi: Likewise.
24991 * manual/pipe.texi: Likewise.
24992 * manual/process.texi: Likewise.
24993 * manual/resource.texi: Likewise.
24994 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24996 * manual/setjmp.texi: Likewise.
24997 * manual/signal.texi: Likewise.
24998 * manual/startup.texi: Likewise.
24999 * manual/stdio.texi: Likewise.
25000 * manual/terminal.texi: Likewise.
25001 (ONLCR): Document as POSIX.
25002 (OXTABS): Document availability on GNU/Linux as XTABS.
25003 (ONOEOT): Document availability separately from other bits.
25004 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25005 * manual/time.texi: Likewise.
25006 * manual/users.texi: Likewise.
25007 * INSTALL: Regenerated.
25008 * sysdeps/gnu/errlist.c: Regenerated.
25010 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25011 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25012 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25014 * configure: Regenerated.
25016 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25018 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25019 default includes instead of AC_HEADER_CHECK.
25020 * sysdeps/i386/configure: Regenerated.
25023 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25024 * math/s_cacoshf.c (__cacoshf): Likewise.
25025 * math/s_cacoshl.c (__cacoshl): Likewise.
25026 * math/s_casinh.c (__casinh): Set signs of result from argument.
25027 * math/s_casinhf.c (__casinhf): Likewise.
25028 * math/s_casinhl.c (__casinhl): Likewise.
25029 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25030 (casinh_test): Add more tests.
25031 * sysdeps/i386/fpu/libm-test-ulps: Update.
25032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25034 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25036 * po/zh_TW.po: Update from translation team.
25038 * login/Makefile (distribute): Remove variable.
25039 * catgets/Makefile: Likewise.
25040 * mach/Makefile: Likewise.
25041 * malloc/Makefile: Likewise.
25042 * misc/Makefile: Likewise.
25043 * iconv/Makefile: Likewise.
25044 * nscd/Makefile: Likewise.
25045 * hurd/Makefile: Likewise.
25046 * manual/Makefile: Likewise.
25047 * locale/Makefile: Likewise.
25048 * intl/Makefile: Likewise.
25049 * conform/Makefile: Likewise.
25050 * nss/Makefile: Likewise.
25051 * time/Makefile: Likewise.
25052 * soft-fp/Makefile: Likewise.
25053 * dirent/Makefile: Likewise.
25054 * gmon/Makefile: Likewise.
25055 * po/Makefile: Likewise.
25056 * rt/Makefile: Likewise.
25057 * socket/Makefile: Likewise.
25058 * math/Makefile: Likewise.
25059 * signal/Makefile: Likewise.
25060 * debug/Makefile: Likewise.
25061 * elf/Makefile: Likewise.
25062 * timezone/Makefile: Likewise.
25063 * stdlib/Makefile: Likewise.
25064 * iconvdata/Makefile: Likewise.
25065 * sunrpc/Makefile: Likewise.
25066 * io/Makefile: Likewise.
25067 * argp/Makefile: Likewise.
25068 * inet/Makefile: Likewise.
25069 * hesiod/Makefile: Likewise.
25070 * grp/Makefile: Likewise.
25071 * csu/Makefile: Likewise.
25072 * wctype/Makefile: Likewise.
25073 * crypt/Makefile: Likewise.
25074 * libio/Makefile: Likewise.
25075 * string/Makefile: Likewise.
25076 * nis/Makefile: Likewise.
25077 * resolv/Makefile: Likewise.
25078 * stdio-common/Makefile: Likewise.
25079 * wcsmbs/Makefile: Likewise.
25080 * dlfcn/Makefile: Likewise.
25081 * posix/Makefile: Likewise.
25084 * timezone/Makefile: Don't install timezone files, just the programs
25087 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25089 * nss/databases.def: Add missing gshadow entry.
25091 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25093 2012-03-06 Marek Polacek <polacek@redhat.com>
25096 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25097 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25098 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25099 * stdio-common/tst-long-dbl-fphex.c: New file.
25101 2012-03-06 David S. Miller <davem@davemloft.net>
25103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25104 (set_obp_int): New function.
25105 (get_obp_int): New function.
25106 (__get_clockfreq_via_dev_openprom): Likewise.
25107 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25108 Avoid unused variable warnings on 'val' and use builtin_expect.
25109 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25111 (INLINE_CLONE_SYSCALL): Likewise.
25113 2012-03-05 David S. Miller <davem@davemloft.net>
25115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25117 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25121 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25122 only for |x| >= 40.
25123 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25125 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25128 Replace gettimeofday with __vdso_gettimeofday.
25130 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25131 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25132 __vdso_clock_gettime and __vdso_getcpu.
25134 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25135 time with __vdso_time.
25137 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25139 * manual/lang.texi (size_t): Note types to which size_t may be
25140 equivalent with the GNU C Library, but do not describe when
25141 differences between them are significant.
25143 2012-03-05 Andreas Jaeger <aj@suse.de>
25145 * sysdeps/i386/fpu/libm-test-ulps: Update.
25147 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25150 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25151 (__ieee754_pow): Save and restore rounding mode and use
25152 round-to-nearest for main computations.
25153 * math/libm-test.inc (pow_test_tonearest): New function.
25154 (pow_test_towardzero): Likewise.
25155 (pow_test_downward): Likewise.
25156 (pow_test_upward): Likewise.
25157 (main): Call the new functions.
25158 * sysdeps/i386/fpu/libm-test-ulps: Update.
25159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25162 * math/libm-test.inc (cosh_test_tonearest): New function.
25163 (cosh_test_towardzero): Likewise.
25164 (cosh_test_downward): Likewise.
25165 (cosh_test_upward): Likewise.
25166 (sinh_test_tonearest): Likewise.
25167 (sinh_test_towardzero): Likewise.
25168 (sinh_test_downward): Likewise.
25169 (sinh_test_upward): Likewise.
25170 (main): Call the new functions.
25171 * sysdeps/i386/fpu/libm-test-ulps: Update.
25172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25174 2012-03-05 Tom de Vries <tom@codesourcery.com>
25176 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25177 default stack guard is set in last bytes.
25178 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25180 2012-03-05 Kees Cook <keescook@chromium.org>
25182 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25185 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25186 possibly allocate from heap instead of stack.
25187 * stdio-common/bug-vfprintf-nargs.c: New file.
25188 * stdio-common/Makefile (tests): Add nargs overflow test.
25190 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25194 2012-03-03 Marek Polacek <polacek@redhat.com>
25196 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25197 * math/math_private.h: Likewise.
25198 * stdlib/tst-strtod.c: Likewise.
25199 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25200 * sysdeps/x86_64/bits/atomic.h: Likewise.
25202 2012-03-02 David S. Miller <davem@davemloft.net>
25204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25208 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25209 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25210 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25211 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25213 2012-03-02 Roland McGrath <roland@hack.frob.com>
25216 * manual/examples/README: New file, says the example source files
25217 can be used under GPL>=2.
25218 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25219 line containing just "*/".
25220 * manual/examples/add.c: Add copyright header (GPL>=2).
25221 * manual/examples/argp-ex1.c: Likewise.
25222 * manual/examples/argp-ex2.c: Likewise.
25223 * manual/examples/argp-ex3.c: Likewise.
25224 * manual/examples/argp-ex4.c: Likewise.
25225 * manual/examples/atexit.c: Likewise.
25226 * manual/examples/db.c: Likewise.
25227 * manual/examples/dir.c: Likewise.
25228 * manual/examples/dir2.c: Likewise.
25229 * manual/examples/execinfo.c: Likewise.
25230 * manual/examples/filecli.c: Likewise.
25231 * manual/examples/filesrv.c: Likewise.
25232 * manual/examples/fmtmsgexpl.c: Likewise.
25233 * manual/examples/genpass.c: Likewise.
25234 * manual/examples/inetcli.c: Likewise.
25235 * manual/examples/inetsrv.c: Likewise.
25236 * manual/examples/isockad.c: Likewise.
25237 * manual/examples/longopt.c: Likewise.
25238 * manual/examples/memopen.c: Likewise.
25239 * manual/examples/memstrm.c: Likewise.
25240 * manual/examples/mkfsock.c: Likewise.
25241 * manual/examples/mkisock.c: Likewise.
25242 * manual/examples/mygetpass.c: Likewise.
25243 * manual/examples/pipe.c: Likewise.
25244 * manual/examples/popen.c: Likewise.
25245 * manual/examples/rprintf.c: Likewise.
25246 * manual/examples/search.c: Likewise.
25247 * manual/examples/select.c: Likewise.
25248 * manual/examples/setjmp.c: Likewise.
25249 * manual/examples/sigh1.c: Likewise.
25250 * manual/examples/sigusr.c: Likewise.
25251 * manual/examples/stpcpy.c: Likewise.
25252 * manual/examples/strdupa.c: Likewise.
25253 * manual/examples/strftim.c: Likewise.
25254 * manual/examples/strncat.c: Likewise.
25255 * manual/examples/subopt.c: Likewise.
25256 * manual/examples/swapcontext.c: Likewise.
25257 * manual/examples/termios.c: Likewise.
25258 * manual/examples/testopt.c: Likewise.
25259 * manual/examples/testpass.c: Likewise.
25260 * manual/examples/timeval_subtract.c: Likewise.
25263 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25265 * manual/timeval_subtract.c.texi: ... here, new file.
25267 2012-03-02 David S. Miller <davem@davemloft.net>
25269 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25271 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25274 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25275 (__sin): Save and restore rounding mode and use round-to-nearest
25276 for all computations.
25277 (__cos): Save and restore rounding mode and use round-to-nearest
25278 for all computations.
25279 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25281 (tan): Save and restore rounding mode and use round-to-nearest for
25283 * math/libm-test.inc (cos_test_tonearest): New function.
25284 (cos_test_towardzero): Likewise.
25285 (cos_test_downward): Likewise.
25286 (cos_test_upward): Likewise.
25287 (sin_test_tonearest): Likewise.
25288 (sin_test_towardzero): Likewise.
25289 (sin_test_downward): Likewise.
25290 (sin_test_upward): Likewise.
25291 (tan_test_tonearest): Likewise.
25292 (tan_test_towardzero): Likewise.
25293 (tan_test_downward): Likewise.
25294 (tan_test_upward): Likewise.
25295 (main): Call the new functions.
25296 * sysdeps/i386/fpu/libm-test-ulps: Update.
25297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25300 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25301 small n, then large n, before computing and testing k+n.
25302 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25307 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25308 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25313 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25314 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25315 * math/libm-test.inc (scalbn_test): Add more tests.
25316 (scalbln_test): Likewise.
25318 * manual/filesys.texi (mode_t): Describe constraints on size and
25319 signedness, not exact equivalence to a particular type.
25321 (ino64_t): Likewise.
25323 (nlink_t): Likewise.
25324 (blkcnt_t): Likewise.
25325 (blkcnt64_t): Likewise.
25326 * manual/llio.texi (off_t): Likewise.
25329 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25330 (__ieee754_exp): Save and restore rounding mode and use
25331 round-to-nearest for all computations.
25332 * math/libm-test.inc (exp_test_tonearest): New function.
25333 (exp_test_towardzero): Likewise.
25334 (exp_test_downward): Likewise.
25335 (exp_test_upward): Likewise.
25336 (main): Call the new functions.
25337 * sysdeps/i386/fpu/libm-test-ulps: Update.
25338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25340 2012-03-01 Chris Demetriou <cgd@google.com>
25342 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25343 have predictable order.
25345 2012-03-01 David S. Miller <davem@davemloft.net>
25347 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25349 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25350 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25351 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25352 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25354 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25355 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25356 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25358 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25359 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25360 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25361 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25362 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25367 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25368 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25370 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25371 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25372 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25373 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25374 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25377 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25378 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25379 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25380 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25381 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25383 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25384 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25386 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25387 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25388 * sysdeps/sparc/elf/configure: Regenerated.
25390 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25392 * configure.in (AS, LD): Require binutils 2.20 or later.
25393 * configure: Regenerated.
25394 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25395 as required minimum version.
25396 * INSTALL: Regenerated.
25400 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25401 before squaring exponent.
25402 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25403 bottom long double and 27 bits of top long double before squaring
25405 * math/libm-test.inc (erfc_test): Add more tests.
25406 * sysdeps/i386/fpu/libm-test-ulps: Update.
25407 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25410 2012-03-01 Kai Tietz <ktietz@redhat.com>
25412 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25413 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25414 containing bit-fields.
25415 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25416 * soft-fp/single.h (_FP_UNION_S): Likewise.
25417 * soft-fp/double.h (_FP_UNION_D): Likewise.
25419 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25422 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25423 not include ../strcmp.S.
25424 [USE_AS_STRNCASECMP_L]: Likewise.
25425 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25426 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25427 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25428 (__strncasecmp_l_ia32): Define as alias to
25429 __strncasecmp_l_nonascii.
25432 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25433 * sysdeps/i386/fpu/libm-test-ulps: Update.
25434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25436 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25439 2012-02-29 Jeff Law <law@redhat.com>
25441 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25442 out of bounds read.
25444 2012-02-29 Marek Polacek <polacek@redhat.com>
25447 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25448 * elf/Makefile: Add rules to run tst-unused-dep.out.
25450 2012-02-28 David S. Miller <davem@davemloft.net>
25452 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25453 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25454 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25455 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25456 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25457 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25459 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25461 * math/libm-test.inc (llround_test): Move one test from
25462 lround_test. Use TEST_f_L in moved test.
25463 (lround_test): Move misplaced test to llround_test. Add testcase
25466 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25468 * sysdeps/x86_64/fpu/e_expf.S: New file.
25469 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25471 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25474 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25475 of remain_len that may cause incomplete multi-byte character and
25477 * posix/bug-regex33.c: New file.
25478 * posix/Makefile (tests): Add bug-regex33.
25480 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25482 * manual/macros.texi: New file.
25483 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25484 * manual/libc.texinfo: Include macros.texi.
25485 * manual/creatute.texi: Likewise.
25486 * manual/install.texi: Likewise.
25487 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25488 @glibcadj{} in references to the GNU C Library.
25489 * manual/charset.texi: Likewise.
25490 * manual/conf.texi: Likewise.
25491 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25492 when not using those macros.
25493 * manual/creature.texi: Likewise.
25494 * manual/crypt.texi: Likewise.
25495 * manual/errno.texi: Likewise.
25496 * manual/filesys.texi: Likewise.
25497 * manual/header.texi: Likewise.
25498 * manual/install.texi: Likewise.
25499 * manual/intro.texi: Likewise.
25500 * manual/io.texi: Likewise.
25501 * manual/job.texi: Likewise.
25502 * manual/lang.texi: Likewise.
25503 * manual/libc.texiinfo: Likewise.
25504 * manual/llio.texi: Likewise.
25505 * manual/locale.texi: Likewise.
25506 * manual/maint.texi: Likewise.
25507 * manual/math.texi: Likewise.
25508 * manual/memory.texi: Likewise.
25509 * manual/message.texi: Likewise.
25510 * manual/nss.texi: Likewise.
25511 * manual/pattern.texi: Likewise.
25512 * manual/process.texi: Likewise.
25513 * manual/resource.texi: Likewise.
25514 * manual/search.texi: Likewise.
25515 * manual/setjmp.texi: Likewise.
25516 * manual/signal.texi: Likewise.
25517 * manual/socket.texi: Likewise.
25518 * manual/startup.texi: Likewise.
25519 * manual/stdio.texi: Likewise.
25520 * manual/string.texi: Likewise.
25521 * manual/sysinfo.texi: Likewise.
25522 * manual/syslog.texi: Likewise.
25523 * manual/terminal.texi: Likewise.
25524 * manual/time.texi: Likewise.
25525 * manual/users.texi: Likewise.
25526 * INSTALL: Regenerated.
25527 * NOTES: Regenerated.
25528 * sysdeps/gnu/errlist.c: Regenerated.
25530 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25532 * include/dirent.h: Include <dirstream.h> before
25535 2012-02-28 David S. Miller <davem@davemloft.net>
25537 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25538 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25539 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25540 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25542 2012-02-27 David S. Miller <davem@davemloft.net>
25544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25546 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25547 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25550 frame pointer instead of stack pointer relative arg slot.
25551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25552 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25553 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25555 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25558 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25560 2012-02-27 David S. Miller <davem@davemloft.net>
25562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25566 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25567 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25568 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25569 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25571 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25573 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25574 later. Allow versions 5-9.
25575 * configure: Regenerated.
25576 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25577 required minimum version and 4.6 as recommended version. Do not
25578 mention bugs in GCC 2.7 and 2.8.
25579 * INSTALL: Regenerated.
25581 2012-02-27 David S. Miller <davem@davemloft.net>
25583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25587 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25588 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25589 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25590 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25593 manipulate bits before adding and subtracting TWO112[sx].
25594 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25596 2012-02-27 Roland McGrath <roland@hack.frob.com>
25599 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25600 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25601 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25602 being in POSIX, because they are in 1003.1-2008.
25604 * rt/tst-aio.c: Include <fcntl.h>.
25605 * rt/tst-aio7.c: Likewise.
25606 * rt/tst-aio64.c: Likewise.
25608 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25610 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25612 * manual/install.texi (--with-headers): Describe headers as
25613 interface headers, not private headers.
25614 (Specific advice for GNU/Linux systems): Describe use of headers
25615 from "make headers_install", not private headers from older
25617 * INSTALL: Regenerated.
25618 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25620 * sysdeps/unix/sysv/linux/configure: Regenerated.
25622 * manual/llio.texi (fclean): Remove documentation.
25624 * manual/Makefile (libc-texi-generated): New variable. Include
25626 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25627 $(libc-texi-generated), not duplicated list of files.
25628 (version.texi, stamp-version): New rules.
25629 (realclean): Remove $(libc-texi-generated), not individual files
25630 from that list. Do not remove dir-add.texinfo.
25631 * manual/libc.texinfo: Comment out uses of edition numbers and
25632 references to printed manual. Remove last-updated dates.
25633 (EDITION): Comment out.
25635 (VERSION, UPDATED): Remove.
25636 (version.texi): Include.
25638 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25640 * sysdeps/posix/spawni.c: Include <signal.h>.
25641 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25642 * sysdeps/pthread/aio_fsync.c: Likewise.
25644 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25646 * conform/Makefile (tests): Run only when not cross-compiling and
25647 when fast-check is not defined.
25649 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25650 * conform/data/limits.h-data: Fixes for POSIX2008.
25651 * conform/run-conformtest.sh: Run all tests.
25652 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25654 * include/bits/dlfcn.h: Likewise.
25655 * include/langinfo.h: Likewise.
25656 * include/monetary.h: Likewise.
25657 * include/sys/poll.h: Likewise.
25659 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25661 * posix/spawn.h: Define __need_sigset_t.
25662 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25663 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25664 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25665 to get sigevent_t only.
25666 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25667 only for __USE_GNU.
25668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25669 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25670 process_vm_writev only for __USE_GNU.
25671 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25673 * conform/Makefile: For now ignore errors from run-conformtest.
25674 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25675 POSIX to avoid namespace pollution. Don't prepend headers.
25676 * conform/data/aio.h-data: Fixes for POSIX testing.
25677 * conform/data/fcntl.h-data: Likewise.
25678 * conform/data/glob.h-data: Likewise.
25679 * conform/data/grp.h-data: Likewise.
25680 * conform/data/pthread.h-data: Likewise.
25681 * conform/data/pwd.h-data: Likewise.
25682 * conform/data/signal.h-data: Likewise.
25683 * conform/data/spawn.h-data: Likewise.
25684 * conform/data/stdio.h-data: Likewise.
25685 * conform/data/stdlib.h-data: Likewise.
25686 * conform/data/stropts.h-data: Likewise.
25687 * conform/data/sys/mman.h-data: Likewise.
25688 * conform/data/sys/stat.h-data: Likewise.
25689 * conform/data/sys/types.h-data: Likewise.
25690 * conform/data/sys/wait.h-data: Likewise.
25691 * conform/data/time.h-data: Likewise.
25692 * conform/data/unistd.h-data: Likewise.
25693 * conform/data/utime.h-data: Likewise.
25695 * io/sys/stat.h: fchmod was always in POSIX.
25696 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25697 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25698 * rt/aio.h: Define __need_timespec before including <time.h>.
25699 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25700 struct. Add forward declaration of pthread_attr_t and use it in
25702 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25704 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25705 always remove CLK_TCK definition.
25707 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25709 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25711 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25713 * conform/run-conformtest.sh: New file.
25714 * conform/Makefile: Run run-conformtest for tests.
25715 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25718 * conform/data/uchar.h-data: New file.
25719 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25720 * conform/data/arpa/inet.h-data: Likewise.
25721 * conform/data/assert.h-data: Likewise.
25722 * conform/data/complex.h-data: Likewise.
25723 * conform/data/cpio.h-data: Likewise.
25724 * conform/data/ctype.h-data: Likewise.
25725 * conform/data/dirent.h-data: Likewise.
25726 * conform/data/dlfcn.h-data: Likewise.
25727 * conform/data/errno.h-data: Likewise.
25728 * conform/data/fcntl.h-data: Likewise.
25729 * conform/data/float.h-data: Likewise.
25730 * conform/data/fmtmsg.h-data: Likewise.
25731 * conform/data/fnmatch.h-data: Likewise.
25732 * conform/data/ftw.h-data: Likewise.
25733 * conform/data/glob.h-data: Likewise.
25734 * conform/data/grp.h-data: Likewise.
25735 * conform/data/iconv.h-data: Likewise.
25736 * conform/data/inttypes.h-data: Likewise.
25737 * conform/data/langinfo.h-data: Likewise.
25738 * conform/data/libgen.h-data: Likewise.
25739 * conform/data/limits.h-data: Likewise.
25740 * conform/data/locale.h-data: Likewise.
25741 * conform/data/math.h-data: Likewise.
25742 * conform/data/monetary.h-data: Likewise.
25743 * conform/data/mqueue.h-data: Likewise.
25744 * conform/data/ndbm.h-data: Likewise.
25745 * conform/data/net/if.h-data: Likewise.
25746 * conform/data/netdb.h-data: Likewise.
25747 * conform/data/netinet/in.h-data: Likewise.
25748 * conform/data/nl_types.h-data: Likewise.
25749 * conform/data/poll.h-data: Likewise.
25750 * conform/data/pthread.h-data: Likewise.
25751 * conform/data/pwd.h-data: Likewise.
25752 * conform/data/regex.h-data: Likewise.
25753 * conform/data/sched.h-data: Likewise.
25754 * conform/data/search.h-data: Likewise.
25755 * conform/data/semaphore.h-data: Likewise.
25756 * conform/data/setjmp.h-data: Likewise.
25757 * conform/data/signal.h-data: Likewise.
25758 * conform/data/spawn.h-data: Likewise.
25759 * conform/data/stdarg.h-data: Likewise.
25760 * conform/data/stdio.h-data: Likewise.
25761 * conform/data/stdlib.h-data: Likewise.
25762 * conform/data/string.h-data: Likewise.
25763 * conform/data/strings.h-data: Likewise.
25764 * conform/data/stropts.h-data: Likewise.
25765 * conform/data/sys/ipc.h-data: Likewise.
25766 * conform/data/sys/mman.h-data: Likewise.
25767 * conform/data/sys/msg.h-data: Likewise.
25768 * conform/data/sys/resource.h-data: Likewise.
25769 * conform/data/sys/select.h-data: Likewise.
25770 * conform/data/sys/sem.h-data: Likewise.
25771 * conform/data/sys/shm.h-data: Likewise.
25772 * conform/data/sys/socket.h-data: Likewise.
25773 * conform/data/sys/stat.h-data: Likewise.
25774 * conform/data/sys/statvfs.h-data: Likewise.
25775 * conform/data/sys/time.h-data: Likewise.
25776 * conform/data/sys/timeb.h-data: Likewise.
25777 * conform/data/sys/times.h-data: Likewise.
25778 * conform/data/sys/types.h-data: Likewise.
25779 * conform/data/sys/uio.h-data: Likewise.
25780 * conform/data/sys/un.h-data: Likewise.
25781 * conform/data/sys/utsname.h-data: Likewise.
25782 * conform/data/sys/wait.h-data: Likewise.
25783 * conform/data/syslog.h-data: Likewise.
25784 * conform/data/tar.h-data: Likewise.
25785 * conform/data/termios.h-data: Likewise.
25786 * conform/data/utime.h-data: Likewise.
25787 * conform/data/utmpx.h-data: Likewise.
25788 * conform/data/varargs.h-data: Likewise.
25789 * conform/data/wchar.h-data: Likewise.
25790 * conform/data/wctype.h-data: Likewise.
25791 * conform/data/wordexp.h-data: Likewise.
25793 * include/stropts.h: New file.
25794 * include/uchar.h: New file.
25795 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25796 * include/assert.h: Likewise.
25797 * include/ctype.h: Likewise.
25798 * include/dirent.h: Likewise.
25799 * include/dlfcn.h: Likewise.
25800 * include/fcntl.h: Likewise.
25801 * include/fnmatch.h: Likewise.
25802 * include/glob.h: Likewise.
25803 * include/grp.h: Likewise.
25804 * include/libio.h: Likewise.
25805 * include/locale.h: Likewise.
25806 * include/math.h: Likewise.
25807 * include/net/if.h: Likewise.
25808 * include/netdb.h: Likewise.
25809 * include/netinet/in.h: Likewise.
25810 * include/pthread.h: Likewise.
25811 * include/pwd.h: Likewise.
25812 * include/regex.h: Likewise.
25813 * include/sched.h: Likewise.
25814 * include/search.h: Likewise.
25815 * include/setjmp.h: Likewise.
25816 * include/signal.h: Likewise.
25817 * include/stdio.h: Likewise.
25818 * include/stdlib.h: Likewise.
25819 * include/string.h: Likewise.
25820 * include/sys/cdefs.h: Likewise.
25821 * include/sys/mman.h: Likewise.
25822 * include/sys/msg.h: Likewise.
25823 * include/sys/resource.h: Likewise.
25824 * include/sys/select.h: Likewise.
25825 * include/sys/socket.h: Likewise.
25826 * include/sys/stat.h: Likewise.
25827 * include/sys/statvfs.h: Likewise.
25828 * include/sys/time.h: Likewise.
25829 * include/sys/times.h: Likewise.
25830 * include/sys/uio.h: Likewise.
25831 * include/sys/utsname.h: Likewise.
25832 * include/sys/wait.h: Likewise.
25833 * include/termios.h: Likewise.
25834 * include/time.h: Likewise.
25835 * include/ulimit.h: Likewise.
25836 * include/unistd.h: Likewise.
25837 * include/utime.h: Likewise.
25838 * include/wchar.h: Likewise.
25839 * include/wctype.h: Likewise.
25840 * include/wordexp.h: Likewise.
25842 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25844 * time/time.h: TIME_UTC must be a macro.
25845 Make timespec_get available for ISO C11 only as well.
25847 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25849 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25850 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25852 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25854 * configure.in: Use -o not -a in test for unsupported multi-arch.
25856 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25858 * manual/texinfo.tex: Update to version 2012-01-19.16.
25860 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25862 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25864 2012-02-24 Roland McGrath <roland@hack.frob.com>
25867 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25868 * manual/fdl-1.3.texi: New file.
25869 * manual/fdl-1.1.texi: File removed.
25872 * manual/libc.texinfo (FDL_VERSION): New @set.
25873 Use it for mention of FDL in cover text.
25874 (Documentation License): Use it in @include file name.
25876 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25877 Roland McGrath <roland@hack.frob.com>
25880 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25881 not LONG_LONG_MAX and LONG_LONG_MIN.
25882 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25883 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25885 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25887 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25891 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25892 manipulate bits before adding and subtracting TWO23[sx].
25893 * math/libm-test.inc (nearbyint_test): Add more tests.
25895 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25898 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25899 bits before adding and subtracting TWO23[sx].
25900 * math/libm-test.inc (rint_test): Add more tests.
25901 (rint_test_tonearest): Likewise.
25902 (rint_test_towardzero): Likewise.
25903 (rint_test_downward): Likewise.
25904 (rint_test_upward: Likewise.
25906 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25909 * include/stdc-predef.h: New file. Extracted from features.h.
25910 * include/features.h: Include stdc-predef.h.
25911 * Makefile (headers): Add stdc-predef.h.
25912 * CONFORMANCE (Compiler limitations): Update.
25914 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25916 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25918 2012-02-21 David S. Miller <davem@davemloft.net>
25920 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25921 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25923 2012-02-20 David S. Miller <davem@davemloft.net>
25925 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25926 using a normal save/restore sequence, rather than allocating a
25927 dummy stack frame just to store a frame pointer and restore.
25928 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25930 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25932 * manual/install.texi: Fix stray word in line-wrapped comment.
25934 2012-02-20 David S. Miller <davem@davemloft.net>
25936 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25937 both binutils and gcc support GOTDATA.
25939 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25940 "rd %pc" in the PIC register setup sequences.
25942 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25943 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25944 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25945 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25946 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25949 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25951 (SYSCALL_ERROR_HANDLER): Likewise.
25952 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25953 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25955 (SYSCALL_ERROR_HANDLER): Likewise.
25957 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25958 (HAVE_GCC_GOTDATA): New.
25959 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25960 relocation support in both binutils and gcc.
25961 * sysdeps/sparc/elf/configure: Regenerate.
25963 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25964 * sysdeps/sparc/sparc32/elf/configure: Delete.
25965 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25966 * sysdeps/sparc/sparc64/elf/configure: Delete.
25967 * sysdeps/sparc/elf/configure.in: New file.
25968 * sysdeps/sparc/elf/configure: Generate.
25970 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25971 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25972 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25973 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25974 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25976 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25978 * manual/install.texi: Do not mention specific glibc version
25980 * manual/libc.texinfo (VERSION, UPDATED): Update.
25981 (@copying): Use @copyright{} and range of years.
25983 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25986 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25987 [crti.S not in sysdirs] (generated): Do not append.
25988 [crti.S not in sysdirs] (omit-deps): Likewise.
25989 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25990 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25991 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25992 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25993 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25995 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25996 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25997 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25998 * csu/defs.awk: Remove file.
25999 * sysdeps/generic/initfini.c: Likewise.
26000 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26002 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26005 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26007 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26008 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26009 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26011 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26012 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26014 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26015 (__EPOLL_PACKED): Define to empty if not defined by
26017 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26021 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26023 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26024 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26025 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26026 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26028 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26032 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26034 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26036 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26037 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26041 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26043 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26044 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26046 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26048 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26049 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26051 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26053 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26056 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26058 * math/w_acos.c: Use non-signaling floating-point comparisons.
26059 * math/w_acosf.c: Likewise.
26060 * math/w_acosh.c: Likewise.
26061 * math/w_acoshf.c: Likewise.
26062 * math/w_acoshl.c: Likewise.
26063 * math/w_acosl.c: Likewise.
26064 * math/w_asin.c: Likewise.
26065 * math/w_asinf.c: Likewise.
26066 * math/w_asinl.c: Likewise.
26067 * math/w_atanh.c: Likewise.
26068 * math/w_atanhf.c: Likewise.
26069 * math/w_atanhl.c: Likewise.
26070 * math/w_exp2.c: Likewise.
26071 * math/w_exp2f.c: Likewise.
26072 * math/w_exp2l.c: Likewise.
26073 * math/w_j0.c: Likewise.
26074 * math/w_j0f.c: Likewise.
26075 * math/w_j0l.c: Likewise.
26076 * math/w_j1.c: Likewise.
26077 * math/w_j1f.c: Likewise.
26078 * math/w_j1l.c: Likewise.
26079 * math/w_jn.c: Likewise.
26080 * math/w_jnf.c: Likewise.
26081 * math/w_log.c: Likewise.
26082 * math/w_log10.c: Likewise.
26083 * math/w_log10f.c: Likewise.
26084 * math/w_log10l.c: Likewise.
26085 * math/w_log2.c: Likewise.
26086 * math/w_log2f.c: Likewise.
26087 * math/w_log2l.c: Likewise.
26088 * math/w_logf.c: Likewise.
26089 * math/w_logl.c: Likewise.
26090 * math/w_sqrt.c: Likewise.
26091 * math/w_sqrtf.c: Likewise.
26092 * math/w_sqrtl.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26095 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26096 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26097 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26099 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26102 * manual/string.texi (strnlen): Use correct parameter name in
26103 equivalent expression.
26105 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26108 * manual/users.texi (seteuid): Consistently use neweuid for
26111 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26114 * manual/nss.texi (Services in the NSS configuration): Correct
26115 list of services in example configuration file.
26117 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26120 * manual/arith.texi: Remove statements about negative zero
26121 behaving identically to zero.
26123 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26126 * manual/install.texi: Do not document upgrading from libc5.
26128 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26131 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26133 2012-02-18 David S. Miller <davem@davemloft.net>
26135 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26136 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26137 %o7 across the call.
26138 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26140 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26141 SETUP_PIC_REG_LEAF.
26142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26143 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26144 * sysdeps/sparc/crtn.S: Likewise.
26146 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26148 * aout/Makefile: Remove.
26150 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26153 * manual/examples/argp-ex1.c (main): Format definition in GNU
26155 * manual/examples/argp-ex2.c (main): Likewise.
26156 * manual/examples/argp-ex3.c (main): Likewise.
26157 * manual/examples/argp-ex4.c (main): Likewise.
26158 * manual/examples/longopt.c (main): Use new-style prototype
26160 * manual/examples/strncat.c (main): Specify return type and use
26161 (void) for arguments.
26162 * manual/examples/subopt.c (main): Use char **argv argument.
26164 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26167 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26170 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26173 * manual/string.texi (strchr): Change when strchrnul is
26176 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26179 * manual/locale.texi (setlocale): Document LOCPATH.
26181 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26184 * manual/process.texi (execle): Move @dots{} before last argument.
26186 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26189 * manual/charset.texi (Generic Charset Conversion): Fix typo
26190 (LC_TYPE -> LC_CTYPE).
26192 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26195 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26196 (scalbnf): Likewise.
26197 (scalbnl): Likewise.
26198 (scalbln): Likewise.
26199 (scalblnf): Likewise.
26200 (scalblnl): Likewise.
26201 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26202 (vwarnx): Likewise.
26205 * manual/filesys.texi (telldir): Use braces around return type.
26206 * manual/llio.texi (mmap): Add space after comma.
26207 (mmap64): Likewise.
26208 * manual/math.texi (jn): Use @var{} on parameter names.
26214 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26216 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26218 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26219 (sched_get_priority_max): Likewise.
26220 * manual/signal.texi (sigvec): Add space after comma.
26221 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26223 (if_indextoname): Likewise.
26224 (if_freenameindex): Likewise.
26225 (sendto): Use ',' instead of '.' in prototype.
26226 * manual/startup.texi (syscall): Use @dots{} instead of literal
26228 * manual/stdio.texi (__fpending): Separate initial words of
26229 paragraph from @deftypefun line.
26230 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26232 (vsyslog): Use @var{} on parameter names.
26233 * manual/terminal.texi (stty): Use @var{} on parameter names.
26234 * manual/users.texi (getutmp): Use @var{} on parameter names.
26235 (getutmpx): Likewise.
26237 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26240 * manual/stdio.texi (fopen): Fix typos in description of
26243 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26246 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26247 get clock_id definition.
26249 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26252 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26253 (madvise): Cast every argument to void on its own.
26255 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26258 * manual/startup.texi (Exit Status): Fix typo.
26260 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26263 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26264 * manual/examples/argp-ex2.c: Likewise.
26265 * manual/examples/argp-ex3.c: Likewise.
26267 2012-02-16 Richard Henderson <rth@redhat.com>
26269 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26270 * sysdeps/s390/s390-32/initfini.c: Remove.
26271 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26272 * sysdeps/s390/s390-64/initfini.c: Remove.
26274 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26276 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26277 compiler output for sysdeps/generic/initfini.c.
26278 * sysdeps/sh/elf/initfini.c: Remove file.
26280 2012-02-16 David S. Miller <davem@davemloft.net>
26283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26285 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26286 * sysdeps/sparc/crti.S: New file.
26287 * sysdeps/sparc/crtn.S: New file.
26288 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26289 * sysdeps/sparc/sparc64/Makefile: Likewise.
26291 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26294 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26296 2012-02-15 Roland McGrath <roland@hack.frob.com>
26299 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26301 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26302 (write, read, close): Likewise.
26303 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26305 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26307 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26308 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26309 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26310 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26312 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26316 2012-02-14 Marek Polacek <polacek@redhat.com>
26318 * sysdeps/x86_64/crti.S: New file.
26319 * sysdeps/x86_64/crtn.S: New file.
26320 * sysdeps/x86_64/elf/initfini.c: Remove file.
26322 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26324 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26325 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26326 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26327 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26329 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26333 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26335 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26336 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26337 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26338 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26340 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26344 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26346 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26347 __feraiseexcept instead of feraiseexcept.
26349 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26350 nanosleep invocations.
26351 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26352 strings, and add error checking for a nanosleep invocations.
26354 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26356 Replace FSF snail mail address with URLs, as per GNU coding standards.
26357 Most of the snail mail addresses were wrong anyway, and omitting
26358 them makes the source code easier to maintain. Almost all of the
26359 changes are to license notices and to locale LC_IDENTIFICATION
26360 addresses, except for this one:
26361 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26362 not its snail mail address.
26364 2012-02-09 Richard Henderson <rth@twiddle.net>
26366 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26367 of kernel-features.h.
26369 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26371 2012-02-08 Marek Polacek <polacek@redhat.com>
26373 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26374 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26375 * sysdeps/gnu/_G_config.h: Likewise.
26376 * sysdeps/generic/_G_config.h: Likewise.
26378 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26380 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26384 * sysdeps/powerpc/powerpc32/crti.S: New file.
26385 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26386 * sysdeps/powerpc/powerpc64/crti.S: New file.
26387 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26389 * Makeconfig (have-initfini): Don't set.
26390 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26391 * configure.in (nopic_initfini): Don't substitute.
26392 * config.h.in (HAVE_INITFINI): Don't #undef.
26393 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26394 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26396 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26398 Support crti.S and crtn.S provided directly by architectures.
26399 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26400 [crti.S in sysdirs] (omit-deps): Likewise.
26401 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26402 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26403 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26404 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26405 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26406 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26407 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26408 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26409 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26410 compiler output for sysdeps/generic/initfini.c.
26411 * sysdeps/i386/elf/Makefile: Remove file.
26412 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26414 2012-02-07 Marek Polacek <polacek@redhat.com>
26416 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26417 * sysdeps/gnu/_G_config.h: Likewise.
26418 * sysdeps/mach/hurd/_G_config.h: Likewise.
26420 2012-02-07 Marek Polacek <polacek@redhat.com>
26422 * math/Makefile (tests): Add tst-CMPLX2.
26423 * math/tst-CMPLX2.c: New file.
26425 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26427 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26429 * math/libm-test.inc (jn_test): Add missing L suffix.
26431 2012-02-06 Marek Polacek <polacek@redhat.com>
26433 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26434 * sysdeps/i386/fpu/e_powf.S: Likewise.
26435 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26436 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26437 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26438 * sysdeps/i386/fpu/e_pow.S: Likewise.
26439 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26440 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26441 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26442 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26443 * sysdeps/i386/fpu/e_log2.S: Likewise.
26444 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26445 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26446 * sysdeps/i386/fpu/e_powl.S: Likewise.
26447 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26448 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26449 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26450 * sysdeps/i386/fpu/e_logl.S: Likewise.
26451 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26452 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26453 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26454 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26455 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26456 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26457 * sysdeps/i386/fpu/e_log.S: Likewise.
26458 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26459 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26460 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26461 * sysdeps/i386/fpu/e_logf.S: Likewise.
26462 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26463 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26464 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26465 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26466 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26467 * sysdeps/i386/fpu/e_log10.S: Likewise.
26468 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26469 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26470 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26471 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26472 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26473 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26474 * sysdeps/i386/asm-syntax.h: Likewise.
26475 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26476 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26477 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26478 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26479 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26481 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26482 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26483 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26484 * sysdeps/powerpc/sysdep.h: Likewise.
26485 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26486 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26488 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26491 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26493 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26495 * sysdeps/i386/sysdep.h: Include <features.h>.
26496 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26499 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26501 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26503 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26506 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26508 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26509 (SETUP_PIC_REG): Use GET_PC_THUNK.
26510 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26513 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26515 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26516 for non-PIC compilation.
26517 (SETUP_PIC_REG): Add .p2align directive.
26518 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26519 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26520 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26521 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26522 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26523 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26524 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26525 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26526 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26527 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26528 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26529 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26530 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26531 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26532 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26533 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26534 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26535 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26536 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26537 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26540 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26541 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26546 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26547 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26548 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26549 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26550 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26551 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26552 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26553 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26554 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26555 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26556 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26557 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26558 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26560 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26562 * math/tst-CMPLX.c: Include <stdio.h>.
26564 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26566 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26568 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26569 * sysdeps/sparc/bits/mathdef.h: Likewise.
26571 2012-01-31 Marek Polacek <polacek@redhat.com>
26573 * libio/libio.h: Don't define _PARAMS.
26574 * locale/programs/config.h: Don't define PARAMS.
26575 * stdlib/strtol_l.c: Likewise.
26576 (__strtol_l): Remove PARAMS from the prototype.
26578 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26580 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26581 names. Just use the correct names. Remove unnecessary wrapper
26583 * malloc/arena.c: Likewise.
26584 * malloc/hooks.c: Likewise.
26586 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26587 ARENA_TEST says not to. Simplify test for creation of a new arena.
26588 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26590 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26592 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26594 (update_get_addr): New function.
26595 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26596 GET_ADDR_MODULE parameter.
26598 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26600 * crypt/cert.c: Remove __STDC__ conditionals.
26601 * crypt/crypt-entry.c: Likewise.
26602 * crypt/crypt_util.c: Likewise.
26603 * libio/filedoalloc.c: Likewise.
26604 * libio/fileops.c: Likewise.
26605 * libio/genops.c: Likewise.
26606 * libio/iofclose.c: Likewise.
26607 * libio/iofdopen.c: Likewise.
26608 * libio/iofopen.c: Likewise.
26609 * libio/iofopen64.c: Likewise.
26610 * libio/iogetdelim.c: Likewise.
26611 * libio/iopopen.c: Likewise.
26612 * libio/obprintf.c: Likewise.
26613 * libio/oldfileops.c: Likewise.
26614 * libio/oldiofclose.c: Likewise.
26615 * libio/oldiofdopen.c: Likewise.
26616 * libio/oldiofopen.c: Likewise.
26617 * libio/oldiopopen.c: Likewise.
26618 * libio/wfiledoalloc.c: Likewise.
26619 * libio/wgenops.c: Likewise.
26620 * locale/programs/xmalloc.c: Likewise.
26621 * misc/syslog.c: Likewise.
26622 * stdio-common/xbug.c: Likewise.
26623 * string/memchr.c: Likewise.
26624 * string/memcmp.c: Likewise.
26625 * string/memrchr.c: Likewise.
26626 * string/rawmemchr.c: Likewise.
26627 * sysdeps/posix/getcwd.c: Likewise.
26628 * time/strftime_l.c: Likewise.
26630 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26632 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26633 * config.make.in (config-cflags-sse2avx): Define.
26634 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26637 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26639 * scripts/config.guess: Update from upstream config git repository.
26640 * scripts/config.sub: Likewise.
26642 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26644 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26646 (R_TILEPRO_*, R_TILEGX_*): New macros.
26648 * scripts/firstversions.awk: Fix bug in version range handling.
26650 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26652 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26654 * include/sys/epoll.h: New file.
26655 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26658 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26660 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26661 Avoid unnecessary __WORDSIZE == 64 test.
26662 (fmaxf): Use VEX format if possible.
26667 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26668 * math/math_private.h: Remove libc_fegetround* and
26670 * sysdeps/i386/configure.in: Check for -msse2avx.
26671 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26672 also if SSE2AVX is defined.
26673 Remove libc_fegetround* and libc_fesetround*.
26674 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26675 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26676 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26679 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26681 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26684 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26686 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26688 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26690 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26692 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26695 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26697 * Makeconfig (libm): Define.
26698 * elf/Makefile: Add rules to build and run tst-relsort1.
26699 * elf/tst-relsort1.c: New file.
26700 * elf/tst-relsort1mod1.c: New file.
26701 * elf/tst-relsort1mod2.c: New file.
26703 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26705 * math/s_ldexp.c: Remove __STDC__ conditionals.
26706 * math/s_ldexpf.c: Likewise.
26707 * math/s_ldexpl.c: Likewise.
26708 * math/s_nextafter.c: Likewise.
26709 * math/s_nexttowardf.c: Likewise.
26710 * math/s_significand.c: Likewise.
26711 * math/s_significandf.c: Likewise.
26712 * math/s_significandl.c: Likewise.
26713 * math/w_jnl.c: Likewise.
26714 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26715 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26716 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26717 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26718 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26720 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26721 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26722 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26723 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26724 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26725 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26726 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26728 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26729 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26730 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26731 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26733 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26734 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26735 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26736 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26738 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26739 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26740 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26741 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26742 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26743 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26744 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26745 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26746 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26747 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26748 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26749 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26750 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26751 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26752 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26753 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26754 * sysdeps/ieee754/k_standard.c: Likewise.
26755 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26757 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26759 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26770 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26771 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26773 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26774 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26792 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26793 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26799 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26803 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26804 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26805 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26807 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26808 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26809 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26810 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26816 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26818 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26819 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26820 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26821 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26824 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26825 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26826 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26827 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26828 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26829 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26830 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26831 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26832 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26833 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26834 * sysdeps/ieee754/s_matherr.c: Likewise.
26835 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26836 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26840 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26842 * crypt/md5.h: Remove __STDC__ conditionals.
26843 * libio/libioP.h: Likewise.
26844 * locale/programs/config.h: Likewise.
26845 * sysdeps/generic/sysdep.h: Likewise.
26846 * sysdeps/i386/asm-syntax.h: Likewise.
26847 * sysdeps/s390/asm-syntax.h: Likewise.
26848 * sysdeps/unix/sysdep.h: Likewise.
26849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26852 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26854 * libio/libio.h: Remove __STDC__ conditionals.
26855 * malloc/obstack.h: Likewise.
26856 * math/complex.h: Likewise.
26857 * math/math.h: Likewise.
26858 * sysdeps/generic/_G_config.h: Likewise.
26859 * sysdeps/gnu/_G_config.h: Likewise.
26860 * sysdeps/mach/hurd/_G_config.h: Likewise.
26861 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26862 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26863 * sysdeps/sparc/bits/mathdef.h: Likewise.
26865 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26868 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26869 Clean up HAS_* macros.
26870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26871 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26873 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26875 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26876 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26877 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26878 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26881 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26883 * elf/tst-unique3.cc (gets): Remove declaration.
26884 * elf/tst-unique3lib.cc (gets): Likewise.
26885 * elf/tst-unique3lib2.cc (gets): Likewise.
26886 * elf/tst-unique4.cc (gets): Likewise.
26888 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26890 * include/stdio.h: Add C++ protection. Add gets declarations and
26892 * debug/tst-chk1.c: Don't declare gets here.
26893 * stdio-common/tst-gets.c: Likewise.
26895 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26897 * posix/glob: Remove directory.
26899 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26901 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26903 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26905 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26906 of the non-standard EPFNOSUPPORT.
26908 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26910 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26911 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26912 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26914 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26916 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26918 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26920 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26922 * nscd/grpcache.c (cache_addgr): Likewise.
26923 * nscd/hstcache.c (cache_addhst): Likewise.
26924 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26925 * nscd/pwdcache.c (cache_addpw): Likewise.
26926 * nscd/servicescache.c (cache_addserv): Likewise.
26928 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26930 * malloc/malloc.c: Various cleanups.
26931 * malloc/hooks.c: Likewise.
26933 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26934 * stdlib/bug-fmtmsg1.c: New file.
26936 * stdlib/fmtmsg.c (init): Add missing unlock.
26937 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26939 2012-01-12 Marek Polacek <polacek@redhat.com>
26941 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26944 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26946 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26947 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26948 macro to ensure uniqueness of label name.
26949 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26950 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26952 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26954 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26956 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26957 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26958 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26961 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26965 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26966 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26967 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26969 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26971 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26972 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26973 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26974 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26976 * math/bits/math-finite.h: Add ldexp support.
26978 2012-01-10 Marek Polacek <polacek@redhat.com>
26980 * locale/programs/localedef.h (show_archive_content): Add noreturn
26983 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26985 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26987 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26989 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26991 * io/Makefile (headers): Add bits/poll2.h.
26993 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26996 typo #include statement.
26998 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27000 * include/sys/cdefs.h: Define __attribute_alloc_size.
27001 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27002 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27003 * elf/pldd.c: Likewise.
27004 * iconv/iconv_charmap.c: Likewise.
27005 * iconv/iconvconfig.c: Likewise.
27006 * iconv/strtab.c: Likewise.
27007 * locale/programs/locale.c: Likewise.
27008 * locale/programs/localedef.h: Likewise.
27009 * locale/programs/simple-hash.c: Likewise.
27010 * nscd/nscd.h: Likewise.
27011 * nss/makedb.c: Likewise.
27012 * sysdeps/generic/ldconfig.h: Likewise.
27013 * locale/programs/localedef.c: Remove xmalloc prototype.
27014 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27016 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27018 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27021 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27023 * math/Makefile (tests): Add tst-CMPLX.
27024 * math/tst-CMPLX.c: New file.
27026 * math/complex.h (CMPLXL): Fix typo.
27028 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27029 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27031 * debug/tst-chk1.c: Add poll and ppoll tests.
27032 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27033 * include/sys/poll.h: Add hidden proto for ppoll.
27034 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27035 * sysdeps/mach/hurd/ppoll.c: Likewise.
27036 * io/ppoll.c: Likewise.
27037 * debug/poll_chk.c: New file.
27038 * debug/ppoll_chk.c: New file.
27039 * include/bits/poll2.h: New file.
27040 * io/bits/poll2.h: New file.
27043 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27045 * configure.in: static is always set to yes. Remove.
27046 * config.make.in: Don't set build-static.
27047 * Makeconfig: Remove use of build-static.
27048 * dlfcn/Makefile: Likewise.
27049 * elf/Makefile: Likewise.
27050 * math/Makefile: Likewise.
27051 * misc/Makefile: Likewise.
27052 * nptl/Makefile: Likewise.
27053 * sysdeps/mach/hurd/Makefile: Likewise.
27055 * configure.in: PWD_P is not used anymore.
27056 * config.make.in: Remove PWD_P entry.
27058 * configure.in: Remove last remnants of RANLIB.
27059 No need to check for signed size_t anymore.
27060 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27062 Remove __builtin_expect test because we require at least gcc 3.4.
27063 * aclocal.m4: Likewise.
27065 * wcsmbs/mbrtoc16.c: Implement using towc function.
27066 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27067 * wcsmbs/wcsmbsload.c: Likewise.
27068 * iconv/gconv_simple.c: Likewise.
27069 * iconv/gconv_int.h: Likewise.
27070 * iconv/gconv_builtin.h: Likewise.
27071 * iconv/iconv_prog.c: Remove CHAR16 handling.
27073 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27075 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27077 * configure.in: Remove --with-elf and --enable-bounded options.
27078 Dont set base_machine for ia64. More non-ELF conditions removed.
27079 Remove testing and setting of leading underscore information.
27080 * config.make.in (build-bounded): Set to no.
27081 * config.h.in: Remove NO_UNDERSCORES entry.
27082 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27084 * csu/start.c: Remove !NO_UNDERSCORE code.
27085 * locale/localeinfo.h: Likewise.
27086 * sysdeps/generic/machine-gmon.h: Likewise.
27087 * sysdeps/generic/sysdep.h: Likewise.
27088 * sysdeps/i386/sysdep.h: Likewise.
27089 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27090 * sysdeps/mach/sysdep.h: Likewise.
27091 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27092 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27093 * sysdeps/sh/sysdep.h: Likewise.
27094 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27095 * sysdeps/unix/i386/sysdep.S: Likewise.
27096 * sysdeps/unix/sparc/start.c: Likewise.
27097 * sysdeps/unix/sparc/sysdep.S: Likewise.
27098 * sysdeps/unix/sparc/sysdep.h: Likewise.
27099 * sysdeps/unix/start.c: Likewise.
27100 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27101 * sysdeps/x86_64/sysdep.h: Likewise.
27103 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27106 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27108 * argp/argp-fmtstream.h: Use const instead __const.
27109 * argp/argp.h: Likewise.
27110 * assert/assert.h: Likewise.
27111 * bits/fenv.h: Likewise.
27112 * bits/sched.h: Likewise.
27113 * bits/sigset.h: Likewise.
27114 * bits/sigthread.h: Likewise.
27115 * catgets/nl_types.h: Likewise.
27116 * conform/data/pthread.h-data: Likewise.
27117 * crypt/crypt-private.h: Likewise.
27118 * crypt/crypt.h: Likewise.
27119 * crypt/crypt_util.c: Likewise.
27120 * ctype/ctype.h: Likewise.
27121 * debug/execinfo.h: Likewise.
27122 * debug/mbsnrtowcs_chk.c: Likewise.
27123 * debug/mbsrtowcs_chk.c: Likewise.
27124 * debug/wcsnrtombs_chk.c: Likewise.
27125 * debug/wcsrtombs_chk.c: Likewise.
27126 * debug/wcstombs_chk.c: Likewise.
27127 * dirent/dirent.h: Likewise.
27128 * dlfcn/dlfcn.h: Likewise.
27129 * elf/neededtest4.c: Likewise.
27130 * grp/grp.h: Likewise.
27131 * gshadow/gshadow.h: Likewise.
27132 * iconv/gconv.h: Likewise.
27133 * iconv/gconv_int.h: Likewise.
27134 * iconv/gconv_simple.c: Likewise.
27135 * iconv/iconv.h: Likewise.
27136 * iconv/loop.c: Likewise.
27137 * iconv/skeleton.c: Likewise.
27138 * include/aio.h: Likewise.
27139 * include/aliases.h: Likewise.
27140 * include/argz.h: Likewise.
27141 * include/arpa/inet.h: Likewise.
27142 * include/assert.h: Likewise.
27143 * include/dirent.h: Likewise.
27144 * include/dlfcn.h: Likewise.
27145 * include/execinfo.h: Likewise.
27146 * include/fcntl.h: Likewise.
27147 * include/fenv.h: Likewise.
27148 * include/glob.h: Likewise.
27149 * include/grp.h: Likewise.
27150 * include/libintl.h: Likewise.
27151 * include/mntent.h: Likewise.
27152 * include/netdb.h: Likewise.
27153 * include/pwd.h: Likewise.
27154 * include/rpc/netdb.h: Likewise.
27155 * include/sched.h: Likewise.
27156 * include/search.h: Likewise.
27157 * include/shadow.h: Likewise.
27158 * include/signal.h: Likewise.
27159 * include/stdio.h: Likewise.
27160 * include/stdlib.h: Likewise.
27161 * include/string.h: Likewise.
27162 * include/sys/socket.h: Likewise.
27163 * include/sys/stat.h: Likewise.
27164 * include/sys/statfs.h: Likewise.
27165 * include/sys/statvfs.h: Likewise.
27166 * include/sys/syslog.h: Likewise.
27167 * include/sys/time.h: Likewise.
27168 * include/sys/uio.h: Likewise.
27169 * include/time.h: Likewise.
27170 * include/unistd.h: Likewise.
27171 * include/utmp.h: Likewise.
27172 * include/wchar.h: Likewise.
27173 * include/wctype.h: Likewise.
27174 * inet/aliases.h: Likewise.
27175 * inet/arpa/inet.h: Likewise.
27176 * inet/netinet/ether.h: Likewise.
27177 * inet/netinet/in.h: Likewise.
27178 * intl/libintl.h: Likewise.
27179 * io/bits/fcntl2.h: Likewise.
27180 * io/fcntl.h: Likewise.
27181 * io/ftw.h: Likewise.
27182 * io/sys/poll.h: Likewise.
27183 * io/sys/stat.h: Likewise.
27184 * io/sys/statfs.h: Likewise.
27185 * io/sys/statvfs.h: Likewise.
27186 * io/utime.h: Likewise.
27187 * libio/bits/stdio.h: Likewise.
27188 * libio/bits/stdio2.h: Likewise.
27189 * libio/libio.h: Likewise.
27190 * libio/libioP.h: Likewise.
27191 * libio/stdio.h: Likewise.
27192 * locale/lc-ctype.c: Likewise.
27193 * locale/locale.h: Likewise.
27194 * login/utmp.h: Likewise.
27195 * malloc/arena.c: Likewise.
27196 * malloc/malloc.c: Likewise.
27197 * malloc/malloc.h: Likewise.
27198 * malloc/mcheck.c: Likewise.
27199 * malloc/mtrace.c: Likewise.
27200 * math/bits/mathcalls.h: Likewise.
27201 * math/fenv.h: Likewise.
27202 * math/math_private.h: Likewise.
27203 * misc/bits/error.h: Likewise.
27204 * misc/bits/syslog.h: Likewise.
27205 * misc/err.h: Likewise.
27206 * misc/error.h: Likewise.
27207 * misc/fstab.h: Likewise.
27208 * misc/mntent.h: Likewise.
27209 * misc/regexp.h: Likewise.
27210 * misc/search.h: Likewise.
27211 * misc/sgtty.h: Likewise.
27212 * misc/sys/mman.h: Likewise.
27213 * misc/sys/syslog.h: Likewise.
27214 * misc/sys/uio.h: Likewise.
27215 * misc/sys/xattr.h: Likewise.
27216 * misc/ttyent.h: Likewise.
27217 * nis/rpcsvc/ypclnt.h: Likewise.
27218 * nss/nss.h: Likewise.
27219 * posix/bits/unistd.h: Likewise.
27220 * posix/fnmatch.h: Likewise.
27221 * posix/glob.h: Likewise.
27222 * posix/sched.h: Likewise.
27223 * posix/spawn.h: Likewise.
27224 * posix/sys/wait.h: Likewise.
27225 * posix/unistd.h: Likewise.
27226 * posix/wordexp.h: Likewise.
27227 * pwd/pwd.h: Likewise.
27228 * resolv/netdb.h: Likewise.
27229 * resource/sys/resource.h: Likewise.
27230 * rt/aio.h: Likewise.
27231 * rt/bits/mqueue2.h: Likewise.
27232 * rt/mqueue.h: Likewise.
27233 * shadow/shadow.h: Likewise.
27234 * signal/signal.h: Likewise.
27235 * socket/send.c: Likewise.
27236 * socket/sendto.c: Likewise.
27237 * socket/sys/socket.h: Likewise.
27238 * stdio-common/printf.h: Likewise.
27239 * stdlib/bits/stdlib.h: Likewise.
27240 * stdlib/fmtmsg.h: Likewise.
27241 * stdlib/monetary.h: Likewise.
27242 * stdlib/stdlib.h: Likewise.
27243 * stdlib/ucontext.h: Likewise.
27244 * streams/stropts.h: Likewise.
27245 * string/argz.h: Likewise.
27246 * string/bits/string2.h: Likewise.
27247 * string/string.h: Likewise.
27248 * string/strings.h: Likewise.
27249 * sunrpc/rpc/auth.h: Likewise.
27250 * sunrpc/rpc/auth_des.h: Likewise.
27251 * sunrpc/rpc/clnt.h: Likewise.
27252 * sunrpc/rpc/netdb.h: Likewise.
27253 * sunrpc/rpc/pmap_clnt.h: Likewise.
27254 * sunrpc/rpc/xdr.h: Likewise.
27255 * sysdeps/generic/inttypes.h: Likewise.
27256 * sysdeps/generic/net/if.h: Likewise.
27257 * sysdeps/generic/sys/swap.h: Likewise.
27258 * sysdeps/gnu/net/if.h: Likewise.
27259 * sysdeps/gnu/utmpx.h: Likewise.
27260 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27261 * sysdeps/i386/i486/bits/string.h: Likewise.
27262 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27263 * sysdeps/s390/bits/string.h: Likewise.
27264 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27265 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27266 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27267 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27268 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27269 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27270 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27271 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27272 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27273 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27274 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27275 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27276 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27277 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27278 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27279 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27280 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27282 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27283 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27285 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27286 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27287 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27288 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27289 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27290 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27291 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27292 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27293 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27294 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27295 * sysvipc/sys/ipc.h: Likewise.
27296 * sysvipc/sys/msg.h: Likewise.
27297 * sysvipc/sys/sem.h: Likewise.
27298 * sysvipc/sys/shm.h: Likewise.
27299 * termios/termios.h: Likewise.
27300 * time/sys/time.h: Likewise.
27301 * time/time.h: Likewise.
27302 * wcsmbs/bits/wchar2.h: Likewise.
27303 * wcsmbs/uchar.h: Likewise.
27304 * wcsmbs/wchar.h: Likewise.
27305 * wctype/wctype.h: Likewise.
27308 * Makeconfig: Remove all but ELF support including AIX support.
27309 * Makerules: Likewise.
27310 * config.h.in: Likewise.
27311 * config.make.in: Likewise.
27312 * configure: Likewise.
27313 * configure.in: Likewise.
27314 * csu/Makefile: Likewise.
27315 * csu/version.c: Likewise.
27316 * debug/Makefile: Likewise.
27317 * dlfcn/Makefile: Likewise.
27318 * elf/Makefile: Likewise.
27319 * extra-lib.mk: Likewise.
27320 * iconv/Makefile: Likewise.
27321 * include/libc-symbols.h: Likewise.
27322 * include/shlib-compat.h: Likewise.
27323 * resolv/Makefile: Likewise.
27324 * resolv/res_libc.c: Likewise.
27325 * rt/Makefile: Likewise.
27326 * sysdeps/i386/asm-syntax.h: Likewise.
27327 * sysdeps/i386/sysdep.h: Likewise.
27328 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27329 * sysdeps/mach/sysdep.h: Likewise.
27330 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27331 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27332 * sysdeps/s390/asm-syntax.h: Likewise.
27333 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27334 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27335 * sysdeps/sh/sysdep.h: Likewise.
27336 * sysdeps/unix/sparc/sysdep.h: Likewise.
27337 * sysdeps/wordsize-32/divdi3.c: Likewise.
27338 * sysdeps/x86_64/sysdep.h: Likewise.
27340 * argp/Versions: Remove _argp_unlock_xxx.
27343 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27344 * abilist/libBrokenLocale.abilist: Likewise.
27345 * abilist/libanl.abilist: Likewise.
27346 * abilist/libc.abilist: Likewise.
27347 * abilist/libcrypt.abilist: Likewise.
27348 * abilist/libdl.abilist: Likewise.
27349 * abilist/libm.abilist: Likewise.
27350 * abilist/libnsl.abilist: Likewise.
27351 * abilist/libpthread.abilist: Likewise.
27352 * abilist/libresolv.abilist: Likewise.
27353 * abilist/librt.abilist: Likewise.
27354 * abilist/libthread_db.abilist: Likewise.
27355 * abilist/libutil.abilist: Likewise.
27356 * abilist/libnss_db.abilist: New file.
27358 * scripts/abilist.awk: Add support for indirect functions.
27360 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27362 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27364 * shlib-versions: Remove entries for ports architectures.
27366 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27368 * elf/stackguard-macros.h: Remove support for IA-64.
27369 * elf/tst-auditmod1.c: Likewise.
27370 * sysdeps/generic/ldsodefs.h: Likewise.
27372 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27373 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27377 * configure.in: Remove --enable-omitfp support.
27379 * config.make.in: Likewise.
27380 * Makeconfig: Likewise.
27381 * manual/install.texi: Likewise.
27383 In case anyone cares, the IA-64 architecture could move to ports.
27384 * sysdeps/ia64/*: Removed.
27385 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27386 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27389 * configure.in: Remove entries for unsupported architectures.
27392 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27393 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27395 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27396 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27397 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27398 fall back to using wcrtomb.
27399 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27400 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27402 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27403 * wcsmbs/tst-c16c32-1.c: New file.
27405 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27408 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27410 * elf/tst-unique3.cc: Add explicit declaration of gets.
27411 * elf/tst-unique3lib.cc: Likewise.
27412 * elf/tst-unique3lib2.cc: Likewise.
27413 * elf/tst-unique4.cc: Likewise.
27415 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27417 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27420 * assert/assert.h (static_assert): Don't define for C++.
27421 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27422 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27424 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27426 * iconv/loop.c (single loop): Fix assertion in storing of
27429 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27431 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27433 * posix/getconf.c: Update copyright year.
27434 * nss/getent.c: Likewise.
27435 * nss/makedb.c: Likewise.
27436 * iconv/iconvconfig.c: Likewise.
27437 * iconv/iconv_prog.c: Likewise.
27438 * elf/ldconfig.c: Likewise.
27439 * elf/pldd.c: Likewise.
27440 * elf/sotruss.ksh: Likewise.
27441 * catgets/gencat.c: Likewise.
27442 * csu/version.c: Likewise.
27443 * elf/ldd.bash.in: Likewise.
27444 * elf/sprof.c (print_version): Likewise.
27445 * locale/programs/locale.c: Likewise.
27446 * locale/programs/localedef.c: Likewise.
27447 * login/programs/pt_chown.c: Likewise.
27448 * nscd/nscd.c (print_version): Likewise.
27449 * debug/xtrace.sh: Likewise.
27450 * malloc/memusage.sh: Likewise.
27451 * malloc/mtrace.pl: Likewise.
27452 * debug/catchsegv.sh: Likewise.
27454 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27456 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27459 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27462 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27463 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27465 * iconv/gconv_int.h: Likewise.
27466 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27467 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27468 from libc for GLIBC_2.16.
27469 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27470 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27471 * wcsmbs/uchar.h: Really define mbstate_t.
27472 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27473 * wcsmbs/c16rtomb.c: New file.
27474 * wcsmbs/mbrtoc16.c: New file.
27475 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27476 for C/POSIX locale.
27477 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27478 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27480 * wcsmbs/wchar.h: Add missing __restrict.
27482 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27485 * time/Makefile (routines): Add timespec_get.
27486 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27487 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27488 timespec for ISO C11.
27489 * time/timespec_get.c: New file.
27490 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27491 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27494 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27495 * stdlib/stdlib.h: Declare aligned_alloc.
27496 * Versions.def: Add GLIBC_2.16 for libc.
27497 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27500 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27503 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27507 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27510 * assert/assert.h (static_assert): Define.
27512 * version.h: Update for 2.16 development version.
27515 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27518 * version.h (RELEASE): Bump for 2.15 release.
27519 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27521 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27522 Patch by Marek Polacek <mpolacek@redhat.com>.
27524 * bits/byteswap.h: Protect long long constants with __extension__.
27525 * sysdeps/i386/bits/byteswap.h: Likewise.
27526 * sysdeps/ia64/bits/byteswap.h: Likewise.
27527 * sysdeps/s390/bits/byteswap.h: Likewise.
27528 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27530 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27533 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27534 destination buffer.
27535 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27537 2011-12-23 Marek Polacek <polacek@redhat.com>
27539 * elf/dl-addr.c (determine_info): Add inline keyword.
27540 * elf/tst-auditmod4b.c (check_avx): Likewise.
27541 * elf/tst-auditmod6b.c (check_avx): Likewise.
27542 * elf/tst-auditmod6c.c (check_avx): Likewise.
27543 * elf/tst-auditmod7b.c (check_avx): Likewise.
27545 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27547 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27550 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27553 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27554 processing for last bytes.
27556 2011-08-06 Bruno Haible <bruno@clisp.org>
27559 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27560 U+0385, not to U+1FEE.
27563 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27564 entry for U+00A5 U+0301.
27566 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27569 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27570 buffer for the output is too small.
27572 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27576 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27577 SSE flags if possible.
27579 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27582 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27583 processing for last bytes.
27585 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27587 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27588 (syscall-list-default-options, syscall-list-default-condition)
27589 (syscall-list-includes): Define.
27590 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27591 list of ABIs and options and #if conditions for each ABI. Do not
27592 handle common syscalls between ABIs specially.
27593 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27595 (syscall-list-variants, syscall-list-32bit-options)
27596 (syscall-list-32bit-condition, syscall-list-64bit-options)
27597 (syscall-list-64bit-condition): Define.
27598 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27599 (syscall-list-variants, syscall-list-32bit-options)
27600 (syscall-list-32bit-condition, syscall-list-64bit-options)
27601 (syscall-list-64bit-condition): Define.
27602 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27604 (syscall-list-variants, syscall-list-32bit-options)
27605 (syscall-list-32bit-condition, syscall-list-64bit-options)
27606 (syscall-list-64bit-condition): Define.
27607 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27609 (syscall-list-variants, syscall-list-32bit-options)
27610 (syscall-list-32bit-condition, syscall-list-64bit-options)
27611 (syscall-list-64bit-condition): Define.
27613 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27615 * locale/iso-639.def: Add brx entry.
27618 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27619 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27621 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27622 __feraiseexcept_renamed.
27624 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27627 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27628 EPOLLET with unsigned values.
27629 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27630 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27632 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27633 to large cancellation.
27634 * math/s_cacoshf.c: Likewise.
27635 * math/s_cacoshl.c: Likewise.
27637 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27641 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27642 * math/s_cacoshf.c: Likewise.
27643 * math/s_cacoshl.c: Likewise.
27645 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27648 * iconv/gconv.h: Define __GCONV_SWAP.
27649 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27650 * iconvdata/utf-16.c: Likewise.
27651 * iconvdata/utf-32.c: Likewise.
27653 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27656 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27657 numerator after shifting it by one limb.
27659 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27661 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27662 under [__USE_EXTERN_INLINES].
27664 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27667 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27669 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27671 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27672 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27674 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27675 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27676 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27677 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27678 for strncasecmp/strncasecmp_l compilation.
27679 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27680 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27682 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27685 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27688 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27691 * time/tzfile.c (__tzfile_read): Check values from file header.
27693 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27695 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27696 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27697 * powerpc/powerpc32/dl-start.S: Likewise.
27698 * powerpc/powerpc32/elf/start.S: Likewise.
27699 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27700 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27701 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27702 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27703 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27704 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27705 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27706 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27707 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27708 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27709 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27710 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27711 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27712 * powerpc/powerpc32/memset.S: Likewise.
27713 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27714 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27715 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27716 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27717 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27718 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27719 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27720 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27721 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27722 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27723 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27724 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27725 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27727 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27729 * math/libm-test.inc: Added more nearbyint tests.
27730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27731 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27735 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27737 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27740 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27742 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27743 Add wcscpy-ssse3 wcscpy-c.
27744 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27745 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27746 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27747 * sysdeps/x86_64/wcschr.S: New file.
27748 * sysdeps/x86_64/wcsrchr.S: New file.
27749 * string/test-strcmp.c: Remove checking of wcscmp function for
27751 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27752 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27753 wcsrchr-sse2 wcsrchr-c.
27754 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27755 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27756 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27757 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27758 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27759 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27760 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27761 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27762 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27763 * wcsmbc/wcschr.c (WCSCHR): New macro.
27765 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27767 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27768 * wcsmbs/test-wcsrchr.c: New file.
27769 * string/test-strrchr.c: Add wcsrchr support.
27771 * wcsmbs/test-wcscpy.c: New file.
27772 * string/test-strcpy.c: Add wcscpy support.
27775 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27780 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27783 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27785 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27787 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27788 Minor optimizations.
27790 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27791 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27792 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27794 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27796 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27797 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27798 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27799 for gcc to avoid warnings.
27800 * inet/Makefile (tests): Add tst-checks.
27801 * inet/tst-checks.c: New file.
27803 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27806 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27809 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27810 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27812 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27814 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27816 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27819 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27821 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27823 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27824 conditional on GCC version.
27825 (__arch_compare_and_exchange_val_8_acq)
27826 (__arch_compare_and_exchange_val_16_acq)
27827 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27828 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27829 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27831 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27833 * sysdeps/sh/backtrace.c: New file.
27835 2011-12-02 Andreas Schwab <schwab@redhat.com>
27837 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27840 2011-12-01 Andreas Schwab <schwab@redhat.com>
27842 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27843 falling back to utime.
27845 2011-11-30 Andreas Schwab <schwab@redhat.com>
27847 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27848 expectations for float.
27850 2011-11-29 Andreas Schwab <schwab@redhat.com>
27852 * locale/weight.h (findidx): Add parameter len.
27853 * locale/weightwc.h (findidx): Likewise.
27854 * posix/fnmatch_loop.c (FCT): Adjust caller.
27855 * posix/regcomp.c (build_equiv_class): Likewise.
27856 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27857 * posix/regexec.c (check_node_accept_bytes): Likewise.
27858 * string/strcoll_l.c (STRCOLL): Likewise.
27859 * string/strxfrm_l.c (STRXFRM): Likewise.
27861 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27863 * Makefile.in: Remove CVSOPT handling.
27864 * configure.in: Remove use of AC_REVISION.
27865 * iconvdata/Makefile (distribute): No need to filter out CVS.
27866 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27869 2011-11-16 Andreas Schwab <schwab@redhat.com>
27871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27872 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27873 [USE_AS_STRNCASECMP_L]: Likewise.
27874 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27875 NO_TLS_DIRECT_SEG_REFS.
27876 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27877 Fix argument offsets for non-PIC.
27878 [USE_AS_STRNCASECMP_L]: Likewise.
27879 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27880 NO_TLS_DIRECT_SEG_REFS.
27882 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27884 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27886 * locale/loadlocale.c (_nl_load_locale): Likewise.
27888 2011-11-15 Andreas Schwab <schwab@redhat.com>
27890 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27891 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27892 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27893 (SYSCALL_GETTIME): Set errno on error.
27895 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27896 count references to noai6ai_cached.
27898 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27900 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27902 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27903 FD_CLOEXEC for /proc/self/maps.
27905 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27906 FD_CLOEXEC for /proc/meminfo.
27908 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27911 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27912 FD_CLOEXEC for given file.
27914 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27916 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27917 FD_CLOEXEC for /etc/hosts.
27918 (_gethtent): Likewise.
27920 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27922 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27923 cancellation and set FD_CLOEXEC for /etc/netgroup.
27925 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27926 reading /etc/publickey.
27928 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27929 allow cancellation when reading /etc/group.
27931 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27933 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27935 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27936 when using data file.
27938 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27940 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27941 (write_nis_obj): Use "c" and "e" in fopen.
27943 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27945 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27947 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27949 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27951 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27954 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27956 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27958 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27960 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27961 file parsing and set FD_CLOEXEC.
27963 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27965 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27967 2011-11-14 Andreas Schwab <schwab@redhat.com>
27969 * malloc/arena.c (arena_get2): Don't call reused_arena when
27970 _int_new_arena failed.
27972 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27974 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27975 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27976 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27977 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27978 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27979 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27980 to compile strcasecmp and strncasecmp.
27981 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27982 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27984 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27986 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27988 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27989 locale-defines.sym to gen-as-const-headers.
27990 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27991 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27993 to compile strcasecmp and strncasecmp.
27994 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27995 strcasecmp_l and strncasecmp_l.
27996 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27997 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27998 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27999 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28000 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28001 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28002 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28003 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28004 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28005 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28006 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28008 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28010 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28011 result of SYSDEP_GETTIME_CPU to retval.
28012 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28013 parameter list to macro. Remove trailing semicolon. Adjust users.
28015 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28018 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28020 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28022 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28023 from unused variable.
28025 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28027 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28030 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28033 * sunrpc/rpc_prot.c (rejected): Fix case value.
28035 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28036 unsigned long long int to avoid warnings in shift.
28038 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28040 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28043 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28044 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28045 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28047 * nis/nis_table.c (nis_list): Use variable of correct type for
28048 result of __follow_path call.
28050 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28052 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28053 of math functions ceil, trunc, floor, round, and sqrt, when
28054 avaliable on the platform.
28055 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28057 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28058 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28059 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28061 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28063 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28064 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28066 2011-11-11 Roland McGrath <roland@hack.frob.com>
28068 * include/unistd.h: Fix __readlink return type.
28069 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28071 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28073 * stdlib/ucontext.h: Undo last change for makecontext.
28075 2011-11-11 Andreas Schwab <schwab@redhat.com>
28077 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28079 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28080 * setjmp/setjmp.h: Mark functions as non-leaf.
28081 * setjmp/bits/setjmp2.h: Likewise.
28082 * stdlib/ucontext.h: Likewise.
28084 2011-11-10 Andreas Schwab <schwab@redhat.com>
28086 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28087 (reused_arena): Don't check arena limit.
28088 (arena_get2): Atomically check arena limit.
28090 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28092 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28093 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28098 2011-11-07 Andreas Schwab <schwab@redhat.com>
28100 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28101 handler when locking.
28103 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28104 Fix size of allocated buffer.
28106 2011-11-04 Andreas Schwab <schwab@redhat.com>
28109 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28110 declarations for long double functions.
28111 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28113 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28115 2011-11-03 Andreas Schwab <schwab@redhat.com>
28117 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28120 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28123 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28125 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28127 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28129 * include/alloca.h (stackinfo_alloca_round): Define.
28130 (extend_alloca): Use it.
28131 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28132 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28135 * scripts/check-local-headers.sh: Ignore libaudit.h.
28137 * nscd/Makefile (extra-objs): Make recursively expanded.
28139 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28141 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28142 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28144 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28145 * posix/tst-rfc3484-2.c: Likewise.
28146 * posix/tst-rfc3484-3.c: Likewise.
28148 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28150 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28152 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28153 process_vm_writev from libc using GLIBC_2.15 version.
28155 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28157 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28159 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28162 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28165 * nss/getent.c (initgroups_keys): Show error message in case no group
28168 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28169 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28170 __bump_nl_timestamp.
28171 * nscd/connections (nscd_init): When host database is served open
28172 netlink socket and request notification about configuration changes.
28173 (main_loop_poll): Track netlink file descriptor and bump timestamp
28174 in case data becomes available.
28175 (main_loop_epoll): Likewise.
28176 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28177 (database_pers_head): Add extra_data fileds.
28178 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28179 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28180 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28182 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28183 in6ai data, call __free_in6ai.
28184 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28185 Add -DHAVE_NETLINK.
28186 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28187 interface information. Reuse previous data if netlink timestamp
28189 (__bump_nl_timestamp): New function.
28190 (__free_in6ai): New function.
28192 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28194 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28195 close_not_cancel_no_status here.
28196 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28198 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28201 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28204 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28205 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28206 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28208 2011-07-03 Andreas Jaeger <aj@suse.de>
28211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28212 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28213 * math/libm-test.inc (sin_test): Add test case.
28215 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28218 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28219 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28221 * elf/chroot_canon.c (chroot_canon): Cleanups.
28223 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28226 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28227 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28229 * string/test-strchr.c: Make usable for strchrnul testing.
28230 * string/test-strchrnul.c: New file.
28231 * string/Makefile (strop-tests): Add strchrnul.
28233 * po/it.po: Update from translation team.
28234 * po/es.po: Likewise.
28236 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28238 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28239 the three constants needed as parameters. Drop the others.
28240 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28241 __m128i_strloadu_tolower.
28242 Create and initialize variable zero and use it in all the places
28243 where _mm_setzero_si128 was used.
28245 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28246 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28247 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28248 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28250 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28251 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28252 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28253 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28254 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28255 __mpranred, __mptan.
28256 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28257 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28258 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28259 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28260 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28261 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28262 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28263 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28264 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28266 2011-10-28 Andreas Schwab <schwab@redhat.com>
28268 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28269 redefine if SHARED.
28270 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28273 wide char related routines to wcsmbs subdir.
28275 2011-10-27 Andreas Schwab <schwab@redhat.com>
28278 * misc/sys/cdefs.h (__THROWNL): Define.
28279 * posix/unistd.h: Use __THREADNL instead of __THREAD
28280 for memory synchronization functions.
28282 2011-10-26 Roland McGrath <roland@hack.frob.com>
28285 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28287 * manual/stdio.texi (Obstack Streams): Node removed.
28289 2011-10-26 Andreas Schwab <schwab@redhat.com>
28291 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28292 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28293 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28295 * math/math_private.h (math_force_eval): Allow non-addressable
28297 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28299 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28301 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28302 file is not needed.
28304 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28305 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28306 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28307 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28308 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28309 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28310 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28311 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28313 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28314 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28315 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28316 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28317 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28318 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28319 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28320 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28321 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28322 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28323 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28324 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28325 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28326 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28327 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28328 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28329 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28330 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28331 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28333 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28334 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28336 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28337 place. Use VEX encoding when compiling for AVX.
28339 2011-10-25 Andreas Schwab <schwab@redhat.com>
28341 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28342 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28344 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28346 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28348 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28349 useless if() expression.
28350 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28351 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28352 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28353 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28354 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28355 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28356 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28357 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28358 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28359 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28360 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28361 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28362 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28363 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28364 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28365 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28366 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28368 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28370 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28372 2011-10-25 Andreas Schwab <schwab@redhat.com>
28374 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28376 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28378 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28380 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28381 .text section. Avoid duplicate constants.
28382 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28384 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28390 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28391 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28392 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28393 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28394 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28395 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28396 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28397 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28398 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28399 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28400 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28405 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28406 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28407 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28408 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28409 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28410 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28411 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28412 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28413 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28414 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28415 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28416 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28417 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28418 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28419 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28420 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28421 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28422 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28423 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28424 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28425 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28426 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28428 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28430 * sysdeps/x86_64/dla.h: Move to ...
28431 * sysdeps/x86_64/fpu/dla.h: ...here.
28432 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28433 situations. Use __builtin_fma only for gcc 4.6 and up.
28435 * config.make.in: Add have-mfma4 entry.
28436 * configure.in: Substitute libc_cv_cc_fma4.
28437 * math/Makefile (dbl-only-routines): Add sincostab.
28438 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28439 Use __sincostab not sincos.
28440 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28442 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28447 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28448 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28449 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28450 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28452 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28453 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28455 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28456 define aliases when function name is a macro.
28457 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28458 sysdeps/ieee754/dbl-64/sincos.tbl.
28459 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28460 fma4-enabled routines.
28461 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28462 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28463 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28464 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28465 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28466 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28467 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28468 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28469 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28470 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28471 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28472 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28473 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28474 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28475 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28476 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28477 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28478 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28479 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28481 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28482 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28484 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28485 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28486 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28488 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28489 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28490 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28492 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28500 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28503 2011-10-24 Andreas Schwab <schwab@redhat.com>
28505 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28507 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28509 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28511 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28513 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28515 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28516 Remove unused variable magic_bits.
28517 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28519 * string/strnlen.c: Define and use STRNLEN macro.
28520 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28521 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28523 * wcsmbs/wcslen.c: Define and use WCSLEN.
28524 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28525 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28526 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28527 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28528 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28529 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28530 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28532 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28535 strnlen-sse2-no-bsf.
28536 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28538 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28539 Add strnlen support.
28540 (USE_AS_STRNLEN): New macro.
28541 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28542 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28543 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28544 * sysdeps/x86_64/wcslen.S: New file.
28546 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28549 XMM-moves are used for copying on small sizes.
28551 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28553 * wcsmbs/Makefile (strop-tests): Add wcschr.
28554 * wcsmbs/test-wcschr.c: New file.
28555 * string/test-strchr.c: Update.
28556 Add wcschr support.
28559 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28561 * wcsmbs/Makefile (strop-tests): Add wcslen.
28562 * wcsmbs/test-wcslen.c: New file.
28563 * string/test-strlen.c: Update.
28564 Add wcslen support.
28567 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28569 * po/it.po: Update from translation team.
28571 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28573 * sysdeps/x86_64/wcscmp.S: Update.
28574 Fix wrong comparison semantics.
28575 wcscmp shall use signed comparison not unsigned.
28576 Don't use substraction to avoid overflow bug.
28577 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28578 * wcsmbc/wcscmp.c: Likewise.
28579 * string/test-strcmp.c: Likewise.
28580 Add new tests to check cases with negative values.
28582 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28584 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28585 * sysdeps/x86_64/dla.h: ...here. New file.
28586 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28596 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28599 __ynl_finite aliases.
28601 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28605 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28607 [DLA_FMA] (EMULV): Use DLA_FMA.
28608 [DLA_FMA] (MUL12): Use EMULV.
28609 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28610 that are not needed.
28611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28616 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28617 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28619 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28621 * math/s_nan.c: Undef __nan.
28622 * math/s_nanf.c: Undef __nanf.
28623 * math/s_nanl.c: Undef __nanl.
28624 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28627 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28629 * math/s_catan.c: Add branch predictions.
28630 * math/s_catanf.c: Likewise.
28631 * math/s_catanh.c: Likewise.
28632 * math/s_catanhf.c: Likewise.
28633 * math/s_catanhl.c: Likewise.
28634 * math/s_catanl.c: Likewise.
28635 * math/s_cexp.c: Likewise.
28636 * math/s_cexpf.c: Likewise.
28637 * math/s_cexpl.c: Likewise.
28638 * math/s_clog.c: Likewise.
28639 * math/s_clog10.c: Likewise.
28640 * math/s_clog10f.c: Likewise.
28641 * math/s_clog10l.c: Likewise.
28642 * math/s_clogf.c: Likewise.
28643 * math/s_clogl.c: Likewise.
28644 * math/s_csqrt.c: Likewise.
28645 * math/s_csqrtf.c: Likewise.
28646 * math/s_csqrtl.c: Likewise.
28647 * math/s_ctanf.c: Likewise.
28648 * math/s_ctanh.c: Likewise.
28649 * math/s_ctanhf.c: Likewise.
28650 * math/s_ctanhl.c: Likewise.
28651 * math/s_ctanl.c: Likewise.
28653 * math/math_private.h: Define __nan, __nanf, __nanl.
28654 * math/s_cacosh.c: Include <math_private.h>.
28655 * math/s_cacoshl.c: Likewise.
28656 * math/s_casinh.c: Likewise.
28657 * math/s_casinhf.c: Likewise.
28658 * math/s_casinhl.c: Likewise.
28659 * math/s_ccos.c: Rely entire on ccosh.
28660 * math/s_ccosf.c: Rely entire on ccoshf.
28661 * math/s_ccosl.c: Rely entirely on ccoshl.
28662 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28663 Remove tests for FE_INVALID.
28664 * math/s_ccoshf.c: Likewise.
28665 * math/s_ccoshl.c: Likewise.
28666 * math/s_csin.c: Likewise.
28667 * math/s_csinf.c: Likewise.
28668 * math/s_csinh.c Likewise.
28669 * math/s_csinhf.c: Likewise.
28670 * math/s_csinhl.c: Likewise.
28671 * math/s_csinl.c: Likewise.
28672 * math/s_ctan.c: Likewise.
28673 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28674 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28675 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28677 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28680 compilation problems.
28682 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28685 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28687 * sysdeps/i386/configure.in: Test for -mfma4 option.
28688 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28689 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28690 COMMON_CPUID_INDEX_80000001.
28691 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28692 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28693 use it if FMA3 is not supported.
28694 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28696 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28697 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28699 2011-10-20 Andreas Schwab <schwab@redhat.com>
28702 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28703 it would create a cycle with a link time dependency.
28705 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28707 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28709 * string/Makefile (strop-tests): Add rawmemchr.
28710 * string/test-rawmemchr.c: New file.
28712 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28713 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28714 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28715 when compiling str{,n}casecmp and when AVX is available. Hook up
28716 new optimized code in initializers.
28718 2011-10-19 Andreas Schwab <schwab@redhat.com>
28720 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28721 __feraiseexcept instead of feraiseexcept.
28723 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28725 * math/math_private.h: Define defaults for libc_fetestexcept and
28727 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28728 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28729 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28730 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28731 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28732 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28733 libc_fetestexcept and libc_feupdateenv.
28735 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28736 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28737 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28738 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28739 libc_feholdexcept_setround.
28741 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28742 Add s_nearbyint-c and s_nearbyintf-c.
28743 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28744 nearbyintf inlines.
28745 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28746 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28747 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28748 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28750 * math/math_private.h: Define defaults for libc_fegetround,
28751 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28752 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28753 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28754 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28755 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28756 standard functions.
28757 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28758 Remove comments and hacks for old compiler versions.
28759 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28760 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28761 libc_feholdexceptl.
28763 2011-10-18 Andreas Schwab <schwab@redhat.com>
28765 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28766 (__feraiseexcept_renamed): Add __NTH.
28767 (feraiseexcept): Add __NTH. Rename local variables to fix
28768 namespace violations.
28770 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28772 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28774 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28776 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28777 recently added interfaces.
28778 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28780 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28781 about macro parameter expansion.
28783 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28784 __NO_MATH_INLINES is defined. Cleanups.
28786 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28787 and __floorf is target has SSE4.1.
28788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28789 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28790 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28791 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28793 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28795 (floorf): Likewise.
28797 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28799 2011-10-17 Andreas Schwab <schwab@redhat.com>
28801 * misc/sys/cdefs.h: Fix last change.
28803 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28806 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28808 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28810 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28811 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28816 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28817 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28818 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28819 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28820 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28821 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28822 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28823 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28824 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28825 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28826 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28827 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28828 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28829 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28830 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28831 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28833 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28834 ceil, ceilf, floor, floorf.
28836 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28837 Perform IRELATIVE relocations last.
28839 * elf/do-rel.h: Add another parameter nrelative, replacing the
28840 local variable with the same name. Change name of the function
28841 to end in Rel or Rela (uppercase).
28842 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28843 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28844 elf_dynamic_do_##reloc function.
28846 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28848 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28849 is sufficient, at least on modern CPUs.
28851 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28853 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28854 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28856 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28858 * math/bits/math-finite.h: Add entries for exp.
28859 * math/e_expl.c: Add __*_finite alias.
28860 * sysdeps/i386/fpu/e_exp.S: Likewise.
28861 * sysdeps/i386/fpu/e_expf.S: Likewise.
28862 * sysdeps/i386/fpu/e_expl.c: Likewise.
28863 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28864 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28865 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28868 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28869 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28871 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28872 is sufficient, at least on modern CPUs.
28874 * ctype/ctype-info.c (__ctype_init): Define.
28875 * include/ctype.h (__ctype_init): Declare.
28876 (__ctype_b_loc): The variable is always initialized.
28877 (__ctype_toupper_loc): Likewise.
28878 (__ctype_tolower_loc): Likewise.
28879 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28880 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28882 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28884 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28886 * configure.in: Also look in $cxxmachine/include for C++ system
28889 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28891 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28892 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28893 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28894 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28895 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28896 (USE_AS_WMEMCMP): New macro.
28898 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28899 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28900 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28901 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28903 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28904 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28905 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28906 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28907 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28908 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28909 (USE_AS_WMEMCMP): New macro.
28910 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28911 * sysdeps/string/test-memcmp.c: Update.
28912 Fix simple_wmemcmp.
28914 * wcsmbs/wmemcmp.c: Update.
28915 (WMEMCMP): New macro.
28918 2011-10-12 Andreas Jaeger <aj@suse.de>
28921 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28923 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28925 * libio/iofwide.c (do_length): Avoid warning.
28927 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28929 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28931 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28933 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28934 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28935 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28936 * sysdeps/i386/i686/fpu/e_log.S: New file.
28937 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28938 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28940 * ctype/ctype.h: Add support for inlined isXXX functions when
28941 compiling C++ code.
28943 2011-10-14 Andreas Schwab <schwab@redhat.com>
28945 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28947 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28949 2011-10-13 Roland McGrath <roland@hack.frob.com>
28952 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28954 2011-10-13 Andreas Schwab <schwab@redhat.com>
28956 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28957 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28960 * sysdeps/x86_64/memrchr.S: Check for zero size.
28962 * string/stratcliff.c: Add memrchr tests.
28964 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28967 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28968 rawmemchr-sse2 rawmemchr-sse2-bsf.
28969 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28970 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28971 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28972 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28973 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28974 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28975 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28976 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28977 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28978 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28979 * string/memrchr.c (MEMRCHR): New macro.
28981 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28983 Add integration with gcc's -ffinite-math-only and optimize wrapper
28985 * Versions.def: Define GLIBC_2.15 version for libm.
28986 * math/Makefile (headers): Add bits/math-finite.h.
28987 * math/bits/math-finite.h: New file.
28988 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28989 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28990 * math/e_acoshl.c: Add __*_finite alias.
28991 * math/e_acosl.c: Likewise.
28992 * math/e_asinl.c: Likewise.
28993 * math/e_atan2l.c: Likewise.
28994 * math/e_atanhl.c: Likewise.
28995 * math/e_coshl.c: Likewise.
28996 * math/e_exp10.c: Likewise.
28997 * math/e_exp10f.c: Likewise.
28998 * math/e_exp10l.c: Likewise.
28999 * math/e_exp2l.c: Likewise.
29000 * math/e_fmodl.c: Likewise.
29001 * math/e_gammal_r.c: Likewise.
29002 * math/e_hypotl.c: Likewise.
29003 * math/e_j0l.c: Likewise.
29004 * math/e_j1l.c: Likewise.
29005 * math/e_jnl.c: Likewise.
29006 * math/e_lgammal_r.c: Likewise.
29007 * math/e_log10l.c: Likewise.
29008 * math/e_log2l.c: Likewise.
29009 * math/e_logl.c: Likewise.
29010 * math/e_powl.c: Likewise.
29011 * math/e_sinhl.c: Likewise.
29012 * math/e_sqrtl.c: Likewise.
29013 * math/e_scalb.c: Completely rewritten and optimized.
29014 * math/e_scalbf.c: Likewise.
29015 * math/e_scalbl.c: Likewise.
29016 * math/w_acos.c: Likewise.
29017 * math/w_acosf.c: Likewise.
29018 * math/w_acosl.c: Likewise.
29019 * math/w_acosh.c: Likewise.
29020 * math/w_acoshf.c: Likewise.
29021 * math/w_acoshl.c: Likewise.
29022 * math/w_asin.c: Likewise.
29023 * math/w_asinf.c: Likewise.
29024 * math/w_asinl.c: Likewise.
29025 * math/w_atan2.c: Likewise.
29026 * math/w_atan2f.c: Likewise.
29027 * math/w_atan2l.c: Likewise.
29028 * math/w_atanh.c: Likewise.
29029 * math/w_atanhf.c: Likewise.
29030 * math/w_atanhl.c: Likewise.
29031 * math/w_exp10.c: Likewise.
29032 * math/w_exp10f.c: Likewise.
29033 * math/w_exp10l.c: Likewise.
29034 * math/w_fmod.c: Likewise.
29035 * math/w_fmodf.c: Likewise.
29036 * math/w_fmodl.c: Likewise.
29037 * math/w_j0.c: Likewise.
29038 * math/w_j0f.c: Likewise.
29039 * math/w_j0l.c: Likewise.
29040 * math/w_j1.c: Likewise.
29041 * math/w_j1f.c: Likewise.
29042 * math/w_j1l.c: Likewise.
29043 * math/w_jn.c: Likewise.
29044 * math/w_jnf.c: Likewise.
29045 * math/w_log.c: Likewise.
29046 * math/w_logf.c: Likewise.
29047 * math/w_logl.c: Likewise.
29048 * math/w_log10.c: Likewise.
29049 * math/w_log10f.c: Likewise.
29050 * math/w_log10l.c: Likewise.
29051 * math/w_log2.c: Likewise.
29052 * math/w_log2f.c: Likewise.
29053 * math/w_log2l.c: Likewise.
29054 * math/w_pow.c: Likewise.
29055 * math/w_powf.c: Likewise.
29056 * math/w_powl.c: Likewise.
29057 * math/w_remainder.c: Likewise.
29058 * math/w_remainderf.c: Likewise.
29059 * math/w_remainderl.c: Likewise.
29060 * math/w_scalb.c: Likewise.
29061 * math/w_scalbf.c: Likewise.
29062 * math/w_scalbl.c: Likewise.
29063 * math/w_sqrt.c: Likewise.
29064 * math/w_sqrtf.c: Likewise.
29065 * math/w_sqrtl.c: Likewise.
29066 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29067 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29069 * math/math_private.h: Declare __kernel_standard_f.
29070 * math/w_cosh.c: Remove cruft and optimize a bit.
29071 * math/w_coshf.c: Likewise.
29072 * math/w_coshl.c: Likewise.
29073 * math/w_exp2.c: Likewise.
29074 * math/w_exp2f.c: Likewise.
29075 * math/w_exp2l.c: Likewise.
29076 * math/w_hypot.c: Likewise.
29077 * math/w_hypotf.c: Likewise.
29078 * math/w_hypotl.c: Likewise.
29079 * math/w_lgamma.c: Likewise.
29080 * math/w_lgamma_r.c: Likewise.
29081 * math/w_lgammaf.c: Likewise.
29082 * math/w_lgammaf_r.c: Likewise.
29083 * math/w_lgammal.c: Likewise.
29084 * math/w_lgammal_r.c: Likewise.
29085 * math/w_sinh.c: Likewise.
29086 * math/w_sinhf.c: Likewise.
29087 * math/w_sinhl.c: Likewise.
29088 * math/w_tgamma.c: Likewise.
29089 * math/w_tgammaf.c: Likewise.
29090 * math/w_tgammal.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29092 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29093 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29094 Minor optimizations. Pretty printing. Remove cruft.
29095 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29096 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29097 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29098 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29099 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29100 * sysdeps/i386/fpu/e_asin.S: Likewise.
29101 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29102 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29103 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29104 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29105 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29106 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29107 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29108 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29109 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29110 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29111 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29112 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29113 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29114 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29115 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29116 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29117 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29118 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29119 * sysdeps/i386/fpu/e_log.S: Likewise.
29120 * sysdeps/i386/fpu/e_log10.S: Likewise.
29121 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29122 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29123 * sysdeps/i386/fpu/e_log2.S: Likewise.
29124 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29125 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29126 * sysdeps/i386/fpu/e_logf.S: Likewise.
29127 * sysdeps/i386/fpu/e_logl.S: Likewise.
29128 * sysdeps/i386/fpu/e_pow.S: Likewise.
29129 * sysdeps/i386/fpu/e_powf.S: Likewise.
29130 * sysdeps/i386/fpu/e_powl.S: Likewise.
29131 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29132 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29133 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29134 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29135 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29136 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29137 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29138 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29139 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29161 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29162 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29163 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29164 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29165 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29166 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29167 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29168 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29169 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29170 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29171 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29172 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29173 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29174 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29175 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29176 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29177 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29178 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29179 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29180 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29181 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29220 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29225 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29228 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29231 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29232 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29233 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29234 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29235 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29236 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29237 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29238 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29239 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29240 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29241 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29242 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29243 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29244 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29245 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29246 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29248 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29249 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29250 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29251 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29252 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29253 (__isnanf): Likewise.
29254 (__isinf_ns): Likewise.
29255 (__isinf_nsf): Likewise.
29256 (__finite): Likewise.
29257 (__finitef): Likewise.
29258 (__ieee754_sqrt): Define as macro.
29259 (__ieee754_sqrtf): Define as macro.
29260 (__ieee754_sqrtl): Define as macro.
29261 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29263 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29264 __FINITE_MATH_ONLY__ consistent.
29265 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29267 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29269 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29272 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29274 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29276 * po/ja.po: Update from translation team.
29278 2011-10-08 Roland McGrath <roland@hack.frob.com>
29280 * locale/programs/locarchive.c (prepare_address_space): New function.
29281 (create_archive, enlarge_archive, open_archive): Use it.
29283 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29284 inside [SHARED], where it is used.
29286 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29288 * nss/getent.c (netgroup_keys): Remove unused variable.
29289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29291 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29293 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29294 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29296 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29297 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29298 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29299 * math/Makefile (libm-calls): Add s_isinf_ns.
29300 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29301 * math/multc3.c: Likewise.
29302 * math/s_casin.c: Likewise.
29303 * math/s_casinf.c: Likewise.
29304 * math/s_casinl.c: Likewise.
29305 * math/s_ccos.c: Likewise.
29306 * math/s_ccosf.c: Likewise.
29307 * math/s_ccosl.c: Likewise.
29308 * math/s_ctan.c: Likewise.
29309 * math/s_ctanf.c: Likewise.
29310 * math/s_ctanh.c: Likewise.
29311 * math/s_ctanhf.c: Likewise.
29312 * math/s_ctanhl.c: Likewise.
29313 * math/s_ctanl.c: Likewise.
29314 * math/w_fmod.c: Likewise.
29315 * math/w_fmodf.c: Likewise.
29316 * math/w_fmodl.c: Likewise.
29317 * math/w_remainder.c: Likewise.
29318 * math/w_remainderf.c: Likewise.
29319 * math/w_remainderl.c: Likewise.
29320 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29321 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29322 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29324 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29325 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29326 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29327 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29329 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29331 * stdio-common/printf_fphex.c: Likewise.
29332 * stdio-common/printf_size.c: Likewise.
29334 * math/e_exp10.c: Include math_private.h using <...> not "...".
29335 * math/e_exp10f.c: Likewise.
29336 * math/e_exp10l.c: Likewise.
29337 * math/e_exp2l.c: Likewise.
29338 * math/e_j0l.c: Likewise.
29339 * math/e_j1l.c: Likewise.
29340 * math/e_jnl.c: Likewise.
29341 * math/e_lgammal_r.c: Likewise.
29342 * math/e_rem_pio2l.c: Likewise.
29343 * math/e_scalb.c: Likewise.
29344 * math/e_scalbf.c: Likewise.
29345 * math/e_scalbl.c: Likewise.
29346 * math/k_cosl.c: Likewise.
29347 * math/k_sinl.c: Likewise.
29348 * math/k_tanl.c: Likewise.
29349 * math/s_cacoshf.c: Likewise.
29350 * math/s_catan.c: Likewise.
29351 * math/s_catanf.c: Likewise.
29352 * math/s_catanh.c: Likewise.
29353 * math/s_catanhf.c: Likewise.
29354 * math/s_catanhl.c: Likewise.
29355 * math/s_catanl.c: Likewise.
29356 * math/s_ccosh.c: Likewise.
29357 * math/s_ccoshf.c: Likewise.
29358 * math/s_ccoshl.c: Likewise.
29359 * math/s_cexp.c: Likewise.
29360 * math/s_cexpf.c: Likewise.
29361 * math/s_cexpl.c: Likewise.
29362 * math/s_clog.c: Likewise.
29363 * math/s_clog10.c: Likewise.
29364 * math/s_clog10f.c: Likewise.
29365 * math/s_clog10l.c: Likewise.
29366 * math/s_clogf.c: Likewise.
29367 * math/s_clogl.c: Likewise.
29368 * math/s_csin.c: Likewise.
29369 * math/s_csinf.c: Likewise.
29370 * math/s_csinh.c: Likewise.
29371 * math/s_csinhf.c: Likewise.
29372 * math/s_csinhl.c: Likewise.
29373 * math/s_csinl.c: Likewise.
29374 * math/s_csqrt.c: Likewise.
29375 * math/s_csqrtf.c: Likewise.
29376 * math/s_csqrtl.c: Likewise.
29377 * math/s_ctan.c: Likewise.
29378 * math/s_ctanf.c: Likewise.
29379 * math/s_ctanh.c: Likewise.
29380 * math/s_ctanhf.c: Likewise.
29381 * math/s_ctanhl.c: Likewise.
29382 * math/s_ctanl.c: Likewise.
29383 * math/s_ldexp.c: Likewise.
29384 * math/s_ldexpf.c: Likewise.
29385 * math/s_ldexpl.c: Likewise.
29386 * math/s_significand.c: Likewise.
29387 * math/s_significandf.c: Likewise.
29388 * math/s_significandl.c: Likewise.
29389 * math/w_acos.c: Likewise.
29390 * math/w_acosf.c: Likewise.
29391 * math/w_acosh.c: Likewise.
29392 * math/w_acoshf.c: Likewise.
29393 * math/w_acoshl.c: Likewise.
29394 * math/w_acosl.c: Likewise.
29395 * math/w_asin.c: Likewise.
29396 * math/w_asinf.c: Likewise.
29397 * math/w_asinl.c: Likewise.
29398 * math/w_atan2.c: Likewise.
29399 * math/w_atan2f.c: Likewise.
29400 * math/w_atan2l.c: Likewise.
29401 * math/w_atanh.c: Likewise.
29402 * math/w_atanhf.c: Likewise.
29403 * math/w_atanhl.c: Likewise.
29404 * math/w_cosh.c: Likewise.
29405 * math/w_coshf.c: Likewise.
29406 * math/w_coshl.c: Likewise.
29407 * math/w_dremf.c: Likewise.
29408 * math/w_exp10.c: Likewise.
29409 * math/w_exp10f.c: Likewise.
29410 * math/w_exp10l.c: Likewise.
29411 * math/w_exp2.c: Likewise.
29412 * math/w_exp2f.c: Likewise.
29413 * math/w_fmod.c: Likewise.
29414 * math/w_fmodf.c: Likewise.
29415 * math/w_fmodl.c: Likewise.
29416 * math/w_hypot.c: Likewise.
29417 * math/w_hypotf.c: Likewise.
29418 * math/w_hypotl.c: Likewise.
29419 * math/w_j0.c: Likewise.
29420 * math/w_j0f.c: Likewise.
29421 * math/w_j0l.c: Likewise.
29422 * math/w_j1.c: Likewise.
29423 * math/w_j1f.c: Likewise.
29424 * math/w_j1l.c: Likewise.
29425 * math/w_jn.c: Likewise.
29426 * math/w_jnf.c: Likewise.
29427 * math/w_jnl.c: Likewise.
29428 * math/w_lgamma.c: Likewise.
29429 * math/w_lgamma_r.c: Likewise.
29430 * math/w_lgammaf.c: Likewise.
29431 * math/w_lgammaf_r.c: Likewise.
29432 * math/w_lgammal.c: Likewise.
29433 * math/w_lgammal_r.c: Likewise.
29434 * math/w_log.c: Likewise.
29435 * math/w_log10.c: Likewise.
29436 * math/w_log10f.c: Likewise.
29437 * math/w_log10l.c: Likewise.
29438 * math/w_log2.c: Likewise.
29439 * math/w_log2f.c: Likewise.
29440 * math/w_log2l.c: Likewise.
29441 * math/w_logf.c: Likewise.
29442 * math/w_logl.c: Likewise.
29443 * math/w_pow.c: Likewise.
29444 * math/w_powf.c: Likewise.
29445 * math/w_powl.c: Likewise.
29446 * math/w_remainder.c: Likewise.
29447 * math/w_remainderf.c: Likewise.
29448 * math/w_remainderl.c: Likewise.
29449 * math/w_scalb.c: Likewise.
29450 * math/w_scalbf.c: Likewise.
29451 * math/w_scalbl.c: Likewise.
29452 * math/w_sinh.c: Likewise.
29453 * math/w_sinhf.c: Likewise.
29454 * math/w_sinhl.c: Likewise.
29455 * math/w_sqrt.c: Likewise.
29456 * math/w_sqrtf.c: Likewise.
29457 * math/w_sqrtl.c: Likewise.
29458 * math/w_tgamma.c: Likewise.
29459 * math/w_tgammaf.c: Likewise.
29460 * math/w_tgammal.c: Likewise.
29462 * po/ja.po: Update from translation team.
29464 2011-09-29 Andreas Jaeger <aj@suse.de>
29467 * sunrpc/netname.c (netname2host): Fix logic.
29471 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29473 * math/w_remainder.c (__remainder): Likewise.
29474 * math/w_remainderf.c (__remainderf): Likewise.
29475 * math/libm-test.inc (remainder_test): Add test cases.
29477 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29479 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29482 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29484 * string/test-memcmp.c: Avoid unncessary #defines.
29485 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29487 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29489 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29490 Use new sse2 version for core i3 - i7 as it's faster
29491 than sse42 version.
29492 (bit_Prefer_PMINUB_for_stringop): New.
29493 * sysdeps/x86_64/rawmemchr.S: Update.
29494 Replace with faster SSE2 version.
29495 * sysdeps/x86_64/memrchr.S: New file.
29496 * sysdeps/x86_64/memchr.S: Update.
29497 Replace with faster SSE2 version.
29499 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29501 * elf/dl-load.c (lose): Add cast to avoid warning.
29503 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29505 * po/ca.po: Update from translation team.
29507 * inet/getnetgrent_r.c: Hook up nscd.
29508 * nscd/Makefile (routines): Add nscd_netgroup.
29509 (nscd-modules): Add netgroupcache.
29510 (CFLAGS-netgroupcache.c): Define.
29511 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29512 (cache_search): Add const to second parameter.
29513 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29515 (dbs): Add netgrdb entry.
29516 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29517 (verify_persistent_db): Handle netgrdb.
29518 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29519 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29521 (netgroup_response_header): Define.
29522 (innetgroup_response_header): Define.
29523 (datahead): Add netgroup_response_header and innetgroup_response_header
29525 * nscd/nscd.conf: Add entries for netgroup cache.
29526 * nscd/nscd.h (dbtype): Add netgrdb.
29527 (_PATH_NSCD_NETGROUP_DB): Define.
29528 (netgroup_iov_disabled): Declare.
29529 (xmalloc, xcalloc, xrealloc): Move declarations here.
29530 (cache_search): Adjust prototype.
29531 Add netgroup-related prototypes.
29532 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29533 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29534 (__nscd_innetgr): Declare.
29535 * nscd/selinux.c (perms): Use access_vector_t as element type and
29536 add netgroup-related initializers.
29537 * nscd/netgroupcache.c: New file.
29538 * nscd/nscd_netgroup.c: New file.
29539 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29540 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29541 For four parameters use innetgr.
29542 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29543 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29544 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29545 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29547 * nscd/connections.c (register_traced_file): Don't register file
29548 for disabled databases.
29550 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29552 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29554 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29555 from tree and freeing node.
29557 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29559 * nss/nsswitch.c (__nss_database_lookup): Handle
29560 nss_parse_service_list out of memory case.
29562 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29564 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29565 out of memory case.
29567 2011-10-04 Andreas Schwab <schwab@redhat.com>
29569 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29570 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29572 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29573 elf_machine_rela, elf_machine_lazy_rel.
29574 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29575 (ELF_DYNAMIC_DO_REL): Likewise.
29576 (ELF_DYNAMIC_DO_RELA): Likewise.
29577 (ELF_DYNAMIC_RELOCATE): Likewise.
29578 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29579 to ELF_DYNAMIC_DO_REL.
29580 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29581 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29582 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29584 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29585 skip_ifunc, don't call ifunc function if non-zero.
29586 (elf_machine_rela): Likewise.
29587 (elf_machine_lazy_rel): Likewise.
29588 (elf_machine_lazy_rela): Likewise.
29589 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29590 (elf_machine_lazy_rel): Likewise.
29591 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29593 (elf_machine_lazy_rel): Likewise.
29594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29596 (elf_machine_lazy_rel): Likewise.
29597 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29598 (elf_machine_lazy_rel): Likewise.
29599 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29600 (elf_machine_lazy_rel): Likewise.
29601 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29602 (elf_machine_lazy_rel): Likewise.
29603 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29604 (elf_machine_lazy_rel): Likewise.
29605 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29606 (elf_machine_lazy_rel): Likewise.
29607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29608 (elf_machine_lazy_rel): Likewise.
29610 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29612 * nss/nss_files/files-init.c (_nss_files_init): Use static
29613 initialization for all the *_traced_file variables.
29615 2011-09-28 Andreas Schwab <schwab@redhat.com>
29617 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29619 2011-09-27 Roland McGrath <roland@hack.frob.com>
29622 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29624 2011-09-27 Andreas Schwab <schwab@redhat.com>
29626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29627 Reread the line before reparsing it.
29629 2011-09-26 Andreas Schwab <schwab@redhat.com>
29631 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29633 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29634 Maxim Kuvyrkov <maxim@codesourcery.com>
29635 Joseph Myers <joseph@codesourcery.com>
29637 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29638 if needed for __stack_chk_guard.
29640 2011-09-19 Roland McGrath <roland@hack.frob.com>
29642 * sysdeps/posix/spawni.c (script_execute): Always define it.
29643 It will be optimized away if unused.
29644 (maybe_script_execute): New function.
29645 (__spawni): Call it.
29647 * Makerules: Don't include tls.make.
29648 (config-tls): Always set to thread.
29649 * tls.make.c: File removed.
29651 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29653 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29654 * config.make.in (CPPFLAGS-config): New substituted variable.
29656 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29658 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29661 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29662 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29664 2011-09-15 Roland McGrath <roland@hack.frob.com>
29666 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29667 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29669 (CALL_FAIL): Likewise.
29670 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29671 (CALL_FAIL): Macro removed.
29672 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29674 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29676 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29677 for __FINITE_MATH_ONLY__ == 1.
29679 2011-09-15 Andreas Schwab <schwab@redhat.com>
29681 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29682 __ieee754_sqrt instead of sqrt.
29683 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29684 __ieee754_sqrtf instead of sqrtf.
29685 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29686 __floorf instead of floorf.
29687 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29688 __floorf, __truncf instead of floorf, truncf.
29690 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29692 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29694 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29695 __extern_always_inline.
29696 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29699 2011-09-14 Andreas Schwab <schwab@redhat.com>
29701 * elf/rtld.c (dl_main): Also relocate in dependency order when
29702 doing symbol dependency testing.
29704 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29706 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29707 Always define `refsym'.
29709 2011-09-13 Andreas Schwab <schwab@redhat.com>
29711 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29712 (__FD_ELT): Renamed from __FDELT.
29713 * misc/bits/select2.h (__FD_ELT): Likewise.
29714 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29715 __FD_MASK instead of __FDELT, __FDMASK.
29716 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29718 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29721 * elf/Makefile (gen-ldd): Fix pattern.
29723 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29724 (init_tls): Likewise.
29726 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29728 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29730 2011-09-12 Andreas Schwab <schwab@redhat.com>
29732 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29733 `struct cmsghdr *' instead of `void *'.
29734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29737 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29739 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29741 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29742 ldd_rewrite_script.
29744 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29746 * configure.in: Remove --with-tls option.
29747 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29748 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29749 out in case it is missing.
29750 * sysdeps/ia64/elf/configure.in: Likewise.
29751 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29752 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29753 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29754 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29755 * sysdeps/sh/elf/configure.in: Likewise.
29756 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29757 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29758 * sysdeps/x86_64/elf/configure.in: Likewise.
29759 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29760 * sysdeps/mach/hurd/tls.h: Likewise.
29763 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29766 * configure.in: Fix use of AC_INIT.
29768 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29770 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29772 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29774 * malloc/hooks.c: Likewise.
29777 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29778 variables statically.
29779 (narenas): Initialize.
29780 (list_lock): Initialize.
29781 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29782 initializtion of main_arena and list_lock. Small cleanups.
29783 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29784 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29785 Add initializers to main_arena and mp_.
29786 (malloc_state): Remove pagesize member. Change all users to use
29789 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29790 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29791 is always initialized.
29793 * malloc/malloc.c: Removed unused configurations and dead code.
29794 * malloc/arena.c: Likewise.
29795 * malloc/hooks.c: Likewise.
29796 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29798 * include/tls.h: Removed. USE___THREAD must always be defined.
29799 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29800 * elf/dl-libc.c: Likewise.
29801 * elf/dl-tsd.c: Likewise.
29802 * include/errno.h: Likewise.
29803 * include/netdb.h: Likewise.
29804 * include/resolv.h: Likewise.
29805 * inet/herrno-loc.c: Likewise.
29806 * inet/herrno.c: Likewise.
29807 * malloc/arena.c: Likewise.
29808 * malloc/hooks.c: Likewise.
29809 * malloc/malloc.c: Likewise.
29810 * resolv/res-state.c: Likewise.
29811 * resolv/res_libc.c: Likewise.
29812 * sysdeps/i386/dl-machine.h: Likewise.
29813 * sysdeps/ia64/dl-machine.h: Likewise.
29814 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29815 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29816 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29817 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29818 * sysdeps/sh/dl-machine.h: Likewise.
29819 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29820 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29821 * sysdeps/unix/i386/sysdep.S: Likewise.
29822 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29823 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29824 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29827 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29828 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29832 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29833 * sysdeps/x86_64/dl-machine.h: Likewise.
29834 * tls.make.c: Likewise.
29836 * configure.in: Remove --with-__thread option. Make tests for
29837 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29838 tls_model attribute fail if no support is available. Remove
29840 * Makeconfig: Adjust for dropped configure option. All features are
29842 * Makerules: Likewise.
29843 * Versions.def: Likewise.
29844 * argp/argp-fmtstream.c: Likewise.
29845 * argp/argp-fmtstream.h: Likewise.
29846 * argp/argp-help.c: Likewise.
29847 * assert/assert.c: Likewise.
29848 * config.h.in: Likewise.
29849 * config.make.in: Likewise.
29850 * configure: Likewise.
29851 * configure.in: Likewise.
29852 * csu/Versions: Likewise.
29853 * csu/init.c: Likewise.
29854 * elf/tst-audit2.c: Likewise.
29855 * elf/tst-tls10.c: Likewise.
29856 * elf/tst-tls10.h: Likewise.
29857 * elf/tst-tls11.c: Likewise.
29858 * elf/tst-tls12.c: Likewise.
29859 * elf/tst-tls14.c: Likewise.
29860 * elf/tst-tlsmod11.c: Likewise.
29861 * elf/tst-tlsmod12.c: Likewise.
29862 * elf/tst-tlsmod13.c: Likewise.
29863 * elf/tst-tlsmod13a.c: Likewise.
29864 * elf/tst-tlsmod14a.c: Likewise.
29865 * elf/tst-tlsmod15b.c: Likewise.
29866 * elf/tst-tlsmod16a.c: Likewise.
29867 * elf/tst-tlsmod16b.c: Likewise.
29868 * elf/tst-tlsmod7.c: Likewise.
29869 * elf/tst-tlsmod8.c: Likewise.
29870 * elf/tst-tlsmod9.c: Likewise.
29871 * gmon/gmon.c: Likewise.
29872 * grp/fgetgrent_r.c: Likewise.
29873 * grp/putgrent.c: Likewise.
29874 * hurd/fopenport.c: Likewise.
29875 * include/libc-symbols.h: Likewise.
29876 * include/tls.h: Likewise.
29877 * intl/gettextP.h: Likewise.
29878 * intl/loadinfo.h: Likewise.
29879 * locale/global-locale.c: Likewise.
29880 * locale/localeinfo.h: Likewise.
29881 * mach/devstream.c: Likewise.
29882 * malloc/arena.c: Likewise.
29883 * malloc/set-freeres.c: Likewise.
29884 * misc/err.c: Likewise.
29885 * misc/getttyent.c: Likewise.
29886 * misc/mntent_r.c: Likewise.
29887 * posix/getopt.c: Likewise.
29888 * posix/wordexp.c: Likewise.
29889 * pwd/fgetpwent_r.c: Likewise.
29890 * resolv/Versions: Likewise.
29891 * resolv/res_hconf.c: Likewise.
29892 * shadow/fgetspent_r.c: Likewise.
29893 * shadow/putspent.c: Likewise.
29894 * stdio-common/printf_fphex.c: Likewise.
29895 * stdio-common/tmpfile.c: Likewise.
29896 * stdlib/abort.c: Likewise.
29897 * stdlib/fmtmsg.c: Likewise.
29898 * sunrpc/auth_unix.c: Likewise.
29899 * sunrpc/clnt_perr.c: Likewise.
29900 * sunrpc/clnt_tcp.c: Likewise.
29901 * sunrpc/clnt_udp.c: Likewise.
29902 * sunrpc/clnt_unix.c: Likewise.
29903 * sunrpc/openchild.c: Likewise.
29904 * sunrpc/svc_simple.c: Likewise.
29905 * sunrpc/svc_tcp.c: Likewise.
29906 * sunrpc/svc_udp.c: Likewise.
29907 * sunrpc/svc_unix.c: Likewise.
29908 * sunrpc/xdr.c: Likewise.
29909 * sunrpc/xdr_array.c: Likewise.
29910 * sunrpc/xdr_rec.c: Likewise.
29911 * sunrpc/xdr_ref.c: Likewise.
29912 * sunrpc/xdr_stdio.c: Likewise.
29914 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29916 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29918 2011-07-03 Andreas Jaeger <aj@suse.de>
29920 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29921 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29922 regenerate with gen-libm-tests.pl.
29924 2010-05-12 Petr Baudis <pasky@suse.cz>
29927 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29928 around j0() zero points by switching to j1().
29929 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29930 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29932 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29934 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29936 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29938 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29941 Patch in part by Pavel Roskin <proski@gnu.org>.
29944 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29946 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29947 Free memory block if necessary.
29950 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29951 be NULL. Don't lock in this case.
29953 2011-09-09 Roland McGrath <roland@hack.frob.com>
29955 * elf/elf.h (ELFOSABI_GNU): New macro.
29956 (ELFOSABI_LINUX): Define to that.
29958 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29960 * string/strncat.c (strncat): Undef the symbol in case it has been
29961 defined in bits/string.h.
29963 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29965 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29967 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29970 2011-08-17 Andreas Jaeger <aj@suse.de>
29972 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29974 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29975 Ian Lance Taylor <iant@google.com>
29977 * math/libm-test.inc (lround_test): New testcase.
29978 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29980 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29982 * Makefile: Remove support for automatic cvs check-ins.
29983 * Makerules: Likewise.
29984 * config.make.in: Likewise.
29985 * configure.in: Likewise.
29986 * intl/Makefile: Likewise.
29987 * locale/Makefile: Likewise.
29988 * po/Makefile: Likewise.
29989 * posix/Makefile: Likewise.
29990 * sysdeps/gnu/Makefile: Likewise.
29991 * sysdeps/mach/hurd/Makefile: Likewise.
29992 * sysdeps/sparc/sparc32/Makefile: Likewise.
29995 * posix/Makefile (bug-regex32-ENV): Define.
29996 Patch by John Stanley <jpsinthemix@verizon.net>.
29998 * misc/Makefile (headers): Add bits/select2.h.
29999 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30000 * misc/bits/select2.h: New file.
30001 * include/bits/select2.h: New file.
30002 * debug/Makefile (routines): Add fdelt_chk.
30003 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30004 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30006 * debug/fdelt_chk.c: New file.
30008 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30009 * wcsmbs/test-wmemcmp.c: Likewise.
30010 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30011 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30013 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30015 * string/Makefile (strop-tests): Add memcmp.
30016 * string/test-wmemcmp.c: New file.
30017 * string/test-memcmp.c: Add wmemcmp support.
30019 2011-09-08 Roland McGrath <roland@hack.frob.com>
30022 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30025 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30026 garbage value in a __mach_port_mod_refs call in the cases of the
30027 task-self and thread-self ports.
30029 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30031 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30033 2011-09-08 Andreas Schwab <schwab@redhat.com>
30035 * elf/dl-load.c (lose): Check for non-null L.
30037 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30039 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30041 * elf/dl-libc.c (dlerror_run): Pass back error code from
30045 * elf/dl-load.c (lose): Free l_origin if it is valid.
30047 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30049 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30050 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30052 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30053 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30054 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30056 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30058 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30059 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30060 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30061 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30062 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30063 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30064 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30065 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30066 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30067 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30069 2011-08-15 Alan Modra <amodra@gmail.com>
30072 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30073 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30074 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30075 ppc_mcount to static-only-routines.
30076 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30078 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30079 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30081 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30083 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30084 for finite and infinity parameters.
30086 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30088 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30089 and add nop instructions for throughput optimization.
30090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30092 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30094 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30095 aligned copy for power7 with vector-scalar instructions.
30096 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30098 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30103 2011-09-07 Andreas Schwab <schwab@redhat.com>
30106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30109 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30111 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30112 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30113 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30114 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30117 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30119 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30120 Forgot to demangle the pointer.
30122 * sysdeps/i386/sysdep.h: Define atom_text_section.
30123 * sysdeps/x86_64/sysdep.h: Likewise.
30124 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30125 section with atom_text_section.
30126 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30128 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30129 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30130 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30133 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30134 already be defined. Change to take two parameters and don't assign
30135 result to variable. Adjust all users.
30136 Define INTERNAL_GETTIME if not already defined.
30137 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30140 HAVE_CLOCK_GETTIME_VSYSCALL.
30141 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30144 gettimeofday vsyscall, just use time.
30146 2011-09-06 Andreas Schwab <schwab@redhat.com>
30148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30151 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30153 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30157 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30159 syscall if possible.
30161 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30163 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30164 e_ident. Don't pass to find_mapsXX.
30165 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30167 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30170 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30171 * sysdeps/x86_64/multiarch/strchr.S: Update.
30172 Check bit_slow_BSF bit.
30173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30174 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30175 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30177 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30180 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30182 (tryshell): Define.
30183 (__spawni): Change last parameter to be flag. Test
30184 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30185 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30186 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30187 * posix/spawni.c: Likewise.
30188 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30189 * posix/spawnp.c: Likewise. Change normal version to use
30190 SPAWN_XFLAGS_USE_PATH.
30191 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30192 SPAWN_XFLAGS_TRY_SHELL.
30195 * posix/glob.h: Remove gcc 1.x support.
30198 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30200 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30203 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30205 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30206 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30207 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30208 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30209 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30210 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30212 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30214 * sysdeps/x86_64/wcscmp.S: New file.
30216 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30217 wcscmp-c wcscmp-sse2
30218 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30219 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30220 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30221 * wcsmbs/wcscmp.c: Allow renaming.
30223 2011-09-05 David S. Miller <davem@davemloft.net>
30225 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30226 stack slot, rather than the struct return pointer slot.
30227 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30228 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30230 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30232 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30234 * po/ja.po: Update from translation team.
30237 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30238 kernel in 64-bit binaries.
30240 2011-09-01 David S. Miller <davem@davemloft.net>
30242 * elf/elf.h (HWCAP_SPARC_*): Move to..
30243 * sysdeps/sparc/sysdep.h: this new file and add new values.
30244 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30245 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30246 _DL_HWCAP_COUNT to 24.
30247 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30249 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30250 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30251 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30253 instead of magic constants.
30254 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30256 2011-08-31 David S. Miller <davem@davemloft.net>
30258 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30260 Reimplement to do errno handling inline.
30261 (SYSCALL_ERROR_HANDLER): New macro.
30262 (__SYSCALL_STRING): Do not do errno handling in asm.
30263 (__CLONE_SYSCALL_STRING): Delete.
30264 (__INTERNAL_SYSCALL_STRING): Delete.
30265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30266 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30267 (PSEUDO): Reimplement to do errno handling inline.
30268 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30269 (SYSCALL_ERROR_HANDLER): New macro.
30270 (__SYSCALL_STRING): Do not do errno handling in asm.
30271 (__CLONE_SYSCALL_STRING): Delete.
30272 (__INTERNAL_SYSCALL_STRING): Delete.
30273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30274 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30276 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30277 (inline_syscall*): Add 'err' argument.
30278 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30279 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30280 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30281 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30283 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30284 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30286 2011-08-30 Andreas Schwab <schwab@redhat.com>
30288 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30290 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30292 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30295 2011-08-24 David S. Miller <davem@davemloft.net>
30297 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30299 2011-08-24 Andreas Schwab <schwab@redhat.com>
30301 * elf/Makefile: Add rules to build and run unload8 test.
30302 * elf/unload8.c: New file.
30303 * elf/unload8mod1.c: New file.
30304 * elf/unload8mod1x.c: New file.
30305 * elf/unload8mod2.c: New file.
30306 * elf/unload8mod3.c: New file.
30308 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30311 2011-08-23 David S. Miller <davem@davemloft.net>
30313 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30314 subtract stack bias.
30315 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30316 %sp not %fp in calculations.
30317 (_JMPBUF_UNWINDS_ADJ): Likewise.
30319 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30320 (aio_suspend): Call it to force an exception region around the
30321 AIO_MISC_WAIT() invocation.
30323 2011-08-23 Andreas Schwab <schwab@redhat.com>
30325 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30328 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30330 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30332 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30333 and <dl-machine.h>.
30334 (Elf64_FuncDesc): Remove.
30336 2011-08-22 David S. Miller <davem@davemloft.net>
30338 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30339 sigaltstack check, add missing cfi directives.
30340 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30341 missing cfi directives, and sigaltstack handling.
30343 2011-08-16 Andreas Schwab <schwab@redhat.com>
30346 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30347 object is seen twice.
30348 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30350 * elf/Makefile (distribute): Add tst-initorder2.c.
30351 (tests): Add tst-initorder2.
30352 (modules-names): Add tst-initorder2a tst-initorder2b
30353 tst-initorder2c tst-initorder2d. Add rules to build them.
30354 ($(objpfx)tst-initorder2.out): New rule.
30355 * elf/tst-initorder2.c: New file.
30356 * elf/tst-initorder2.exp: New file.
30358 2011-08-22 Andreas Schwab <schwab@redhat.com>
30360 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30362 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30363 dependencies back to end of function.
30365 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30366 $(elfobjdir)/ld.so.
30368 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30371 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30372 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30373 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30374 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30375 of __vdso_gettimeofday.
30376 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30377 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30379 (_libc_vdso_platform_setup): Remove initialization of
30380 __vdso_gettimeofday and __vdso_time.
30382 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30384 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30385 and fgetc_unlocked.
30386 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30389 * elf/dl-open.c (add_to_global): Report additions to the global scope
30390 for LD_DEBUG=scopes.
30391 (dl_open_worker): Also print scope of newly loaded dependencies.
30392 (_dl_show_scope): Indicate if there is no scope.
30395 * stdio-common/Makefile (tests): Add bug24.
30396 * stdio-common/bug24.c: New file.
30398 2011-08-19 Andreas Jaeger <aj@suse.de>
30401 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30402 non-existant file when using close-on-exec mode.
30404 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30407 the very first instruction.
30409 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30410 the CFI state in the end.
30411 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30412 inclusion of dl-trampoline.h.
30413 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30415 2011-08-19 Andreas Schwab <schwab@redhat.com>
30417 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30418 expectations for long double.
30420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30421 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30423 2011-08-14 David S. Miller <davem@davemloft.net>
30425 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30426 artificual limit depends upon the system page size.
30428 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30430 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30431 * resolv/Makefile: Define CFLAGS-libresolv.
30433 2011-08-17 Andreas Schwab <schwab@redhat.com>
30435 * nss/makedb.c (compute_tables): Make variables used in nested
30438 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30440 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30441 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30442 if buffer was too small.
30444 * elf/pldd.c (main): Attach to all threads in the process.
30445 Rewrite /proc handling to use *at functions.
30447 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30449 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30450 specifies first scope to show.
30451 (dl_open_worker): Update callers. Move printing scope of new
30452 object to before the relocation.
30453 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30454 * sysdeps/generic/ldsodefs.h: Update declaration.
30456 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30457 string for the scope number.
30459 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30461 * nscd/servicescache.c (cache_addserv): Make sure written is always
30464 2011-08-14 Roland McGrath <roland@hack.frob.com>
30466 * sysdeps/i386/i486/bits/atomic.h
30467 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30468 statement expression, so as to suppress "set but not used" warning.
30469 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30471 * string/strncat.c (STRNCAT): Use prototype definition.
30473 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30474 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30476 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30477 (localedef-modules): Add localedef.
30478 (locale-modules): Add locale.
30480 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30481 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30482 to avoid a warning.
30484 2011-08-14 David S. Miller <davem@davemloft.net>
30486 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30487 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30489 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30491 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30492 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30493 * elf/rtld.c (dl_main): Set l_name of vDSO.
30494 Call _dl_show_scope when DL_DEBUG_SCOPES.
30495 (process_dl_debug): Recognize scopes flag and also set it for all.
30496 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30497 Declare _dl_show_scope.
30499 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30500 (do_dlopen): Pass caller_dlopen to dl_open.
30501 (__libc_dlopen_mode): Initialize caller_dlopen.
30503 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30504 of libc. Make tolower call locale-independent. Optimize a bit by
30505 using isdigit instead of isalnum.
30506 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30508 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30510 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30511 was a dependency or dynamically loaded.
30513 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30515 * intl/l10nflist.c: Allow architecture-specific pop function.
30516 * sysdeps/x86_64/l10nflist.c: New file.
30518 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30521 2011-08-10 Andreas Schwab <schwab@redhat.com>
30523 * include/dirent.h: Add libc_hidden_proto for scandirat and
30524 scandirat64. Don't declare __scandirat64.
30525 * dirent/scandirat.c: Add libc_hidden_def.
30526 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30527 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30529 2011-08-10 David S. Miller <davem@davemloft.net>
30531 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30533 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30534 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30535 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30537 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30539 * Versions.def [libc]: Add GLIBC_2.15.
30540 * dirent/Makefile (routines): Add scandirat and scandirat64.
30541 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30543 * dirent/dirent.h: Declare scandirat and scandirat64.
30544 * dirent/scandirat.c: New file.
30545 * dirent/scandirat64.c: New file.
30546 * sysdeps/wordsize-64/scandirat.c: New file.
30547 * sysdeps/wordsize-64/scandirat64.c: New file.
30548 * dirent/opendir.c: Define opendirat.
30549 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30551 * dirent/scandir64.c: Adjust for scandir.c change.
30552 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30553 __scandirat64, and __scandir_cancel_handler.
30554 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30555 additional parameter and use openat instead of open (outside of ld.so).
30556 Add new __opendir as wrapper around __opendirat.
30557 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30558 here without requiring old scandirat implementation.
30560 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30562 * dirent/scandir.c (cancel_handler): Renamed to
30563 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30564 defined. Adjust users.
30565 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30566 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30568 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30570 * string/test-string.h (IMPL): Use __STRING to expand name and then
30573 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30576 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30578 * string/Makefile: Update.
30579 (strop-tests): Append strncat.
30580 * string/test-wcscmp.c: New file.
30581 New comprehensive test for wcscmp.
30582 * string/test-strcmp.c: Update.
30583 (WIDE): New define.
30585 2011-07-22 Andreas Schwab <schwab@redhat.com>
30587 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30590 2011-07-26 Andreas Schwab <schwab@redhat.com>
30592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30593 encoding to ACE if AI_IDN.
30595 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30598 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30600 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30602 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30603 Fix overflow bug in strncat.
30604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30606 * string/test-strncat.c: Update.
30607 Add new tests for checking overflow bugs.
30609 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30612 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30613 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30614 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30615 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30616 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30617 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30618 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30619 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30622 (USE_AS_STRCAT): Define.
30623 Add strcat and strncat support.
30624 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30626 2011-07-25 Andreas Schwab <schwab@redhat.com>
30628 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30629 __n bigger than INT_MAX+1.
30630 (__strncmp_g): Likewise.
30632 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30634 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30635 * libio/stido.h: Likewise.
30637 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30642 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30643 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30644 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30645 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30649 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30654 (_dl_x86_64_save_sse): Likewise.
30656 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30660 (_dl_x86_64_save_sse): Likewise.
30662 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30664 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30666 2011-07-21 Andreas Schwab <schwab@redhat.com>
30668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30670 (_dl_x86_64_save_sse): Use correct AVX check.
30672 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30674 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30675 bug in strncpy/strncat.
30676 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30678 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30680 * string/tester.c (test_strcat): Add tests for different alignments
30681 of source and destination.
30682 (test_strncat): Likewise.
30684 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30687 * posix/glob.c (glob): Check passed in values before using them in
30688 expressions to avoid some overflows.
30689 (glob_in_dir): Likewise.
30692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30693 check for AVX enablement so that we don't crash with old kernels and
30695 * elf/tst-audit4.c: Add same checks here.
30696 * elf/tst-audit6.c: Likewise.
30698 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30700 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30702 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30704 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30706 * po/cs.po: Update from translation team.
30707 * po/bg.po: Likewise.
30709 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30711 * misc/sys/cdefs.h: Add support for const attribute.
30712 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30713 to gnu_dev_{major,minor,makedev} functions.
30715 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30717 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30719 2011-07-20 Andreas Schwab <schwab@redhat.com>
30721 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30724 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30726 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30727 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30728 register in order to avoid conflicts with the soft frame pointer
30729 being held in r11 when necessary.
30730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30731 (INTERNAL_VSYSCALL_NCS): Likewise.
30733 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30735 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30736 * elf/dl-fini.c (_dl_fini): Adjust caller.
30737 * elf/dl-close.c (_dl_close_worker): Likewise.
30738 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30740 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30742 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30743 "aux_cache->nlibs < 0".
30745 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30746 in the reload-count case.
30748 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30751 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30752 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30753 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30754 * sysdeps/x86_64/multiarch/strcat.S: New file.
30755 * sysdeps/x86_64/multiarch/strncat.S: New file.
30756 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30757 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30758 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30759 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30760 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30761 (USE_AS_STRCAT): Define.
30762 Add strcat and strncat support.
30763 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30764 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30765 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30766 * string/strncat.c: Update.
30767 (USE_AS_STRNCAT): Define.
30768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30769 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30771 * sysdeps/x86_64/multiarch/init-arch.h
30772 (bit_Prefer_PMINUB_for_stringop): New.
30773 (index_Prefer_PMINUB_for_stringop): Likewise.
30774 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30775 bit_Prefer_PMINUB_for_stringop.
30777 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30779 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30781 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30782 of casting of buffer.
30783 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30784 buffer32 and buffer64.
30785 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30786 writes instead of casting of buffer.
30787 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30789 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30792 2011-07-19 Andreas Schwab <schwab@redhat.com>
30794 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30796 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30798 * nscd/nscd.c (termination_handler): Don't do anything for a database
30799 if it has not yet been initialized.
30801 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30803 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30805 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30807 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30809 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30811 * po/nl.po: Update from translation team.
30812 * po/sv.po: Likewise.
30814 2011-07-16 Roland McGrath <roland@hack.frob.com>
30816 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30817 now disallowed by GCC.
30819 * configure.in (use-default-link): Default to yes if a test -shared
30820 link meets our qualifications.
30821 * configure: Regenerated.
30823 * config.make.in (output-format): New variable.
30824 * configure.in: Check for ld --print-output-format support.
30825 * configure: Regenerated.
30826 * Makerules ($(common-objpfx)format.lds)
30827 [$(output-format) != unknown]: Just use $(output-format),
30828 instead of the linker-script munging.
30830 2011-07-14 Roland McGrath <roland@hack.frob.com>
30832 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30833 of $(common-objpfx)shlib.lds.
30834 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30836 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30837 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30839 * configure.in (-z relro check): Adjust test code to add a large
30840 writable data section after it.
30841 * configure: Regenerated.
30843 2011-07-11 Roland McGrath <roland@hack.frob.com>
30845 * configure.in (-z relro check): Fix test code to make the variable
30847 * configure: Regenerated.
30849 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30851 * nscd/nscd.h (struct traced_file): Define.
30852 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30853 elements. Add traced_files.
30854 (inotify_fd): Declare.
30855 (register_traced_file): Declare.
30856 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30857 (inotify_fd): Export.
30858 (resolv_conf_descr): Remove.
30859 (nscd_init): Move inotify descriptor creation to main.
30860 Don't register files for notification here.
30861 (register_traced_file): New function.
30862 (invalidate_cache): Don't use reset_res to determine whether to call
30863 res_init, go through the list of registered files.
30864 (main_loop_poll): The inotify descriptors are now stored in the
30865 structures for the traced files.
30866 (main_loop_epoll): Likewise
30867 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30868 to __nss_disable_nscd.
30869 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30870 for a database anymore. Check the records for all the registered
30872 * nss/Makefile (libnss_files-routines): Add files-init.
30873 (libnss_db-routines): Add db-init.
30874 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30875 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30876 * nss/nss_db/db-init.c: New file.
30877 * nss/nss_files/files-init.c: New file.
30878 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30879 __nss_lookup_function.
30880 (__nss_lookup_function): Call nss_load_library.
30881 (nss_load_all_libraries): New function.
30882 (__nss_disable_nscd): Take parameter with callback function for files
30883 to register. Set is_nscd. Load all the DSOs for the NSS modules
30884 used for the cached services.
30885 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30886 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30887 options for features to all the files in nscd.
30889 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30891 2011-07-10 Roland McGrath <roland@hack.frob.com>
30893 * csu/elf-init.c (__libc_csu_init): Comment typo.
30895 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30897 * po/pl.po: Update from translation team.
30898 * po/ja.po: Likewise.
30899 * po/ru.po: Likewise.
30900 * po/ko.po: Likewise.
30901 * po/fr.po: Likewise.
30903 2011-07-09 Roland McGrath <roland@hack.frob.com>
30905 * configure.in (.ctors/.dtors header and trailer check):
30906 Use an empirical test on a built program.
30907 * configure: Regenerated.
30909 * configure.in (-z relro check): Use an empirical test on a built DSO.
30910 Detect, but do not require, on ia64.
30911 * configure: Regenerated.
30913 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30914 Update tests that use readelf to use $READELF instead.
30915 * configure: Regenerated.
30917 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30919 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30920 if the result is not used.
30922 2011-07-05 Andreas Jaeger <aj@suse.de>
30925 * stdlib/tst-strtod.c: Add testcase.
30927 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30929 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30930 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30931 The latter has a higher limit. Take additional parameter to pass to
30933 (__pathconf): Pass file to __statfs_link_max.
30934 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30936 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30940 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30944 (__statfs_filesize_max): Likewise.
30945 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30947 2011-07-05 Andreas Jaeger <aj@suse.de>
30949 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30951 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30953 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30955 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30958 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30960 * Makefile (strop-tests): Add strncat.
30961 * string/test-strncat.c: New file.
30963 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30965 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30967 2011-06-21 Andreas Jaeger <aj@suse.de>
30969 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30970 Copy rule from iconvdata/Makefile.
30972 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30975 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30976 but no long options are defined, just return 'W'.
30978 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30981 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30983 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30985 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30987 (innetgr): Likewise.
30989 2011-07-05 Roland McGrath <roland@hack.frob.com>
30991 * config.make.in (install_root): Default to $(DESTDIR).
30993 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30995 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30997 2011-07-02 Roland McGrath <roland@hack.frob.com>
30999 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31001 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31002 containing directory rather than embedding absolute directory names.
31004 * scripts/check-local-headers.sh: Rewritten using awk.
31005 Match by word, not by line. Print error messages for matches.
31006 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31008 * Makerules [shlib-lds-flags empty]:
31009 ($(common-objpfx)libc_pic.opts): New target.
31010 ($(common-objpfx)libc_pic.os.clean): New target.
31011 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31013 * config.make.in (OBJCOPY): New variable.
31014 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31015 * configure: Regenerated.
31017 * config.make.in (use-default-link): New variable.
31018 * configure.in (use_default_link): Grok --with-default-link to set it.
31019 * configure: Regenerated.
31020 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31021 (shlib-lds, shlib-lds-flags): Define to empty.
31023 * Makerules (shlib-lds): New variable.
31024 (shlib-lds-flags): New variable.
31025 (build-shlib, build-moduile, build-module-asneeded): Use it.
31026 ($(common-objpfx)libc.so): Use $(shlib-lds).
31027 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31028 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31030 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31031 DT_FLAGS/DT_FLAGS_1 with zero flags.
31033 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31034 linker script munging.
31036 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31038 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31040 * crypt/sha512.c (sha512_process_block): Perform total addition using
31041 128-bit if possible.
31042 (__sha512_finish_ctx): Likewise.
31043 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31045 * crypt/sha256.c (SWAP64): Define.
31046 (sha256_process_block): Perform total addition using 64-bit if
31048 (__sha256_finish_ctx): Likewise.
31050 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31052 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31054 * nscd/hstcache.c (cache_addhst): Likewise.
31055 * nscd/grpcache.c (cache_addgr): Likewise.
31056 * nscd/aicache.c (addhstaiX): Likewise
31057 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31059 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31061 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31062 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31063 * nscd/hstcache.c (cache_addhst): Likewise.
31064 * nscd/grpcache.c (cache_addgr): Likewise.
31065 * nscd/aicache.c (addhstaiX): Likewise
31067 2011-07-01 Andreas Schwab <schwab@redhat.com>
31069 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31070 domain only when needed.
31072 2011-06-30 Andreas Schwab <schwab@redhat.com>
31074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31075 is always restored.
31077 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31079 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31080 are re-adding the entry.
31081 * nscd/servicescache.c (cache_addserv): Likewise.
31083 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31085 * sysdeps/generic/dl-irel.h: fix protection against multiple
31087 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31089 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31092 * malloc/memusage.sh: Fix quoting in message.
31093 * debug/xtrace.sh: Likewise.
31095 * configure.in: Remove support for --experimental-malloc option, make
31097 * config.make.in: Likewise.
31098 * malloc/Makefile: Likewise.
31100 2011-06-27 Andreas Schwab <schwab@redhat.com>
31102 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31103 two-byte characters.
31105 2011-06-27 Roland McGrath <roland@hack.frob.com>
31107 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31108 AC_CACHE_CHECK invocation.
31109 * configure: Regenerated.
31111 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31113 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31116 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31117 bit from old_res_options.
31119 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31121 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31122 value type for setfct.
31124 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31127 __gettimeofday instead of gettimeofday.
31129 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31131 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31133 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31135 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31140 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31143 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31144 strcpy-sse2-unaligned strncpy-sse2-unaligned
31145 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31146 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31147 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31148 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31149 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31150 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31151 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31152 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31153 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31154 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31155 (STRCPY): Support SSE2 and SSSE3 versions.
31157 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31160 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31161 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31162 kernels which artificially limit size of requests.
31164 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31167 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31168 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31169 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31170 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31171 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31172 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31173 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31174 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31175 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31176 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31177 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31178 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31179 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31180 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31182 Enable unaligned load optimization for Intel Core i3, i5 and i7
31184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31186 (index_Fast_Unaligned_Load): Define.
31187 (HAS_FAST_UNALIGNED_LOAD): Define.
31189 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31191 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31193 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31197 until it is clear that the information is realy needed.
31198 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31200 2011-06-22 Andreas Schwab <schwab@redhat.com>
31202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31204 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31207 /sys/devices/system/cpu/online if it is usable.
31209 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31210 reading the information from the /proc filesystem to once a second.
31212 2011-06-21 Andreas Jaeger <aj@suse.de>
31214 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31215 NULL after inclusion of kernel headers.
31217 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31219 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31220 calls to internal_setent.
31223 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31224 addresses using gethostbyname4_r ignore IPv4 addresses.
31226 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31227 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31229 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31231 2011-06-20 David S. Miller <davem@davemloft.net>
31233 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31235 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31237 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31238 (elf_irel): Use it.
31239 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31240 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31241 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31242 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31243 * sysdeps/x86_64/dl-irel.h: Likewise.
31245 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31246 * elf/dl-sym.c: Likewise.
31248 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31250 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31251 need to dereference resplen2.
31253 2011-06-14 Andreas Schwab <schwab@redhat.com>
31255 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31257 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31259 * Makeconfig: Define vardbdir and inst_vardbdir.
31260 * nss/Makefile: Add rules to install db-Makefile.
31262 * nss/nss_db/db-XXX.c: Cleanup.
31264 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31265 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31267 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31268 * nss/makedb.c: Implement -g option to specify that value strings
31269 are generated and should not be added to table iterated over for
31271 * nss/nss_db/db-initgroups.c: New file.
31273 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31276 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31277 (internal_getgrouplist): Adjust to name change.
31278 Update use_initgroups_entry if this is not the first call.
31279 * nss/databases.def: Add initgroups entry.
31281 * nss/makedb.c (compute_tables): Check result of multiple hash table
31282 sizes to minimize maximum chain length.
31284 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31286 * Versions.def: Add entry for libnss_db.
31287 * shlib-versions: Likewise.
31288 * nss/Makefile: Add rules to build libnss_db.
31289 * nss/Versions: Add libnss_db information. Organize libnss_files
31291 * nss/db-Makefile: Add gshadow support. Change rules for the new
31292 makedb progra. Some minor improvements to generate smaller files.
31293 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31295 * nss/makedb.c: ...here.
31296 Improve database format to be smaller and require less memory at
31298 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31300 * nss/nss_db/db-netgrp.c: Likewise.
31301 * nss/nss_db/db-open.c: Likewise.
31302 * nss/nss_files/flies-XXX.x: Adjust comments.
31303 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31304 * nss/nss_files/files-grp.c: Likewise.
31305 * nss/nss_files/files-hosts.c: Likewise.
31306 * nss/nss_files/files-network.c: Likewise.
31307 * nss/nss_files/files-proto.c: Likewise.
31308 * nss/nss_files/files-pwd.c: Likewise.
31309 * nss/nss_files/files-rpc.c: Likewise.
31310 * nss/nss_files/files-service.c: Likewise.
31311 * nss/nss_files/files-sgrp.c: Likewise.
31312 * nss/nss_files/files-spwd.c: Likewise.
31313 * nss/nss_db/db-alias.c: Removed.
31314 * nss/nss_db/dummy-db.h: Removed.
31316 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31318 * nss/makedb.c: Rewritten to not use database library.
31319 * nss/Makefile: Update to build new makedb program.
31321 2011-06-14 Andreas Jaeger <aj@suse.de>
31323 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31324 memset declaration.
31326 2011-06-10 Andreas Schwab <schwab@redhat.com>
31328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31331 2011-06-10 Roland McGrath <roland@hack.frob.com>
31333 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31334 * elf/Makefile ($(objpfx)ld.so): Likewise.
31336 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31337 Don't list ld.so twice in dependencies.
31339 * posix/bug-regex31.c: Include <stdlib.h>.
31341 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31343 * nis/nss_compat/compat-spwd.c
31344 (getspent_next_nss_netgr): Remove unused variable.
31345 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31347 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31348 nonmembers" output to use the right array.
31350 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31352 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31354 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31355 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31356 * catgets/gencat.c (read_input_file): Likewise.
31357 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31359 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31360 variable definition inside #if's controlling its use.
31362 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31364 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31366 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31368 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31371 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31373 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31374 * configure: Regenerated.
31376 * Makerules: Revert last change.
31377 * elf/Makefile: Likewise.
31379 2011-06-09 Roland McGrath <roland@hack.frob.com>
31381 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31382 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31383 (reloc-link): Likewise.
31385 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31387 * elf/Makefile: Add rules to build pldd.
31388 * elf/pldd.c: New file.
31389 * elf/pldd-xx.c: New file.
31391 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31393 * version.h: Update for 2.15 development version.
31395 2011-06-07 David S. Miller <davem@davemloft.net>
31397 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31400 elf_machine_lazy_rel): Likewise.
31401 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31402 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31403 elf_machine_lazy_rel): Likewise.
31404 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31405 dl_hwcap via passed in argument.
31406 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31409 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31411 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31413 2011-06-06 Roland McGrath <roland@hack.frob.com>
31416 * manual/fdl-1.1.texi: New file, verbatim from:
31417 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31418 * manual/lgpl-2.1.texi: New file, verbatim from:
31419 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31420 * manual/Makefile (licenses): New variable, list those new file names.
31422 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31424 * manual/fdl.texi: File removed.
31425 * manual/lesser.texi: File removed.
31426 * manual/libc.texinfo (Copying, Documentation License):
31427 Use new @include file names, put @appendix directive before @include.
31429 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31432 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31433 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31434 (mq_open): Add __NTH.
31436 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31439 Assume Intel Core i3/i5/i7 processor if AVX is available.
31441 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31443 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31446 2011-05-31 Andreas Schwab <schwab@redhat.com>
31448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31449 memory. Use alloca_account. Fix memory leak when retrying.
31451 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31453 * version.h (RELEASE): Bump for 2.14 release.
31454 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31456 * config.make.in (RANLIB): Remove entry.
31458 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31460 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31461 (libc.pot): Work around missing support for .ksh extension in xgettext.
31464 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31465 if both request failed.
31466 (send_dg): In case of server errors clear resplen or *resplen2.
31469 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31470 when there are multiple maps.
31471 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31472 (_dl_fini): Remove test here.
31474 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31476 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31479 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31480 bit from old_res_options.
31481 (gaih_inet): Likewise.
31484 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31487 * resolv/res_init.c (res_setoptions): Make the code more compact.
31490 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31494 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31496 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31499 * malloc/malloc.h: Declare malloc hook variables as volatile.
31501 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31505 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31506 raise in the comment.
31507 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31509 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31511 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31514 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31515 grow the buffers more if it already has to be sufficient.
31516 (build_wcs_upper_buffer): Likewise.
31517 * posix/regexec.c (check_matching): Likewise.
31518 (clean_state_log_if_needed): Likewise.
31519 (extend_buffers): Don't enlarge buffers beyond size of the input
31521 Patches mostly by Emil Wojak <emil@wojak.eu>.
31522 * posix/bug-regex32.c: New file.
31523 * posix/Makefile (tests): Add bug-regex32.
31525 * locale/findlocale.c (_nl_find_locale): Return right away if
31526 _nl_explode_name failed.
31527 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31529 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31531 * debug/xtrace.sh: Unify messages.
31532 * malloc/memusage.sh: Likewise.
31535 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31536 time symbol from vDSO. Substitute with vsyscall if not available.
31537 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31540 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31541 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31542 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31543 Add sendmmsg and internal_sendmmsg.
31544 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31545 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31546 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31548 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31549 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31552 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31555 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31556 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31558 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31562 * iconvdata/Makefile (tests): Add bug-iconv9.
31563 * iconvdata/bug-iconv9.c: New file.
31565 2011-05-27 Andreas Schwab <schwab@redhat.com>
31568 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31570 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31572 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31573 (struct user_regs_struct): Change intcs field back to cs.
31575 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31577 * po/ja.po: Update from translation team.
31579 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31582 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31583 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31585 2011-05-20 Andreas Schwab <schwab@redhat.com>
31587 * stdlib/longlong.h: Update from GCC.
31589 2011-05-23 Andreas Schwab <schwab@redhat.com>
31591 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31593 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31594 Add parameter name.
31595 (__sysconf): Pass it down.
31597 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31600 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31602 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31603 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31604 add in in __libc_use_alloca calls. Adjust callers.
31605 (glob): Use malloc in some situations.
31607 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31608 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31611 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31613 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31614 and CLOCK_BOOTTIME_ALARM.
31617 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31620 * string/_strerror.c (__strerror_r): Print negative errors as signed
31624 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31625 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31626 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31628 * configure.in: Fix typo in redirection and correct removal of test
31629 files in two cases.
31632 * locale/setlocale.c (new_composite_name): Fix test to check for
31633 identical name of all categories.
31636 * libio/filedoalloc.c (local_isatty): New function.
31637 (_IO_file_doallocate): Use local_isatty.
31638 * stdio-common/perror.c (perror): In case a new stream is used
31639 forward the stream error.
31640 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31643 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31648 * include/alloca.h (extend_alloca_account): Define.
31651 * posix/regex.h: Fix comments with documentation of user-accessible
31652 fields after compilation and describe correct free'ing of pattern
31653 after re_compile_pattern.
31654 Patch by Reuben Thomas <rrt@sc3d.org>.
31656 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31658 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31659 and -mno-altivec to prevent the compiler from using Altivec and/or
31660 VSX instructions when the corresponding registers are not available.
31662 2011-05-19 Andreas Schwab <schwab@redhat.com>
31664 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31666 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31668 * libio/freopen.c (freopen): Use __dup2, not dup2.
31669 * libio/freopen64.c (freopen64): Likewise.
31671 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31674 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31675 * math/Makefile (tests): Add test-powl.
31676 (CFLAGS-test-powl.c): Define.
31677 * math/test-powl.c: New file.
31679 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31681 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31683 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31686 * iconvdata/gb18030.c: Update to GB18020-2005.
31688 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31690 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31691 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31692 Patch by Aharon Robbins <arnold@skeeve.com>.
31695 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31699 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31700 through underflows.
31703 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31704 point to strings before performing equality test for error_one_per_line
31708 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31711 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31712 (struct user_fpregs_struct): Avoid __uint*_t types.
31715 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31716 symbol info. Use it instead of calling _dl_addr locally.
31717 (lock_and_info): New function.
31718 (tr_freehook): Call lock_and_info and pass symbol info as additional
31719 parameter to tr_where.
31720 (tr_mallochook): Likewise.
31721 (tr_reallochook): Likewise.
31722 (tr_memalignhook): Likewise.
31724 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31725 used and couldn't be at all thread-safe.
31727 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31729 * libio/freopen.c (freopen): Don't close old file descriptor
31730 before the new one is opened. Instead dup the new file descriptor
31731 to the old one after the new stream is created.
31732 * libio/freopen64.c (freopen64): Likewise.
31733 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31734 * libio/fileops.c (_IO_new_file_close_it): Handle new
31735 _IO_FLAGS2_NOCLOSE flag.
31736 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31737 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31738 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31739 _IO_FLAGS2_NOCLOSE flag.
31740 * include/unistd.h: Add hidden_proto for dup3.
31741 Define __have_dup3.
31742 * io/dup3.c: Define hidden symbol.
31743 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31746 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31747 when an incomplete long option is used.
31748 * posix/tst-getopt_long1.c: New file.
31749 * posix/Makefile (tests): Add tst-getopt_long1.
31752 * scripts/config.guess: Update from autoconf-2.68.
31753 * scripts/config.sub: Likewise.
31756 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31758 (has_cpuclock): ...this. New function.
31759 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31760 macro here based on has_cpuclock code.
31763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31764 First byte (not low byte) is now always NUL.
31765 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31768 Use non-cancelable interfaces.
31771 * locale/iso-639.def: Add entry for Sorani.
31774 * include/stdlib.h: Move include protection to the right place.
31775 Define abort_msg_s. Declare __abort_msg with it.
31776 * stdlib/abort.c (__abort_msg): Adjust type.
31777 * assert/assert.c (__assert_fail_base): New function. Majority
31778 of code from __assert_fail. Allocate memory for __abort_msg with
31780 (__assert_fail): Now call __assert_fail_base.
31781 * assert/assert-perr.c: Remove bulk of implementation. Use
31782 __assert_fail_base.
31783 * include/assert.hL Declare __assert_fail_base.
31784 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31786 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31788 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31792 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31793 until all modules are registered in the DTV.
31794 * elf/Makefile: Add rules to build and run tst-tls19.
31795 * elf/tst-tls19.c: New file.
31796 * elf/tst-tls19mod1.c: New file.
31797 * elf/tst-tls19mod2.c: New file.
31798 * elf/tst-tls19mod3.c: New file.
31799 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31802 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31806 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31807 two-byte sequence errors.
31808 * iconvdata/Makefile (tests): Add bug-iconv8.
31809 * iconvdata/bug-iconv8.c: New file.
31812 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31815 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31818 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31819 (dummy_getcfa): New function.
31820 (init): Get _Unwind_GetCFA address, use dummy if not found.
31821 (backtrace_helper): In recursion check, also check whether CFA changes.
31822 (__backtrace): Completely initialize arg.
31824 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31825 storing incomplete byte sequence in state object. Avoid testing for
31826 guaranteed too small input if we know there is enough data available.
31828 2011-05-11 Andreas Schwab <schwab@redhat.com>
31830 * Makeconfig (+link-pie): Indent.
31831 * Rules (binaries-pie): Define if $(have-fpie) and
31833 (binaries-shared): Also filter out $(binaries-pie).
31834 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31835 * nscd/Makefile (others-pie): Add nscd.
31836 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31837 ($(objpfx)nscd): Remove command override.
31838 * login/Makefile (others-pie): Add pt_chown.
31839 ($(objpfx)pt_chown): Remove command override.
31840 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31841 remove command overrides.
31843 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31845 * libio/tst_putwc.c: Fix error messages.
31848 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31849 currently writing and seek to current position when not.
31850 * libio/Makefile (tests): Add bug-fclose1.
31851 * libio/bug-fclose1.c: New file.
31853 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31856 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31857 don't set DF_1_NODELETE here.
31858 (do_lookup_x): When entering new entry test for copy relocation
31859 and if necessary set DF_1_NODELETE flag.
31860 * elf/tst-unique4.cc: New file.
31861 * elf/tst-unique4.h: New file.
31862 * elf/tst-unique4lib.cc: New file.
31863 * elf/Makefile: Add rules to build and run tst-unique4.
31864 Patch by Piotr Bury <pbury@goahead.com>.
31866 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31869 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31872 * misc/mntent_r.c (addmntent): Flush the stream after the output
31875 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31876 (is_trusted_path_normalize): Skip initial colon. Append slash
31877 to empty buffer. Duplicate is_trusted_path code but allow
31878 constructed patch to be prefix.
31879 (is_dst): Allow $ORIGIN followed by /.
31880 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31881 Correct testing of result of is_trusted_path_normalize
31882 (decompose_rpath): Fix warning.
31884 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31887 * grp/initgroups.c (internal_getgrouplist): When we found the service
31888 list through the initgroups entry in nsswitch.conf do not always
31889 continue on a successful lookup. Don't always use the
31890 __nss_group_database value if it is set.
31891 * nss/nsswitch.conf (initgroups): Change action for successful db
31892 lookup to continue for compatibility.
31894 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31897 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31899 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31901 * iconvdata/tst-tables.sh: Likewise.
31902 * iconvdata/cp770.c: New file.
31903 * iconvdata/cp771.c: New file.
31904 * iconvdata/cp772.c: New file.
31905 * iconvdata/cp773.c: New file.
31906 * iconvdata/cp774.c: New file.
31907 * iconvdata/testdata/CP770: New file.
31908 * iconvdata/testdata/CP770..UTF8: New file.
31909 * iconvdata/testdata/CP771: New file.
31910 * iconvdata/testdata/CP771..UTF8: New file.
31911 * iconvdata/testdata/CP772: New file.
31912 * iconvdata/testdata/CP772..UTF8: New file.
31913 * iconvdata/testdata/CP773: New file.
31914 * iconvdata/testdata/CP773..UTF8: New file.
31915 * iconvdata/testdata/CP774: New file.
31916 * iconvdata/testdata/CP774..UTF8: New file.
31918 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31920 * iconvdata/gen-8bit-gap.sh: Likewise.
31921 * iconvdata/gen-8bit.sh: Likewise.
31923 * locale/iso-639.def: Add ary entry.
31926 * locale/C-translit.h.in: Add U20A1 transliteration.
31929 * locale/iso-639.def: Add wae entry.
31930 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31933 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31937 * locale/C-translit.h.in: Add entry for U20B9.
31938 Patch by pravin.d.s@gmail.com.
31940 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31943 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31944 ENAMETOOLONG use generic getcwd.
31945 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31946 in rtld. Use *stat64.
31947 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31948 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31949 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31950 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31951 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31952 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31953 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31954 __fstatat64 macros.
31955 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31956 * dirent/rewinddir.c: Add libc_hidden_def.
31957 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31958 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31960 * include/dirent.h (__alloc_dir): Add flags parameter.
31961 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31962 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31964 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31965 from fdopendir if O_CLOEXEC is already set.
31967 2011-03-15 Alan Modra <amodra@gmail.com>
31969 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31970 l_tls_firstbyte_offset non-zero. Save padding offset in
31971 l_tls_firstbyte_offset for later use.
31972 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31973 freeing static tls block.
31975 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31977 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31978 where #ifdef was intended. The intent is to prevent ARG_MAX from
31979 being defined by the kernel headers.
31981 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31984 * resolv/resolv.h: Define RES_NOTLDQUERY.
31985 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31986 no-tld-query and set RES_NOTLDQUERY.
31987 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31988 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31989 modern BIND to search name as TLD unless forbidden.
31991 2011-05-07 Petr Baudis <pasky@suse.cz>
31992 Ulrich Drepper <drepper@gmail.com>
31995 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31996 (is_trusted_path): ...to here.
31997 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31998 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31999 using is_trusted_path_normalize() in setuid scripts.
32001 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32003 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32004 __BEGIN/__END_DECLS.
32006 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32009 NSS_STATUS_NOTFOUND if no record was found.
32011 2011-05-05 Andreas Schwab <schwab@redhat.com>
32013 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32014 (headers-not-in-tirpc): Remove rpc/netdb.h
32015 * resolv/netdb.h: Revert last change.
32017 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32019 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32020 circular dependency between libgcc.a and libc.a.
32022 2011-05-05 Andreas Schwab <schwab@redhat.com>
32024 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32025 * nis/Makefile: Don't install rpcsvc/*.
32026 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32027 instead of <rpc/types.h>.
32028 (MAXHOSTNAMELEN): Define.
32030 2011-05-03 Andreas Schwab <schwab@redhat.com>
32032 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32034 2011-04-28 Maciej Babinski <mbabinski@google.com>
32037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32038 gethostbyname4_r when IPv6 results are possible.
32040 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32043 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32044 _PC_PIPE_BUF handling.
32046 2011-04-30 Bruno Haible <bruno@clisp.org>
32049 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32050 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32052 * inet/getnameinfo.c (getnameinfo): Likewise.
32054 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32056 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32057 to groups setting in database lookup.
32058 * nss/nsswitch.conf: Add initgroups entry.
32060 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32063 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32065 Patch by Eric Blake <eblake@redhat.com>.
32067 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32069 * sunrpc/Makefile (need-export-routines): Add svc_run.
32070 (routines): Remove svc_run.
32071 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32072 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32073 * sunrpc/svc_run.c (svc_run): Likewise.
32074 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32076 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32078 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32079 problem in reallocation in last patch.
32081 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32083 * sunrpc/Makefile: Move inclusion of Rules.
32085 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32087 * nss/nss_files/files-initgroups.c: New file.
32088 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32089 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32090 _nss_files_initgroups_dyn.
32092 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32094 * elf/elf.h (R_ARM_IRELATIVE): Define.
32096 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32098 * po/ru.po: Update from translation team.
32100 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32102 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32105 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32108 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32109 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32110 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32112 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32114 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32116 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32118 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32120 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32122 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32125 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32127 * stdlib/bug-getcontext.c: New file.
32128 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32130 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32132 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32133 instructions into .machine "z9-109".
32134 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32135 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32137 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32139 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32140 between environment variables and auxiliary vector.
32142 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32144 * Makefile: Add rules to build linkobj/libc.so.
32145 * include/libc-symbols.h: Define libc_hidden_nolink.
32146 * include/rpc/auth.h: Mark functions which are to be hidden.
32147 * include/rpc/auth_des.h: Likewise.
32148 * include/rpc/auth_unix.h: Likewise.
32149 * include/rpc/clnt.h: Likewise.
32150 * include/rpc/des_crypt.h: Likewise.
32151 * include/rpc/key_prot.h: Likewise.
32152 * include/rpc/pmap_clnt.h: Likewise.
32153 * include/rpc/pmap_prot.h: Likewise.
32154 * include/rpc/pmap_rmt.h: Likewise.
32155 * include/rpc/rpc_msg.h: Likewise.
32156 * include/rpc/svc.h: Likewise.
32157 * include/rpc/svc_auth.h: Likewise.
32158 * include/rpc/xdr.h: Likewise.
32159 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32160 * nss/Makefile: Likewise.
32161 * sunrpc/Makefile: Don't install headers. Build library with normal
32162 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32163 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32164 for the compat linking library. Remove use of INTDEF/INTUSE.
32165 * sunrpc/auth_none.c: Likewise.
32166 * sunrpc/auth_unix.c: Likewise.
32167 * sunrpc/authdes_prot.c: Likewise.
32168 * sunrpc/authuxprot.c: Likewise.
32169 * sunrpc/clnt_gen.c: Likewise.
32170 * sunrpc/clnt_perr.c: Likewise.
32171 * sunrpc/clnt_raw.c: Likewise.
32172 * sunrpc/clnt_simp.c: Likewise.
32173 * sunrpc/clnt_tcp.c: Likewise.
32174 * sunrpc/clnt_udp.c: Likewise.
32175 * sunrpc/clnt_unix.c: Likewise.
32176 * sunrpc/des_crypt.c: Likewise.
32177 * sunrpc/des_soft.c: Likewise.
32178 * sunrpc/get_myaddr.c: Likewise.
32179 * sunrpc/key_call.c: Likewise.
32180 * sunrpc/key_prot.c: Likewise.
32181 * sunrpc/netname.c: Likewise.
32182 * sunrpc/pm_getmaps.c: Likewise.
32183 * sunrpc/pm_getport.c: Likewise.
32184 * sunrpc/pmap_clnt.c: Likewise.
32185 * sunrpc/pmap_prot.c: Likewise.
32186 * sunrpc/pmap_prot2.c: Likewise.
32187 * sunrpc/pmap_rmt.c: Likewise.
32188 * sunrpc/publickey.c: Likewise.
32189 * sunrpc/rpc_cmsg.c: Likewise.
32190 * sunrpc/rpc_common.c: Likewise.
32191 * sunrpc/rpc_dtable.c: Likewise.
32192 * sunrpc/rpc_prot.c: Likewise.
32193 * sunrpc/rpc_thread.c: Likewise.
32194 * sunrpc/rtime.c: Likewise.
32195 * sunrpc/svc.c: Likewise.
32196 * sunrpc/svc_auth.c: Likewise.
32197 * sunrpc/svc_authux.c: Likewise.
32198 * sunrpc/svc_raw.c: Likewise.
32199 * sunrpc/svc_run.c: Likewise.
32200 * sunrpc/svc_simple.c: Likewise.
32201 * sunrpc/svc_tcp.c: Likewise.
32202 * sunrpc/svc_udp.c: Likewise.
32203 * sunrpc/svc_unix.c: Likewise.
32204 * sunrpc/svcauth_des.c: Likewise.
32205 * sunrpc/xcrypt.c: Likewise.
32206 * sunrpc/xdr.c: Likewise.
32207 * sunrpc/xdr_array.c: Likewise.
32208 * sunrpc/xdr_float.c: Likewise.
32209 * sunrpc/xdr_intXX_t.c: Likewise.
32210 * sunrpc/xdr_mem.c: Likewise.
32211 * sunrpc/xdr_rec.c: Likewise.
32212 * sunrpc/xdr_ref.c: Likewise.
32213 * sunrpc/xdr_sizeof.c: Likewise.
32214 * sunrpc/xdr_stdio.c: Likewise.
32216 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32219 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32220 * sysdeps/ia64/dl-tls.h: Likewise.
32221 * sysdeps/powerpc/dl-tls.h: Likewise.
32222 * sysdeps/s390/dl-tls.h: Likewise.
32223 * sysdeps/sh/dl-tls.h: Likewise.
32224 * sysdeps/sparc/dl-tls.h: Likewise.
32225 * sysdeps/x86_64/dl-tls.h: Likewise.
32226 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32228 2011-03-14 Andreas Schwab <schwab@redhat.com>
32230 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32231 rpath element also skip the following colon.
32232 (expand_dynamic_string_token): Add is_path parameter and pass
32233 down to DL_DST_REQUIRED and _dl_dst_substitute.
32234 (decompose_rpath): Call expand_dynamic_string_token with
32235 non-zero is_path. Ignore empty rpaths.
32236 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32239 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32244 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32247 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32248 Patch by Filipe David Manana <fdmanana@apache.org>.
32250 2011-04-07 Andreas Schwab <schwab@redhat.com>
32252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32253 Maintain aligned stack.
32254 (CHECK_RSP): Remove unused macro.
32256 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32258 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32261 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32263 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32265 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32267 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32270 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32271 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32272 * sysdeps/x86_64/memmove.c: New file.
32273 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32274 (memcpy): Renamed to ...
32275 (__new_memcpy): This.
32276 (memcpy): Provide GLIBC_2_14 memcpy.
32277 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32278 (memcpy): Provide GLIBC_2_2_5 memcpy.
32280 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32283 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32285 2011-03-30 Andreas Schwab <schwab@redhat.com>
32287 * misc/syncfs.c: New file.
32288 * misc/Makefile (routines): Add syncfs.
32289 * posix/unistd.h: Declare syncfs.
32290 * sysdeps/unix/syscalls.list: Add syncfs.
32292 2011-04-01 Andreas Schwab <schwab@redhat.com>
32294 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32297 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32301 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32304 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32307 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32308 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32312 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32314 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32315 sync_file_range.c with -fexceptions.
32316 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32317 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32318 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32319 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32320 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32321 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32322 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32323 sync_file_range as cancellation point
32324 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32325 now a wrapper around __call_sync_file_range with cancellation handling.
32326 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32327 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32328 function name to __call_sync_file_range.
32329 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32330 Add call_sync_file_range.
32332 2011-04-01 Andreas Schwab <schwab@redhat.com>
32334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32337 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32339 * iconv/iconv.h: Fix typo in comment.
32340 * io/fcntl.h: Likewise.
32341 * libio/stdio.h: Likewise.
32342 * posix/spawn.h: Likewise.
32343 * posix/unistd.h: Likewise.
32344 * stdlib/stdlib.h: Likewise.
32345 * time/time.h: Likewise.
32346 * wcsmbs/wchar.h: Likewise.
32348 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32349 open_by_handle): Add.
32350 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32351 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32352 Augment a few comments.
32353 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32358 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32361 * io/fcntl.h (AT_EMPTY_PATH): Define.
32363 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32365 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32366 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32367 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32369 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32370 * Versions.def: Add GLIBC_2.14.
32371 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32374 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32376 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32378 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32380 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32383 * string/test-strncmp.c (do_page_test): New function.
32384 (check2): Likewise.
32385 (test_main): Call check2.
32386 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32388 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32391 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32392 Handle cache information in CPU leaf 4.
32393 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32395 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32398 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32399 character representation.
32400 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32402 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32404 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32405 END(__isnan) to END(__isnanf) to match function entry point/label
32406 EALIGN(__isnanf,...).
32408 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32410 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32412 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32415 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32416 copy from the symbol referenced in the relocation to initialize the
32418 Patch by Piotr Bury <pbury@goahead.com>.
32419 * elf/Makefile: Add rules to build and tst-unique3.
32420 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32421 * elf/tst-unique3.cc: New file.
32422 * elf/tst-unique3.h: New file.
32423 * elf/tst-unique3lib.cc: New file.
32424 * elf/tst-unique3lib2.cc: New file.
32426 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32428 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32430 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32431 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32434 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32436 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32437 to-be-loaded object along a path to loader is ld.so.
32439 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32440 Ulrich Drepper <drepper@gmail.com>
32442 * sysdeps/x86_64/memset.S: After aligning destination, code
32443 branches to different locations depending on the value of
32444 misalignment, when multiarch is enabled. Fix this.
32446 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32448 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32449 Set _x86_64_preferred_memory_instruction for AMD processsors.
32450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32451 Set bit_Prefer_SSE_for_memop for AMD processors.
32453 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32455 * libio/fmemopen.c (fmemopen): Optimize a bit.
32457 2011-03-03 Andreas Schwab <schwab@redhat.com>
32459 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32461 2011-03-03 Roland McGrath <roland@redhat.com>
32463 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32465 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32467 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32468 __bzero_ultra1 instead of __memset_ultra1.
32470 2011-02-23 Andreas Schwab <schwab@redhat.com>
32471 Ulrich Drepper <drepper@gmail.com>
32474 * include/link.h (struct link_map): Add l_orig_initfini.
32475 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32476 returning unsuccessfully.
32477 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32478 close of a file loaded at startup, restore the original l_initfini
32480 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32481 list, store the pointer.
32482 * elf/Makefile ($(objpfx)noload-mem): New rule.
32483 (noload-ENV): Define.
32484 (tests): Add $(objpfx)noload-mem.
32485 * elf/noload.c: Include <memcheck.h>.
32486 (main): Call mtrace. Close all opened handles.
32488 2011-02-17 Andreas Schwab <schwab@redhat.com>
32491 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32492 dependencies are missing.
32494 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32496 Fix __if_freereq crash: Unlike the generic version which uses free,
32498 * sysdeps/mach/hurd/ifreq.h: New file.
32500 2011-01-27 Petr Baudis <pasky@suse.cz>
32501 Ulrich Drepper <drepper@gmail.com>
32504 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32505 to extend_alloca().
32506 * stdio-common/bug23.c: New file.
32507 * stdio-common/Makefile (tests): Add bug23.
32509 2010-09-28 Andreas Schwab <schwab@redhat.com>
32510 Ulrich Drepper <drepper@gmail.com>
32513 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32514 before performing relro protection. At old place add assertion
32515 to make sure nothing changed.
32517 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32518 Glauber de Oliveira Costa <glommer@gmail.com>
32520 * elf/elf.h: Add new ARM TLS relocs.
32522 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32525 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32527 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32529 * sysdeps/wordsize-64/tst-writev.c: New file.
32531 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32533 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32534 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32535 insns in _dl_start to prevent a TOC reference before relocs are
32538 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32541 * Makeconfig: Remove RANLIB definition.
32542 * Makerules: Don't use RANLIB.
32543 * aclocal.m4: Remove ranlib test.
32544 * configure.in: No need to check for ranlib.
32545 * elf/rtld-Rules: Don't use RANLIB.
32547 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32549 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32551 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32552 inclusion protection macro.
32554 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32555 SIGRTMIN and SIGRTMAX and print information in that case only when
32556 SIGRTMIN is defined.
32558 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32560 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32561 arginfo fn returning -1.
32563 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32564 and thousands string is zero terminated.
32566 2011-02-03 Andreas Schwab <schwab@redhat.com>
32568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32569 sysdeps/unix/sysv/linux/bits/socket.h.
32571 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32573 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32574 (__CPU_COUNT): Remove old macros.
32575 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32576 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32577 (__CPU_ALLOC, __CPU_FREE): Add macros.
32578 (__sched_cpualloc, __sched_cpufree): Add declarations.
32580 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32582 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32583 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32584 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32585 (readdhstai): Return value of addhstaiX call.
32586 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32587 (addgrbyX): Return value returned by cache_addgr.
32588 (readdgrbyname): Return value returned by addgrbyX.
32589 (readdgrbygid): Likewise.
32590 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32591 (addpwbyX): Return value returned by cache_addpw.
32592 (readdpwbyname): Return value returned by addhstbyX.
32593 (readdpwbyuid): Likewise.
32594 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32595 (addservbyX): Return value returned by cache_addserv.
32596 (readdservbyname): Return value returned by addservbyX:
32597 (readdservbyport): Likewise.
32598 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32599 (addhstbyX): Return value returned by cache_addhst.
32600 (readdhstbyname): Return value returned by addhstbyX.
32601 (readdhstbyaddr): Likewise.
32602 (readdhstbynamev6): Likewise.
32603 (readdhstbyaddrv6): Likewise.
32604 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32605 (readdinitgroups): Return value returned by addinitgroupsX.
32606 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32607 (prune_cache): Keep track of timeout value of re-added entries.
32608 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32609 * nscd/nscd.h: Adjust prototypes of readd* functions.
32611 2011-02-04 Roland McGrath <roland@redhat.com>
32613 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32614 (nis_stats): Likewise.
32615 * nis/nis_modify.c (nis_modify): Likewise.
32616 * nis/nis_remove.c (nis_remove): Likewise.
32617 * nis/nis_add.c (nis_add): Likewise.
32619 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32621 * posix/fnmatch_loop.c: Add some consts.
32623 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32625 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32628 * config.make.in (config-cflags-novzeroupper): Define.
32629 * configure.in: Substitute libc_cv_cc_novzeroupper.
32630 * elf/Makefile (AVX-CFLAGS): Define.
32631 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32632 (CFLAGS-tst-auditmod4a.c): Likewise.
32633 (CFLAGS-tst-auditmod4b.c): Likewise.
32634 (CFLAGS-tst-auditmod6b.c): Likewise.
32635 (CFLAGS-tst-auditmod6c.c): Likewise.
32636 (CFLAGS-tst-auditmod7b.c): Likewise.
32637 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32639 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32641 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32642 function to the callback.
32643 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32645 2011-02-02 Andreas Schwab <schwab@redhat.com>
32647 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32650 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32653 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32655 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32657 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32660 * elf/Makefile: Add rules to build and run new test.
32661 * elf/tst-initorder.c: New file.
32662 * elf/tst-initorder.exp: New file.
32663 * elf/tst-initordera1.c: New file.
32664 * elf/tst-initordera2.c: New file.
32665 * elf/tst-initordera3.c: New file.
32666 * elf/tst-initordera4.c: New file.
32667 * elf/tst-initorderb1.c: New file.
32668 * elf/tst-initorderb2.c: New file.
32669 * elf/tst-order-a1.c: New file.
32670 * elf/tst-order-a2.c: New file.
32671 * elf/tst-order-a3.c: New file.
32672 * elf/tst-order-a4.c: New file.
32673 * elf/tst-order-b1.c: New file.
32674 * elf/tst-order-b2.c: New file.
32675 * elf/tst-order-main.c: New file.
32676 New test case by George Gensure <werkt0@gmail.com>.
32678 2010-10-01 Andreas Schwab <schwab@redhat.com>
32680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32681 decoding ACE if AI_CANONIDN.
32683 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32685 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32687 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32689 * version.h (RELEASE): Bump for 2.13 release.
32690 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32692 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32694 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32696 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32697 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32698 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32703 * posix/getconf.c: Update copyright year.
32704 * catgets/gencat.c: Likewise.
32705 * csu/version.c: Likewise.
32706 * debug/catchsegv.sh: Likewise.
32707 * debug/xtrace.sh: Likewise.
32708 * elf/ldconfig.c: Likewise.
32709 * elf/ldd.bash.in: Likewise.
32710 * elf/sprof.c (print_version): Likewise.
32711 * iconv/iconv_prog.c: Likewise.
32712 * iconv/iconvconfig.c: Likewise.
32713 * locale/programs/locale.c: Likewise.
32714 * locale/programs/localedef.c: Likewise.
32715 * malloc/memusage.sh: Likewise.
32716 * malloc/mtrace.pl: Likewise.
32717 * nscd/nscd.c (print_version): Likewise.
32718 * nss/getent.c: Likewise.
32720 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32721 PF_CAIF, and PF_ALG.
32722 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32724 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32726 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32727 (modules-names): Use them.
32728 (ifunc-test-modules, ifunc-pie-tests): Define.
32729 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32730 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32731 (test-extras): Likewise.
32732 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32733 $(compile-command.c).
32734 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32735 (all-built-dso): Define.
32736 (check-textrel.out, check-execstack.out): Depend on it.
32738 * configure.in: Don't override --enable-multi-arch.
32740 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32743 * nscd/hstcache.c (tryagain): Define.
32744 (cache_addhst): Return tryagain not notfound for temporary errors.
32745 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32748 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32751 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32752 to make the syscall.
32753 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32756 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32757 and fall back to matching as normal character if the string ends before
32758 the matching ']' is found. This is what POSIX requires.
32759 * posix/testfnm.c: Adjust test result.
32760 * posix/globtest.sh: Adjust test result. Add new test.
32761 * posix/tst-fnmatch.input: Likewise.
32762 * posix/tst-fnmatch2.c: Add new test.
32764 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32766 * elf/Makefile (check-execstack): Revert last change. Depend on
32768 (check-execstack.h): New target.
32769 (generated): Add check-execstack.h.
32770 * elf/check-execstack.c: Include "check-execstack.h".
32771 (main): Revert last change.
32772 (handle_file): Return zero if GNU_STACK is absent and
32773 DEFAULT_STACK_PERMS doesn't include PF_X.
32775 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32777 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32778 in child fails because the descriptor is already closed.
32779 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32780 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32781 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32784 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32788 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32789 temporary buffer used to handle multi lookups locally.
32790 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32792 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32794 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32797 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32799 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32800 alignment for SSE2.
32802 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32805 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32806 characters. When rounding increased number of integer digits recompute
32808 * stdio-common/tst-grouping.c: New file.
32809 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32811 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32813 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32814 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32816 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32818 * bits/select.h: Likewise.
32820 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32822 * po/ja.po: Update from translation team.
32824 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32827 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32828 implementation just like for lxstat, fxstatat, et al.
32830 2010-12-27 Jim Meyering <meyering@redhat.com>
32833 * posix/regexec.c (build_trtable): Return failure indication upon
32834 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32836 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32839 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32840 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32841 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32842 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32845 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32848 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32849 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32851 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32853 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32854 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32855 script has SORT_BY_INIT_PRIORITY.
32856 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32857 NO_CTORS_DTORS_SECTIONS is defined.
32858 * elf/soinit.c: Likewise.
32859 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32860 NO_CTORS_DTORS_SECTIONS is defined.
32861 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32862 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32863 * sysdeps/sh/init-first.c: Likewise.
32864 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32866 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32868 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32869 always use the slow path.
32871 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32873 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32874 similar rule which adds the sysdep directories to the header search in
32875 order to pick up the correct platform stackinfo.h.
32876 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32877 perform test if it is, otherwise return successfully without testing.
32878 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32879 DEFAULT_STACK_PERMS define in stackinfo.h.
32880 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32881 defined in stackinfo.h.
32882 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32883 DEFAULT_STACK_PERMS defined in stackinfo.h.
32884 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32885 * sysdeps/ia64/stackinfo.h: Likewise.
32886 * sysdeps/s390/stackinfo.h: Likewise.
32887 * sysdeps/sh/stackinfo.h: Likewise.
32888 * sysdeps/sparc/stackinfo.h: Likewise.
32889 * sysdeps/x86_64/stackinfo.h: Likewise.
32890 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32891 PF_X for powerpc64. Retain PF_X for powerpc32.
32893 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32895 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32897 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32898 GETDENTS_64BIT_ALIGNED.
32900 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32902 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32904 2010-12-10 Andreas Schwab <schwab@redhat.com>
32906 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32909 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32910 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32912 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32913 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32915 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32918 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32921 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32923 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32925 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32927 * po/it.po: Update from translation team.
32929 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32934 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32936 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32938 2010-11-24 Andreas Schwab <schwab@redhat.com>
32940 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32942 (gaih_getanswer_slice): Likewise.
32944 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32948 2010-05-31 Petr Baudis <pasky@suse.cz>
32951 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32952 silently even in the chroot mode.
32954 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32956 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32957 last patch a bit. Pretty printing
32959 2010-05-31 Petr Baudis <pasky@suse.cz>
32962 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32963 initialization of skip_initgroups_dyn.
32965 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32967 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32970 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32972 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32974 2010-11-11 Andreas Schwab <schwab@redhat.com>
32976 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32977 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32978 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32979 ($(objpfx)tst-fnmatch-mem): New rule.
32980 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32981 * posix/tst-fnmatch.c (main): Call mtrace.
32983 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32986 Support Intel processor model 6 and model 0x2c.
32988 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32990 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32993 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32996 * string/test-strncasecmp.c (check_result): New function.
32997 (do_one_test): Use it.
32998 (check1): New function.
32999 (test_main): Use it.
33000 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33001 Support strcasecmp and strncasecmp.
33003 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33006 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33009 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33011 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33015 * sysdeps/x86_64/multiarch/bzero.S: New file.
33016 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33017 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33018 * sysdeps/x86_64/multiarch/memset.S: New file.
33019 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33021 Set bit_Prefer_SSE_for_memop for Intel processors.
33022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33024 (index_Prefer_SSE_for_memop): Define.
33025 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33027 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33029 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33030 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33032 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33035 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33036 (__x86_64_raw_data_cache_size_half): Likewise.
33037 (__x86_64_raw_shared_cache_size): Likewise.
33038 (__x86_64_raw_shared_cache_size_half): Likewise.
33040 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33041 (__x86_64_raw_data_cache_size_half): Likewise.
33042 (__x86_64_raw_shared_cache_size): Likewise.
33043 (__x86_64_raw_shared_cache_size_half): Likewise.
33044 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33045 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33046 and __x86_64_raw_shared_cache_size_half. Round
33047 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33048 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33049 to multiple of 256 bytes.
33051 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33054 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33055 of inacessible symlinks. Verify result of symlink before returning it.
33056 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33057 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33059 2010-10-28 Erich Ritz <erichritz@gmail.com>
33061 * math/math.h (isinf): Fix typo in comment.
33063 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33065 * po/da.po: Update from translation team.
33067 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33069 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33070 is added to the list.
33072 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33073 Ulrich Drepper <drepper@gmail.com>
33075 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33076 the global list here. Move code to...
33077 (_dl_add_to_namespace_list): ...here. New function.
33078 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33079 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33080 * elf/dl-load.c (lose): Don't remove the element from the list.
33081 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33082 (_dl_map_object): Likewise.
33084 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33087 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33088 into all bytes of SSE register.
33089 Patch by Richard Li <richardpku@gmail.com>.
33091 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33094 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33097 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33099 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33100 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33101 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33107 2010-10-22 Andreas Schwab <schwab@redhat.com>
33109 * include/dlfcn.h (__RTLD_SECURE): Define.
33110 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33111 mode & __RTLD_SECURE instead.
33112 (open_path): Rename preloaded parameter to secure.
33113 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33114 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33115 * elf/dl-deps.c (openaux): Likewise.
33116 * elf/rtld.c (struct map_args): Remove is_preloaded.
33117 (map_doit): Don't use it.
33118 (dl_main): Likewise.
33119 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33120 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33122 2010-09-09 Andreas Schwab <schwab@redhat.com>
33124 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33125 (sysd-rules-targets): Remove duplicates.
33126 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33127 rtld-%.$o dependency.
33129 2010-10-18 Andreas Schwab <schwab@redhat.com>
33131 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33132 _dl_map_object do it.
33134 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33136 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33137 fast fma builtins, define the macros in the C99 standard.
33138 (FP_FAST_FMAF): Likewise.
33139 (FP_FAST_FMAL): Likewise.
33140 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33142 * bits/mathdef.h: Update copyright year.
33143 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33145 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33147 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33148 builtins, define the macros in the C99 standard.
33149 (FP_FAST_FMAF): Likewise.
33150 (FP_FAST_FMAL): Likewise.
33151 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33153 (FP_FAST_FMAF): Likewise.
33155 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33158 * math/libm-test.inc (fma_test): Some new testcases.
33159 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33160 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33161 y and infinite z. Do multiplication by C already in long double.
33162 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33164 y and infinite z. Do bitwise or of inexact bit into u.d.
33165 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33166 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33167 * sysdeps/i386/fpu/s_fma.S: Removed.
33168 * sysdeps/i386/fpu/s_fmal.S: Removed.
33170 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33173 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33175 computation is not scheduled after fetestexcept. Fix value
33176 of minimum denormal long double.
33178 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33181 * math/libm-test.inc (fma_test): Add some more tests.
33182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33185 2010-10-15 Andreas Schwab <schwab@redhat.com>
33187 * scripts/data/localplt-s390-linux-gnu.data: New file.
33188 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33190 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33193 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33194 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33196 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33198 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33200 if one of x and y is very large and the other is subnormal.
33201 * sysdeps/s390/fpu/s_fmaf.c: New file.
33202 * sysdeps/s390/fpu/s_fma.c: New file.
33203 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33204 * sysdeps/powerpc/fpu/s_fma.S: New file.
33205 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33206 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33207 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33209 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33212 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33215 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33216 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33217 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33218 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33219 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33222 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33225 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33226 * posix/bug-regex31.input: Add test case.
33228 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33230 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33231 * posix/bug-regex31.input: New file.
33234 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33235 (parse_sub_exp): Fix last change, use postorder.
33237 * posix/bug-regex31.c: New file.
33238 * posix/Makefile: Add rules to build and run bug-regex31.
33240 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33243 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33246 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33247 to have entries in sys_siglist.
33250 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33253 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33256 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33257 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33258 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33259 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33260 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33261 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33262 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33263 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33264 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33265 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33266 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33267 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33268 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33269 * math/ftestexcept.c (fetestexcept): Likewise.
33270 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33271 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33272 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33273 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33274 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33275 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33276 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33278 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33281 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33284 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33286 * string/bug-strstr1.c: New file.
33287 * string/Makefile: Add rules to build and run bug-strstr1.
33289 2010-10-05 Eric Blake <eblake@redhat.com>
33292 * string/str-two-way.h (two_way_long_needle): Always clear memory
33293 when skipping input due to the shift table.
33295 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33298 * malloc/mcheck.c: Handle large requests.
33301 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33302 for strncmp and strncasecmp.
33303 * string/stratcliff.c: Add tests for strcmp and strncmp.
33304 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33306 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33308 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33311 2010-09-30 Andreas Jaeger <aj@suse.de>
33313 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33314 (CGROUP_SUPER_MAGIC): Define.
33315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33316 Handle btrfs and cgroup file systems.
33317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33320 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33322 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33323 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33325 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33328 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33329 trying to locate the ELF header.
33331 2010-09-27 Andreas Schwab <schwab@redhat.com>
33334 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33335 Mask out sign-bit copies when constructing f_fsid.
33337 2010-09-24 Petr Baudis <pasky@suse.cz>
33339 * debug/stack_chk_fail_local.c: Add missing licence exception.
33340 * debug/warning-nop.c: Likewise.
33342 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33344 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33345 implementing getdents64 using getdents syscall, set d_type if
33346 __ASSUME_GETDENTS32_D_TYPE.
33348 2010-09-16 Andreas Schwab <schwab@redhat.com>
33350 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33351 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33353 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33356 * posix/unistd.h: Undo change of feature selection for ftruncate from
33359 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33361 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33364 2010-09-20 Andreas Schwab <schwab@redhat.com>
33366 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33368 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33370 2010-09-14 Andreas Schwab <schwab@redhat.com>
33372 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33373 variables after CHECK_SP call.
33374 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33376 2010-09-13 Andreas Schwab <schwab@redhat.com>
33377 Ulrich Drepper <drepper@redhat.com>
33379 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33380 re-relocationg ld.so.
33381 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33382 _dl_init_paths call.
33383 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33386 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33388 * resolv/res_init.c (__res_vinit): Count the default server we added.
33390 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33391 Ulrich Drepper <drepper@redhat.com>
33394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33395 (____longjmp_chk): Use %ebx for saving value across system call.
33398 2010-09-06 Andreas Schwab <schwab@redhat.com>
33400 * manual/Makefile: Don't mix pattern rules with normal rules.
33402 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33404 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33406 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33407 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33408 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33409 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33410 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33413 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33416 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33417 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33419 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33421 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33422 * sysdeps/x86_64/addmul_1.S: Likewise.
33423 * sysdeps/x86_64/lshift.S: Likewise.
33424 * sysdeps/x86_64/mul_1.S: Likewise.
33425 * sysdeps/x86_64/rshift.S: Likewise.
33426 * sysdeps/x86_64/sub_n.S: Likewise.
33427 * sysdeps/x86_64/submul_1.S: Likewise.
33429 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33431 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33432 Define __sched_param instead of SCHED_* and sched_param when
33433 <bits/sched.h> is included with __need_schedparam defined.
33434 * bits/sched.h [__need_schedparam]
33435 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33436 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33437 (__defined_schedparam): Define to 1.
33438 (__sched_param): New structure, identical to sched_param.
33439 (__need_schedparam): Undefine.
33441 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33443 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33444 (epoll_create1): Declare.
33446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33448 2010-08-31 Andreas Schwab <schwab@redhat.com>
33451 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33452 shifting retval into place.
33454 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33456 * nis/rpcsvc/nis.h: Update copyright notice.
33457 * nis/rpcsvc/nis.x: Likewise.
33458 * nis/rpcsvc/nis_callback.h: Likewise.
33459 * nis/rpcsvc/nis_callback.x: Likewise.
33460 * nis/rpcsvc/nis_object.x: Likewise.
33461 * nis/rpcsvc/nis_tags.h: Likewise.
33462 * nis/rpcsvc/yp.h: Likewise.
33463 * nis/rpcsvc/yp.x: Likewise.
33464 * nis/rpcsvc/ypupd.h: Likewise.
33465 * nis/yp_xdr.c: Likewise.
33466 * nis/ypupdate_xdr.c: Likewise.
33468 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33469 mainly the body of pmap_getport. Add parameters to specify timeouts.
33470 (pmap_getport): Use __libc_rpc_getport.
33471 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33472 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33473 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33475 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33480 2010-08-27 Roland McGrath <roland@redhat.com>
33482 * sysdeps/i386/i686/multiarch/Makefile
33483 (CFLAGS-varshift.c): New variable.
33485 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33487 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33488 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33492 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33494 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33496 * sysdeps/x86_64/strlen.S: Unroll the loop.
33497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33498 strlen-sse2 strlen-sse2-bsf.
33499 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33500 __strlen_no_bsf if bit_Slow_BSF is set.
33501 (__strlen_sse42): Removed.
33502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33503 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33505 2010-08-25 Roland McGrath <roland@redhat.com>
33507 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33508 * sysdeps/x86_64/multiarch/varshift.c: New file.
33509 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33510 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33511 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33512 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33514 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33517 strlen-sse2 strlen-sse2-bsf.
33518 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33519 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33520 (__strlen_sse2): Removed.
33521 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33524 bit_Slow_BSF for Atom.
33525 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33526 (index_Slow_BSF): Define.
33527 (HAS_SLOW_BSF): Define.
33529 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33532 * resolv/res_init.c (__res_vinit): When no server address at all
33533 is given default to loopback.
33535 2010-08-24 Roland McGrath <roland@redhat.com>
33537 * configure.in: Remove config-name.h generation.
33538 * configure: Regenerated.
33539 * config-name.in: File removed.
33540 * scripts/config-uname.sh: New file.
33541 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33542 ($(objdir)config-name.h): New target.
33544 * sunrpc/rpc_parse.h: Avoid nested comment.
33546 2010-08-24 Richard Henderson <rth@redhat.com>
33547 Ulrich Drepper <drepper@redhat.com>
33548 H.J. Lu <hongjiu.lu@intel.com>
33550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33552 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33553 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33554 _mm_alignr_epi8 with _mm_loadu_si128.
33555 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33556 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33557 (__m128i_shift_right): Removed.
33558 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33559 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33560 * sysdeps/x86_64/multiarch/varshift.h: New file.
33561 * sysdeps/x86_64/multiarch/varshift.S: New file.
33563 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33565 * configure.in: Move assembler checks to before sysdep dir checking.
33567 2010-08-20 Petr Baudis <pasky@suse.cz>
33569 * LICENSES: Sync the sunrpc license.
33571 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33573 * sunrpc/auth_des.c: Update copyright notice once again.
33574 * sunrpc/auth_none.c: Likewise.
33575 * sunrpc/auth_unix.c: Likewise.
33576 * sunrpc/authdes_prot.c: Likewise.
33577 * sunrpc/authuxprot.c: Likewise.
33578 * sunrpc/bindrsvprt.c: Likewise.
33579 * sunrpc/clnt_gen.c: Likewise.
33580 * sunrpc/clnt_perr.c: Likewise.
33581 * sunrpc/clnt_raw.c: Likewise.
33582 * sunrpc/clnt_simp.c: Likewise.
33583 * sunrpc/clnt_tcp.c: Likewise.
33584 * sunrpc/clnt_udp.c: Likewise.
33585 * sunrpc/clnt_unix.c: Likewise.
33586 * sunrpc/des_crypt.c: Likewise.
33587 * sunrpc/des_soft.c: Likewise.
33588 * sunrpc/get_myaddr.c: Likewise.
33589 * sunrpc/getrpcport.c: Likewise.
33590 * sunrpc/key_call.c: Likewise.
33591 * sunrpc/key_prot.c: Likewise.
33592 * sunrpc/openchild.c: Likewise.
33593 * sunrpc/pm_getmaps.c: Likewise.
33594 * sunrpc/pm_getport.c: Likewise.
33595 * sunrpc/pmap_clnt.c: Likewise.
33596 * sunrpc/pmap_prot.c: Likewise.
33597 * sunrpc/pmap_prot2.c: Likewise.
33598 * sunrpc/pmap_rmt.c: Likewise.
33599 * sunrpc/rpc/auth.h: Likewise.
33600 * sunrpc/rpc/auth_unix.h: Likewise.
33601 * sunrpc/rpc/clnt.h: Likewise.
33602 * sunrpc/rpc/des_crypt.h: Likewise.
33603 * sunrpc/rpc/key_prot.h: Likewise.
33604 * sunrpc/rpc/netdb.h: Likewise.
33605 * sunrpc/rpc/pmap_clnt.h: Likewise.
33606 * sunrpc/rpc/pmap_prot.h: Likewise.
33607 * sunrpc/rpc/pmap_rmt.h: Likewise.
33608 * sunrpc/rpc/rpc.h: Likewise.
33609 * sunrpc/rpc/rpc_des.h: Likewise.
33610 * sunrpc/rpc/rpc_msg.h: Likewise.
33611 * sunrpc/rpc/svc.h: Likewise.
33612 * sunrpc/rpc/svc_auth.h: Likewise.
33613 * sunrpc/rpc/types.h: Likewise.
33614 * sunrpc/rpc/xdr.h: Likewise.
33615 * sunrpc/rpc_clntout.c: Likewise.
33616 * sunrpc/rpc_cmsg.c: Likewise.
33617 * sunrpc/rpc_common.c: Likewise.
33618 * sunrpc/rpc_cout.c: Likewise.
33619 * sunrpc/rpc_dtable.c: Likewise.
33620 * sunrpc/rpc_hout.c: Likewise.
33621 * sunrpc/rpc_main.c: Likewise.
33622 * sunrpc/rpc_parse.c: Likewise.
33623 * sunrpc/rpc_parse.h: Likewise.
33624 * sunrpc/rpc_prot.c: Likewise.
33625 * sunrpc/rpc_sample.c: Likewise.
33626 * sunrpc/rpc_scan.c: Likewise.
33627 * sunrpc/rpc_scan.h: Likewise.
33628 * sunrpc/rpc_svcout.c: Likewise.
33629 * sunrpc/rpc_tblout.c: Likewise.
33630 * sunrpc/rpc_util.c: Likewise.
33631 * sunrpc/rpc_util.h: Likewise.
33632 * sunrpc/rpcinfo.c: Likewise.
33633 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33634 * sunrpc/rpcsvc/key_prot.x: Likewise.
33635 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33636 * sunrpc/rpcsvc/mount.x: Likewise.
33637 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33638 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33639 * sunrpc/rpcsvc/rex.x: Likewise.
33640 * sunrpc/rpcsvc/rstat.x: Likewise.
33641 * sunrpc/rpcsvc/rusers.x: Likewise.
33642 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33643 * sunrpc/rpcsvc/spray.x: Likewise.
33644 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33645 * sunrpc/rtime.c: Likewise.
33646 * sunrpc/svc.c: Likewise.
33647 * sunrpc/svc_auth.c: Likewise.
33648 * sunrpc/svc_authux.c: Likewise.
33649 * sunrpc/svc_raw.c: Likewise.
33650 * sunrpc/svc_run.c: Likewise.
33651 * sunrpc/svc_simple.c: Likewise.
33652 * sunrpc/svc_tcp.c: Likewise.
33653 * sunrpc/svc_udp.c: Likewise.
33654 * sunrpc/svc_unix.c: Likewise.
33655 * sunrpc/svcauth_des.c: Likewise.
33656 * sunrpc/xcrypt.c: Likewise.
33657 * sunrpc/xdr.c: Likewise.
33658 * sunrpc/xdr_array.c: Likewise.
33659 * sunrpc/xdr_float.c: Likewise.
33660 * sunrpc/xdr_mem.c: Likewise.
33661 * sunrpc/xdr_rec.c: Likewise.
33662 * sunrpc/xdr_ref.c: Likewise.
33663 * sunrpc/xdr_sizeof.c: Likewise.
33664 * sunrpc/xdr_stdio.c: Likewise.
33666 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33669 2010-08-19 Andreas Schwab <schwab@redhat.com>
33671 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33673 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33675 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33676 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33677 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33678 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33679 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33680 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33681 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33682 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33683 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33684 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33685 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33686 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33687 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33688 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33690 2010-07-26 Anton Blanchard <anton@samba.org>
33692 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33693 * malloc/arena.c (heap_trim): Likewise.
33695 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33697 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33699 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33700 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33702 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33704 * sysdeps/i386/elf/Makefile: New file.
33706 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33708 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33709 from fanotify_init.
33710 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33711 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33713 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33715 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33717 * sysdeps/multiarch/strcmp.S: Likewise.
33719 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33721 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33722 strncase_l-nonascii.
33723 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33724 Add strncase_l-ssse3.
33725 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33726 * sysdeps/x86_64/strcmp.S: Likewise.
33727 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33728 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33729 * sysdeps/x86_64/strncase.S: New file.
33730 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33731 * sysdeps/x86_64/strncase_l.S: New file.
33732 * string/Makefile (strop-tests): Add strncasecmp.
33733 * string/test-strncasecmp.c: New file.
33735 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33738 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33739 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33741 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33743 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33745 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33747 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33751 2010-05-01 Alan Modra <amodra@gmail.com>
33753 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33754 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33755 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33756 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33757 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33758 tidying. Don't tail-call __sigjmp_save for static lib.
33759 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33761 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33762 (CALL_MCOUNT): Add eh info, and nop after bl.
33763 (TAIL_CALL_SYSCALL_ERROR): New macro.
33764 (PSEUDO_RET): Use it.
33765 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33766 Correct save location of integer regs and cr.
33767 (_dl_profile_resolve): Correct cr save location. Delete nops
33768 after bl when SHARED. Reduce cfi size a little by better
33769 placement of cfi directives.
33770 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33771 make a stack frame. Instead use parm save area as a temp.
33772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33773 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33775 Don't make a stack frame for parent, use parm save area.
33776 Increase child stack frame to 112 bytes. Don't save unused reg,
33777 and adjust reg usage. Set up cfi on error recovery and
33778 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33780 (__makecontext): Add dummy nop after jump to exit.
33781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33782 Use correct parm save area and cr save, reduce stack frame.
33783 Correct cfi for possible PSEUDO_RET frame setup.
33784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33785 Branch to local label emitted by PSEUDO_RET rather than
33788 2010-08-12 Andreas Schwab <schwab@redhat.com>
33791 * locale/programs/locale.c (print_assignment): New function.
33792 (show_locale_vars): Use it.
33794 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33796 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33798 (struct statfs64): Likewise.
33799 (_STATFS_F_FLAGS): Define.
33800 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33801 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33802 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33803 (ST_VALID): Define locally.
33804 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33805 __statvfs_getflags, use the provided value.
33806 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33807 __ASSUME_STATFS_F_FLAGS.
33809 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33811 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33812 Add sys/fanotify.h.
33813 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33814 fanotify_mask for GLIBC_2.13.
33815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33816 fanotify_init and fanotify_mark.
33817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33818 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33820 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33822 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33823 prlimit64 for GLIBC_2.13.
33824 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33829 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33830 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33831 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33834 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33837 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33838 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33840 * nss/Makefile: Add rules to build and run tst-nss-test1.
33841 * shlib-versions: Add entry for libnss_test1.
33842 * nss/nss_test1.c: New file.
33843 * nss/tst-nss-test1.c: New file.
33845 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33846 (__nss_configure_lookup): Set appropriate entry in
33847 __nss_configure_lookup to true.
33848 * nss/nsswitch.h: Define enum with indeces of databases in
33849 databases and __nss_database_custom arrays. Declare
33850 __nss_database_custom.
33851 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33852 to avoid using nscd when custom rules are installed.
33853 * nss/getXXbyYY_r.c: Likewise.
33854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33856 * nss/nss_files/files-parse.c: Whitespace fixes.
33858 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33861 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33862 * posix/fnmatch_loop.c: Likewise.
33864 2010-07-17 Andi Kleen <ak@linux.intel.com>
33866 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33867 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33868 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33869 * Versions.def [GLIBC_2.13]: Add.
33871 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33873 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33874 Also fail if tpwd after pwuid call is NULL.
33876 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33878 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33879 when converting to ms.
33881 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33883 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33884 EOPNOTSUPP errors with ENOTTY.
33885 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33886 EOPNOTSUPP errors with ENOTTY.
33888 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33890 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33891 Add strcasecmp_l-ssse3.
33892 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33894 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33895 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33896 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33898 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33900 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33902 * string/Makefile (strop-tests): Add strcasecmp.
33903 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33904 strcasecmp_l-nonascii.
33905 (gen-as-const-headers): Add locale-defines.sym.
33906 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33907 * sysdeps/x86_64/strcasecmp.S: New file.
33908 * sysdeps/x86_64/strcasecmp_l.S: New file.
33909 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33910 * sysdeps/x86_64/locale-defines.sym: New file.
33911 * string/test-strcasecmp.c: New file.
33913 * string/test-strcasestr.c: Test both ends of the range of characters.
33914 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33916 2010-07-29 Roland McGrath <roland@redhat.com>
33919 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33921 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33923 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33926 2010-07-27 Andreas Schwab <schwab@redhat.com>
33928 * manual/memory.texi (Malloc Tunable Parameters): Document
33931 2010-07-26 Roland McGrath <roland@redhat.com>
33934 * configure.in (-fgnu89-inline check): Set and substitute
33935 gnu89_inline, not libc_cv_gnu89_inline.
33936 * configure: Regenerated.
33937 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33939 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33941 * string/test-strnlen.c: New file.
33942 * string/Makefile (strop-tests): Add strnlen.
33943 * string/tester.c (test_strnlen): Add a few more test cases.
33944 * string/tst-strlen.c: Better error reporting.
33946 * sysdeps/x86_64/strnlen.S: New file.
33948 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33950 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33951 lower-latency instructions.
33953 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33955 * string/test-strcasestr.c: New file.
33956 * string/test-strstr.c: New file.
33957 * string/Makefile (strop-tests): Add strstr and strcasestr.
33958 * string/str-two-way.h: Don't undefine MAX.
33959 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33961 2010-07-21 Andreas Schwab <schwab@redhat.com>
33963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33964 strcasestr-nonascii.
33965 (CFLAGS-strcasestr-nonascii.c): Define.
33966 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33967 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33968 Remove unused attribute.
33970 2010-07-20 Roland McGrath <roland@redhat.com>
33972 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33973 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33974 ld.so.cache was broken. With it, there is no way to disable dsocaps
33975 like LD_HWCAP_MASK can disable hwcaps.
33977 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33979 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33981 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33983 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33984 call in strcasestr.
33985 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33986 __strcasestr_sse42_nonascii.
33987 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33988 strcasestr-nonascii.c.
33989 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33991 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33993 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33994 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33995 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33996 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33998 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34003 2010-07-06 Andreas Schwab <schwab@redhat.com>
34006 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34009 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34012 _PC_PIPE_BUF using F_GETPIPE_SZ.
34014 2010-07-05 Roland McGrath <roland@redhat.com>
34016 * manual/arith.texi (Rounding Functions): Fix rint description
34017 implicit in round description.
34019 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34021 * elf/Makefile: Fix linking for a few tests to make recent linker
34024 2010-06-30 Andreas Schwab <schwab@redhat.com>
34026 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34027 $(common-objpfx)libc_nonshared.a.
34029 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34031 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34032 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34033 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34034 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34035 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34036 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34037 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34038 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34053 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34054 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34055 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34056 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34057 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34058 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34059 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34060 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34061 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34062 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34063 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34064 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34080 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34082 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34083 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34084 * string/memmove.c (memmove): Renamed to ...
34085 (MEMMOVE): ...this. Default to memmove.
34086 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34087 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34090 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34091 mempcpy-ssse3-back memmove-ssse3-back.
34092 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34093 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34094 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34095 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34096 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34097 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34098 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34099 * sysdeps/x86_64/multiarch/memmove.c: New file.
34100 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34101 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34102 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34103 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34104 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34107 (index_Fast_Copy_Backward): Define.
34108 (HAS_ARCH_FEATURE): Define.
34109 (HAS_FAST_REP_STRING): Define.
34110 (HAS_FAST_COPY_BACKWARD): Define.
34112 2010-06-21 Andreas Schwab <schwab@redhat.com>
34114 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34115 Restore proper fallback handling.
34117 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34120 * posix/group_member.c (__group_member): Correct checking loop.
34122 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34123 OOM in getpwuid_r correctly. Return error number when the caller
34124 should return, otherwise -1.
34125 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34126 call returning > 0 value.
34127 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34129 2010-06-07 Andreas Schwab <schwab@redhat.com>
34131 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34132 libc_nonshared.a from targets in modules-names.
34134 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34136 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34139 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34141 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34142 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34143 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34144 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34146 2010-06-02 Andreas Schwab <schwab@redhat.com>
34148 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34150 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34152 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34154 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34159 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34161 2010-06-14 Roland McGrath <roland@redhat.com>
34163 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34165 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34167 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34168 __REDIRECT followed by __THROW.
34169 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34170 * posix/getopt.h (getopt): Likewise.
34172 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34174 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34175 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34176 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34178 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34179 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34181 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34183 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34185 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34189 Properly check family and model.
34191 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34193 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34195 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34197 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34199 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34201 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34204 2010-05-19 Andreas Schwab <schwab@redhat.com>
34206 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34209 2010-05-21 Andreas Schwab <schwab@redhat.com>
34211 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34212 and internal_recvmmsg.
34213 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34214 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34215 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34216 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34218 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34219 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34220 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34222 2010-05-20 Andreas Schwab <schwab@redhat.com>
34224 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34226 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34228 POWER7 optimizations.
34229 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34230 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34232 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34234 * version.h: Update for 2.13 development version.
34236 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34238 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34239 exceptions. Return 0.
34241 2010-05-07 Roland McGrath <roland@redhat.com>
34243 * elf/ldconfig.c (main): Add a const.
34245 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34247 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34248 (args_options): Add no-idn option.
34249 (ahosts_keys_int): Add idn_flags to ai_flags.
34250 (parse_option): Handle 'i' option to clear idn_flags.
34252 * malloc/malloc.c (_int_free): Possible race in the most recently
34253 added check. Only act on the data if no current modification
34256 See ChangeLog.17 for earlier changes.